Step 2: Creating the Serviceguard Storage Infrastructure

Before configuring EVFS, you must create a Serviceguard storage infrastructure for the cluster with cluster-aware LVM volume groups or VxVM disk groups. This infrastructure must be accessible to all nodes in the cluster. Select one node to be the configuration node. You will perform most of the configuration tasks on this node, then copy configuration data to the other nodes in the cluster. The primary node is typically the configuration node.

This section summarizes the procedures for creating a Serviceguard storage infrastructure. For more information, see the Serviceguard product documentation.

Creating an LVM Serviceguard Storage Infrastructure

This section summarizes the configuration procedures for an LVM Serviceguard storage infrastructure on the configuration node and the adoptive nodes.

Configuration Node

On the configuration node:

a.Create the physical volume and volume group if necessary. Create the LVM volumes.

b.Deactivate the LVM volume group using the appropriate vgchange -a n command.

c.Use the vgexport command to create a map file.

d.Copy the LVM map file to the other nodes in the cluster.

CAUTION: You can create an EVFS volume on an existing LVM volume, but any existing data on the volume will be unusable. If you have existing data that you want to protect with EVFS, use inline encryption. For more information, see“Step 4: (Optional) Migrating Existing Data to an EVFS Volume” (page 61) for more information.

Adoptive Nodes

On the adoptive nodes, import the volume group and volumes as follows:

a.Use the appropriate mkdir and mknod commands to create the volume group directory and control file.

b.Use the vgimport command to import the volume group data from the LVM map file created on the configuration node.

c.To test the import operation, you can configure and mount temporary file systems on the LVM volumes. When the configuration is complete, you will configure and mount file systems on EVFS volumes, not on the LVM volumes.

Creating a VxVM Serviceguard Storage Structure

This section summarizes the configuration procedures for a VxVM Serviceguard storage infrastructure on the configuration node and the adoptive nodes.

Configuration Node

On the configuration node:

a.Create the VxVM volume. If necessary, initialize the VxVM disk using the appropriate VxVM commands and create a disk group. For example, you can use the following sequence of commands to create a VxVM volume:

i.Start the VxVM volume configuration daemon: vxdctl enable

ii.Initialize the disk: vxdisk [-f] init disk_volume

iii.Create the disk group: vxdg init dg_name disk_volume

iv.Create the VxVM volume: vxassist -gdg_name make vxvm_volume size

b.Use the vxdg deport dg_name command to deport the disk group and make it available for use on the other systems.

Step 2: Creating the Serviceguard Storage Infrastructure 157

Page 157
Image 157
HP UX Encrypted Volume and Filesystem (EVFS) manual Creating the Serviceguard Storage Infrastructure, Configuration Node