HP HA s Software manual # mkdir /dev/vgdatabase

Page 44

Monitoring Disk Resources

Rules for Using the EMS Disk Monitor with MC/ServiceGuard

type of disk array you wish to configure, and follow the menus to define alternate links. Be sure to specify a different physical volume group for each link to the same disk.

The following example shows how to configure alternate links using LVM commands. In the example, the following disk configuration is assumed:

8/0.15.0 /dev/dsk/c0t15d0

/* I/O Channel 0 (8/0) SCSI address 15 LUN 0 */

8/0.15.1 /dev/dsk/c0t15d1

/* I/O Channel 0 (8/0) SCSI address 15 LUN 1 */

8/0.15.2 /dev/dsk/c0t15d2

/* I/O Channel 0 (8/0) SCSI address 15 LUN 2 */

8/0.15.3 /dev/dsk/c0t15d3

/* I/O Channel 0 (8/0) SCSI address 15 LUN 3 */

8/0.15.4 /dev/dsk/c0t15d4

/* I/O Channel 0 (8/0) SCSI address 15 LUN 4 */

8/0.15.5 /dev/dsk/c0t15d5

/* I/O Channel 0 (8/0) SCSI address 15 LUN 5 */

10/0.3.0 /dev/dsk/c1t3d0

/* I/O Channel 1 (10/0) SCSI address 3 LUN 0 */

10/0.3.1 /dev/dsk/c1t3d1

/* I/O Channel 1 (10/0) SCSI address 3 LUN 1 */

10/0.3.2 /dev/dsk/c1t3d2

/* I/O Channel 1

(10/0) SCSI address 3

LUN 2

*/

10/0.3.3 /dev/dsk/c1t3d3

/* I/O Channel 1

(10/0) SCSI address 3

LUN 3

*/

10/0.3.4 /dev/dsk/c1t3d4

/* I/O Channel 1

(10/0) SCSI address 3

LUN 4

*/

10/0.3.5 /dev/dsk/c1t3d5

/* I/O Channel 1

(10/0) SCSI address 3

LUN 5

*/

Assume that the disk array has been configured, and that both the following device files appear for the same LUN (logical disk) when you run the ioscan command:

/dev/dsk/c0t15d0

/dev/dsk/c1t3d0

Use the following steps to configure a volume group for this logical disk:

1.First, set up the group directory for vgdatabase:

#mkdir /dev/vgdatabase

2.Next, create a control file named group in the directory /dev/vgdatabase, as follows:

#mknod /dev/vgdatabase/group c 64 0xhh0000

The major number is always 64, and the hexadecimal minor number has the form

0xhh0000

where hh must be unique to the volume group you are creating. Use an appropriate hexadecimal number that is available on your system, after the volume groups that are already configured. On a single system, this might be the next hexadecimal number, on a cluster, these number must be assigned cluster-wide, so it should be one of the hexadecimal numbers used in the cluster. Use the following command to display a list of existing volume groups:

#ls -l /dev/*/group

3.Use the pvcreate command on one of the device files associated with the LUN to define the LUN to LVM as a physical volume.

#pvcreate /dev/dsk/c0t15d0

It is only necessary to do this with one of the device file names for the LUN.

44

Chapter 2

Image 44
Contents Using EMS HA Monitors B5735-90001 AugustLegal Notices Contents Monitoring Cluster Resources Monitoring Network InterfacesGlossary TroubleshootingMonitoring System Resources Contents B5735-90001 Printing HistoryPrinting Date Part Number Edition Page Preface PublicationsPage Installing and Using EMS Event Monitoring Services High Availability Monitors What are EMS HA Monitors?Chapter Role of EMS HA Monitors in a High Availability Environment Installing and Removing EMS HA Monitors Installing EMS HA MonitorsRemoving EMS HA Monitors Using EMS HA Monitors Event Monitoring Service Resource Class HierarchyStatus AvailMB PvpvlinkEvent Monitoring Service Screen Selecting a Resource to Monitor ScreenUsing Wildcards Creating a Monitoring Request Monitoring Request ParametersHow Do I Tell EMS When to Send Events? What is a Polling Interval? Which Protocols Can I Use to Send Events?What is a Notification Comment? Removing Monitoring Requests Copying Monitoring RequestsModifying Monitoring Requests Configuring MC/ServiceGuard Package Dependencies Service EMSPackage Configuration Screen Package Resource Dependencies Screen Resource Parameters Screen Using EMS HA Monitors Monitoring Disk Resources Monitoring Disk Resources Disk Monitor Reference Disk Monitor Resource Class HierarchyPhysical Volume Summary Interpreting Physical Volume SummaryDisk Monitor Reference Physical Volume and Physical Volume Link Status Interpreting Physical Volume and Physical Volume Link StatusLogical Volume Summary Interpreting Logical Volume SummaryLogical Volume Status Interpreting Logical Volume StatusLogical volume is inactive Logical volume is DOWN, a complete copy of the data is notLogical Volume Number of Copies Interpreting Logical Volume CopiesRules for Using the EMS Disk Monitor with MC/ServiceGuard Rules for Using the EMS Disk Monitor with MC/ServiceGuard Rules for RAID Arrays Pvsummary Calculations Case Conclusion StateCreating Volume Groups on Disk Arrays Using PV Links Adding PVGs to Existing Volume Groups# mkdir /dev/vgdatabase Creating Logical Volumes Rules for Mirrored Individual Disks Creating Disk Monitoring Requests Disk Monitoring Request Suggestions Parameters When Disks Fail Resources to Monitor for RAID Arrays RAID Array ExamplePvgup Return Resources to Monitor for Mirrored Disks Mirrored Disks ExampleMonitoring Parameters Resource Notify Condition Option Resources to Monitor for Lock Disks Example for Interpreting the pvsummary for Mirrored DisksNumber Pvsummary Valid Meaning Value Devices Resource Monitoring Parameters Notify Condition OptionResources to Monitor for Root Volumes Monitoring Cluster Resources Cluster Cluster Monitor ReferenceCluster Monitor Resource Class Hierarchy Cluster Status Interpreting Custer StatusNode Status Interpreting Node StatusPackage Status Interpreting Package StatusCreating Cluster Monitoring Requests Monitoring Network Interfaces Interpreting LAN Interface Status Network Monitor ReferenceNetwork Monitor Resource Class Hierarchy Chapter Net/interfaces/lan/status/LANname When value is Configuring Network Monitoring Requests30 sec HourMonitoring System Resources System Monitor Reference System Resource Monitor Class HierarchyResource Name Value Range Interpretation Number of UsersInterpreting Number of Users Resource Name Value Interpretation Range Job QueuesInterpreting Job Queues Resource Name Filesystem Available SpaceFilesystem Available Space Creating System Resource Monitoring Requests 6Troubleshooting EMS Directories and Files Etc/opt/resmon/log Logging and tracing EMS LoggingEMS Tracing Performance Considerations System Performance IssuesNetwork Performance Issues Testing Monitor Requests Testing Disk Monitor RequestsTesting Cluster Monitor Requests Testing Network Monitor RequestsMaking Sure Monitors are Running Glossary Notification See alert Glossary Glossary Index Index Index