sdmnetchange (changing the network configuration for the smart device manager or communication server)
This command changes the connection destination address and port number set on the smart device manager or communication server.
- Organization of this page
Functionality
This command changes the connection destination address and port number set on the smart device manager or communication server.
Execute this command on the target smart device manager or communication server.
Format
sdmnetchange -target server-name[ -db database-address][ -port port-number]
Arguments
- -target server-name
-
Specify the target server name as follows:
Manager: For the smart device manager
Comsrv: For the communication server
- -db database-address
-
Specify this argument to change the database address (connection destination IP address). You can specify this argument only when the target server is the communication server.
- -port port-number
-
Specify this argument to change the connection destination port number for the database. You must specify this argument if the target server is the smart device manager.
Storage location
- In JP1/ITDM2 - SDM (Smart Device Manager):
-
JP1/ITDM2 - SDM (Smart Device Manager)-installation-folder\mgr\bin
- In JP1/ITDM2 - SDM (Communication Server):
-
JP1/ITDM2 - SDM (Communication Server)-installation-folder\cms\bin
Execution permissions
Administrator permissions (this command is executed from the administrator's console if the Windows UAC function is enabled)
Notes
-
After executing the command, you must restart the target server.
-
Multiple instances of this command cannot be executed simultaneously.
Return values
Return value |
Description |
---|---|
0 |
The command finished normally. |
11 |
The format for specifying the command arguments is invalid. |
12 |
You do not have the permissions to execute this command. |
13 |
The specified server is not correct, or the operating environment of JP1/ITDM2 - SDM (Smart Device Manager) is invalid. |
14 |
The file does not exist, or you do not have permission to access it. |
18 |
Another command is being executed. |
64 |
Failed to open the XML file. |
65 |
Failed to open the hosts file. |
66 |
Failed to stop the JP1/ITDM2 - Smart Device Manager Server Service. |
67 |
Failed to start the JP1/ITDM2 - Smart Device Manager Server Service. |
68 |
Failed to stop the JP1/ITDM2 - Smart Device Manager (Communication Server Service). |
69 |
Failed to start the JP1/ITDM2 - Smart Device Manager (Communication Server Service). |
70 |
The alias name is not correct. |
71 |
The password is not correct. |
150 |
Other error occurred. |
Example
-
The following shows an example of using the command to change the connection destination port number for the database on the smart device manager.
sdmnetchange -target Manager -port 32000
-
The following shows an example of using the command to change the connection destination address and port number for the database on the communication server.
sdmnetchange -target Comsrv -db 192.168.1.13 -port 32001
Related Topics