Synchronize node configuration changes

When you make changes to the configuration of a managed node through the deployment manager's administrative console, synchronize the configuration with the managed node. See The file synchronization service for more information on the synchronization service.

Use the administrative console or the syncNode script to synchronize node configurations.

Use the administrative console

The administrative console automatically synchronizes the configuration files periodically. You can also use the console to manually synchronize configuration changes.

To change the settings for automatic synchronization, follow these steps:

  1. Start the administrative console.
  2. Expand System administration and click Node Agents.
  3. Click the name of the node agent for the node for which you want to change automatic synchronization.
  4. In Additional Properties, click File Synchronization Service.
  5. Make your changes and click OK. For more information on the settings, see File synchronization service settings. Go to Help documentation
  6. Save the configuration.

To synchronize the configuration for a node manually, follow these steps:

  1. Start the administrative console.
  2. Expand System Administration and click Nodes.
  3. Select the node or nodes that you want to synchronize.
  4. Click Full Resynchronize.

Use the syncNode script

Use the syncNode script from a Qshell prompt to synchronize the configuration for a single node. To run the syncNode script, follow these steps:

  1. If it is not already running, start the Network Deployment instance that contains the node that you want to synchronize.
  2. Stop the node agent for the node that you want to synchronize.
  3. On the OS/400 command line, run the STRQSH (Start Qshell) command.
  4. On the Qshell command line, use the cd command to change to the directory that contains the script:
    cd /QIBM/ProdData/WebAS5/Base/bin
  5. Run the syncNode script:
    syncNode cell_host cell_port -instance instance
     -stopservers

    where cell_host is the name of the machine that hosts the Network Deployment cell, cell_port is the SOAP port number for the deployment manager, and instance is the name of the instance that represents the node that you want to sychronize. The -stopservers parameter specifies that if any servers in the node are still running, the script should end those servers before synchronizing the configurations. For more information on the script and additional parameters, see The syncNode script.

In this example, the script syncronizes the configuration for the node agent myServer_myNode. The node agent is represented by the instance name (myNode). This node runs in a Network Deployment cell on the myServer system, and the SOAP port for the deployment manager is 11381.

syncNode myServer 11381 -instance myNode -stopservers