HP Serviceguard Storage Management Suite for VERITAS manual # vxdg list diskgroup

Page 55

Table 12 VxVM Disk Group Version (continued)

5.0.1

140

90,120, and 140

5.1 SP1

160

90,120, 140 and 160

Use the following command to determine the version of a disk group:

# vxdg list <diskgroup>

To upgrade a disk group to version 160, use the following command:

# vxdg upgrade <diskgroup>

After you upgrade from a previous release of VxVM, HP recommends that you upgrade to the latest disk group version.

For more information on disk groups, see the Veritas Volume Manager 5.1 SP1 Administrator's Guide. To locate this document, go to the HP-UX Core docs page at: www.hp.com/go/ hpux-core-docs. On this page, select HP-UX 11i v3.

Native Multipathing with Veritas Volume Manager

By default, VxVM uses DMP to manage multiple paths to I/O devices. It is possible to configure VxVM to use HP-UX native multipathing instead by defining I/O devices as foreign devices, which are bypassed by DMP. To revert to using DMP, you must remove the I/O devices from the foreign device list. This section outlines a system-wide procedure to switch between using DMP and using HP-UX native multipathing using the vxddladm addforeign and vxddladm rmforeign commands. Using the procedure you can migrate all devices in the /dev/disk and /dev/rdisk directories. To migrate an individual device or only a subset of devices, see vxdiskadm3(1M).

Migrating from DMP to HP-UX native multipathing for systems that do not have VxVM root disks

CAUTION: Before switching between DMP and HP-UX native multipathing, ensure that no application is accessing the VxVM volumes and no file system is mounted on the VxVM volumes. Otherwise, you cannot complete the following procedure. The following procedure cannot be used on a system that has VxVM root disks.

Prior to migrating from DMP to HP-UX native multipathing, ensure that there are no applications accessing VxVM volumes and no file system is mounted on VxVM volumes.

To migrate from DMP to HP-UX native multipathing, complete the following steps:

1.Stop all volumes in each disk group on the system:

#vxvol –g diskgroup stopall

2.Initiate the migration:

#vxddladm addforeign blockdir=/dev/disk chardir=/dev/rdisk

#vxconfigd –kr reset

3.Restart the volumes in each group:

#vxvol –g diskgroup startall

The output from the vxdisk list command now displays a list of devices following the agile naming scheme of the operating system instead of the DMP metanode names

For example:

# vxdisk list

 

 

 

DEVICE

TYPE

DISK

GROUP

STATUS

disk155

auto:LVM

-

-

LVM

disk156

auto:LVM

-

-

LVM

disk224

auto:cdsdisk

-

-

online

disk225

auto:cdsdisk

-

-

online

disk226

auto:cdsdisk

-

-

online

Native Multipathing with Veritas Volume Manager 55

Image 55
Contents Veritas 5.1 SP1 Installation Guide Page Contents Upgrading from Previous Versions of VxFS to VxFS 5.1 SP1 Setting up the Veritas 5.1 SP1 ProductsFiles Added and Modified After VxFS Installation Post Upgrade TasksRemoving Veritas 5.1 SP1 Products Typographic Conventions About this DocumentIntended Audience Document OrganizationTechnical Support Related InformationHP Business Support Center HP Welcomes Your Comments Overview Volume Managers Supported on HP-UX 11iVeritas Volume Manager VxVM IntroductionVxVM Features Veritas Volume Manager VxVM Introduction # vxddladm set namingscheme=osn mode=new # vxddladm set namingscheme=osn mode=legacyVxVM 5.1 SP1 on HP-UX 11i Architecture of VxVM VxVM Objects VxVM DaemonsVxVM Storage Layouts Volume Layouts in VxVMVxVM Interfaces File Systems Supported on HP-UX 11iSupported File Systems on HP-UX 11i v Veritas File System VxFS VxFS FeaturesVeritas File System VxFS Introduction VxFS 5.1 SP1 on HP-UX 11i Architecture of VxFS Extent Based Allocation Patch Requirements System RequirementsSoftware Dependency OS VersionSoftware Depot Content Required Packages for Veritas Enterprise AdministratorRequired Software B9117EB Bundle Components License BundlesBase-VxTools-51 Bundle Components VxFS-SDK-51 Bundle ComponentsDisk Space Requirements for CVM Disk Space RequirementsDisk Space Requirements for VxFS 5.1 SP1 Disk Space Requirements for VxVM 5.1 SP1Mounting the HP Serviceguard Storage Management Suite Media Installing the Veritas 5.1 SP1 ProductsInstalling Veritas 5.1 SP1 Products # swinstall -x autoreboot=true -s depot-path Installing VxFS 5.1 SP1Installing Base-VxFS-51 # swinstall -x autoreboot=true -s depot-path Base-VxFS-51Installing HP OnlineJFS B3929HB Installing VxVM 5.1 SP1Installing Base-VxVM-51 # swinstall -x autoreboot=true -s depot-path B9116EB Installing Full VxVM B9116EB# swinstall -x autoreboot=true -s depot-path Base-VxVM-51 # swintall -x autoreboot=true -s depot-path# swverify B9116EB Installing CVM B9117EB on HP-UX 11iSwinstall -x autoreboot=true -s -depotsource B9117EB Preparing the Ignite-UX ServerCreate the configuration file for the VxVM 5.1 SP1 depot Cold-Installing the ClientConfirming the Client # swreg -l depot @ /var/depots/myhpuxdepot Page # vxvol -g diskgroup startall Setting up the Veritas 5.1 SP1 ProductsConfiguring Your System after the Installation Converting to a VxVM Root DiskStarting and Enabling the Configuration Daemon Enabling the Intelligent Storage Provisioning Feature Starting the Volume I/O DaemonEnabling Cluster Support in VxVM Verifying Existing Shared Disks Configuring New Shared Disks# vxdg list Converting Existing VxVM Disk Groups to Shared Disk GroupsUpgrading in a Clustered Environment with FastResync # vxdg -s listInitializing VxVM Using the vxinstall Utility Setting Up VxVM 5.1 SP1# insf -C disk Moving Disks Under VxVM Control# /opt/VRTSob/bin/vxsvcctrl status Setting Up a Veritas Enterprise Administrator Server# vxdisk scandisks # vxdiskadmIdentifying the Type of File System Setting up and Managing VxFS 5.1 SP1Setting Up a Veritas Enterprise Administrator Client Creating a VxFS File SystemDisplaying Information on Mounted File System Setting Environment VariablesCluster Environment Requirements Mounting a VxFS File System# vxdg bootdg # bdf # vxupgrade -n 3 dirname# vxupgrade -n 4 dirname Upgrading from Previous Versions of VxFS to VxFS 5.1 SP1# fsck -F vxfs -y -o full volname # vxupgrade -n 5 mountpoint# vxupgrade -n 5 mountpoint # vxupgrade -n 6 mountpoint # opt/VRTS/bin/vxfsconvert volname# /opt/VRTS/bin/vxfsconvert volname # vxupgrade -n 6 mountpoint # vxupgrade -n 7 mountpoint# bdf # vxupgrade -n 7 mountpoint # vxupgrade -n 6 mountpoint # vxupgrade -n 7 mountpoint # vxupgrade -n 7 mountpoint # vxupgrade -n 8 mountpoint Determining VxVM Disk Group Version Upgrading from Previous Versions of VxVM to VxVM 5.1 SP1VxVM Disk Group Version # vxvol -g diskgroup stopall Native Multipathing with Veritas Volume Manager# vxdg upgrade diskgroup # vxdg list diskgroup# vxddladm rmforeign blockdir=/dev/disk chardir=/dev/rdisk VxVM vxddladm Info V-5-1-0 Please reboot the systemFollowing messages are displayed # swinstall -x autoreboot=true -s depotpath Base-VxVM-51 # swinstall -x autoreboot=true -s depotpath Base-VxVM-51 # swinstall -x autoreboot=true Base-VxVM-51 # swinstall -x autoreboot=true Base-VxVM-51 Robustness Recommendations DmplunretrytimeoutRobustness Recommendations Upgrading VxFS Disk Layout Versions Post Upgrade TasksOptional Configuration Steps Upgrading Disk Layout VersionsRequirements for Upgrading to Disk Layout Version Using the vxfsconvert CommandUsing the vxupgrade Command Upgrading the VxVM Cluster Protocol VersionUpgrading the Array Support Library Setting the Default Disk GroupUpgrading VxVM Disk Group Versions Updating VariablesConverting from QuickLog to Multi-Volume Support Removing Veritas 5.1 SP1 Products Moving VxVM Volumes to LVM VolumesRemoving VxVM Removing Plexes Removing VxFS # /opt/VRTS/bin/vxsvcctrl stop Removing the Veritas Enterprise Administrator VEA Client# swremove -x autoreboot=true B9117EB Removing CVMFiles Added After VxFS Installation Files Added and Modified After VxFS InstallationEtc/MANPATH Files Modified After VxFS Installation5900-1514
Related manuals
Manual 12 pages 49.03 Kb