If the PRIMECLUSTER version of the migration source is not 4.3A20 or later, upgrade PRIMECLUSTER.
The configuration name of RMS used in here is the RMS configuration name checked in Step 3.1 in "18.4 Changing the Setting in the Single-User Mode."
The following is the update procedure for PRIMECLUSTER Enterprise Edition (EE).
Migrate to the OpenBoot environment.
# /usr/sbin/shutdown -y -g0 -i0Execute the following procedure on all nodes.
Insert the DVD of PRIMECLUSTER 4.5A10 into the DVD drive.
Start the system in the single-user mode.
{0} ok boot -sMount the required file system.
# /usr/sbin/zfs mount -aIf you install it to a directory of the UFS file system, execute the following command.
# /usr/sbin/mountall -lMount the DVD.
# mkdir -p /cdrom/cdrom0 ***(Note 1) # /usr/sbin/mount -F hsfs -o ro /dev/dsk/c0t4d0s2 /cdrom/cdrom0 ***(Note 2)
(Note 1) It is required if there is no "/cdrom/cdrom0" directory.
(Note 2) Check the underlined device name because the name varies depending on the machine environment.
Create a backup directory. "/var/tmp/backup" is used as the backup directory in here.
# cd /var/tmp # mkdir backup
Back up the operation environment of PRIMECLUSTER.
# cp -p /usr/opt/reliant/etc/hvipalias /var/tmp/backup
# cp -p /var/opt/FJSVclapm/etc/Tuning_Param /var/tmp/backup
# cp -p /opt/FJSVcldbm/data/DB/ApiAdjustTbl.CLDB /var/tmp/backup
# cp -p /etc/opt/FJSVcluster/etc/rmcip.conf /var/tmp/backup
# /opt/FJSVwvbs/etc/bin/wvSetport fjwv_c > /var/tmp/backup/fjwv_c
Check that the backup file has been created.
# ls -l /var/tmp/backupBack up the operation environment of GLS.
Back up the operation environment of GLS Redundant Line Control Function.
Use "hanetYYYYMMDD.bk" as the save file name. YYYYMMDD is the information obtained when the command is executed (YYYY, MM, and DD stand for the year, month and day, respectively).
# /opt/FJSVhanet/usr/sbin/hanetbackup -d /var/tmp/backupBack up the operation environment of GLS multipath function.
# cd /etc/opt/FJSVmpnet # tar cvf - conf | compress > /var/tmp/backup/mpnetfile.tar.Z
Check that the backup file has been created.
# ls -l /var/tmp/backup Execute the following script to remove packages.
# cd /cdrom/cdrom0/Tool # ./upgrade_uninstall
Are you sure to remove PRIMECLUSTER software packages from the global zone?(y,n) y * * Uninstallation was successful. #
Check that "Uninstallation was successful." is displayed.
For the migration from 4.2A00, check that the following files exist. If so, delete the files with the following procedure.
# cd /etc/init.d
# rm fjsvgfs
# rm sfcfsrm
# rm sfcinit
# cd /etc/rc0.d
# rm K00FJSVwvbs
# rm K00FJSVwvcnf
# rm K41sfcfsrm
# rm K62clrmgr
# rm K63clctrl
# rm K68CL20dbm
# rm K71clapi
# rm K72clrms
# cd /etc/rc1.d
# rm K41sfcfsrm
# rm K62clrmgr
# rm K63clctrl
# rm K69CL20dbm
# rm K71clapi
# rm K72clrms
# cd /etc/rc2.d
# rm S07clapi
# rm S08clrms
# rm S65CL10dbm
# rm S66clrmgr
# rm S68clrwz
# rm S71clctrl
# rm S80FJSVwvbs
# rm S81sfcfsrm
# cd /etc/rc3.d
# rm S32clautoconfig
# rm S98clwaitprobe
# rm S99FJSVwvcnf
# rm S99FJSVgfs
# cd /etc/rcS.d
# rm K41sfcfsrm
# rm S76sfcinit
# cd /opt/SMAW/SMAWcf/dep/start.d
# rm S81sfcfs
# cd /opt/SMAW/SMAWcf/dep/stop.d
# rm K41sfcfs
Stop the system.
# /usr/sbin/shutdown -y -g0 -i0Note
Though the following message appears during the shutdown, it does not disrupt ongoing operation.
ld.so.1: sfclog: Critical error: libcf.so: Failed to open: No file or directory. ld.so.1: /etc/opt/FJSVcluster/FJSVcldbm/system/CCMstop: Critical error: libcf.so: Failed to open: No file or directory.
Start the system in the single-user mode.
{0} ok boot -sMount the required file system.
# /usr/sbin/zfs mount -a If you install it to a directory of the UFS file system, execute the following command.
# /usr/sbin/mountall -lMount the DVD.
# mkdir -p /cdrom/cdrom0 ***(Note 1) # /usr/sbin/mount -F hsfs -o ro /dev/dsk/c0t4d0s2 /cdrom/cdrom0 ***(Note 2)
(Note 1) It is required if there is no "/cdrom/cdrom0" directory.
(Note 2) Check the underlined device name because the name varies depending on the machine environment.
Check that FJSVsnap packages have been installed.
Check that the versions of FJSVsnap packages installed are not older than "2.8."
# pkginfo -l FJSVsnap.\* If the versions of FJSVsnap packages are old, remove all of them from the system.
# pkgrm FJSVsnapIf old versions of FJSVsnap packages were removed in the task above, or FJSVsnap packages have not been installed, execute the pkgadd(1M) command to install them.
# pkgadd -d /cdrom/cdrom0/Tool/Pkgs FJSVsnap Check that FJSViomp 2.3 or later have been installed.
# pkginfo -l FJSViomp.\*If the versions of FJSViomp are 2.2 or earlier in the task above, remove all of them from the system.
# pkgrm FJSViomp If old versions of FJSViomp packages were removed in the task above, or FJSViomp packages have not been installed, execute the pkgadd(1M) command to install them.
# pkgadd -d /cdrom/cdrom0/Tool/Pkgs FJSViompExecute the installation script.
# cd /cdrom/cdrom0/Tool # ./cluster_install -e EE * * The installation was finished successfully. #
Check that "The installation was finished successfully." is displayed.
Unmount the DVD and eject it.
# cd / # /usr/sbin/umount /cdrom/cdrom0
Restore the operation environment of GLS.
Restore the operation environment used by GLS Redundant Line Control Function.
# /opt/FJSVhanet/usr/sbin/hanetrestore -f /var/tmp/backup/<save_file_name>
Use "hanetYYYYMMDD.bk" as the save file name.
Restore the operation environment of PRIMECLUSTER.
# /opt/FJSVwvbs/etc/bin/wvSetport fjwv_c=`cat /var/tmp/backup/fjwv_c`
# cp -p /var/tmp/backup/Tuning_Param /var/opt/FJSVclapm/etc
# cp -p /var/tmp/backup/hvipalias /usr/opt/reliant/etc
# cp -p /var/tmp/backup/ApiAdjustTbl.CLDB /opt/FJSVcldbm/data/DB
# cp -p /var/tmp/backup/rmcip.conf /etc/opt/FJSVcluster/etc/rmcip.conf
Upadate the autoconf.conf file.
# cd /etc/opt/FJSVcluster/etc/ # mv autoconf.conf autoconf.conf.bak # cp /opt/FJSVclapi/etc/autoconf.conf ./ # chmod 644 autoconf.conf