EMC 300-000-978 REV A03 manual Moving the Boot Device to an emcpower Device

Page 60

3

Configuring a PowerPath Boot Device on Solaris

Moving the Boot Device to an emcpower Device

To move a boot device from a native device to an emcpower device:

1.Boot from the native device.

2.Install PowerPath. Refer to Chapter 1, Installing PowerPath.

3.Locate the native device from which you are booting, and correlate this device to an emcpower device. Enter:

/etc/powermt display dev=all

The output is similar to the following:

Pseudo name=emcpower6a Symmetrix ID=000000005543 Logical device ID=0001

state=alive; policy=SymmOpt; priority=0; queued-IOs=0

==============================================================================

---------------- Host

--------------- - Stor - -- I/O Path - -- Stats ---

### HW Path

I/O Paths

Interf.

Mode State Q-IOs Errors

==============================================================================

1281

pci@4/QLGC,qla@1

c6t0d252s0

FA

3aA

active

alive

0

0

1283

pci@6/QLGC,qla@1

c8t0d252s0

FA

3aA

active

alive

0

0

Scroll through the output until you locate the native device used as the boot device; for example, c1t6d0s0. In this example, this native device corresponds to emcpower6a.

4.Identify the device node that corresponds to the emcpower device. Enter:

ls –l /dev/dsk/emcpower6a

The output is similar to the following:

lrwxrwxrwx 1 root other 33 May 30 17:42 /dev/dsk/emcpower6a ->

../../devices/pseudo/emcp@6:a,blk

Looking at the output, you can see that /pseudo/emcp@6:a,blk corresponds to emcpower6a. You will use this value in step 6.

5.Make backup copies of the /etc/system and /etc/vfstab files so that, if necessary, you can restore the host to its pre-PowerPath settings. Enter:

cp /etc/system /etc/system.no_EMCpower cp /etc/vfstab /etc/vfstab.no_EMCpower

3-8

PowerPath for UNIX Installation and Administration Guide

 

 

Image 60
Contents PowerPath for Unix VersionCopyright 1997-2003 EMC Corporation. All rights reserved Contents Chapter Configuring a PowerPath Boot Device on Solaris Chapter Removing PowerPathChapter PowerPath Administration on Solaris 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 Command line arguments when used in text Arguments used in examples of command lineOptions in command line syntax EMC uses the following type style conventions in this guideSales and Customer Service Contacts Xiv Installing PowerPath Before You Install Obtain Up-To-Date InformationChoose 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 dataPrepare For a Clustered Environment For exampleFor sh, enter To find a unique major numberInstalling PowerPath Start the installation program. EnterYou see the following prompt You are prompted to confirm the major number Press Enter 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 corruptedAfter You Install Register PowerPathOn the Host Reboot the Host RemoveVerify the PowerPath Installation If you installed the PowerPath Volume Manager VCS AgentYou should see output like the following You should see output similar to thisModinfo grep -i emc Reconfigure Emcpower DevicesApplications 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 Configuring VCS to PowerPath VolumeRecognize 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 Filesystems Usr/sbin/installboot /usr/platform/sun4u/lib/fs/ufs/bootblk\ At the % prompt, enter the following command and press Example After modificationOpenBoot Setting Up the Boot AliasModifying 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 thisEnter the following command to remove these files Emcpvcleanup issues the following warningRemoval 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 PowerPath and CLARiiON Storage Systems Booting a Host With Built-In Fibre Channel PortsEnsuring a Sufficient Stack Size Rebooting and Custom Settings Boot Device SupportR1/R2 Boot Failover Support R1/R2 Supported Configurations R1/R2 Boot ProcedureDevice Naming Native DevicesForms Block device- /dev/dsk/c # t # d # s #Pseudo Devices Selecting a DeviceNaming 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 Basedir/EMCpower/scripts This directory contains PowerPath scriptsThis directory contains the PowerPath man pages Usr/binSolaris Files Modified by PowerPath Installation Installation programs add the following line toFiles Created or Modified by VCS Agent Installation Etc/VRTSvcs/conf/configBasedir/VRTSvcs/EMC 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