7-5 Shared Disk

It is managed disk which multiple nodes share.

Within a cluster, the application may be store the data on shared disk when it is equipped.

MCCS manages the  Unmount / Mount of the disk and monitors it is read/writable state. MCCS attach the shared disk to the only node to prevent file system corruption.

Table of Contents


Adding

Add the shared disk resource.
Before adding the shared disk resource, be make sure that the driver letter should be located in the external shared storage. 

  1. When add a resource from a group name, select a group → right click → "Add Resource". Or select "Edit(E)" from the main menu bar → select "Add Resource". Or select "Add Resource" icon from the tool bar.
  2. Select "SharedDisk" from Resource Type lists and click the "Next" button. When add a resource from the shared disk resource type name, this step will be skipped.
  3. Enter the resource name. Enter the file system type, volume device file location and mount point or click the  to browse these informations. 

    Names of disks on both nodes which are used as resources of a shared disk have to be the same.



    [Figure] Finish Button Active after Entering All the Data


  4. As Additional Settings, mount command, forced to unmount and filesystem check options are available and click the "OK" button.

    [Figure] Additional setting view


  5. Click the "Finish" button to add the shared disk resource.

Deleting

Select "Resource type" →- right click → delete resource.


State

The following table explains the state of shared disk resource.

Shared disk agent: Manages shared disks registered for MCCS.

StateAgent commandDecriptionNote

Online

The volume is unlocked and is accessible.

Offline

It unmounts the shared disk. The disk cannot accessible from the node.


Monitoring

It checks whether the volume is mounted and temp text file are created to monitor whether the disk is available.


Offline

The volume is locked and is not accessible to read/write.

OnlineIt mounts the shared disk. The disk can accessible from the node.
Monitoring

It checks whether the volume is mounted and temp text file are created to monitor whether the disk is available.


Fault

The disk is unavailable due to errors caused by external factors or failure while it is online.

OnlineIt mounts the shared disk. The disk can accessible from the node.
OfflineIt unmounts the shared disk. The disk cannot accessible from the node.



Attribute

Shows the specified attribute of shared disk resource.

Attribute

Description

Type

DefaultEditNote
ChkDskTimeoutIt is timeout limit to complete or stop the check disk of the shared disk before attaching it . If value is '0', MCCS waits to complete the check disk before attaching it.INTEGER0O

DevPath

Defines absolute path of device that will be mount.

STRING


O

DoFsck

If set to true, fsck will be performed when the shared disk is brought online.

BOOLEAN

falseO

FileSystem

Defines file system type of the shared disk.

STRING


O
ForceUnmountIf it is set to true, the shared disk will be forcefully unmounted when it is taken offline even tough it has been used.BOOLEANfalseO
FsckOptSpecify command option for file system check commandSTRING-aO
HostIDUnique server id for SCSI reservationSTRING

X


IOTestChecks I/O status of a disk if it is set as trueBOOLEANtrueO
MountOptDefines mount optionsSTRING
O
MountPointDefines absolute path for the mounting location.DIRECTORY
O
RegTypeRegister type of SCSI deviceSTRING
X
UseSCSILOCKIf it's set to true, Use SCSI reservationBOOLEANfalseO
UUIDIt's UUID of target disk. For example '00c0ffd79655000050042c4f01000000'. It will be set by automatically when you set proper letter.STRING
X
VendorTypeVender type of SCSI deviceSTRING
X


Specified attribute values are normally entered when add the resource, This value can be edited or viewed through 'Specified Attribute' table in the Resource Attributes tab on the detailed information panel.


MCCS has function to limit input values against user's input field, and it provides function detects automatically data which is input wrong by user's mistake.