HP Serviceguard Storage Management Suite for VERITAS manual # vxdg -s list, # vxdg list

Page 40

1.Start the cluster on all nodes.

2.Enter the following command on all nodes:

# vxdg -s list

This command displays the existing shared disk groups.

Converting Existing VxVM Disk Groups to Shared Disk Groups

This section discusses the procedure to upgrade from VxVM 3.x to VxVM 5.1 SP1 and to convert existing disk groups to shared disk groups.

To convert existing disk groups to shared disk groups, complete the following steps:

1.Ensure that all systems that are running are part of the same cluster.

2.Start the cluster on at least one node.

For a two-node cluster, start the cluster on one node; for a four-node cluster, start the cluster on three nodes.

3.Configure the disk groups:

List all disk groups, use the following command:

#vxdg list

To deport disk groups to be shared, use the following command:

#vxdg deport disk_group_name

To import disk groups to be shared, use the following command on the master node:

#vxdg -s import disk_group_name

This procedure marks the disks in the shared disk groups as shared and stamps them with the ID of the cluster, enabling other nodes to recognize the shared disks. If dirty region logs exist, ensure that they are active.

To display the shared flag for all the shared disk groups, use the following command:

# vxdg list

The disk groups are now ready to be shared.

4.If the cluster is only running with one node, bring up the other cluster nodes. Enter the vxdg list command on each node to display the shared disk groups. This command displays the same list of shared disk groups displayed earlier.

Upgrading in a Clustered Environment with FastResync

In order to upgrade in a clustered environment with the FastResync option, you must perform the procedure discussed in this section in addition to the procedure discussed in “Converting Existing VxVM Disk Groups to Shared Disk Groups” (page 40).

The procedure discussed in this section applies to the following upgrade scenarios:

Upgrading from VxVM 3.5 to VxVM 5.1 SP1

Upgrading from VxVM 3.5 Maintenance Pack 4 to VxVM 5.1 SP1

If there are volumes in the shared disk groups with the FastResync set option (fastresync=on), reattach each snapshot to its data volume before beginning the upgrade procedure.

To upgrade in a clustered environment when FastResync is set and to reattach each snapshot to its data volume, complete the following steps from the master node:

1.On the master node, list the disk groups that are shared:

# vxdg -s list

40 Setting up the Veritas 5.1 SP1 Products

Image 40
Contents Veritas 5.1 SP1 Installation Guide Page Contents Setting up the Veritas 5.1 SP1 Products Upgrading from Previous Versions of VxFS to VxFS 5.1 SP1Files Added and Modified After VxFS Installation Post Upgrade TasksRemoving Veritas 5.1 SP1 Products About this Document Intended AudienceDocument Organization Typographic ConventionsTechnical Support Related InformationHP Business Support Center HP Welcomes Your Comments Volume Managers Supported on HP-UX 11i Veritas Volume Manager VxVMIntroduction OverviewVxVM Features Veritas Volume Manager VxVM Introduction # vxddladm set namingscheme=osn mode=legacy # vxddladm set namingscheme=osn mode=newVxVM 5.1 SP1 on HP-UX 11i Architecture of VxVM VxVM Daemons VxVM ObjectsVolume Layouts in VxVM VxVM Storage LayoutsVxVM Interfaces File Systems Supported on HP-UX 11iSupported File Systems on HP-UX 11i v VxFS Features Veritas File System VxFSVeritas File System VxFS Introduction VxFS 5.1 SP1 on HP-UX 11i Architecture of VxFS Extent Based Allocation System Requirements Software DependencyOS Version Patch RequirementsSoftware Depot Content Required Packages for Veritas Enterprise AdministratorRequired Software License Bundles Base-VxTools-51 Bundle ComponentsVxFS-SDK-51 Bundle Components B9117EB Bundle ComponentsDisk Space Requirements Disk Space Requirements for VxFS 5.1 SP1Disk Space Requirements for VxVM 5.1 SP1 Disk Space Requirements for CVMMounting the HP Serviceguard Storage Management Suite Media Installing the Veritas 5.1 SP1 ProductsInstalling Veritas 5.1 SP1 Products Installing VxFS 5.1 SP1 Installing Base-VxFS-51# swinstall -x autoreboot=true -s depot-path Base-VxFS-51 # swinstall -x autoreboot=true -s depot-pathInstalling HP OnlineJFS B3929HB Installing VxVM 5.1 SP1Installing Base-VxVM-51 Installing Full VxVM B9116EB # swinstall -x autoreboot=true -s depot-path Base-VxVM-51# swintall -x autoreboot=true -s depot-path # swinstall -x autoreboot=true -s depot-path B9116EBInstalling CVM B9117EB on HP-UX 11i Swinstall -x autoreboot=true -s -depotsource B9117EBPreparing the Ignite-UX Server # swverify B9116EBCold-Installing the Client Create the configuration file for the VxVM 5.1 SP1 depotConfirming the Client # swreg -l depot @ /var/depots/myhpuxdepot Page Setting up the Veritas 5.1 SP1 Products Configuring Your System after the InstallationConverting to a VxVM Root Disk # vxvol -g diskgroup startallStarting and Enabling the Configuration Daemon Enabling the Intelligent Storage Provisioning Feature Starting the Volume I/O DaemonEnabling Cluster Support in VxVM Configuring New Shared Disks Verifying Existing Shared DisksConverting Existing VxVM Disk Groups to Shared Disk Groups Upgrading in a Clustered Environment with FastResync# vxdg -s list # vxdg listSetting Up VxVM 5.1 SP1 Initializing VxVM Using the vxinstall UtilityMoving Disks Under VxVM Control # insf -C diskSetting Up a Veritas Enterprise Administrator Server # vxdisk scandisks# vxdiskadm # /opt/VRTSob/bin/vxsvcctrl statusSetting up and Managing VxFS 5.1 SP1 Setting Up a Veritas Enterprise Administrator ClientCreating a VxFS File System Identifying the Type of File SystemSetting Environment Variables Cluster Environment RequirementsMounting a VxFS File System Displaying Information on Mounted File System# vxdg bootdg # vxupgrade -n 3 dirname # vxupgrade -n 4 dirnameUpgrading from Previous Versions of VxFS to VxFS 5.1 SP1 # bdf# vxupgrade -n 5 mountpoint # vxupgrade -n 5 mountpoint # vxupgrade -n 6 mountpoint# opt/VRTS/bin/vxfsconvert volname # fsck -F vxfs -y -o full volname# vxupgrade -n 6 mountpoint # vxupgrade -n 7 mountpoint # /opt/VRTS/bin/vxfsconvert volname# 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 Native Multipathing with Veritas Volume Manager # vxdg upgrade diskgroup# vxdg list diskgroup # vxvol -g diskgroup stopallVxVM vxddladm Info V-5-1-0 Please reboot the system # vxddladm rmforeign blockdir=/dev/disk chardir=/dev/rdiskFollowing 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 Dmplunretrytimeout Robustness RecommendationsRobustness Recommendations Post Upgrade Tasks Optional Configuration StepsUpgrading Disk Layout Versions Upgrading VxFS Disk Layout VersionsUsing the vxfsconvert Command Using the vxupgrade CommandUpgrading the VxVM Cluster Protocol Version Requirements for Upgrading to Disk Layout VersionSetting the Default Disk Group Upgrading VxVM Disk Group VersionsUpdating Variables Upgrading the Array Support LibraryConverting from QuickLog to Multi-Volume Support Removing Veritas 5.1 SP1 Products Moving VxVM Volumes to LVM VolumesRemoving VxVM Removing Plexes Removing VxFS Removing the Veritas Enterprise Administrator VEA Client # swremove -x autoreboot=true B9117EBRemoving CVM # /opt/VRTS/bin/vxsvcctrl stopFiles Added and Modified After VxFS Installation Files Added After VxFS InstallationFiles Modified After VxFS Installation Etc/MANPATH5900-1514
Related manuals
Manual 12 pages 49.03 Kb