syncNode.sh
Overview
The syncNode command forces a configuration synchronization to occur between the node and the deployment manager for the cell in which the node is configured. Only use this command when you cannot run the node agent because the node configuration does not match the cell configuration. You must run this command from $WAS_HOME/bin.
Syntax
To execute...
syncNode.sh deploymgr_host deploymgr_port [options]
...where the first two arguments are required.
Parameters
The options for the syncNode command follow:
-stopservers
- Tells the syncNode program to stop all servers on the node, including the node agent, before performing configuration synchronization with the cell.
-restart
- Tells the syncNode command to launch the node agent process after configuration synchronization completes.
-nowait
- Tells the syncNode command not to wait for successful initialization of the launched node agent process.
-quiet
- Suppresses the progress information that the syncNode command prints in normal mode.
-logfile <filename>
- Specifies the location of the log file to which information gets written.
-replacelog
- Replaces the log file instead of appending to the current log.
-trace
- Generates trace information into a file for debugging purposes.
-timeout <seconds>
- Specifies the waiting time before node agent initialization times out and returns an error.
-statusport <portnumber>
- Specifies that an administrator can set the port number for node agent status callback.
-username <name>
- Specifies the user name for authentication if security is enabled. Acts the same as the -user option.
-user <name>
- Specifies the user name for authentication if security is enabled. Acts the same as the -username option.
-password <password>
- Specifies the password for authentication if security is enabled.
-conntype <type>
- Specifies the Java Management Extensions connector type to use for connecting to the deployment manager. Valid types are Simple Object Access Protocol (SOAP) or Remote Method Invocation (RMI).
-help
- Prints a usage statement.
-?
- Prints a usage statement.
Examples
The following examples demonstrate correct syntax:
syncNode testhost 8879syncNode deploymgr 8879 -trace (produces syncNode.log file)
syncNode host25 4444 -stopservers -restart (assumes that the deployment manager JMX port is 4444)