Top
PRIMECLUSTER  Installation and Administration Guide4.3

15.5 Updating PRIMECLUSTER

If the PRIMECLUSTER version of the migration source is not 4.3A20, upgrade PRIMECLUSTER.

The configuration name of RMS used in here is the RMS configuration name checked in Step 3.1 in "15.4 Changing the Setting in the Single-User Mode."

The following is the update procedure for PRIMECLUSTER Enterprise Edition (EE).

  1. Migrate to the OpenBoot environment.

    # /usr/sbin/shutdown -y -g0 -i0
  2. Execute the following procedure on all nodes.

    1. Insert the DVD of PRIMECLUSTER 4.3A20 into the DVD drive.

    2. Start the system in the single-user mode.

      {0} ok boot -s
    3. Mount 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 -l
    4. Mount the DVD.

      # mkdir -p /cdrom/cdrom0 <Return> ***(Note 1)
      # /usr/sbin/mount -F hsfs -o ro /dev/dsk/c0t4d0s2 /cdrom/cdrom0 <Return> ***(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.

    5. Create a backup directory. "/var/tmp/backup" is used as the backup directory in here.

      # cd /var/tmp
      # mkdir backup
    6. 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/backup
    7. Back 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/backup

      Back 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 
    8. 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.

    9. 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
    10. Stop the system.

      # /usr/sbin/shutdown -y -g0 -i0

      Note

      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.
    11. Start the system in the single-user mode.

      {0} ok boot -s
    12. Mount 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 -l
    13. Mount 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.

    14. 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 FJSVsnap

      If 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 
    15. 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 FJSViomp
    16. Execute 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.

    17. Unmount the DVD and eject it.

      # cd /
      # /usr/sbin/umount /cdrom/cdrom0
    18. 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.

    19. 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
    20. 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