Top
PRIMECLUSTER  Installation and Administration Guide 4.3

6.3.2 Setting Up Shared Disks

Set up the shared disk as described below:

Note

  • "When the GFS Shared File System is to be used" and "When the file system is not to be used," "File system setup" is not necessary.

  • The setup procedures for "When the ext3 file system is to be used" and "When the file system is not to be used" must be carried out before the Gds resources are set up. For details, see "6.7.3.3 Preliminary Setup for Gds Resources."

  • "When the GFS Shared File System is to be used", "6.7.3.4 Setting Up Gds Resources" must not be carried out.

  • The local class disks or shared class disks used by GDS on the guest OS should be created as virtual SCSI devices if they are used in the virtual machine environment. Note that you cannot change the virtual SCSI device configurations after creating the local class or shared class. To change the configurations, you need to first delete all the GDS settings on the guest OS, change the virtual SCSI device configurations, and then configure the GDS settings on the guest OS again.

Volume setup

There are four types of volumes:

  1. Single volume

  2. Mirror volume

  3. Stripe volume

  4. Volume created in a concatenation group

This section separately describes the volume setup procedures for a single volume (a) and for other volumes (b, c, d). For details, see "Chapter 5 Operations" in the "PRIMECLUSTER Global Disk Services Configuration and Administration Guide."

The values to be set for the individual items correspond to the values in the "GDS Configuration Worksheet" of "A.9.2 Shared Disk Setup Worksheet."

Note

  • If you plan to add, delete, or rename a disk class from the GDS Management screen (hereinafter main screen), close the Cluster Admin screen before starting the operation.

  • When neither the system nor the GDS Management screen are reactivated after "2. Registering a shared disk" of "5.1.3.2 Registering Hardware Devices", the registered shared disk might not be correctly recognized to GDS. In this case, setup the volume after updating physical disk information. Physical disk information can be updated by selecting Update Physical Disk Information from Operation menu of the main screen.

Single volume setup

If you are not using a single volume, this setup is unnecessary.

Operation Procedure:
  1. Start the main screen.

    Choose Global Disk Services on the Web-Based Admin screen.

  2. Disk class creation and physical disk registration

    At the main screen, select Class Configuration from the Settings menu.

    At the above screen, select the physical disk to be registered from the Physical Disk list, and then click Add. When Add is clicked, the Class Attributes Definition screen opens. Enter the Class Name but do not change the Type value (leave the value as "shared").

  3. Disk type attribute setup

    At the main screen, select the disk that was registered in Step 1 from the Disk Information field, and select Operation -> Change Attributes from the menu bar.

    Set Disk Type to "single," and then click OK.

  4. Volume creation

    Select Settings -> Volume Configuration, and then select the disk that was registered in Step 1 from the Group and Disk List. Select "Unused" in the volume diagram, and enter the Volume Name, the Volume Size, and the volume attributes.

    Click Add to enable the settings.

    Check the settings, and then click Exit.

Setup for other volumes

If you are using only "single" volumes, this setup is unnecessary.

Operation Procedure:
  1. Creating a disk class and registering physical disks

    At the main screen, select Class Configuration from the Settings menu.

    At the above screen, select the physical disks to be registered from the Physical Disk list, and then click Add. When Add is clicked, the Class Attributes Definition screen opens. Enter the Class Name but do not change the Type value (leave the value as "shared"). Then click Exit.

  2. Setting up the disk group configuration

    Click the Group Configuration tab.

    At the above screen, select the disks to be added to the group from the Class Configuration Disk/Group list, and then click Add.

    Enter the Group Name and Type in the Group Attributes Definition screen, and then click OK.

  3. Creating a volume

    Click the Volume Configuration tab, and select the group that was created in Step 2 from the Group and Disk List. Select Unused in the volume diagram, and enter the Volume Name, the Volume Size, and the volume attributes.

    Click Add to enable the settings.

    Check the setup information, and then click Exit.

  4. Checking the configuration

    The disk configuration is displayed as shown below.

File system setup

You can set up a file system on the File System Configuration screen for the created volume. For Red Hat Enterprise Linux, you can set up the "ext3" file system.

Note

If you set up a file system according to this procedure, an entry of the created file system is added to the "/etc/fstab" file. To use the created file system as an Fsystem resource, you must modify the entry that was added to the "/etc/fstab" file. For details, see "6.7.3.2 Setting Up Fsystem Resources."

Operation Procedure:
  1. At the main screen, select File System Configuration from the Settings menu, enter the "File System Type" of the volume and other information, and then click Create.

    Note

    For the "Mount" setting, do not select "Yes." Also, do not delete "noauto" from the entries that were added to the /etc/fstab file. For details, see "Automatic mounting of the file system" in "A.2 Important Points" of the "PRIMECLUSTER Global Disk Services Configuration and Administration Guide."

  2. To exit the File System Configuration, click Exit.