[Contents] [Prev. Chapter] [Next Section] [Next Chapter] [Index] [Help]

4    Upgrade Installation

The TruCluster upgrade procedures assume that you are performing an update installation of the DIGITAL UNIX operating system, and thereby preserving existing TruCluster configuration and database files. If you perform a full installation of the DIGITAL UNIX operating system, you must perform a full installation of the TruCluster product.

Note

Some versions of TruCluster products are supported on more than one version of the DIGITAL UNIX operating system. If you are updating only the operating system, see Section 4.6.

Table 4-1 summarizes the upgrade installation tasks. It lists the tasks in order, indicates the TruCluster products to which each task applies, and provides pointers to necessary information. The column headings R and S refer to rolling and simultaneous upgrades. The section titles in this chapter also use the R convention to indicate when a section applies only to a rolling upgrade.

Both full and upgrade TruCluster installations use the same installation script. Because both installation types share several steps, Table 4-1 often refers to sections in Chapter 3.

Table 4-1:  Upgrade Installation Tasks

Task Production Server Available Server See:
R S R S
Read the introductory chapters. X X X X Chapters 1 and 2
Read the rolling upgrade restrictions. X   X   Section 4.1
Perform preinstallation tasks. X X X X Table 2-1
Load the TruCluster kit. The installation procedure starts automatically when you load the kit. X X X X Section 3.1
Specify the IP name and address (CLUSTER_NET) of the cluster interconnect (PS) or the member network interface (AS). X X X X Section 2.1 and Section 3.2
Specify an ASE identifier (ASE_ID). X X     Section 3.3
Decide whether to run the ASE logger daemon on this system. X X X X Section 3.4
Initialize the ASE database. X X X X Section 4.2
Select a kernel configuration file. X X X X Section 3.6
Build and install a new kernel. X X X X Section 3.8
Add host entries to /etc/hosts. X X X X Section 3.9
Enable new DLM interfaces and reboot the system.   X     Section 3.10
Reboot the system. X   X X Section 3.11
Return the member to the ASE. X   X   Section 4.3
After all systems are upgraded, if using a saved ASE database, return the member to the ASE.   X   X Section 4.3
After all systems are upgraded, if not using a saved ASE database, populate the member list in the ASE database.   X   X Section 3.12
Specify a tie-breaker disk (CNX_DISK) (only for a two-system, virtual-hub cluster). X X     Section 3.14
After all systems are upgraded, enable new DLM interfaces and reboot each system. X       Section 4.4
After all systems are installed, create consistent device special files for an ASE highly available tape service. X X X X Section 3.13
After all systems are upgraded, restart ASE services.   X   X Section 4.3
After all systems are upgraded, use asemgr to turn on new features. X   X   Section 4.5
After all systems are upgraded, run clu_ivp to verify the installation. X X X X Chapter 5


[Contents] [Prev. Chapter] [Next Section] [Next Chapter] [Index] [Help]

4.1    Rolling Upgrade Restrictions (PS-R, AS-R)

Before performing a rolling upgrade, note the following restrictions:

Note

DIGITAL recommends that you complete the rolling upgrade procedure as quickly as possible and minimize any hardware and software changes during the upgrade. For example, if you want to upgrade the member systems and also remove a member system, delete the member system before you perform the upgrade. If you want to add a member system, perform the upgrade and then add the new member.


[Contents] [Prev. Chapter] [Prev. Section] [Next Section] [Next Chapter] [Index] [Help]

4.2    Initialize the ASE Database (PS, AS)

If you did not save the ASE database when deinstalling the TruCluster subsets, the installation procedure automatically creates and initializes a new ASE database, /var/ase/config/asecdb. However, if the installation procedure detects an existing ASE database, it asks whether you want to use this database:

An old ASE database file has been found. Do you want to use this (y/n):

If you answer n, the installation procedure deletes the database and creates a new one.


[Contents] [Prev. Chapter] [Prev. Section] [Next Section] [Next Chapter] [Index] [Help]

4.3    Return the System to Its ASE (PS, AS)

To return the member to the ASE, follow the steps for your type of upgrade.

For a rolling upgrade:

For a simultaneous upgrade using a saved copy of the ASE database:


[Contents] [Prev. Chapter] [Prev. Section] [Next Section] [Next Chapter] [Index] [Help]

4.4    Enable New DLM Interfaces and Reboot (PS-R)

Complete a rolling upgrade of all systems before enabling the new distributed lock manager (DLM) interfaces. After all systems are upgraded, run the dlm_enable script on each system.

Caution

After the new DLM interfaces are enabled on a cluster member, the DLM will panic if any cluster member is running a version of TruCluster software prior to Version 1.5, or if a Version 1.5 member attempts to use these new interfaces to communicate with another Version 1.5 member that does not have the interfaces enabled. Once you enable the new features on one member, make sure to enable these features on all cluster members before running an application that uses the new DLM interfaces.

To enable the new DLM features and reboot, follow these steps on each system in turn:

  1. Run the dlm_enable script:

    # /usr/sbin/dlm_enable
    

  2. The script displays:

    Would you would like to reboot the system at this time (y/n)? [n]:
     
    

    Enter y. The script then runs the shutdown -r now command.


[Contents] [Prev. Chapter] [Prev. Section] [Next Section] [Next Chapter] [Index] [Help]

4.5    Enable New ASE Features (PS-R, AS-R)

Complete a rolling upgrade of all systems before enabling new ASE features. After all system are upgraded, enable new ASE features on one member in each ASE.

Note

Because there are no software checks that prevent you from enabling new features before all systems are upgraded, make sure that all systems are upgraded to the latest version of the TruCluster product before continuing.

To enable new features, run asemgr and enable the features by selecting the f menu option, Enable ASE V1.5 functionality. Once you enable new features, this menu option is disabled (the f is no longer visible). The following example shows the menu option with the f option enabled:

# asemgr
 
        TruCluster Production Server (ASE)
 
                ASE Main Menu
 
    a)  Managing the ASE         
-->
    m)  Managing ASE Services    
-->
    s)  Obtaining ASE Status     
-->
 
    x)  Exit                             ?)  Help
 
Enter your choice: a
 
                Managing the ASE
 
    a)  Add a member
    d)  Delete a member
    n)  Modify the network configuration
    m)  Display the status of the members
    C)  Display the configuration of the ASE database
    l)  Set the logging level
    e)  Edit the error alert script
    t)  Test the error alert script
    f)  Enable ASE V1.5 functionality
 
    q)  Quit (back to the Main Menu)    
    x)  Exit                             ?)  Help
 
Enter your choice: f
 


[Contents] [Prev. Chapter] [Prev. Section] [Next Chapter] [Index] [Help]

4.6    How to Update the DIGITAL UNIX Operating System Without Upgrading the TruCluster Software (PS, AS)

If the following conditions are met, you can update the DIGITAL UNIX operating system without upgrading the installed version of the TruCluster product:

The DIGITAL UNIX Release Notes provide information on the supported update paths for the operating system and the supported versions of TruCluster products.

When you update the DIGITAL UNIX operating system on an existing TruCluster member system, but are not upgrading the TruCluster software, you do not need to deinstall the TruCluster software kit before proceeding with the base system update. Correspondingly, you do not need to reinstall the TruCluster software kit after you have completed the update of the operating system. The current ASE configuration database (/var/ase/config/asecdb) is automatically preserved during an update of the operating system.

Note

You must update the operating system on all cluster or ASE members. At the end of the update, all systems must be running the same version of the DIGITAL UNIX operating system.

To update the operating system underlying the TruCluster software, perform the following procedure on each member system:

  1. Disable the TruCluster software by adding or editing the clubase stanza entry in /etc/sysconfigtab to include the following lines:

    clubase:
               cluster_disable=1
    

  2. Shut down and halt the system using a command similar to the following:

    #shutdown -h +30 Please log out
    

  3. From the console prompt, invoke the init command and boot /genvmunix to single-user mode; for example:

    >>> init 
    >>> boot -fi genvmunix -fl s
    

  4. Update the operating system. See the DIGITAL UNIX Release Notes and the DIGITAL UNIX Installation Guide for information about updating the operating system. See Section 1.3 for information about the operating system subsets required for the TruCluster product.

  5. Reenable the TruCluster software by setting the value of the cluster_disable attribute to 0 in the /etc/sysconfigtab file:

    clubase:
               cluster_disable=0
    

  6. Reboot the system.

The procedure is complete after you update the last member's operating system.


[Contents] [Prev. Chapter] [Prev. Section] [Next Chapter] [Index] [Help]