HP Serviceguard Storage Management Suite for VERITAS Upgrading the VxVM Cluster Protocol Version

Page 65

1.Select one of the nodes of the cluster and mount the file system locally on this node. Use the mount command but without the -ocluster option. Following is a sample mount command:

#mount -F vxfs /dev/vx/dsk/sharedg/vol1 /mnt1

2.Find the current disk layout version on a file system:

#fstyp -v grep version \ awk '{print $2}'

3.On the node selected in Step 1, incrementally upgrade the disk layout of this file system to layout Version 6 or 7.

For example, if you had a cluster mounted file system of disk layout Version 4 running with previous version of VxFS, after upgrading to VxFS 5.1 SP1, you must upgrade the disk layout to Version 6 or 7. The incremental upgrade is as follows:

#vxupgrade -n 5 /mnt1

#vxupgrade -n 6 /mnt1

#vxupgrade -n 7 /mnt1

4.On the node selected in Step 1, unmount the file system after the disk layout has been successfully upgraded:

#umount /mnt1

5.You can mount this file system on all nodes of the cluster.

Using the vxfsconvert Command

You can use the following vxfsconvert command to convert an unmounted HFS file system to a Veritas file system with disk layout Version 7:

# vxfsconvert /device_name

For more information on the vxfsconvert command and fsadm_vxfs command, see the vxfsconvert(1M) and fsadm_vxfs(1M) manpages.

Using the vxupgrade Command

You can use the following vxupgrade command to upgrade old VxFS disk layouts to disk layout Version 7 while the file system remains mounted::

# vxupgrade -n 7 /mount_point

For more information on the vxupgrade and fsadm_vxfs commands, see vxupgrade(1M) and fsadm_vxfs(1M).

WARNING! The contents of intent logs created on a previous disk layout version cannot be used after the disk layout version is upgraded.

Requirements for Upgrading to Disk Layout Version 7

Converting a previous disk layout to a Version 7 disk layout requires adequate free space. The space and time required to complete the upgrade increases with the number of files, extended attributes, and hard links in the file system. The maximum space required is at least two additional inodes with one block for every inode. A minimum of 10 minutes if required to upgrade every million inodes in the file system.

Upgrading the VxVM Cluster Protocol Version

If you are upgrading a cluster and want to take advantage of the new features in this release, you must upgrade the version of the VxVM cluster protocol. To upgrade the protocol to version 100, enter the following command on the master node of the cluster:

# vxdctl upgrade

Upgrading the VxVM Cluster Protocol Version 65

Image 65
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 ProductsRemoving Veritas 5.1 SP1 Products Post Upgrade TasksFiles Added and Modified After VxFS Installation Intended Audience About this DocumentDocument Organization Typographic ConventionsHP Business Support Center Related InformationTechnical Support HP Welcomes Your Comments Veritas Volume Manager VxVM Volume Managers Supported on HP-UX 11iIntroduction OverviewVxVM 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 VxVMSupported File Systems on HP-UX 11i v File Systems Supported on HP-UX 11iVxVM Interfaces Veritas File System VxFS VxFS FeaturesVeritas File System VxFS Introduction VxFS 5.1 SP1 on HP-UX 11i Architecture of VxFS Extent Based Allocation Software Dependency System RequirementsOS Version Patch RequirementsRequired Software Required Packages for Veritas Enterprise AdministratorSoftware Depot Content Base-VxTools-51 Bundle Components License BundlesVxFS-SDK-51 Bundle Components B9117EB Bundle ComponentsDisk Space Requirements for VxFS 5.1 SP1 Disk Space RequirementsDisk Space Requirements for VxVM 5.1 SP1 Disk Space Requirements for CVMInstalling Veritas 5.1 SP1 Products Installing the Veritas 5.1 SP1 ProductsMounting the HP Serviceguard Storage Management Suite Media Installing Base-VxFS-51 Installing VxFS 5.1 SP1# swinstall -x autoreboot=true -s depot-path Base-VxFS-51 # swinstall -x autoreboot=true -s depot-pathInstalling Base-VxVM-51 Installing VxVM 5.1 SP1Installing HP OnlineJFS B3929HB # swinstall -x autoreboot=true -s depot-path Base-VxVM-51 Installing Full VxVM B9116EB# swintall -x autoreboot=true -s depot-path # swinstall -x autoreboot=true -s depot-path B9116EBSwinstall -x autoreboot=true -s -depotsource B9117EB Installing CVM B9117EB on HP-UX 11iPreparing the Ignite-UX Server # swverify B9116EBCreate the configuration file for the VxVM 5.1 SP1 depot Cold-Installing the ClientConfirming the Client # swreg -l depot @ /var/depots/myhpuxdepot Page Configuring Your System after the Installation Setting up the Veritas 5.1 SP1 ProductsConverting to a VxVM Root Disk # vxvol -g diskgroup startallStarting and Enabling the Configuration Daemon Enabling Cluster Support in VxVM Starting the Volume I/O DaemonEnabling the Intelligent Storage Provisioning Feature Verifying Existing Shared Disks Configuring New Shared DisksUpgrading in a Clustered Environment with FastResync Converting Existing VxVM Disk Groups to Shared Disk Groups# vxdg -s list # vxdg listInitializing VxVM Using the vxinstall Utility Setting Up VxVM 5.1 SP1# insf -C disk Moving Disks Under VxVM Control# vxdisk scandisks Setting Up a Veritas Enterprise Administrator Server# vxdiskadm # /opt/VRTSob/bin/vxsvcctrl statusSetting Up a Veritas Enterprise Administrator Client Setting up and Managing VxFS 5.1 SP1Creating a VxFS File System Identifying the Type of File SystemCluster Environment Requirements Setting Environment VariablesMounting a VxFS File System Displaying Information on Mounted File System# vxdg bootdg # vxupgrade -n 4 dirname # vxupgrade -n 3 dirnameUpgrading from Previous Versions of VxFS to VxFS 5.1 SP1 # bdf# vxupgrade -n 5 mountpoint # vxupgrade -n 6 mountpoint # vxupgrade -n 5 mountpoint# opt/VRTS/bin/vxfsconvert volname # fsck -F vxfs -y -o full 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 VxVM Disk Group Version Upgrading from Previous Versions of VxVM to VxVM 5.1 SP1Determining VxVM Disk Group Version # vxdg upgrade diskgroup Native Multipathing with Veritas Volume Manager# vxdg list diskgroup # vxvol -g diskgroup stopall# 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 Optional Configuration Steps Post Upgrade TasksUpgrading Disk Layout Versions Upgrading VxFS Disk Layout VersionsUsing the vxupgrade Command Using the vxfsconvert CommandUpgrading the VxVM Cluster Protocol Version Requirements for Upgrading to Disk Layout VersionUpgrading VxVM Disk Group Versions Setting the Default Disk GroupUpdating Variables Upgrading the Array Support LibraryConverting from QuickLog to Multi-Volume Support Removing VxVM Moving VxVM Volumes to LVM VolumesRemoving Veritas 5.1 SP1 Products Removing Plexes Removing VxFS # swremove -x autoreboot=true B9117EB Removing the Veritas Enterprise Administrator VEA ClientRemoving CVM # /opt/VRTS/bin/vxsvcctrl stopFiles 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