Using EVMS, you can add the Cluster Segment Manager to a shared device and create a Linux volume and file system on it for use with Novell Cluster Services.
Complete the tasks in this section to create a Linux POSIX volume and file system on a shared device:
After Novell Cluster Services is configured on the server, you can mark the device as shareable for clustering. If the device is newly added to the server, it might also be necessary to initialize the device in order to get the system to recognize its free space.
You can perform the device management tasks by using the Novell Storage Services (NSS) Management Utility or the Storage plug-in to iManager.
Log in to the server as the root user, then open a terminal console.
At the console prompt, enter
nssmu
In the NSSMU, select
and press Enter.In the
list, select the device where you want to create the Linux POSIX cluster resource.If the device has not been initialized, press F3 to initialize the disk.
WARNING:Initializing a disk destroys all of the data on it.
This initializes the disk and lays down a DOS Segment Manager on it. You will remove this segment manager later.
Press F6 to mark the device as shareable for clustering.
The
value changes from to .Exit NSSMU.
Continue with Section 13.3.2, Removing Formatting and Segment Managers.
In iManager, select
> , then select a server.From the
list, select the device where you want to create the Linux POSIX cluster resource.If the device has not been initialized, click
WARNING:Initializing a disk destroys all of the data on it.
This initializes the disk and lays down a DOS Segment Manager on it. You will remove this segment manager later.
In the
area, select the check box, then click to apply the change.Exit iManager.
Continue with Section 13.3.2, Removing Formatting and Segment Managers.
The EVMS Cluster Segment Manager must be the first segment manager laid down on the device that you want to use for the shared Linux volume. Before you can assign the CSM to a device, you must Ensure that the space is free of other formatting and segment managers.
WARNING:Clearing the existing formatting for a device destroys all data on it.
EVMS by default shows unformatted free space on disks as compatibility volumes. CMS requires the entire device. You must delete any existing compatibility volumes in order to free the space.
If the device contains existing segment managers, you must also delete them so that the CSM container is the first one on the device.
At a Linux terminal console, log in as the root user, then enter
evmsgui
Locate and delete any compatibility volumes on the device that you want to use for the shared volume:
Click the
tab, then locate any compatibility volumes that are on the space you want to use.Right-click the volume of interest, select
, click the tab, verify from the field that the volume is a compatibility volume, then click to dismiss the dialog box.If the volume is a compatibility volume, continue with Step 2.d. Otherwise, go to Step 3.
Click the
tab, right-click the volume, then select .WARNING:All data on the selected volume is destroyed.
Select the volume, then click
.If a
pop-up appears, click the button.If another pop-up appears, click
to write 1024 bytes to the end of the volume.Click
, then click again to save your changes.Locate and delete any existing segment managers on the device that you want to use for the shared volume, such as NetWare Segment Manager or DOS Segment Manager:
Click the sdb.
tab, then locate and select the device that you want to use for the shared volume, such as deviceRight-click, then select
.This option appears only if there is an existing segment manager for the selected disk.
Select the listed non-CSM segment manager, click
, then click .WARNING:All data on the selected disk space is destroyed.
Click
, then click again to save your changes.Repeat Step 3.a to Step 3.d until the option is no longer available when you right-click the device.
Continue with Section 13.3.3, Creating a Cluster Segment Manager Container.
A Cluster Segment Manager container provides exclusive access to shared storage for a node. You must assign an EVMS CSM to the shared device where you want to create the shared volume. The EVMS Cluster Segment Manager must be the first segment manager laid down on the space you want to use for the shared Linux volume. You use the Cluster Segment Manager plug-in for EVMS to create a CSM container.
IMPORTANT:CSM containers require Novell Cluster Services to be running on all nodes that access the CSM container. Ensure that Novell Cluster Services is running before you continue.
In evmsgui, click
.On the Create Storage Container page, select
, then click .On the Select Plugin Acceptable Objects page, select the disks (storage objects) you want to place in the container (such as sdb), then click .
On the Configuration Options page, select the cluster server node where you are creating the container, specify
as the type, then specify a name for the container.Specify a name that is easy to associate with the cluster resource you plan to create for the container. For example, if the IP address you plan to assign to the resource is 10.10.10.44, you might name the container csm44.
The name must be one word, must consist of standard alphanumeric characters, and must not be any of the following reserved words:
Click
, then click .Click
, then click again to save your changes.Continue with Section 13.3.4, Adding a Segment Manager to the CSM Container.
As a best practice, a cluster resource uses only one volume per shared device. However, if you need multiple volumes on the same device, you should add a segment manager to the CSM container.
A CSM container uses the entire EVMS disk. Without segment managers on top of the CSM container, creating additional volumes or expanding or shrinking volumes is not possible. Also, because only one EVMS volume is possible in the container, only one file system type is used.
After creating a CSM container, you can optionally add a non-CSM segment manager container on top of it. This allows you to create one volume or multiple smaller volumes on your shared device. You can expand or shrink existing EVMS volumes to utilize the space on your shared device. In addition, this means that you can also have different file system types on your shared device.
IMPORTANT:If you create multiple volumes, they must be managed in the same cluster resource because the device moves from node to node as a single entity.
Use the following procedure to add a non-CSM segment manager on the CSM container, or skip ahead to Section 13.3.5, Creating an EVMS Volume if you do not want to add another segment manager.
In evmsgui, click
.On the Add Segment Manager to Storage Object page, choose the desired segment manager (such as
), then click .Most of the segment managers will work. The DOS segment manager is added by default for some EVMS operations.
On the Select Plugin Acceptable Objects page, choose the CSM container storage object where you want to add the segment manager, then click
.On the Configurable Options page, select the disk type (Linux is the default), click
, then click .Click
, then click again to save your changes.If you added a DOS segment manager, create a segment for it:
IMPORTANT:Some segment managers such as the DOS segment manager require you to create a segment before creating an EVMS volume. Without a segment, the additional segment manager does not appear when you attempt to create an EVMS volume.
In evmsgui, click
.On the Create Disk Segment page, select
, then click .On the Select Plugin Acceptable Objects page, choose the CSM container storage object (such as csm44/sdb_freespace1) where you want to add the segment, then click .
Specify the size of the segment, the partition type (such as Linux LVM), click
, then click .Click
, then click again to save your changes.Continue with Section 13.3.5, Creating an EVMS Volume.
In evmsgui, click
.On the Create EVMS Volume page, select the container you just created (either the CSM container or the additional segment manager container), then specify a name for the volume (such as lxvol44).
Click
then click .Click
, then click again to save your changes.Click the
tab to verify that the EVMS volume was created.For example, a volume named lxvol44 would be listed as /dev/evms/csm44/lxvol44.
Continue with Section 13.3.6, Making a File System on the EVMS Volume.
In evmsgui, click the
tab, then activate the CSM container:On the Disks page, right-click the CSM container, then select
.On the Activate page, select the CSM container, click
, then click .Click
, then click again to save your changes.Click the
tab, then activate the EVMS volume:On the Volumes page, right-click the EVMS volume, then select
.On the Activate page, select the volume, click
, then click .Click
, then click again to save your changes.Make the file system on the EVMS volume:
On the Volumes page, right-click the volume, then select
.On the Make File System page, choose a Linux POSIX file system interface module from the list (such as
), then click .Specify a volume label, click
, then click .Click
, then click again to save your changes.The file system type is now listed under the
column.Mount the volume:
On the Volumes page, right-click the volume, then select
.On the Mount File System page, select the volume, then specify the Linux path to use for the mount point, such as /mnt/mount_point.
(Optional) Click
, specify any desired mount options, then click .Click
, then click .The mount point now appears in the
column.Continue with Section 13.4, Cluster-Enabling a Linux POSIX Volume on a Shared Device.