This section describes the procedure that is performed on the migration source server before migrating in P2V.
Back up the management partition information of GFS on the migration source server.
Execute the following command on any one of the running nodes.
# sfcgetconf _backup_file_
In the example above, the sfcgetconf(1M) command creates a shell script named "backup_file" to the current directory.
The content of the shell script is as follows.
#!/bin/sh # This file is made by: # sfcgetconf _backup_file_ # Sat Feb 18 09:08:06 2012 #---- fsid : 1 ---- # MDS primary (port) : host1 (sfcfs-1) # MDS secondory (port) : host2 (sfcfs-1) # MDS other : # AC : host1,host2 # options : # device : /dev/sfdsk/class02/rdsk/volume01 sfcadm -m host1,host2 -g host1,host2 -p sfcfs-1,sfcfs-1 /dev/sfdsk/class02/rdsk/volume01 #---- fsid : 2 ---- # MDS primary (port) : host2 (sfcfs-2) # MDS secondory (port) : host1 (sfcfs-2) # MDS other : # AC : host2,host1 # options : # device : /dev/sfdsk/class02/rdsk/volume02,/dev/sfdsk/class02/rdsk/volume03 sfcadm -m host2,host1 -g host2,host1 -p sfcfs-2,sfcfs-2 /dev/sfdsk/class02/rdsk/volume02,/dev/sfdsk/class02/rdsk/volume03 # end of backup (_backup_file_)
Backing up the configuration information of GDS on the migration source server.
Save the results output by the sdxinfo command to a file.
/var/tmp/Class1.info is used as the path name of the file here.
Execute the following command on any one of the running nodes. If there are multiple classes, execute the command to all the classes.
# sdxinfo -c class01 -e long > /var/tmp/Class1.info
Output the configuration of objects within class01 to a file in configuration table format.
# sdxconfig Backup -c class01 -o /var/tmp/Class1.conf
Confirm that the configuration information is output to the file in the destination.
Note
When using local classes, execute this procedure on the nodes in which local classes are present.