HP Serviceguard Storage Management Suite for VERITAS manual # bdf

Page 50

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.Upgrade to HP-UX 11i v3. For more information on upgrading to HP-UX 11i v3, see the HP-UX 11i v3 Installation and Update 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.

If your system already contains the HP-UX 11i v3 operating system, you can skip this step.

5.Install VxFS 5.1 SP1. For more information on installing VxFS 5.1 SP1, see Chapter 3 (page 27).

6.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 6. You must run fsck after vxfsconvert, because vxfsconvert does not create all metadata files.

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

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

During pass 4, fsck displays several error messages that require a yes response to complete the conversion process.

8.VxFS file systems with disk layout 4, 5, and 6 can still be mounted with VxFS 5.1 SP1. However, to upgrade the disk layout version of mounted file systems to 7, use vxupgrade, as follows:

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>

50 Upgrading from Previous Versions of VxFS to VxFS 5.1 SP1

Image 50
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 SP1Removing Veritas 5.1 SP1 Products Post Upgrade TasksFiles Added and Modified After VxFS Installation Document Organization About this DocumentIntended Audience Typographic ConventionsHP Business Support Center Related InformationTechnical Support HP Welcomes Your Comments Introduction Volume Managers Supported on HP-UX 11iVeritas Volume Manager VxVM 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 LayoutsSupported File Systems on HP-UX 11i v File Systems Supported on HP-UX 11iVxVM Interfaces VxFS Features Veritas File System VxFSVeritas File System VxFS Introduction VxFS 5.1 SP1 on HP-UX 11i Architecture of VxFS Extent Based Allocation OS Version System RequirementsSoftware Dependency Patch RequirementsRequired Software Required Packages for Veritas Enterprise AdministratorSoftware Depot Content VxFS-SDK-51 Bundle Components License BundlesBase-VxTools-51 Bundle Components B9117EB Bundle ComponentsDisk Space Requirements for VxVM 5.1 SP1 Disk Space RequirementsDisk Space Requirements for VxFS 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 # swinstall -x autoreboot=true -s depot-path Base-VxFS-51 Installing VxFS 5.1 SP1Installing Base-VxFS-51 # swinstall -x autoreboot=true -s depot-pathInstalling Base-VxVM-51 Installing VxVM 5.1 SP1Installing HP OnlineJFS B3929HB # swintall -x autoreboot=true -s depot-path Installing Full VxVM B9116EB# swinstall -x autoreboot=true -s depot-path Base-VxVM-51 # swinstall -x autoreboot=true -s depot-path B9116EBPreparing the Ignite-UX Server Installing CVM B9117EB on HP-UX 11iSwinstall -x autoreboot=true -s -depotsource B9117EB # 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 Converting to a VxVM Root Disk Setting up the Veritas 5.1 SP1 ProductsConfiguring Your System after the Installation # 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 Configuring New Shared Disks Verifying Existing Shared Disks# vxdg -s list Converting Existing VxVM Disk Groups to Shared Disk GroupsUpgrading in a Clustered Environment with FastResync # vxdg listSetting Up VxVM 5.1 SP1 Initializing VxVM Using the vxinstall UtilityMoving Disks Under VxVM Control # insf -C disk# vxdiskadm Setting Up a Veritas Enterprise Administrator Server# vxdisk scandisks # /opt/VRTSob/bin/vxsvcctrl statusCreating a VxFS File System Setting up and Managing VxFS 5.1 SP1Setting Up a Veritas Enterprise Administrator Client Identifying the Type of File SystemMounting a VxFS File System Setting Environment VariablesCluster Environment Requirements Displaying Information on Mounted File System# vxdg bootdg Upgrading from Previous Versions of VxFS to VxFS 5.1 SP1 # vxupgrade -n 3 dirname# vxupgrade -n 4 dirname # bdf# opt/VRTS/bin/vxfsconvert volname # vxupgrade -n 5 mountpoint# vxupgrade -n 5 mountpoint # vxupgrade -n 6 mountpoint # 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 VxVM Disk Group Version Upgrading from Previous Versions of VxVM to VxVM 5.1 SP1Determining VxVM Disk Group Version # vxdg list diskgroup Native Multipathing with Veritas Volume Manager# vxdg upgrade 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 Upgrading Disk Layout Versions Post Upgrade TasksOptional Configuration Steps Upgrading VxFS Disk Layout VersionsUpgrading the VxVM Cluster Protocol Version Using the vxfsconvert CommandUsing the vxupgrade Command Requirements for Upgrading to Disk Layout VersionUpdating Variables Setting the Default Disk GroupUpgrading VxVM Disk Group Versions 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 Removing CVM Removing the Veritas Enterprise Administrator VEA Client# swremove -x autoreboot=true B9117EB # /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