Symantec logo

Upgrading Solaris on a node

Tasks involved in upgrading the Solaris operating system include:

 To stop VCS

  1. Make the VCS configuration writable. On the first system, type:

    # haconf -makerw

  2. Move all service groups from the system you are upgrading to another system and keep services from failing over to this server. On the system you are upgrading, type:

    # hasys -freeze -persistent -evacuate upgrade_server

  3. Check if all service groups and resources are offline on the this system and online on the other system. Type:

    # hastatus -summary

  4. Close the configuration and unload the VCS services on the system you are upgrading. On the upgrading system, type:

    # haconf -dump -makero

    # hastop -local

  5. Confirm that VCS has shut down. On the upgrading system, type:

    # gabconfig -a

    Output resembles:

    GAB Port Memberships
    =======================================
    Port a gen 23dc0001 membership 01

    Note that the output shows no membership for port h.

 To stop GAB and LLT and unload the kernel modules

  1. Unconfigure GAB. Type:

    # gabconfig -U

  2. Unload the GAB module from the kernel.
  3. Unconfigure LLT. On each system, type:

    # lltconfig -U

    The following message is displayed on the console:

    lltconfig: this will attempt to stop and reset LLT.

    Confirm (y/n)?

  4. Type Y on each system in response to the message.
  5. Unload the LLT module from the kernel.

 To remove GAB and LLT packages

 To upgrade Solaris

  1. Follow the Sun installation guide to upgrade the operating system kernel to the new version of Solaris.
  2. As the system comes up, enter single-user mode.

 To reinstall GAB, LLT from the software disc and restart

  1. In single-user mode, log in as superuser on the system you are upgrading.
  2. Check whether the /tmp directory is mounted.

    # mount

  3. If the /tmp directory is not mounted, then enter:

    # mount /tmp

  4. Create a directory for installation:

    # mkdir /tmp/install

  5. Insert the software disc with the VCS software into a drive connected to the system you are upgrading. The Solaris volume-management software automatically mounts the disc as /cdrom/cdrom0. Type the command:

    # cd /cdrom/cdrom0

  6. Copy the compressed package files from the software disc to the temporary directory:

    # cp -r cluster_server/pkgs/VRTSllt.tar.gz /tmp/install

    # cp -r cluster_server/pkgs/VRTSgab.tar.gz /tmp/install

  7. If your system does not have the gunzip utility, copy it from the disc:

    # cp /cdrom_path/gnu/gunzip /tmp/install

  8. Go to the temporary directory and unzip the compressed package files:

    # cd /tmp/install

    # gunzip VRTSllt.tar.gz

    # gunzip VRTSgab.tar.gz

    The following files are now present in the temporary directory:

    VRTSgab.tar

    VRTSllt.tar

  9. Extract the required VCS files from the compressed files:

    # tar -xvf VRTSllt.tar

    # tar -xvf VRTSgab.tar

  10. Install the LLT and GAB packages. As you enter the command, be sure to list the packages in the order shown:

    # pkgadd -d . VRTSllt VRTSgab

  11. Bring system up in multi-user mode:

    # cd /

    # init 3

 To restart VCS

  1. Verify that VCS services are running on the upgraded server. On the upgraded server, type:

    # ps -ef | grep ha

    root 576 1 0 16:54:12 ? 0:02 /opt/VRTSvcs/bin/had

    root 578 1 0 16:54:13 ? 0:00 /opt/VRTSvcs/bin/hashadow

  2. If the VCS services are not running, reload the VCS services. Type:

    # hastart

  3. Unfreeze the upgraded server and save the configuration. On the upgraded server, type:

    # hasys -unfreeze -persistent upgraded_server

    # haconf -dump -makero