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 1
sdmnetchange -target Manager -port port-number
Format 2
sdmnetchange -target Comsrv {-db database-address | -port port-number | -db database-address -port port-number}
Arguments
- -target {Manager | Comsrv}
-
Specify the name of the target server.
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.
Note that the port number to be specified differs depending on whether the target server is the smart device manager or the communication server. If the target server is the smart device manager, specify the port number of the smart device manager. If the target server is the communication server, specify the port number of the communication server.
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
-
Before executing this command, stop the following services, but do not stop the database service.
On the smart device manager:
-
JP1/ITDM2 - Smart Device Manager Server Service
-
JP1/ITDM2 - Smart Device Manager Web Server
On the communication server:
-
JP1/ITDM2 - Smart Device Manager (Communication Server Service)
-
JP1/ITDM2 - Smart Device Manager Web Server
After executing this command, restart the above services.
-
-
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. |
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. |
80 |
JP1/ITDM2 - Smart Device Manager Server Service is running. Stop the service in the Windows Services window, and then re-execute the command. |
81 |
JP1/ITDM2 - Smart Device Manager (Communication Server Service) is running. Stop the service in the Windows Services window, and re-execute the command. |
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