In previous versions of VxVM, it was necessary to perform powervxvm
init
and powervxvm
online
to use EMC PowerPath devices with VxFAS.
In VxVM 4.0 release, the EMC PowerPath devices can be configured as foreign devices (see the vxddladm
(1M) manual page for more information).
In VxVM 4.1 release, the EMC PowerPath devices can be autodiscovered using the third-party driver (TPD) coexistence feature of VxVM. EMC PowerPath devices can still be configured as foreign devices in VxVM 4.1 for VxFAS.
The following sections describe procedures for using PowerPath pseudo (emcpower) devices with VxFAS.
Configuring EMC PowerPath devices with foreign device support
If you are not already using EMC PowerPath devices with VxVM, perform the following procedure to put the PowerPath devices under VxVM control as foreign devices:
/dev/vx/rdmp
and /dev/vx/dmp
directories. If they exist, remove them.
/dev/rdsk
directory.
# /usr/sbin/vxdmpadm stop restore
# /usr/sbin/vxddladm excludearray libname=libvxemc.so
#/usr/sbin/vxddladm addforeign pathname=/dev/rdsk/emcpower*c
#/usr/sbin/vxddladm addforeign pathname=/dev/dsk/emcpower*c
# /usr/sbin/vxdmpadm start restore
Configuring EMC PowerPath devices with TPD coexistence feature
When upgrading a system to VxVM 4.1, an array support library (ASL) provided by Symantec makes information about any available EMC PowerPath devices available to VxVM. Such devices are configured in DMP as autoconfigured disks with DMP nodes. There is no need to configure these devices as foreign devices any more. See the Veritas Volume Manager Administrator's Guide for more information about TPD coexistence feature of VxVM.
If you have already configured emcpower devices for use with VxVM using powervxvm
commands, perform the following procedure:
# /usr/sbin/vxdmpadm stop restore
# /usr/sbin/vxddladm excludearray libname=libvxemc.so
#/usr/sbin/vxddladm addforeign pathname=/dev/rdsk/emcpower*c
#/usr/sbin/vxddladm addforeign pathname=/dev/dsk/emcpower*c
Note Alternatively, you can use the TPD coexistence feature of VxVM 4.1 to use EMC PowerPath devices as autoconfigured disks. See Configuring EMC PowerPath devices with TPD coexistence feature.
# /usr/sbin/vxdmpadm start restore
PowerPath native devices can be used by VxVM 4.1 as they are, but you can remove DMP from the I/O path and configure these devices as foreign devices. Refer to Veritas Volume Manager Administator's Guide for more information on foreign device support.
Note EMC PowerPath devices must be initialized as simple disks only if they are used as foreign devices. For more information about limitations of foreign devices see Veritas Volume Manager Administator's Guide.
To create a new Volume Manager disk group and add new devices to it, use the vxdg
init
command:
vxdg [-o verify|override] initdiskgroup
[medianame
=]accessname
...
where diskgroup
is the Volume Manager disk group. accessname
is the device name and medianame
is the Volume Manager disk name.
To add new devices to an existing Volume Manager disk group, use the vxdg
adddisk
command:
vxdg -gdiskgroup
[-o verify|override] adddisk [medianame
=]accessname
# vxdg -g emcdg adddisk c1t1d1s2
EMC provides a set of rules to ensure that the Volume Manager operates with intelligent storage in an EMC environment. The vxdg
command has a verify
option that checks that the device being added conforms with the EMC rules. The verify
option syntax is:
vxdg -g diskgroup
-o verify adddisk accessname
If no EMC rules are broken, vxdg
-o
verify
exits silently and without creating any Volume Manager objects. To create the specified objects, repeat the vxdg
command without the -o
verify
option.
If any of the EMC rules are broken, vxdg
-o
verify
displays a relevant error message and exits without creating any Volume Manager objects. To force Volume Manager to add or create an object that does not comply with the EMC rules, use the -o
override
option:
vxdg -g diskgroup
-o override adddisk accessname
It is not advisable to override the EMC rules as it can result in severe performance degradation or loss of data redundancy. For more details on the EMC rules, see the Overview.
See the Veritas Volume Manager Administrator's Guide or the vxdg
(1M) manual page for details on adding devices to the Volume Manager.