Exchange node configurations


In an environment with multiple management servers, you must configure each node on every management server that may receive the node's messages. Management servers discard messages if they originate from unknown nodes. This applies for both agent-based and server-based flexible management.

In addition, before you can deploy a flexible management policy from a management server, you must configure nodes on that management server to represent all the other management servers that the flexible management policy mentions.

HPOM provides commands that enable you to exchange node configuration data between management servers. To speed up the distribution of node configurations, it may be useful to first upload all node configurations to one management server. You can then download the node configurations to all other management servers.

To exchange node configurations between HPOM for Windows management servers

  1. In the console tree, right-click the node group that you want to export, and then click Properties.
  2. Select the Unique ID, right-click it, and then click Copy. HP defined node groups have readable IDs, for example Root_Nodes. Other node groups have numerical IDs, for example {89BE12EB-5FB7-4CA5-ABAC-D540B63CFEE3}. The braces are part of the ID.
  3. Open a command prompt and type the command:

    ovpmutil CFG NDS DNL <filename.mof> /p <unique ID>

    For example, to export all node configurations in the Windows node group to the file c:\temp\windows.mof, type:

    ovpmutil CFG NDS DNL c:\temp\windows.mof /p Root_Windows

  4. Optional. Add either of the following optional parameters to the command:

    /configuredonly
    Export only nodes that have the operating system defined.
    /externalonly
    Export only external nodes.
  5. Press Enter. The command generates a file with the name you specify.
  6. Copy the file to your other HPOM for Windows management server.
  7. Open a command prompt and type the command:

    ovpmutil CFG NDS UPL <filename.mof> /noautodeploy

    The /noautodeploy option clears the Enable Auto Deployment property for every imported node, regardless of the setting on the original management server. To import the setting from the original management server, omit this option. If automatic deployment is selected for any node, the management server begins to deploy policies to the node immediately.

  8. Optional. In the console tree, right-click the imported node group and then click All TasksarrowSynchronize inventoryarrowPolicies and packages. This updates the inventory to reflect policies and packages that already exist on the node. Alternatively, you can exchange node inventory data from the original management server.

To export node configurations for HPOM for UNIX management servers

  1. Open a command prompt and type the command:

    ovowconfigexchange -ent NODES -dnl <folder> -src_path "<path to node group>"

    For example, to export all node configurations in the Windows node group to the folder c:\temp\windows-nodes, type:

    ovowconfigexchange -ent NODES -dnl c:\temp\windows_nodes -src_path "\HP Defined Groups\Windows"

  2. Optional. Add either of the following optional parameters to the command:

    -no_ip_detect
    Disable DNS lookups of IP addresses for nodes that have the FQDN specified.
    -dest_codeset <code set>
    Export the files using a specific code set. The default is ASCII. The code set must match the code set that the HPOM for UNIX database uses.
  3. Press Enter. The command generates several files in the folder you specify.
  4. Copy the folder and its contents to your HPOM for UNIX management server. You can import the node configurations with the command opccfgupld. For more details, see the HPOM for UNIX documentation.

To import node configurations from HPOM for UNIX management servers

  1. You can export node configurations on HPOM for UNIX management servers with the command opccfgdwn. For more details, see the HPOM for UNIX documentation.
  2. Copy the node configuration files to your HPOM for Windows management server.
  3. Optional. Disable automatic deployment on the management server. Otherwise, when you import the node configurations, the management server begins to deploy policies to the nodes immediately. For more details, see Disable policy autodeployment.
  4. Open a command prompt and type the command:

    ovowconfigexchange -ent NODES -upl <folder> -dest_path "<path to node group>" -src_codeset <code set>

    The -dest_path must be an existing node group. The -src_codeset must be the code set that the HPOM for UNIX database uses. For example, to import node configurations in the SJIS code set from the folder c:\temp\UNIX_nodes\ into a node group called HPOM for UNIX Nodes, type:

    ovowconfigexchange -ent NODES -upl c:\temp\UNIX_nodes\ -dest_path "\HPOM for UNIX Nodes\" -src_codeset SJIS

  5. Optional. In the console tree, right-click the imported node group and then click All TasksarrowSynchronize inventoryarrowPolicies and packages. This creates jobs to retrieve the inventory of policies and packages that already exist on the node.

Related Topics: