HP Serviceguard Storage Management Suite for VERITAS manual Setting Up VxVM 5.1 SP1

Page 41

NOTE: To find out if you are on the master node, enter the following command:

#vxdctl -c mode

2.Using the diskgroup names displayed in the previous command, list the disk groups that have volumes on which FastResync is set:

#vxprint -g diskgroup -F "%name" -e "v_fastresync"

3.Reattach each snapshot:

#vxassist -g diskgroup -o nofmr snapback snapshot_volume

4.If you are upgrading from VxVM 3.5 Maintenance Patch 3 or from VxVM 3.2 Maintenance Patch 5, set FastResync to off for each volume:

#vxvol -g diskgroup set fastresync=off volume

Setting Up VxVM 5.1 SP1

This section discusses the procedure to initialize VxVM, add and manage disks under VxVM, and to set up a VEA client and server. This section addresses the following topics:

“Initializing VxVM Using the vxinstall Utility” (page 41)

“Moving Disks Under VxVM Control” (page 42)

“Setting Up a Veritas Enterprise Administrator Server” (page 43)

Initializing VxVM Using the vxinstall Utility

You can use the vxinstall utility to initialize VxVM. The vxinstall initialization procedure enables you to do the following:

Specify the name of the default disk group to be used by the commands if the -goption is not used to specify a disk group explicitly.

Choose whether to use enclosure-based naming for disks. This naming type enables you to associate more meaningful disk-access names to disks in the different arrays.

To complete a typical vxinstall session, complete the following steps:

1.Set up Veritas Volume Manager using vxinstall:

# vxinstall

For more information on supported options, see vxinstall (1M).

The following output is displayed:

VxVM uses license keys to control access. If you have not yet installed a VxVM license key on your system, you will need to do so if you want to use the full functionality of the product.

Licensing information: System host ID:<hostid> Host type:<server-id>

Are you prepared to enter a license key [y,n,q] (default: n) n

2.To use enclosure-based names, enter <yn> when prompted by the vxinstall utility:

Do you want to use enclosure based names for all disks ? [y,n,q,?] (default: n)

For more information on the supported options, see vxinstall (1M).

Setting Up VxVM 5.1 SP1 41

Image 41
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 Daemon Enabling 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