|
|
|
|
|
VIO Server MPIO Disk Configuration Procedures
This document describes the procedures for configuring MPIO disks on
a VIO Server to be shared out to client LPAR's. A single procedure has
been developed for use in standalone, High Availability, and Disaster
Recovery environments. This procedure provides the mechanism to
configure MPIO disks on all VIO Servers regardless of whether a single
or dual VIO servers are implemented.
Two distinct mechanisms are used for defining the MPIO virtual
disk names on the VIO server, these standards can be viewed at the
following URL:
viompiostand.shtml
The remainder of this configuration standard discusses the procedure
for naming virtual disks on the VIO server using the "mkvdev" command.
Procedure Outline:
- Create a "vhost" adapter for boot disk(s) for each system
- Create a "vhost" adapter for paging disk(s) for each system
- Create a "vhost" adapter for application disk(s) for each system
- Determine hdisk(s) on VIO server to use for client boot disk(s)
- Determine hdisk(s) on VIO server to use for client paging disk(s)
- Determine hdisk(s) on VIO server to use for client application disk(s)
- Determine resource group and volume group names on client LPAR
- Create script to perform hdisk, vhost, virtual disk name assignements
An example script that performs the hdisk, vhost adapter, and virtual
disk name assignments follows:
#!/usr/bin/ksh93
################################################################
# Assign disks for ddcaaora01/02 VG's
/usr/ios/cli/ioscli rmdev -pdev vhost40
# disks to assign to slots 240/245 (vhost40) mutual failover
/usr/ios/cli/ioscli mkvdev -vdev hdisk43 -vadapter vhost40 -dev Voraadtu111043
/usr/ios/cli/ioscli mkvdev -vdev hdisk44 -vadapter vhost40 -dev Voraadtu111044
/usr/ios/cli/ioscli mkvdev -vdev hdisk45 -vadapter vhost40 -dev Voraadtu111045
/usr/ios/cli/ioscli mkvdev -vdev hdisk46 -vadapter vhost40 -dev Voraadtu111046
/usr/ios/cli/ioscli mkvdev -vdev hdisk47 -vadapter vhost40 -dev Voraadtu111047
/usr/ios/cli/ioscli mkvdev -vdev hdisk48 -vadapter vhost40 -dev Voraadtu111048
/usr/ios/cli/ioscli mkvdev -vdev hdisk49 -vadapter vhost40 -dev Voraadtu111049
/usr/ios/cli/ioscli mkvdev -vdev hdisk50 -vadapter vhost40 -dev Voraadtu111050
/usr/ios/cli/ioscli mkvdev -vdev hdisk51 -vadapter vhost40 -dev Voraadtu111051
/usr/ios/cli/ioscli mkvdev -vdev hdisk52 -vadapter vhost40 -dev Voraadtu111052
/usr/ios/cli/ioscli mkvdev -vdev hdisk53 -vadapter vhost40 -dev Voraadtu111053
/usr/ios/cli/ioscli mkvdev -vdev hdisk54 -vadapter vhost40 -dev Voraadtu111054
/usr/ios/cli/ioscli mkvdev -vdev hdisk55 -vadapter vhost40 -dev Voraadtu111055
/usr/ios/cli/ioscli mkvdev -vdev hdisk56 -vadapter vhost40 -dev Voraadtu111056
/usr/ios/cli/ioscli mkvdev -vdev hdisk57 -vadapter vhost40 -dev Voraadtu111057
/usr/ios/cli/ioscli mkvdev -vdev hdisk58 -vadapter vhost40 -dev Voraadtu111058
/usr/ios/cli/ioscli mkvdev -vdev hdisk59 -vadapter vhost40 -dev Voraadtu111059
/usr/ios/cli/ioscli mkvdev -vdev hdisk60 -vadapter vhost40 -dev Voraadtu111060
/usr/ios/cli/ioscli mkvdev -vdev hdisk61 -vadapter vhost40 -dev Voraadtu111061
/usr/ios/cli/ioscli mkvdev -vdev hdisk62 -vadapter vhost40 -dev Voraadtu111062
/usr/ios/cli/ioscli mkvdev -vdev hdisk63 -vadapter vhost40 -dev Voraadtu111063
/usr/ios/cli/ioscli mkvdev -vdev hdisk64 -vadapter vhost40 -dev Voraadtu111064
/usr/ios/cli/ioscli mkvdev -vdev hdisk65 -vadapter vhost40 -dev Voraadtu111065
/usr/ios/cli/ioscli mkvdev -vdev hdisk66 -vadapter vhost40 -dev Voraadtu111066
/usr/ios/cli/ioscli lsmap -vadapter vhost40
print "press enter to continue"
read TMP
/usr/ios/cli/ioscli rmdev -pdev vhost41
# disks to assign to slots 250/255 (vhost41) mutual failover
/usr/ios/cli/ioscli mkvdev -vdev hdisk115 -vadapter vhost41 -dev Voraadtu212115
/usr/ios/cli/ioscli mkvdev -vdev hdisk116 -vadapter vhost41 -dev Voraadtu212116
/usr/ios/cli/ioscli mkvdev -vdev hdisk117 -vadapter vhost41 -dev Voraadtu212117
/usr/ios/cli/ioscli mkvdev -vdev hdisk118 -vadapter vhost41 -dev Voraadtu212118
/usr/ios/cli/ioscli mkvdev -vdev hdisk119 -vadapter vhost41 -dev Voraadtu212119
/usr/ios/cli/ioscli mkvdev -vdev hdisk120 -vadapter vhost41 -dev Voraadtu212120
/usr/ios/cli/ioscli lsmap -vadapter vhost41
print "press enter to continue"
read TMP
################################################################
# Assign disks for ddcaaora03/04 VG's
/usr/ios/cli/ioscli rmdev -pdev vhost42
# disks to assign to slots 260/265 (vhost42) one-way failover
/usr/ios/cli/ioscli mkvdev -vdev hdisk67 -vadapter vhost42 -dev Voraadtu313067
/usr/ios/cli/ioscli mkvdev -vdev hdisk68 -vadapter vhost42 -dev Voraadtu313068
/usr/ios/cli/ioscli mkvdev -vdev hdisk69 -vadapter vhost42 -dev Voraadtu313069
/usr/ios/cli/ioscli mkvdev -vdev hdisk70 -vadapter vhost42 -dev Voraadtu313070
/usr/ios/cli/ioscli mkvdev -vdev hdisk71 -vadapter vhost42 -dev Voraadtu313071
/usr/ios/cli/ioscli mkvdev -vdev hdisk72 -vadapter vhost42 -dev Voraadtu313072
/usr/ios/cli/ioscli mkvdev -vdev hdisk73 -vadapter vhost42 -dev Voraadtu313073
/usr/ios/cli/ioscli lsmap -vadapter vhost42
print "press enter to continue"
read TMP
# no disks to assign to slots 270/275 (vhost43) failover only
################################################################
# Assign disks for ddcapora01/02 VG's
/usr/ios/cli/ioscli rmdev -pdev vhost44
# disks to assign to slots 280/285 (vhost44) mutual failover
/usr/ios/cli/ioscli mkvdev -vdev hdisk74 -vadapter vhost44 -dev Vorapdtu121074
/usr/ios/cli/ioscli mkvdev -vdev hdisk75 -vadapter vhost44 -dev Vorapdtu121075
/usr/ios/cli/ioscli mkvdev -vdev hdisk76 -vadapter vhost44 -dev Vorapdtu121076
/usr/ios/cli/ioscli mkvdev -vdev hdisk77 -vadapter vhost44 -dev Vorapdtu121077
/usr/ios/cli/ioscli mkvdev -vdev hdisk78 -vadapter vhost44 -dev Vorapdtu121078
/usr/ios/cli/ioscli mkvdev -vdev hdisk79 -vadapter vhost44 -dev Vorapdtu121079
/usr/ios/cli/ioscli mkvdev -vdev hdisk80 -vadapter vhost44 -dev Vorapdtu121080
/usr/ios/cli/ioscli mkvdev -vdev hdisk81 -vadapter vhost44 -dev Vorapdtu121081
/usr/ios/cli/ioscli mkvdev -vdev hdisk82 -vadapter vhost44 -dev Vorapdtu121082
/usr/ios/cli/ioscli mkvdev -vdev hdisk83 -vadapter vhost44 -dev Vorapdtu121083
/usr/ios/cli/ioscli mkvdev -vdev hdisk84 -vadapter vhost44 -dev Vorapdtu121084
/usr/ios/cli/ioscli mkvdev -vdev hdisk85 -vadapter vhost44 -dev Vorapdtu121085
/usr/ios/cli/ioscli mkvdev -vdev hdisk86 -vadapter vhost44 -dev Vorapdtu121086
/usr/ios/cli/ioscli mkvdev -vdev hdisk87 -vadapter vhost44 -dev Vorapdtu121087
/usr/ios/cli/ioscli mkvdev -vdev hdisk88 -vadapter vhost44 -dev Vorapdtu121088
/usr/ios/cli/ioscli mkvdev -vdev hdisk89 -vadapter vhost44 -dev Vorapdtu121089
/usr/ios/cli/ioscli mkvdev -vdev hdisk90 -vadapter vhost44 -dev Vorapdtu121090
/usr/ios/cli/ioscli mkvdev -vdev hdisk91 -vadapter vhost44 -dev Vorapdtu121091
/usr/ios/cli/ioscli mkvdev -vdev hdisk92 -vadapter vhost44 -dev Vorapdtu121092
/usr/ios/cli/ioscli mkvdev -vdev hdisk93 -vadapter vhost44 -dev Vorapdtu121093
/usr/ios/cli/ioscli mkvdev -vdev hdisk94 -vadapter vhost44 -dev Vorapdtu121094
/usr/ios/cli/ioscli mkvdev -vdev hdisk95 -vadapter vhost44 -dev Vorapdtu121095
/usr/ios/cli/ioscli mkvdev -vdev hdisk96 -vadapter vhost44 -dev Vorapdtu121096
/usr/ios/cli/ioscli mkvdev -vdev hdisk97 -vadapter vhost44 -dev Vorapdtu121097
/usr/ios/cli/ioscli mkvdev -vdev hdisk98 -vadapter vhost44 -dev Vorapdtu121098
/usr/ios/cli/ioscli mkvdev -vdev hdisk99 -vadapter vhost44 -dev Vorapdtu121099
/usr/ios/cli/ioscli mkvdev -vdev hdisk100 -vadapter vhost44 -dev Vorapdtu121100
/usr/ios/cli/ioscli mkvdev -vdev hdisk101 -vadapter vhost44 -dev Vorapdtu121101
/usr/ios/cli/ioscli mkvdev -vdev hdisk102 -vadapter vhost44 -dev Vorapdtu121102
/usr/ios/cli/ioscli lsmap -vadapter vhost44
print "press enter to continue"
read TMP
/usr/ios/cli/ioscli rmdev -pdev vhost45
# disks to assign to slots 290/295 (vhost45) mutual failover
/usr/ios/cli/ioscli mkvdev -vdev hdisk121 -vadapter vhost45 -dev Vorapdtu222121
/usr/ios/cli/ioscli mkvdev -vdev hdisk122 -vadapter vhost45 -dev Vorapdtu222122
/usr/ios/cli/ioscli mkvdev -vdev hdisk123 -vadapter vhost45 -dev Vorapdtu222123
/usr/ios/cli/ioscli mkvdev -vdev hdisk124 -vadapter vhost45 -dev Vorapdtu222124
/usr/ios/cli/ioscli mkvdev -vdev hdisk38 -vadapter vhost45 -dev Vorapdtu222038
/usr/ios/cli/ioscli mkvdev -vdev hdisk39 -vadapter vhost45 -dev Vorapdtu222039
/usr/ios/cli/ioscli mkvdev -vdev hdisk40 -vadapter vhost45 -dev Vorapdtu222040
/usr/ios/cli/ioscli mkvdev -vdev hdisk41 -vadapter vhost45 -dev Vorapdtu222041
/usr/ios/cli/ioscli mkvdev -vdev hdisk42 -vadapter vhost45 -dev Vorapdtu222042
/usr/ios/cli/ioscli lsmap -vadapter vhost45
print "press enter to continue"
read TMP
################################################################
# Assign disks for ddcapora03/04 VG's
/usr/ios/cli/ioscli rmdev -pdev vhost46
# disks to assign to slots 300/305 (vhost46) one-way failover
/usr/ios/cli/ioscli mkvdev -vdev hdisk103 -vadapter vhost46 -dev Vorapdtu323103
/usr/ios/cli/ioscli mkvdev -vdev hdisk104 -vadapter vhost46 -dev Vorapdtu323104
/usr/ios/cli/ioscli mkvdev -vdev hdisk105 -vadapter vhost46 -dev Vorapdtu323105
/usr/ios/cli/ioscli mkvdev -vdev hdisk106 -vadapter vhost46 -dev Vorapdtu323106
/usr/ios/cli/ioscli mkvdev -vdev hdisk107 -vadapter vhost46 -dev Vorapdtu323107
/usr/ios/cli/ioscli mkvdev -vdev hdisk108 -vadapter vhost46 -dev Vorapdtu323108
/usr/ios/cli/ioscli mkvdev -vdev hdisk109 -vadapter vhost46 -dev Vorapdtu323109
/usr/ios/cli/ioscli mkvdev -vdev hdisk110 -vadapter vhost46 -dev Vorapdtu323110
/usr/ios/cli/ioscli mkvdev -vdev hdisk111 -vadapter vhost46 -dev Vorapdtu323111
/usr/ios/cli/ioscli mkvdev -vdev hdisk112 -vadapter vhost46 -dev Vorapdtu323112
/usr/ios/cli/ioscli mkvdev -vdev hdisk113 -vadapter vhost46 -dev Vorapdtu323113
/usr/ios/cli/ioscli lsmap -vadapter vhost46
print "press enter to continue"
read TMP
|
|
|
|
|
|
|