In order to change IP address of the server where Administrator is installed, setting Administrator is necessary before changing the IP address. Refer to "Modifying the Ops Center Administrator server's IP address" in Hitachi Ops Center Administrator Getting Started Guide to change Administrator configuration and then change the IP address.
-
Log in to the management server as the root user.
If you log in as an ordinary user, use the sudo command to complete the following procedure as the root user.
-
Run the cschgconnect command.
- Command location
- installation-directory-of-Common-Services/utility/bin/cschgconnect.sh
- Format
-
cschgconnect.sh [-h host-name-or-IP-address] [-p port-number] | -enableip {true|false} | -list
- Options
-
- -h host-name-or-IP-address
-
Specify the host name (or FQDN) or IP address used to access the Hitachi Ops Center Portal. If you specify a host name (or FQDN), specify a value using no more than 128 characters. For the host name (or FQDN), you cannot specify uppercase characters. If you do, they are converted to lowercase characters and then registered.
The management server on which Common Services and other relevant products are installed and the web browser used to access the Hitachi Ops Center Portal must be able to resolve and reach the host name (or FQDN) and IP address.
- -p port-number
- Specify the port number used by Common
Services.Note: If you change the port number, you must also change the firewall setting.
- -enableip {true|false}
-
Specify whether an IP address can be used when the host name or FQDN is used in the URL for the Hitachi Ops Center Portal. To specify that the portal can be accessed by using an IP address, specify true. To specify that the portal cannot be accessed by using an IP address, specify false. The IP address for accessing the portal is automatically acquired from the system.
This option and other options cannot be specified at the same time.
- -list
-
Displays the current settings. This option and other options cannot be specified at the same time.
If you change the settings by using the -h, -p, or -enableip option, the settings displayed when you specify the -list option are not applied to the system until the Common Services service is restarted.
Note: If you use this command to change the host name or IP address to one that differs from the value set for CN or subjectAltName when the SSL server certificate was created, you must issue a new server certificate. - Restart the Common Services service.
-
Run the following command to check the result of the change.
cschgconnect.sh -list
-
Make sure that you can use a web browser to access the login window at the
following URL:
https://host-name-or-IP-address-of-Portal:port-number/portal
-
For each product registered in Common Services, run the setupcommonservice command for registering the product in Common
Services again.
For details, see the documentation for each product.