HP Serviceguard Storage Management Suite for VERITAS manual

Page 67

Converting from QuickLog to Multi-Volume Support

The 4.1 release of the Veritas File System is the last major release to support QuickLog. The Version 6 or Version 7 disk layout does not support QuickLog. The functionality provided by the Veritas Multi-Volume Support (MVS) feature replaces most of the functionality provided by QuickLog.

This section discusses the procedure to convert from QuickLog to MVS. The QuickLog device need not be related to the file system. For MVS, the log volume and the file system volume must be in the same disk group. Unlike QuickLog, which enabled logging of up to 31 VxFS file systems to one device, MVS enables intent logging of only one file system per device. Therefore, the following procedure must be performed for each file system that is logged to a QuickLog device if Version 6 or Version 7 disk layout is used.

To convert Quicklog to MVS, complete the following steps:

1.Select a QuickLog-enabled file system to convert to MVS and unmount the file system:

#umount myfs

2.Detach one of the QuickLog volumes from the QuickLog device that the file system had been using. This volume can be used as the new intent log volume for the file system.

#qlogdetach -g diskgroup log_vol

3.Create the volume set:

#vxvset make myvset myfs_volume

4.Mount the volume set:

#mount -F vxfs /dev/vx/dsk/rootdg/myvset /mnt1

5.Upgrade the file system of the volume set to Version 6 or Version 7 disk layout. Following is a sample command to upgrade the file system:

#vxupgrade -n 6 /mnt1

For more information on upgrading disk layout versions, see “Upgrading Disk Layout Versions” (page 64).

6.Add the log volume from step 2 to the volume set:

#vxvset addvol myvset log_vol

7.Add the log volume to the file system. The size of the volume must be specified.

#fsvoladm add /mnt1 log_vol 50m

8.Move the log to the new volume.

#fsadm -o logdev=log_vol,logsize=16m /mnt1

Converting from QuickLog to Multi-Volume Support 67

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