HP Serviceguard Storage Management Suite for VERITAS manual

Page 37

If the disk to be removed is the last disk in the volume group, use the vgremove command to remove the volume group, and then use the pvremove command to erase the LVM disk headers.

If the disk is not currently in use by any volume or volume group but has been initialized by the pvcreate command, you must still use the pvremove command to remove LVM disk headers.

If you want to mirror the root disk across multiple disks, ensure that all the disks are free from LVM control.

2.Invoke the vxcp_lvmroot command to clone the LVM root disk to the disks you have designated to be the new VxVM root disks, while started on the upgraded LVM root disk. Following is an example vxcp_lvmroot command where c1t0d0 is used for the target VxVM root disk:

# /etc/vx/bin/vxcp_lvmroot -v c1t0d0

To additionally create a mirror of the root disk on c2t0d0, use the following command:

# /etc/vx/bin/vxcp_lvmroot -v -m c2t0d0 c1t0d0

HP recommends that you use the verbose (-v) option to create the mirror of the root disk. The process to clone the root disk takes a long time to complete and the -voption provides a time-stamped progress indication of each copied volume and other major events.

3.Use the setboot command to save the hardware path of the new VxVM root disk in the system. You can find the disk hardware paths using the following command:

# ioscan -kfnC disk

For information on the setbook command, see setboot(1M)

4.Reboot from the new VxVM root disk. If you have created a mirrored root disk, you need not explicitly take backup of the root disk. The LVM root disk safely co-exists with your VxVM root disk and provides a backup boot target.

5.Convert the original LVM root disk (if required) into a mirror of your VxVM root disk by using the following commands:

#/etc/vx/bin/vxdestroy_lvmroot -v c2t0d0

#/etc/vx/bin/vxrootmir -v c2t0d0

After this operation is complete, the system runs on a completely mirrored VxVM root disk.

6.Use the vxres_lvmroot command to restore the LVM root disk, if required later.

Starting and Enabling the Configuration Daemon

The VxVM configuration daemon (vxconfigd) maintains VxVM disk and disk group configurations. vxconfigd communicates configuration changes to the kernel and modifies configuration information stored on disk. Startup scripts usually invoke vxconfigd at system boot time. The vxconfigd daemon must be running for VxVM to operate properly.

The following procedures describe how to start the vxconfigd daemon and to check whether the daemon is enabled and running, and how to enable the daemon:

Starting the vxconfigd Daemon

To start the vxconfigd daemon, enter the following command:

# vxconfigd

This message indicates that vxconfigd is running but not enabled:

mode: disabled

Determining Whether the vxconfigd Daemon is Enabled

To determine whether vxconfigd is enabled, use the following command:

Starting and Enabling the Configuration Daemon 37

Image 37
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 Intended Audience About this DocumentDocument Organization Typographic ConventionsTechnical Support Related InformationHP Business Support Center 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 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 Software Dependency System RequirementsOS Version Patch RequirementsSoftware Depot Content Required Packages for Veritas Enterprise AdministratorRequired Software 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 CVMMounting the HP Serviceguard Storage Management Suite Media Installing the Veritas 5.1 SP1 ProductsInstalling Veritas 5.1 SP1 Products 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 HP OnlineJFS B3929HB Installing VxVM 5.1 SP1Installing Base-VxVM-51 # 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 the Intelligent Storage Provisioning Feature Starting the Volume I/O DaemonEnabling Cluster Support in VxVM 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 Determining VxVM Disk Group Version Upgrading from Previous Versions of VxVM to VxVM 5.1 SP1VxVM 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 Veritas 5.1 SP1 Products Moving VxVM Volumes to LVM VolumesRemoving VxVM 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