Emc Powerpath on Sola
-
Upload
veera-pandian -
Category
Documents
-
view
44 -
download
0
description
Transcript of Emc Powerpath on Sola
-
5/24/2018 Emc Powerpath on Sola
1/13
Learn, Share and Teach. Any comments or suggestions are appreciated.
System Admins
Home
TUESDAY, JULY 9, 2013
EMC POWERPATH ON SOLARIS
EMC PowerPath
1. Installing EMC PowerPath
1.1.Registering PowerPath
1.2.Verify the PowerPath installation
1.3.Verify the PowerPath Kernel Extension
1.4. Verify that PowerPath devices are configured on the host
2. Removing PowerPath
2.1.Removing PowerPath files.
3. PowerPath reference
3.1. Powermt
3.2.Powercf
3.3.Emcpreg
3.4.Emcpminor
3.5.Emcpupgrade
3.6.emcpadm
1. Installing EMC PowerPath:
Change the directory to the directory where EMC PowerPath tar file resides.
Unzip the package
#gunzip EMCPower.SOLARIS.5.2.SP2.b012.tar.gz
Untar the package
#tar -xvf EMCPower.SOLARIS.5.2.SP2.b012.tar
Run package add command to install the package-
#pkgadd -d EMCPower.SOLARIS.5.2.SP2.b012
The following packages are available:
1 EMCpower EMC PowerPath
(sparc) 5.0.x_bxxx
Select package(s) you wish to process (or 'all' to
process all packages). (default: all) [?,??,q]:
Enter 1 and press ENTER.
You are prompted for the directory where the PowerPath
program files will be installed:
Enter package base directory (default: /opt):
Press ENTER to accept the default base directory (/opt), or type the
path to an alternate base directory and press ENTER.
This package contains scripts which will be executed
with super-user permission during the process of
installing this package.
Do you want to continue with the installation of
[y,n,?]
Enter y and press ENTER.
Once the installation is complete register the powerpath.PowerPath takes the older registration key if there are
any previously registered powerpath on the host.
1.1 Registering PowerPath:
1. Enter:
#/etc/emcpreg -install
You see the following output:
HARDWARE(7)
LDOM(2)
LINUX(11)
OTHERS(6)
SOLARIS(22)
VERITAS(2)
MANAGERVOLUME (3)
LABELS
2014(18)
2013(27)
October(2)
September(1)
August(5)
July(15)
ENABLE HTTPS ON ORACLE MSERVERS(XSCF)
VERITAS CLUSTER SERVER(VCPORT INFORMATION
CHECK INSTALLED PATCHES O
PROBE BASED IPMP SETUP ON
SETTING UP CRON
DNS SERVER AND CLIENT SET
EMC POWERPATH ON SOLARIS
SPLUNK UNIVERSAL FORWARDINSTALLATION ON A LINUX...
USING GNU SCREEN TOOL
FIND WWN IN AIX
LDOM SERVICES DOESN'T COVLDS DEVICE
SOLARIS 10 SERVER PATCHIN
Sun/Oracle Server List
No utmpx entry. You must exec "lolow...
Solaris 10 Kernel Patch 147440-02iss...
June(4)
BLOG ARCHIVE
Why instructions are not enough for proencryption- Tuesday, June 10, 2014 [email protected] (Bruce B
- Thursday, June 05, 2014 [email protected] (Lori Whi
Determining hardware components andparameters- Thursday, June 05, 2014 [email protected] (Lori Whi
Exploring Booktype: A complete e-bookenvironment- Thursday, June 05, [email protected] (Lori Whi
Virtual reality glasses on Linux- Thursd2014 - [email protected] (L
LINUX MAGAZINE
Page 1 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
-
5/24/2018 Emc Powerpath on Sola
2/13
p y y g p p p
============ EMC PowerPath Registration =============
Do you have a new registration key or keys to enter? [n]
2. Type y and press ENTER.
You see the following output:
Enter the registration key(s) for your product(s),
one per line, pressing Enter after each key.
After typing all keys, press Enter again.
Key (Enter if done):
3. Enter the PowerPath registration key and press ENTER. If you entered a valid key, you see the following output:
1 key(s) successfully added.
Key successfully installed.
Key (Enter if done):
4. Press ENTER. You see the following output:
1 key(s) successfully registered.
5. If you are registering PowerPath on a Solaris 10 host, then perform these steps. Otherwise, proceed to the next
section.
a. Run the powermt set policy command to reset the load balancing and failover policy.
b. Run powermt save to save the settings in the powermt.custom file.
6. If you are installing PowerPath for the first time and are prompted to reboot, you must reboot now.
To reboot the host, enter: #reboot -- -r
If the sd or ssd driver does not exist on the host, you see one of the following messages during boot:
WARNING: forceload of drv/sd failed
or
WARNING: forceload of drv/ssd failed
You can safely ignore this warning.
1.2 Verify the PowerPath installation:
Run the following command,
root@hostname01$ pkginfo -l EMCpower
PKGINST: EMCpower
NAME: EMC PowerPath (Patched with 5.2.SP2.b012) CATEGORY: system
ARCH: sparc
VERSION: 5.2.0_b146
BASEDIR: /opt
VENDOR: EMC Corporation
PSTAMP: beavis951018123443
INSTDATE: May 27 2009 13:20
STATUS: completely installed
FILES: 339 installed pathnames
42 directories
123 executables
199365 blocks used (approx)
1.3 Verify the PowerPath Kernel Extension:
root@hostname01$ modinfo |grep -i emc
29 137e648 36b8 283 1 emcpsf (PP SF 5.2.2.0.0)
30 1381740 2a6b0 282 1 emcp (PP Driver 5.2.2.0.0)
34 13e9078 2ac0 - 1 emcpgpx (PP GPX Ext 5.2.2.0.0)
35 7be00000 28fd0 - 1 emcpmpx (PP MPX Ext 5.2.2.0.0)
36 7be20000 d6ef0 - 1 emcpsapi (PP SAPI Ext 5.2.2.0.0)
37 13eb4b0 10d50 - 1 emcpcg (PP CG Ext 5.2.2.0.0)
38 7bec2000 7080 - 1 emcpvlumd (PP VLUMD Manager 5.2.2.0.0)
39 7bec8000 1ba60 - 1 emcpxcrypt (PP XCRYPT Manager 5.2.2.0.0)
40 7bee4000 b708 - 1 emcpdm (PP DM Manager 5.2.2.0.0)
41 7beede68 4c8 - 1 emcpioc (PP PIOC 5.2.2.0.0)
Sendmail processes not running- Wedn11, 2014 - fretagi
sed and awk usage to grep a pattern 1 areference to this grep a pattern 2 and paWednesday, June 11, 2014 - breezevin
Combine identical lines and average thefield- Wednesday, June 11, 2014 - jfern
Open file function- Wednesday, June 11
maverick72Help with bandwidth Limit for netgear-June 11, 2014 - radha254
THE UNIX AND LINUX FORUMS
Tech Article: Getting started with OpenSOracle Solaris 11.2- Thursday, May 15,oracletechnologynetwork
How to Test the Failover Capabilities ofWednesday, May 14, 2014 -oracletechnologynetwork
Blog: Video Replay of Solaris Labs FroSysadmin Day- Wednesday, May 07, 2oracletechnologynetwork
Blog: Which Type of Virtualization ShoulMonday, April 14, 2014 - oracletechnolo
If You Have to Ask, You Wouldn't Under
Garage)- Wednesday, March 26, 2014 -oracletechnologynetwork
ORACLETECHNOLOGYNETWORK
Lenovo Launches ThinkServer RS140 foTuesday, June 10, 2014 -
HP Brings Liquid Cooling to Apollo High-Server Portfolio- Monday, June 09, 201
Cisco Gains as Global Server Market CoDecline- Wednesday, June 04, 2014 -
The Cloud Takes Over TechEd- Wedne04, 2014 -
Cavium ARMs New Server Chips- Tues2014 -
SERVER WATCH
Join this site
with Google Friend Connect
Members (2)
Already a member?Signin
FOLLOWERS
0
13,29
TOTAL PA
Page 2 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
-
5/24/2018 Emc Powerpath on Sola
3/13
p y y g p p p
1.4 Verify that PowerPath devices are configured on the
host:
To verify that PowerPath devices are configured on the host:
1. Enter: powermt display dev=all
You should see output similar to the following:
Pseudo name=emcpower0a
Symmetrix ID=000000001400
Logical device ID=048
state=alive; policy=SymmOpt; priority=0; queued-IOs=0
====================================================================
------------ Hosts ----------- - Sys - -I/O Paths - --- Stats -
### HW Path I/0 Path Interf. Mode State Q-IOs Errors
====================================================================
2300 sbus@f/QLGC,isp@2 c2t1d0 SA 16aB active alive 0 0
2301 sbus@f/QLGC,isp@2 c1t1d0 SA 16aA active alive 0 0
2302 sbus@f/QLGC,isp@2 c3t1d0 SA 16bB active alive 0 0
(Output truncated)
2. If the output of powermt display dev=all indicates that some storage system logical devices are not configured as
PowerPath devices:
a. Configure any missing logical devices. Enter:
powercf -q
powermt config
b. Rerun powermt display dev=all to confirm that:
These logical devices are configured as emcpower devices.
The correct failover and load balancing po licy is set.
c. If the failover and load balancing policy is not set correctly, run the command powermt set policy, setting the policy that
applies to your storage systems.
2. Removing PowerPath:
To remove PowerPath from a Solaris host:
1. Log in as root.
2. Start the uninstall program. Enter:
/usr/sbin/pkgrm EMCpower
The following package is currently installed:
EMCpower EMC PowerPath
(sparc) 5.2.x_bxxx
Do you want to remove this package? [y,n,?,q]
3. Enter y and press ENTER to remove the package.
The screen displays the following information:
## Removing installed package instance
This package contains scripts which will be executed with super-user permission during the process of removing
this package.
Do you want to continue with the removal of this package
[y,n,?,q]
4. Enter y and press ENTER to continue with deinstallation. The screen displays information about the removal
process, ending with:
----------------------------------------------------------------* EMCpower successfully removed.
* REBOOT the host to complete the remaining step of the removal.
*
* This reboot may be deferred if you are about to install a
* newer PowerPath product.
*----------------------------------------------------------------
## Updating system information.
Removal of was successful.
2.1 Removing PowerPath files:
Page 3 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
-
5/24/2018 Emc Powerpath on Sola
4/13
p y y g p p p
The removal process saves the following files, adding the extension .500.saved:
/kernel/drv/emcp.conf
/kernel/drv/emcpsf.conf
/etc/powermt.custom
/etc/emcp_registration
/etc/emcp_devicesDB.dat
/etc/emcp_devicesDB.idx
If the removal program detects existing files with the .4x.saved extension on the host, it overwrites these files.
It does not overwrite saved files that have a different format, for example,
powermt.custom.saved.
If you are removing PowerPath from the host entirely (that is, you are not
planning to re-install PowerPath), remove these files from the host:
1. Enter the following command:
/etc/emcp_cleanup
Note: This command removes the PowerPath license and all supporting
files.
emcp_cleanup issues the following warning:
Warning: Attempt to remove saved configuration files for PowerPath versions. Removing these files will result
in loss of saved configuration and upgrade features.
Proceed with caution!!
Do you want to continue [y,n,?] (default: n):
2. Enter y and press ENTER.
The uninstall program asks for confirmation:
Are you sure [y,n,?] (default: n):
After you remove PowerPath 73Removing PowerPath
3. Enter y and press ENTER.
4. After running emcp_cleanup and verifying no files remain, manually delete emcp_cleanup.
5. No need to reboot the host after the uninstall, if you are planning to install the powerpath
software again. If you are not installing powerpath software then reboot the server.
3. PowerPath reference:
COMMAND DESCRIPTION
powermt To Manage Powerpath
Powercf Configure PowerPath Devices
emcpreg Manage License
emcpminor Check for free minor numbers.
emcpupgrade Convert PowerPath configuration files.
emcpadm List available PowerPath pseudo device
names/used pseudo device names/ rename
PowerPath pseudo device.
3.1 Powermt:
COMMAND DESCRIPTION USAGE
Powermt
check
Check for and
optionally
remove dead
paths.
powermt check
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
[force] [hba=hba#|all] [dev=path|device|all]
Powermt check_registration Check thestate of the
PowerPath
license.
powermt check_registration
Powermt config Configure
logical devices
as PowerPath
devices.
powermt config
Powermt display powermt
watch
Display the
state of HBAs
configured for
PowerPath.
Powermt
powermt display [paths|ports]
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
[every=seconds]
powermt display [ports] [dev=device|all]
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
Page 4 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
-
5/24/2018 Emc Powerpath on Sola
5/13
p y y g p p p
watch
deprecated.
[every=seconds]
powermt display options
powermt watch
Powermt display unmanaged Display logical
devices that
have been
excluded from
PowerPath
management.
powermt display unmanaged
Powermt load Load the
PowerPathconfiguration
powermt load
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all][file=pathname]
Powermt manage Place a
specified
logical device
under
PowerPath
management.
powermt manage
{dev=device|class={hitachi|hpxp|hphsx|ess}}
Powermt remove Remove a path
from the
PowerPath
configuration.
powermt remove
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
[force] hba=hba#|all | dev=path|device|all
powermt remove
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
[force] hba=hba#|all dev=path|device|all
Powermt restore Test and
restore paths.
powermt restore
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all][force] [hba=hba#|all] [dev=path|device|all]
Powermt save Save a custom
PowerPath
configuration.
powermt save [file=pathname]
Powermt set mode Set paths to
active or
standby mode.
powermt set mode=active|standby
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
[hba=hba#|all] [dev=path|device|all]
Powermt set periodic_autorestore Enable or
disable
periodic
autorestore.
powermt set periodic_autorestore=on|off
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
Powermt set policy Change the
load balancing
and failover
policy.
powermt set policy=ad|bf|co|lb|li|nr|re|rr|so
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
[dev=device|all]
Powermt set priority Set the I/Opriority.
powermt set priority=priority#[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
[dev=device|all]
Powermt set transparent Enable or
disable load
balancing and
failover.
powermt set transparent=on|off [dev=device|all]
Powermt set write_throttle Enable or
disable I/O
write throttling
to a logical
device
powermt set write_throttle=on|off [class=symm]
[dev=device|all]
Powermt unmanage Exclude a
specified
logical device
from
PowerPathmanagement
powermt unmanage
{dev=device|class={hitachi|hpxp|hphsx|ess}}
Powermt update lun_names Cause
PowerPath to
retrieve the
latest user-
specified LUN
names for
devices.
powermt update lun_names
Powermt version Check
powerpath
version
powermt version
Page 5 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
-
5/24/2018 Emc Powerpath on Sola
6/13
p y y g p p p
COMMAND DESCRIPTION USAGE
Emcpupgrade check Compare the saved
PowerPath configuration
against the system
configuration.
Emcpupgrade check [-f
filename] [-c]
Emcpupgrade convert Convert the o lder saved
powerpath configuration files
to the newer version of
PowerPath files.
Emcpupgrade convert [-f
filename] [-c]
3.2 Powercf:
COMMAND DESCRIPTION USAGE
Powercf Configure PowerPath devices Powercf q|-
Z -q
updates the PowerPath driver
configuration file.
-ZConfigures an
SRDF
Usage:
Powercf q|-Z
-qupdates the PowerPath driver configuration file.
-ZConfigures an SRDF.
3.3 emcpreg:
COMMAND DESCRIPTION USAGE
Emcpreg Manage PowerPath
license registration.
emcpreg [-f pathname] -add key [key ...]
emcpreg [-f pathname] -check key [key ...]
emcpreg [-f pathname] -edit
emcpreg [-f pathname] -install [-noinput]
emcpreg [-f pathname] -list
emcpreg [-f pathname] -remove key [key ...]
3.4 emcpminor:
COMMAND DESCRIPTION USAGE
Emcpminor
check
Check whether a minor number is
free
Emcpminor check minor
[minor..]
Emcpminor get Return the 1stavailable minor
number or set of minor numbers.
Emcpminor get [-n N] [-b
base]
Emcpminor
version
Return the version numbers of the
emcpminor tool and the PowerPath
base driver.
Emcpminor version
3.5 emcpupgrade:
-f
specifies a nondefault powermt.custom.saved filename.
-ccontinues without prompting if powermt.custom.saved is not found.
3.6 emcpadm:
COMMAND DESCRIPTION USAGE
Emcpadm
getfreepseudos
Retrieve list of available
PowePath pseudo
device names.
Emcpadm getfreepseudos [-n
number_of_pseudo_instances] [-
b start_pseudo_instance]
Emcpadm
getusedpseudos
List all used PowerPath
pseudo device names
with corresponding
instance numbers
Emcpadm getusedpseudos
Emcpadm
renamepseudo
Change name of
PowerPath pseudo
device
Emcpadm renamepseudo s
source_pseudo_instance t
target_pseudo_instance
Emcpadm help Help for emcpadm
command.
Emcadm help
Page 6 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
-
5/24/2018 Emc Powerpath on Sola
7/13
p y y g p p p
Newer Post Older PostHome
Subscribe to: Post Comments (Atom)
Posted by nandan pandith at 12:45 AM
Reactions:
Labels: SOLARIS
Emcpadm version Emcpadm version and
PowerPath base driver
version.
Emcpadm version
+1 Recommend this on Google
Comment as: Select profile...
Publish
Preview
No comments:
Post a Comment
Picture Window template. Powered by Blogger.
1 More Next Blog C
Page 7 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
-
5/24/2018 Emc Powerpath on Sola
8/13
p y y g p p p
Page 8 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
-
5/24/2018 Emc Powerpath on Sola
9/13
p y y g p p p
Page 9 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
-
5/24/2018 Emc Powerpath on Sola
10/13
p y y g p p p
Page 10 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
-
5/24/2018 Emc Powerpath on Sola
11/13
p y y g p p p
Page 11 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
-
5/24/2018 Emc Powerpath on Sola
12/13
p y y g p p p
Page 12 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
-
5/24/2018 Emc Powerpath on Sola
13/13
p y y g p p p
Page 13 of 13System Admins: EMC POWERPATH ON SOLARIS
6/11/2014http://royalsysadmin blogspot com/2013/07/emc-powerpath-on-solaris html