EMC 300-000-978 REV A03 manual Recovery, Procedure

Page 61

Configuring a PowerPath Boot Device on Solaris

 

6.

Using a text editor such as vi, make the following changes to the

 

 

 

/etc/system file:

 

 

 

• Add this line above the forceload: drv/emcp statement:

 

 

 

forceload: drv/sd

 

 

 

• Add this line below the forceload: drv/emcp statement:

 

 

 

rootdev: /pseudo/emcp@6:a,blk

 

 

 

The /etc/system file now includes the following lines:

 

 

 

forceload: drv/sd

 

 

 

forceload: drv/emcp

 

 

 

rootdev: /pseudo/emcp@6:a,blk

 

 

7.

Using a text editor such as vi, edit the /etc/vfstab file,

 

 

 

replacing each native partition (c#t#d#s#) for the boot device

 

 

 

with an emcpower partition name. In this example, you would

 

 

 

replace c1t6d0s0 with emcpower6a. You must change both the

 

 

 

/dev/dsk and /dev/rdsk entries.

 

 

8.

Restart the host. Enter:

 

 

 

reboot

 

 

 

 

Recovery

If you cannot boot the host after configuring the PowerPath device as

 

Procedure

the boot device, you may have made a typing error when editing the

 

 

/etc/system and /etc/vfstab files. To recover:

 

 

1.

Insert the Solaris Operating System CD-ROM into the host’s

 

 

 

CD-ROM drive.

 

 

2.

At the ok prompt, enter:

 

 

 

boot cdrom –s

 

 

3.

Mount the storage system boot device that is experiencing the

 

 

 

problem. For example, enter:

 

 

 

mount /dev/dsk/c1t6d0s0 /a

 

 

4.

Enter:

 

 

 

TERM=sun-cmd

 

 

 

export TERM

 

 

5.

Check the /etc/system and /etc/vfstab files against the

 

 

 

changes you made to these files when you set up multipathing to

 

 

 

the storage system boot device. Use a text editor such as vi to

 

 

 

correct any problems you find.

 

 

 

 

 

 

 

Moving the Boot Device to an emcpower Device

3-9

 

 

 

 

3

Image 61
Contents Version PowerPath for UnixCopyright 1997-2003 EMC Corporation. All rights reserved Contents Chapter Removing PowerPath Chapter Configuring a PowerPath Boot Device on SolarisChapter PowerPath Administration on Solaris Integrating/ Upgrading PowerPath Into an Existing AAMAppendix a Files Changed By PowerPath Appendix B Customer Support Tables TablesTables Viii Audience and Prerequisites PrefacePreface Related Documentation Arguments used in examples of command line Command line arguments when used in textOptions in command line syntax 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 Prepare the Host and Storage System Locate Your License KeyFailure to do so could result in loss or corruption of data Configure HBA driversFor example Prepare For a Clustered EnvironmentFor sh, enter To find a unique major numberStart the installation program. Enter Installing PowerPathYou 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 Uninstalling the Earlier Version Upgrading to PowerPathEnter 1 and press Enter Upgrading From PowerPath 3.0.x orEnter package base directory default /opt,? You are prompted to confirm the major number EMC If files are corrupted Troubleshooting the UpgradeRegister PowerPath After You InstallOn the Host Remove Reboot the HostIf you installed the PowerPath Volume Manager VCS Agent Verify the PowerPath InstallationYou should see output like the following 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 You should output similar to this Error MessagesPowerPath for Unix Installation and Administration Guide PowerPath in a Legato 5.1 or later AAM Cluster PowerPath in a Cluster EnvironmentInstalling PowerPath A New AAM Cluster PowerPath in a Legato 5.1 or later AAM ClusterPowerPath in a Legato 5.1 or later AAM Cluster Installing PowerPath in a New Sun Cluster PowerPath in a Sun ClusterPowerPath in a Sun Cluster PowerPath in a Sun Cluster Stop cluster services on the node. Enter boot Installing PowerPath A New VCS Cluster PowerPath in a Veritas Cluster Server ClusterHatype -list grep EMC Integrating Upgrading PowerPath Into an Existing VCS Cluster PowerPath Volume Configuring VCS toRecognize Manager ResourcesAdd the following line to the beginning Editing main.cf to Include EMCTypes.cfMinor Number Setting Major and Minor NumbersPowerPath for Unix Installation and Administration Guide Configuring a PowerPath Boot Device On Solaris Introduction Partitioning the Boot Device Configuring a PowerPath Native Device as the Boot DeviceFilesystems CreatingUsr/sbin/installboot /usr/platform/sun4u/lib/fs/ufs/bootblk\ Example After modification At the % prompt, enter the following command and pressSetting Up the Boot Alias OpenBootModifying Output is similar to the following Moving the Boot Device to an emcpower DeviceProcedure RecoveryReboot the host. Enter boot An example of a boot path is Removing PowerPath Control Over a Boot DeviceReboot -- -r Removing PowerPath Before Removing PowerPath Screen displays information like this Removing PowerPathEmcpvcleanup 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 Boot Device Support Rebooting and Custom SettingsR1/R2 Supported Configurations R1/R2 Boot Procedure R1/R2 Boot Failover SupportNative Devices Device NamingForms 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 Screen displays the following information Enter quit, to end the format processAdding an HBA to a PowerPath Configuration Dynamic ReconfigurationCommand returns output like the following Removing an HBA From a PowerPath ConfigurationPowermt remove hba=# Upgrading Solaris Upgrading to Solaris 9 with Solaris Live UpgradeTroubleshooting File Location Executing powercf Emcp.conf File Powercf Configuration UtilityArguments PowerPath device entries in emcp.confFiles Changed By PowerPath Etc Files Created or Modified by PowerPath InstallationBasedir/EMCpower/driver Basedir/EMCpower/binPowerPath 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 PowerPath scripts Basedir/EMCpower/scriptsThis directory contains the PowerPath man pages Usr/binInstallation programs add the following line to Solaris Files Modified by PowerPath InstallationEtc/VRTSvcs/conf/config Files Created or Modified by VCS Agent InstallationBasedir/VRTSvcs/EMC Basedir/VRTSvcs/bin/EMCvgPowerPath for Unix Installation and Administration Guide Customer Support Figure B-1Problem Detection and Resolution Process Overview of Detecting and Resolving ProblemsTroubleshooting the Problem Before Calling the Customer Support Center Documenting the Problem Reporting a New Problem FTP Sending Problem DocumentationPowerPath for Unix Installation and Administration Guide Index SymbolsVCS Veritas Volume Manager and emcpower devices PowerPath for Unix Installation and Administration Guide