Symantec logo

Upgrading VCS to 5.0

When you run installvcs on cluster systems that currently runs VCS 4.1, the program guides you through an upgrade procedure. The example upgrade demonstrates how to upgrade VCS 4.1 MP2 to VCS 5.0 on nodes north and south using installvcs program.

Upgrade tasks include:

Removing deprecated resource types

With VCS 5.0, certain resource type definitions are no longer used. Before you start the upgrade process, you must remove the resources of the deprecated resource types from your cluster configuration. The list of resource types that are not used in VCS 5.0 are:

If you are using the resource type ServiceGroupHB, Symantec recommends the use of I/O fencing.

Perform the following steps to remove the deprecated resource types.

 To remove the deprecated resource types

  1. Save the VCS configuration and stop the VCS engine.

    # haconf -dump -makero

    # hastop -all -force

  2. Back up the configuration file, main.cf to a location on the cluster node.
  3. Edit the main.cf located under /etc/VRTSvcs/conf/config.
    1. Remove the resource of the deprecated resource types.

      You must modify the resource dependencies to ensure that the configuration works properly.

    2. Save the main.cf.
  4. Verify the configuration.

    # cd /etc/VRTSvcs/conf/config

    # hacf -verify config

  5. Start VCS on the local node.
  6. Start VCS on other nodes.

      Note   Make sure you start VCS on the local node before starting on the other nodes. This ensures that had reads the configuration from the local node and updates it on the remaining nodes.


Starting the upgrade

Start the installvcs program to automatically upgrade the cluster nodes.

 To start the upgrade

  1. Log in as superuser.
  2. Mount the software disc.

    See Mounting the product disc

  3. Ensure that HAD is running.
  4. On the node where the disk was mounted, browse to the cluster_server directory and start the installvcs program:

    # ./installvcs

    See Starting the software installation.

  5. After viewing a copyright notice, review the report after the program examines the configuration files and discovers the existing cluster configuration (including the ClusterService group, if it is defined):
VCS configuration files exist on this system with the following 
information:
 

Cluster Name: vcs_cluster2

Cluster ID Number: 7

Systems: north south

Service Groups: ClusterService XYZ_group

No checks have been made to ensure the validity of the configuration.

VCS version 4.1.10.00 is installed on this system

  1. To upgrade to VCS 5.0, press Enter.
Do you want to upgrade to version 5.0 on these systems using the 
current configuration? [y,n,q,?] (y) y
 
Checking upgrade requirements

The installer program verifies that you systems meet the requirements for upgrading.

 To check upgrade requirements

  1. Review the output as the program verifies that the upgrade can proceed on the systems.

    The installvcs program checks the operating system level and system-to-system communication. It also creates logs for the VCS update.

installvcs requires that ssh commands used between systems 
execute without prompting for passwords or confirmations.  If 
installvcs hangs or asks for a login password or hangs, stop 
installvcs and run it again with the ssh configured for 
passwordless logins, or configure rsh and use the -rsh option.
 

Checking ssh communication with north......HP-UX 2.6.5-7.244-smp

Checking VCS installation on north.................... 4.1.10.00

Checking VCS installation on south.................... 4.1.10.00

  1. Review the output as the installer checks the licenses that are currently in place on the cluster nodes. The installer also prompts to add additional license keys:

    Checking system licensing

    Installing licensing depots

    VCS license registered on north

    Do you want to enter another license key for north? [y,n,q](n) n

    VCS license registered on south

    Do you want to enter another license key for south? [y,n,q](n) n

Removing VCS depots from previous versions
and installing VCS 5.0 depots

The installer program is ready to remove the depots from VCS version 4.1 and install the 5.0 depots on each node after verifying the requirements.

 To remove VCS depots from previous versions and add 5.0 depots

  1. Review the output as the installer checks for existing depots.

    Checking installed depots on north

    Checking installed depots on south

  2. Specify the depots to be installed on the cluster systems.
Additional depots are typically installed to simplify future 
upgrades.
 

1) Required Veritas Cluster Server depots - 397 MB required

2) All Veritas Cluster Server depots - 444 MB required

Select the depots to be installed on all systems? [1-2,q,?] 2

  1. The installer lists the depots that will be installed or upgraded. Press Enter at the prompt.

    installvcs will upgrade or install the following VCS depots:

    Press [Enter] to continue:

  2. The installer is now ready to upgrade VCS. Press Enter at the prompt.

    installvcs is now ready to upgrade VCS.

    All VCS processes that are currently running must be stopped.

    Are you sure you want to upgrade VCS? [y,n,q] (y) y

    Updating gabtab on north................................... Done

installvcs must now make configuration updates and stop the 
cluster before upgrading VCS depots
 

Are you ready to begin the Veritas Cluster Server upgrade at this time? [y,n,q] (y) y
  1. View the output as the program backs up the types.cf and main.cf and freezes the service group configured in the cluster.

    Backing up types.cf and main.cf............................ Done

    Freezing group XYZ_group................................... Done

    Updating types.cf file .................................... Done

    Updating gabtab on north................................... Done

    Updating gabtab on south................................... Done

  2. The program attempts to stop VCS and uninstall the depots. Progress indicators show the status of these tasks.
  3. The program now attempts to install VCS 5.0 depots. A progress indicator shows the status of the task.
Starting VCS

After the installvcs program upgrades the nodes, you can proceed to start VCS using the installvcs program.

 To start VCS

  1. The program prompts you to start VCS.
Do you want to start Veritas Cluster Server processes now? 
[y,n,q] (y)
 
  

  1. The program attempts to unfreeze the service group and online the ClusterService group.

    Unfreezing NFSGroup....................................... Done

    Unfreezing myshare........................................ Done

    Unfreezing testgrp........................................ Done

    Onlining ClusterService Group on north.................... Done

Completing the upgrade

After starting the cluster server processes, the upgrade is complete.

 To complete upgrade

  1. Note the locations of the summary and log files that the program creates.

    Upgrade log files and summary file are saved at:

    /opt/VRTS/install/logs/installvcs-unique string/

  2. Other files specific to the installer program are also created in the /opt/VRTS/install/logs/installvcs-unique string/ directory.
  3. Verify that the cluster is operating properly after the upgrade.

    See Verifying the VCS installation.