Synopsis
[Windows]
mpowebconfig.bat -o <file name>|-i <file name> |
[UNIX]
mpowebconfig -o <file name>|-i <file name> |
Description
This command updates the information about port numbers on the Web server of the system where the command is executed.
Options
-o <file name>
Outputs the port number definitions currently set for the Web server to the Web server port definition file in XML format. Specify the full path of the file to be output in <file name>.
-i <file name>
Reflects the port number definition information in the XML-format Web server port definition file to the Web server. Specify the full path of the file name in <file name>.
Return values
Return value | Meaning |
---|---|
0 | Normal termination |
1 or more | Abnormal termination |
Reference
Web server port definition file
Refer to "18.7 Web Server Port Definition File" for details.
Command location
Windows | <Systemwalker Operation Manager installation directory>\mpwalker.jm\mpjmweb\bin |
Solaris | /opt/FJSVjmweb/bin |
Privilege Required
System administrator (user belonging to the Administrator group or superuser) privileges are required.
Cautions
Before updating port numbers with the -i option after the Web server has been set up, use the poperationmgr command to stop Systemwalker Operation Manager. Restart Systemwalker Operation Manager by using the soperationmgr command for the updated port numbers to take effect.
If a Web server has not been set up when the port numbers are updated with the -i option, set up the Web server after executing this command, by executing mpowebsetup (web server setup command).
Examples
Output the port number definitions currently set for the Web server to the Web server port definition file in XML format.
[Windows]
mpowebconfig.bat -o C:\tmp\port.xml |
[Solaris]
mpowebconfig -o /var/tmp/port.xml |
[Linux]
mpowebconfig -o /tmp/port.xml |
Reflect the port number definition information in the XML-format Web server port definition file to the Web server.
[Windows]
mpowebconfig.bat -i C:\tmp\port.xml |
[Solaris]
mpowebconfig -i /var/tmp/port.xml |
[Linux]
mpowebconfig -i /tmp/port.xml |
Execution Results/Output Format
The following message is output to the standard output when the command terminates normally:
mpowebconfig command has been completed successfully. |
The following message is output to the standard error output when the command terminates abnormally:
Execution result 1
Failed to open the file (%1). |
%1: Input file path
Execution result 2
Format of input file (%1) is invalid. |
%1: Input file path
Execution result 3
Value (%2) in input file (%1) is duplicated. |
%1: Input file path %2: Value of the port number that is duplicated
Execution result 4
Failed to open the output file (%1). |
%1: File path specified as the output directory