This section explains how to change the port numbers used for management server domains (API and GUI domains) and APP domains.
The changing of port numbers explained in this section is executed using the administration command of the Java EE execution environment (asadmin command). To execute the command, the following information about Java EE execution environment of the domain to modify is necessary.
Admin port number
Specify as a command option.
User name of the administrator
Specify as a command option.
Password of the administrator
Specify according to the prompt shown when executing the command.
Use the value specified in "2.2 Setup of the Management Server and the Coordination Adapter Platform (APP)".
Note
In order to execute the command, the manager server must be operating.
Information
For the parameters which are changed using the "set" subcommand of asadmin command, the currently set value for the installed environment can be confirmed by executing a confirmation command.
The confirmation command is as follows.
"%FSCSM_HOME%\SWCTMG\glassfish3\bin\asadmin" -p <admin port number> -u <user name of administrator> get <parameter>
For parameters of the asadmin command, refer to the detailed instructions regarding each command.
Changing Admin Port Numbers for Java EE Execution Environments (GUI and API Domains)
Execute the following command:
"%FSCSM_HOME%\SWCTMG\glassfish3\bin\asadmin" -p <admin port number> -u <user name of administrator> set server-config.network-config.network-listeners.network-listener.admin-listener.port=<port number>
Restart the management server.
For details on how to restart, refer to "Starting and Stopping" in the "FUJITSU Software Cloud Services Management Operation Guide".
Changing Port Numbers for HTTP Listeners (GUI and APP Domains)
Execute the following command to make changes.
"%FSCSM_HOME%\SWCTMG\glassfish3\bin\asadmin" -p <admin port number> -u <user name of administrator> set server-config.network-config.network-listeners.network-listener.http-listener-1.port=<port number>
Point
Changes made to the HTTP listener port number are reflected immediately.
After changing the port number, access the Cloud Management Portal using the new port number.
Note
When changing the HTTP listener port number of a GUI domain, modify the port number specified in BSS_WEBSERVICE_HOST_PORT for the coordination adapter platform (APP). For details on the modification procedure, refer to "C.3 Reconfiguring the Coordination Adapter Platform (APP)".
When changing the HTTP listener port number of an APP domain, modify the port number specified in APP_BASE_URL for the coordination adapter platform (APP). For details on the modification procedure, refer to "C.3 Reconfiguring the Coordination Adapter Platform (APP)".
Changing Port Numbers for HTTP Listeners (API Domains)
Execute the following command:
"%FSCSM_HOME%\SWCTMG\glassfish3\bin\asadmin" -p <admin port number> -u <user name of administrator> set server-config.network-config.network-listeners.network-listener.http-listener-1.port=<port number>
Open the following file using a text editor.
%FSCSM_HOME%\sys\conf\fscsm_sys_config.xml
Specify the new port number for the item "internalapi.port".
Example
When changing the port number from 3780 to 3790, specify as follows.
[Before changing]
<entry key="internalapi.port">3780</entry>
[After changing]
<entry key="internalapi.port">3790</entry>
Restart the management server.
For details on how to restart, refer to "Starting and Stopping" in the "FUJITSU Software Cloud Services Management Operation Guide".
Point
Changes made to the HTTP listener port number are reflected immediately.
Changing Port Numbers for HTTP SSL Listeners (GUI and API Domains)
Execute the following command to make changes.
"%FSCSM_HOME%\SWCTMG\glassfish3\bin\asadmin" -p <admin port number> -u <user name of administrator> set server-config.network-config.network-listeners.network-listener.http-listener-2.port=<port number>
Point
Changes made to the HTTP SSL listener port number are reflected immediately.