4.3.2 Procedure to change the host name of the JP1/AO server (cluster system)
For a cluster system, the host name of the logical host can be changed, but not the host name of the physical host.
If Hitachi Command Suite products or Hitachi Ops Center products are installed, you need to change the settings in Hitachi Command Suite products or Hitachi Ops Center products at the same time. For details, see the manuals for Hitachi Command Suite products or Hitachi Ops Center products.
Before you begin
Log in to the JP1/AO server as a user who has not only administrator or root permissions on the OS, but also administrator permissions on the cluster.
To change the host name of the JP1/AO server:
-
In the Tasks window, check the tasks. If any tasks are in execution status (In Progress, Waiting for Input, In Progress (with Error), In Progress (Terminating), or Long Running), stop execution of the tasks or wait until the task status changes to the ended status.
-
Use the cluster software to move the resource group where the JP1/AO service is registered to the active server.
-
Use the cluster software to bring the above resource group online.
-
Use the cluster software to take services other than the HiRDB/ClusterService _HD1 service and scripts offline.
-
On the active server, execute the hcmds64srv command with the /stop option specified to stop the JP1/AO service.
-
Use the cluster software to bring the service (HiRDB/ClusterService _HD1) offline.
-
In the cluster software, suppress failover for the resource group where JP1/AO services and scripts is registered.
Right-click a service or script in the cluster software, select Properties, and then Policies. Then, specify the settings so that a restart does not occur if the resource fails. Perform this action for all services and scripts registered in the resource group in order to suppress failover.
-
In the cluster software, change the logical host name (client access point) of the resource group in which JP1/AO is registered.
-
Use the cluster software to move the resource group where the JP1/AO service is registered to the active server.
-
On the active server, modify the cluster settings file (Common-Component-installation-folder\conf\cluster.conf).
For details, see 5.5 Cluster settings file (cluster.conf).
-
On the active server, edit the user_httpsd.conf file to change the value of the ServerName directive to the new host name.
The user_httpsd.conf file is stored in the following folder:
-
If the OS of the JP1/AO server is Windows
Common-Component-installation-folder\uCPSB11\httpsd\conf
-
If the OS of the JP1/AO server is Linux
/opt/HiCommand/Base64/uCPSB11/httpsd/conf
If HTTPS connections are enabled, re-obtain the SSL server certificate and change the value of the ServerName directive in the VirtualHost directive to the new host name.
-
-
If the OS is Linux, on the active server, execute the hcmds64srv command with the status option specified to check the status of each service. If the database for the Common Component (HiRDB service) is not running, start the database by executing the hcmds64dbsrv command with the start option specified.
-
If the HAutomation Engine Web Service is running on the active server, stop it by executing the hcmds64srv command with the /stop /server AutomationWebService option specified.
-
Execute the setupcluster command on the active server.
-
Use the cluster software to move the resource group where the JP1/AO service is registered to the standby server.
-
On the standby server, create a cluster settings file (Common-Component-installation-folder\conf\cluster.conf).
For details, see 5.5 Cluster settings file (cluster.conf).
-
On the standby server, edit the user_httpsd.conf file to change the value of the ServerName directive to the new host name.
The user_httpsd.conf file is stored in the following folder:
-
If the OS of the JP1/AO server is Windows
Common-Component-installation-folder\uCPSB11\httpsd\conf
-
If the OS of the JP1/AO server is Linux
/opt/HiCommand/Base64/uCPSB11/httpsd/conf
If HTTPS connections are enabled, re-obtain the SSL server certificate and change the value of the ServerName directive in the VirtualHost directive to the new host name.
-
-
If the OS is Linux, on the standby server, execute the hcmds64srv command with the status option specified to check the status of each service. If the database for the Common Component (HiRDB service) is not running, start the database by executing the hcmds64dbsrv command with the start option specified.
-
If the HAutomation Engine Web Service is running on the standby server, stop it by executing the hcmds64srv command with the /stop /server AutomationWebService option specified.
-
Execute the setupcluster command on the standby server.
-
Use the cluster software to move the resource group where the JP1/AO service is registered to the active server.
-
Use the cluster software to enable failover of the resource group where JP1/AO services and scripts is registered.
Right-click a service or script in the cluster software, select Properties, and then Policies. Then, specify the settings so that a restart can be attempted on the current node if the resource fails and all resources in the target service or application can be failed over if restart fails. Perform this action for all services and scripts registered in the resource group in order to enable failover.
-
Bring the resource group online by using the cluster software.