Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Performance Management - Remote Monitor for Virtual Machine Description, User's Guide and Reference


G.3 Migration in a cluster environment

In a cluster environment, after migration to the executing node finishes, the environment definition file must be copied to the standby node. The procedure is described below. Note that if there are multiple target instances, the procedure must be performed for each instance.

Organization of this subsection

(1) Making sure that the shared disk is online [Figure]

Check whether the shared disk is online. If it is offline, place it online from the cluster software or volume manager.

(2) Setting up a logical host in the PFM - RM for Virtual Machine environment [Figure]

A logical host must first be set up in the PFM - RM for Virtual Machine environment. For details about the setup procedure, see 3. Operations in a Cluster System.

(3) Backing up the source Store database [Figure]

If you use method 2 or 3 to migrate the Store database, create a backup file for the Store database of the instance that you want to migrate.

The following is an example of a command line that creates a backup file for the Store database in PFM - Agent for Virtual Machine.

C:\Program Files\Hitachi\jp1pc\tools> jpctool db backup -id 5S1inst1[aovmhost]
KAVE06000-I Backup processing of the Store database terminated normally. (service=5S1inst1[aovmhost])

(4) Backing up the destination Store database [Figure]

If you perform migration by adding a monitoring target to an existing instance environment, make sure that you back up the Store database of the migration-destination instance. (This is in case of a failure.)

The following is an example of a command line that creates a backup file for the Store database in PFM - RM for Virtual Machine.

C:\Program Files\Hitachi\jp1pc\tools> jpctool db backup -id 8S1newinst[rmvmhost]
KAVE06000-I Backup processing of the Store database terminated normally. (service=8S1newinst[rmvmhost])

(5) Migrating the environment to the executing node [Figure]

Migrate the environment to the executing node for each target instance. The use of the migration command is the same as for migration in a non-cluster environment. Specify logical host names for the -aolhost and -rmlhost options in the migration command.

(6) Performing post-migration setup [Figure]

After you use the migration command to migrate the Store database, if necessary, specify the network environment settings and the performance data storage destination. The procedures for these tasks are the same as in a non-cluster environment. For details, see G.2(4) Performing post-migration setup.

(7) Exporting the logical host environment definition file [Figure]

After environment migration to the executing node finishes, export the logical host environment definitions to a file.

The following is an example of a command line that exports the logical host environment definitions to the lhostexp.txt file.

C:\Program Files\Hitachi\jp1pc\tools>jpcconf ha export -f lhostexp.txt
KAVE05139-I The export processing of the logical host environment definition file ended normally.

(8) Copying the logical host environment definition file to the standby node [Figure] [Figure]

The logical host environment definition file that was exported in (7) Exporting the logical host environment definition file is now on the executing node. Copy this file from the executing node to the standby node.

(9) Importing the logical host environment definition file[Figure]

The logical host environment definition file that was copied from the executing node is now on the standby node. Use a command to import this file. The following is an example of a command line that imports a logical host environment definition file named lhostexp.txt.

C:\Program Files\Hitachi\jp1pc\tools>jpcconf ha import -f lhostexp.txt

KAVE05140-I The import processing of the logical host environment definition file ended normally.

(10) Registering PFM - RM for Virtual Machine in the cluster software [Figure] [Figure]

For details about how to register PFM - RM for Virtual Machine in the cluster software, see 3.3.4 Setup procedure.