Chapter 11. Local XVM Plug-In

SGI Cluster Manager supports failover of XVM volumes in local mode. This support is available as part of the clumanager-sgi RPM in on the SGI Cluster Manager 4.2 for Linux -- Storage Software Plug-ins CD.


Note: XVM in cluster mode is supported only with CXFS. See Chapter 8, “CXFS Plug-In”.

For more information about XVM, see XVM Volume Manager Administrator's Guide.

This chapter contains the following:

Local XVM Device Configuration

Local XVM devices are configured as a device for a service. You can specify multiple XVM devices for a service. For each local XVM volume device, specify the list of physical volumes that it contains, separating each element in the list by a comma (,) character.

Following is an example to fail over local XVM volume m0:

  1. Install and configure XVM on both members in the cluster.

  2. Find the physical volumes that are part of volume m0:

    # xvm
    xvm:local> show -topology -extend vol/m0
    vol/m0                            0 online,open
        subvol/m0/data            497824768 online,open
            stripe/stripe0            497824768 online,tempname,open (unit size: 128)
                mirror/mirror8             35558944 online,tempname,open
                    slice/dks5d1s0             35558944 online,open (dks5d1:/dev/rdsk/dks5d1vol)
                    slice/dks4d1s0             35558944 online,open (dks4d1:/dev/rdsk/dks4d1vol)
                mirror/mirror4             35558944 online,tempname,open
                    slice/dks11d1s0            35558944 online,open (dks11d1:/dev/rdsk/dks11d1vol)
                    slice/dks7d1s0             35558944 online,open (dks7d1:/dev/rdsk/dks7d1vol)

    The list of physical volumes that belong to volume m0 are dks5d1, dks4d1, dks11d1 , and dks7d1.

  3. Add the device to the service using the sgicm-config-cluster GUI or the sgicm-config-cluster-cmd command-line interface. The device name will be /dev/lxvm/m0 and the physical volumes will be dks5d1,dks4d1,dks11d1,dks7d1 .

    For example, the following output from the CLI after the device item shows the information that has been added to service nfs1:

    # sgicm-config-cluster-cmd --service=nfs1 \
    --device=/dev/lxvm/m0 \
    --physvols=dks5d1,dks4d1,dks11d1,dks7d1
    
    device:
      name = /dev/lxvm/m0
      sharename =   physvols = dks5d1,dks4d1,dks11d1,dks7d1
    
    mount:
      mountpoint = /mnt5
      fstype = xfs
      options = rw
      forceunmount = yes
    
    nfsexport:
      name = /mnt5
    
    client:
      name = challenger.engr.sgi.com
      options = rw


    Note: SGI Cluster Manager uses the xvm subcommands give and steal during failover for local XVM volumes. However, the list of physical volumes can be specified or modified only if the clumanager-sgi RPM is installed on the member.


Figure 11-1 shows an example in the GUI.

Figure 11-1. Adding an XVM Device

Adding an XVM Device

For more information on configuration, see “Step 8: Configure the Service” in Chapter 4.

Local XVM Start/Stop Order

For the order in which local XVM is started/stopped, see Chapter 6, “Creating a New Highly Available Application”.