PRIMECLUSTER Global Disk Services Configuration and Administration Guide 4.1 (Solaris(TM) Operating System) |
Contents |
Chapter 5 Operation | > 5.2 Settings | > 5.2.3 Operating from the Settings Menu |
In this section, how to create a new class is explained.
In the [Settings] menu, select [Class Configuration]. Class Configuration screen appears.
Selecting class name
In the [Class Name] list, select "New."
Selecting physical disk
In the [Physical Disk] field, select the physical disk you want to include in the disk class.
You can select more than one physical disk at a time.
Selecting a physical disk will make the <Add> button available.
Creating a class
Click <Add>, and the message below appears.
Click <Yes> to continue, and <No> to cancel.
Click <Yes>, and Class Attributes Definition screen appears.
In the [Class Name] of Class Attributes Definition screen, an automatically created disk class name appears as default. Change the [Class Name] if necessary, and click <OK>.
The [Type] is "shared" and the [Scope] indicates a node that can share disks with respect to the class. To accept the settings, click the <OK> button.
Inputting Class Name
Class name will be used for the device path name.
/dev/sfdsk/class_name/[r]dsk/volume_name
You must be careful when inputting the class name, as once the volume is created, it cannot be changed.
Creating Local Type Class with Cluster System
When creating a local type class in cluster system, class name should be set differently for each node.
For information on assigning a class name, see "Object Name."
This operation determines the class name.
When using single node, [Type] is fixed to "local" and you cannot change it.
If you click <Cancel> in the Class Attributes Definition screen, registration of the physical disk itself will be canceled.
Setting disk attributes
Selecting the [Disk Name] in the [Class Configuration Disk] field allows you to set the disk attributes. From here, you can change the [Disk Name] and [Type].
Changing disk name
Double-click the [Disk Name] in the [Class Configuration Disk] field, and change the name.
Changing disk type
Display the [Disk Type] in the [Class Configuration Disk] field and select the disk type you wish to change from the list. When specifying as a spare disk select "spare." When specifying as a single disk, select "single." Default is set to "undef."
Completing class creation
After creating all classes, click <Exit> and close Class Configuration screen.
Classes in Cluster Systems
Creating a class adds a class resource, and removing a class removes a resource.
When removing a class resource, remove the class without using the PRIMECLUSTER cldelrsc(1M) command.
Cluster applications that use resources of a class should be set after the volume configuration is complete.
For information on how to create a shared type class in cluster systems, see "Cluster System Class Configuration."
Contents |