HP Serviceguard Storage Management Suite for VERITAS manual

Page 52

a.To upgrade a mounted VxFS file system from disk layout 4 to disk layout 7, enter the following commands:

#vxupgrade -n 5 <mount_point>

#vxupgrade -n 6 <mount_point>

#vxupgrade -n 7 <mount_point>

b.To upgrade a mounted VxFS file system from disk layout 5 to disk layout 7, enter the following commands:

#vxupgrade -n 6 <mount_point>

#vxupgrade -n 7 <mount_point>

c.To upgrade a mounted VxFS file system from disk layout 6 to disk layout 7, enter the following command:

#vxupgrade -n 7 <mount_point>

9.To verify the conversion, enter the following command:

# fstyp -v <vol_name>

Upgrading from VxFS 5.0.1 on HP-UX 11i v3 to VxFS 5.1 SP1 on HP-UX 11i v3

To upgrade from VxFS 5.0.1 on HP-UX 11i v3 to VxFS 5.1 SP1 on HP-UX 11i v3, complete the following steps:

1.To determine the volume names, enter the following command:

#bdf

2.To determine the current disk layout version for system partitions, enter the following command:

#fstyp -v <vol_name>

3.To upgrade file systems with DLV 2 or 3, before installing 5.1 SP1, complete the following steps:

NOTE: You cannot upgrade from DLV 2 to DLV 4 directly. DLV4 is the lowest disk layout that is supported by VxFS 5.1 SP1.

a.To upgrade a mounted VxFS file system from DLV 2 to DLV 3, enter the following command:

#vxupgrade -n 3 <dir_name>

b.To upgrade a mounted VxFS file system from DLV 3 to DLV 4, enter the following command:

#vxupgrade -n 4 <dir_name>

4.Install VxFS 5.1 SP1. For more information on installing VxFS 5.1 SP1, see “Installing the Veritas 5.1 SP1 Products” (page 27).

5.To convert any non-VxFS file system on your system to a VxFS file system, and to upgrade the DLV from 2 and 3 to 7, enter the following command:

# /opt/VRTS/bin/vxfsconvert <vol_name>

The vxfsconvert command works with unmounted file systems. To upgrade mounted file systems use the vxupgrade command as described in Step 8. You must run fsck after vxfsconvert, because vxfsconvert does not create all metadata files.

6.To run the VxFS-specific full fsck on the converted file system, enter the following command:

# fsck -F vxfs -y -o full <vol_name>

52 Upgrading from Previous Versions of VxFS to VxFS 5.1 SP1

Image 52
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