EMC 300-000-978 REV A03 manual Reconfiguring PowerPath Devices Online

Page 82

5

PowerPath Administration on Solaris

Reconfiguring PowerPath Devices Online

Whenever the physical configuration of the storage system or the host changes, you must reconfigure the PowerPath devices to avoid data loss.

Configuration changes that require you to reconfigure PowerPath devices include:

Adding or removing HBAs

Adding, removing, or changing storage system logical devices

Changing the cabling routes between HBAs and storage system ports

Adding or removing storage system interfaces

!CAUTION

If you are trying to recover from a SCSI bus ID conflict, you must reboot the host before completing the following procedure. The host reboot assures the integrity of the underlying SCSI driver layers so that PowerPath can find all devices on the bus.

To reconfigure PowerPath devices:

1.Update the /kernel/drv/sd.conf file to include target/logical device entries for all multipath storage system logical devices.

2.Create the device nodes. Enter the appropriate command:

On hosts running

Enter

 

 

Solaris 7, 8, and 9

devfsadm -C

Solaris 2.6

drvconfig;disks;devlinks

 

 

3.Use the format command to verify that all devices were created.

4.At the format prompt, enter inquiry.

5-10

PowerPath for UNIX Installation and Administration Guide

 

 

Image 82
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