HP XP20000/XP24000 HP StorageWorks XP Disk Array Configuration Guide (T5278-96 - Page 98

Verifying host recognition of disk array devices, Configuring disk array devices

Page 98 highlights

Verifying host recognition of disk array devices Verify that the host recognizes the disk array devices as follows: 1. Use format to display the device information. 2. Check the list of disks to verify the host recognizes all disk array devices. If any devices are missing or if no array devices are shown, check the following: • SAN (zoning configuration and cables) • Disk array path configuration (FCA HBA WWNs, host group 09 and host group mode 7 set, and LUNs defined for the correct array ports) Verify that host group 09 and host group mode 7 are set. Although host group mode 7 is required only with the Oracle SAN driver stack, always setting it is a best practice. • Host FCA configuration (WWN information, driver instance, target and LUN assignment, and /var/adm/messages) • If you are using the Oracle SAN driver and XP LUNs were not present when the configuration was done, you may need to reset each FCA if no LUNs are visible. The following example shows the commands to detect the FC-fabric attached FCAs (c3, c5) and resetting them. # cfgadm -l | grep fc-fabric c3 fc-fabric c5 fc-fabric # luxadm -e forcelip /dev/cfg/c3 # luxadm -e forcelip /dev/cfg/c5 connected connected configured unknown configured unknown Configuring disk array devices Disk arrays are configured using the same procedure for configuring any new disk on the host. This typically includes the following procedures: 1. "Labeling and partitioning the devices" (page 98) 2. "Creating the file systems" (page 99) 3. "Creating the mount directories" (page 99) TIP: Creating scripts to configure all devices at once could save you considerable time. Labeling and partitioning the devices Partition and label the new devices using the Oracle format utility. CAUTION: The repair, analyze, defect, and verify commands/menus are not applicable to the XP arrays and SVS 200. When selecting disk devices, be careful to select the correct disk as using the partition/label commands on disks that have data can cause data loss. 1. Enter format at the root prompt to start the utility. 2. Verify that all new devices are displayed. If they are not, exit the format utility (quit or Ctrl-D), and ensure port and LUN assigned was done correctly for all devices and that all new devices were added to the driver configuration file. 3. Record the character-type device file names (for example, c1t2d0) for all the new disks. You will use this data either to create the file systems or to use them with the Oracle or Veritas Volume Manager. 4. When you are asked to specify the disk, enter the number of the device to be labeled. 5. When you are asked if you want to label the disk, enter y for "yes." 6. If you are not using Veritas Volume Manager or Solaris Volume Manager with named disk sets, use the partition command to create or adjust the slices (partitions) as necessary. 98 Solaris

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183

Verifying host recognition of disk array devices
Verify that the host recognizes the disk array devices as follows:
1.
Use
format
to display the device information.
2.
Check the list of disks to verify the host recognizes all disk array devices. If any devices are
missing or if no array devices are shown, check the following:
SAN (zoning configuration and cables)
Disk array path configuration (FCA HBA WWNs, host group 09 and host group mode
7 set, and LUNs defined for the correct array ports)
Verify that host group 09 and host group mode 7 are set. Although host group mode 7
is required only with the Oracle SAN driver stack, always setting it is a best practice.
Host FCA configuration (WWN information, driver instance, target and LUN assignment,
and
/var/adm/messages
)
If you are using the Oracle SAN driver and XP LUNs were not present when the
configuration was done, you may need to reset each FCA if no LUNs are visible. The
following example shows the commands to detect the FC-fabric attached FCAs (c3, c5)
and resetting them.
# cfgadm -l | grep fc-fabric
c3
fc-fabric
connected
configured
unknown
c5
fc-fabric
connected
configured
unknown
# luxadm -e forcelip /dev/cfg/c3
# luxadm -e forcelip /dev/cfg/c5
Configuring disk array devices
Disk arrays are configured using the same procedure for configuring any new disk on the host.
This typically includes the following procedures:
1.
“Labeling and partitioning the devices” (page 98)
2.
“Creating the file systems” (page 99)
3.
“Creating the mount directories” (page 99)
TIP:
Creating scripts to configure all devices at once could save you considerable time.
Labeling and partitioning the devices
Partition and label the new devices using the Oracle format utility.
CAUTION:
The repair, analyze, defect, and verify commands/menus are not applicable to the
XP arrays and SVS 200. When selecting disk devices, be careful to select the correct disk as using
the partition/label commands on disks that have data can cause data loss.
1.
Enter
format
at the root prompt to start the utility.
2.
Verify that all new devices are displayed. If they are not, exit the format utility (
quit
or
Ctrl-D
),
and ensure port and LUN assigned was done correctly for all devices and that all new devices
were added to the driver configuration file.
3.
Record the character-type device file names (for example, c1t2d0) for all the new disks. You
will use this data either to create the file systems or to use them with the Oracle or Veritas
Volume Manager.
4.
When you are asked to specify the disk, enter the number of the device to be labeled.
5.
When you are asked if you want to label the disk, enter
y
for “yes.”
6.
If you are not using Veritas Volume Manager or Solaris Volume Manager with named disk
sets, use the partition command to create or adjust the slices (partitions) as necessary.
98
Solaris