HP Serviceguard Storage Management Suite for VERITAS manual Removing Plexes

Page 69

2.Remove the evacuated disks from VxVM control by entering the following command:

#vxdg -g <dg> rmdisk <diskname

#vxdisk rm <devname>

For more information on supported options, see vxdisk (1M) and vxdg (1M).

3.Unmount the disk to be removed first. If the volume is being used as a raw partition for database applications, ensure that the application is not updating the volume and the data on the volume is synchronized.

4.Create an LVM volume of the same size as the plex on the VxVM volume. If there is not enough free space for the logical volume, add a new disk to the system for the first volume to be removed. For subsequent volumes, you can use the free space generated by the removal of the first volume.

5.Copy the data on the volume to the newly created LVM logical volume by entering the following command:

# dd if=</dev/vx/dsk/<logical_vol>> of=</dev/<vol_gr>/<logical_vol>>

where <vol_gr> is a newly created LVM volume group and <logical_vol> is a new logical volume.

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

6.Replace the entry (if any) for the volume in /etc/fstab file with an entry for the newly created LVM logical volume.

7.Mount the logical volume only if the VxVM volume was mounted before.

8.Remove the volume from Veritas Volume Manager control:

# vxedit -g <dg> -rf rm <volume_name>

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

9.Check whether any sub-disks remain on a disk:

# vxprint -g <dg> -F “%sdnum” <diskname>

If the output is 0, remove the disk from Volume Manager control:

# vxdg -g <dg> rmdisk <diskname>

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

# vxdisk rm devname

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

If the output is not 0, remove sub-disks from the disk and then remove the disk.

10.Copy the data in the next volume to be removed to the newly created free space.

11.Reboot the system after all volumes are converted successfully.

12.Verify that no open volumes remain on the system:

# vxprint -g <dg> -Aht -e <v_open>

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

If any volumes remain open, repeat the above steps.

Removing Plexes

To remove plexes, complete the following steps:

1.Display a list of all the volumes:

# vxprint -g <dg> -Ath

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

Removing VxVM 69

Image 69
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 ProductsPost Upgrade Tasks Files Added and Modified After VxFS InstallationRemoving Veritas 5.1 SP1 Products Intended Audience About this DocumentDocument Organization Typographic ConventionsRelated Information Technical SupportHP 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 VxVMFile Systems Supported on HP-UX 11i VxVM InterfacesSupported 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 RequirementsRequired Packages for Veritas Enterprise Administrator Software Depot ContentRequired 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 CVMInstalling the Veritas 5.1 SP1 Products Mounting the HP Serviceguard Storage Management Suite MediaInstalling 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 VxVM 5.1 SP1 Installing HP OnlineJFS B3929HBInstalling 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 Starting the Volume I/O Daemon Enabling the Intelligent Storage Provisioning FeatureEnabling 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 Upgrading from Previous Versions of VxVM to VxVM 5.1 SP1 Determining VxVM Disk Group VersionVxVM 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 Version Upgrading VxVM Disk Group Versions Setting the Default Disk Group Updating Variables Upgrading the Array Support LibraryConverting from QuickLog to Multi-Volume Support Moving VxVM Volumes to LVM Volumes Removing Veritas 5.1 SP1 ProductsRemoving 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