EMC 300-000-978 REV A03 manual Example After modification

Page 58

3

Configuring a PowerPath Boot Device on Solaris

3.In the /mnt/etc directory update the vfstab file to indicate the storage system boot device address to be mounted during boot. Modify all partitions that will be located on the storage system boot device.

a.At the %> prompt, enter cd /mnt/etc and press ENTER.

b.At the %> prompt, enter vi vfstab and press ENTER.

Example — Before modification:

#device

device

mount

FS

 

fsck

mount

mount

#to mount to

fsck

point

type

pass

at boot options

/dev/dsk/c0t0d0s1

-

-

 

swap

-

 

no

-

/dev/dsk/c0t0d0s0

/dev/rdsk/c0t0d0s0

/

 

ufs

 

1

 

no

-

/dev/dsk/c0t0d0s6

/dev/rdsk/c0t0d0s6

/usr

ufs

 

1

 

no

-

swap - /tmp tmpfs - yes -

 

 

 

 

 

 

 

 

 

Example — After modification:

 

 

 

 

#device

device

mount

FS

 

fsck

mount

mount

#to mount to

fsck

point

type

pass

at boot

options

#

 

 

 

 

 

 

 

 

 

/dev/dsk/c3t0d0s1

-

-

swap

-

 

no

 

-

/dev/dsk/c3t0d0s0

/dev/rdsk/c3t0d0s0

/

ufs

 

1

 

no

 

-

/dev/dsk/c3t0d0s6

/dev/rdsk/c3t0d0s6

/usr

ufs

 

1

 

no

 

-

swap - /tmp tmpfs - yes -

To increase system performance, you can leave the swap partition on the internal boot drive by leaving the fourth line (/dev/dsk/c0t0d0s1 - - swap- no -) unchanged.

4.At the %> prompt, enter umount /mnt and press ENTER to unmount the root partition.

5.Repeat steps 1, 2, and 4 for the /usr partition. In the current root directory:

a.At the %> prompt, enter mount /dev/dsk/c3t0d0s6 /mnt and press ENTER.

b.At the %> prompt, enter the following command and press

ENTER:

ufsdump 0f - /dev/dsk/c0t0d0s6 ( cd /mnt; ufsrestore rf -)

c. At the %> prompt, enter umount /mnt and press ENTER.

6.Repeat steps 1, 2, and 4 for any other partitions to be mounted from the storage system boot device.

3-6

PowerPath for UNIX Installation and Administration Guide

 

 

Image 58
Contents PowerPath for Unix VersionCopyright 1997-2003 EMC Corporation. All rights reserved Contents Chapter PowerPath Administration on Solaris Chapter Configuring a PowerPath Boot Device on SolarisChapter Removing PowerPath Integrating/ Upgrading PowerPath Into an Existing AAMAppendix a Files Changed By PowerPath Appendix B Customer Support Tables TablesTables Viii Preface Audience and PrerequisitesPreface Related Documentation Options in command line syntax Command line arguments when used in textArguments used in examples of command line EMC uses the following type style conventions in this guideSales and Customer Service Contacts Xiv Installing PowerPath Obtain Up-To-Date Information Before You InstallChoose a Convenient Time Locate Your License Key Prepare the Host and Storage SystemConfigure HBA drivers Failure to do so could result in loss or corruption of dataFor sh, enter Prepare For a Clustered EnvironmentFor example To find a unique major numberInstalling PowerPath Start the installation program. EnterYou see the following prompt Press Enter to confirm the major number You are prompted to confirm the major numberEnter y and press Enter Manager VCS Agent Upgrading to PowerPath Uninstalling the Earlier VersionUpgrading From PowerPath 3.0.x or Enter 1 and press EnterEnter package base directory default /opt,? You are prompted to confirm the major number EMC Troubleshooting the Upgrade If files are corruptedRegister PowerPath After You InstallOn the Host Reboot the Host RemoveYou should see output like the following Verify the PowerPath InstallationIf you installed the PowerPath Volume Manager VCS Agent You should see output similar to thisModinfo grep -i emc Emcpower Devices ReconfigureApplications to Use Installing the PowerPath Volume Manager VCS Agent Do you want to install these conflicting files y, n, ?, q Error Messages You should output similar to thisPowerPath for Unix Installation and Administration Guide PowerPath in a Cluster Environment PowerPath in a Legato 5.1 or later AAM ClusterPowerPath in a Legato 5.1 or later AAM Cluster Installing PowerPath A New AAM ClusterPowerPath in a Legato 5.1 or later AAM Cluster PowerPath in a Sun Cluster Installing PowerPath in a New Sun ClusterPowerPath in a Sun Cluster PowerPath in a Sun Cluster Stop cluster services on the node. Enter boot PowerPath in a Veritas Cluster Server Cluster Installing PowerPath A New VCS ClusterHatype -list grep EMC Integrating Upgrading PowerPath Into an Existing VCS Cluster Recognize Configuring VCS toPowerPath Volume Manager ResourcesEditing main.cf to Include EMCTypes.cf Add the following line to the beginningSetting Major and Minor Numbers Minor NumberPowerPath for Unix Installation and Administration Guide Configuring a PowerPath Boot Device On Solaris Introduction Configuring a PowerPath Native Device as the Boot Device Partitioning the Boot DeviceCreating FilesystemsUsr/sbin/installboot /usr/platform/sun4u/lib/fs/ufs/bootblk\ At the % prompt, enter the following command and press Example After modificationSetting Up the Boot Alias OpenBootModifying Moving the Boot Device to an emcpower Device Output is similar to the followingRecovery ProcedureReboot the host. Enter boot Removing PowerPath Control Over a Boot Device An example of a boot path isReboot -- -r Removing PowerPath Before Removing PowerPath Removing PowerPath Screen displays information like thisEmcpvcleanup issues the following warning Enter the following command to remove these filesRemoval process saves the following files Reboot the host. Enter reboot -- -r Removing the PowerPath Volume Manager VCS Agent Removal of EMCvg was successful PowerPath for Unix Installation and Administration Guide PowerPath Administration on Solaris Booting a Host With Built-In Fibre Channel Ports PowerPath and CLARiiON Storage SystemsEnsuring a Sufficient Stack Size Rebooting and Custom Settings Boot Device SupportR1/R2 Boot Failover Support R1/R2 Supported Configurations R1/R2 Boot ProcedureForms Device NamingNative Devices Block device- /dev/dsk/c # t # d # s #Selecting a Device Pseudo DevicesNaming Convention Device Naming Function Native Device Pseudo Device Volume Managers Reconfiguring PowerPath Devices Online Enter quit, to end the format process Screen displays the following informationDynamic Reconfiguration Adding an HBA to a PowerPath ConfigurationRemoving an HBA From a PowerPath Configuration Command returns output like the followingPowermt remove hba=# Upgrading to Solaris 9 with Solaris Live Upgrade Upgrading SolarisTroubleshooting Powercf Configuration Utility File Location Executing powercf Emcp.conf FilePowerPath device entries in emcp.conf ArgumentsFiles Changed By PowerPath Files Created or Modified by PowerPath Installation EtcBasedir/EMCpower/bin Basedir/EMCpower/driverPowerPath for Unix Installation and Administration Guide Kernel/drv Basedir/EMCpower/lib Files Created or Modified by PowerPath Installation Basedir/EMCpower/man/man1 This directory contains the PowerPath man pages Basedir/EMCpower/scriptsThis directory contains PowerPath scripts Usr/binSolaris Files Modified by PowerPath Installation Installation programs add the following line toBasedir/VRTSvcs/EMC Files Created or Modified by VCS Agent InstallationEtc/VRTSvcs/conf/config Basedir/VRTSvcs/bin/EMCvgPowerPath for Unix Installation and Administration Guide Customer Support Overview of Detecting and Resolving Problems Figure B-1Problem Detection and Resolution ProcessTroubleshooting the Problem Before Calling the Customer Support Center Documenting the Problem Reporting a New Problem Sending Problem Documentation FTPPowerPath for Unix Installation and Administration Guide Symbols IndexVCS Veritas Volume Manager and emcpower devices PowerPath for Unix Installation and Administration Guide