System Admins: EMC POWERPATH ON SOLARIS
Page 1 of 13
System Admins
Learn, Share and Teach. Any comments or suggestions are appreciated.
Home
TUESDAY, JULY 9, 2013
LABELS
EMC POWERPATH ON SOLARIS
HARDWARE (7)
EMC PowerPath
<!--[if !supportLists]-->1. <!--[endif]-->Installing EMC PowerPath
<!--[if !supportLists]-->1.1. <!--[endif]-->Registering PowerPath
<!--[if !supportLists]-->1.2. <!--[endif]-->Verify the PowerPath installation
<!--[if !supportLists]-->1.3. <!--[endif]-->Verify the PowerPath Kernel Extension
1.4. Verify that PowerPath devices are configured on the host
LDOM (2)
LINUX (11)
OTHERS (6)
SOLARIS (22)
VERITAS (2)
VOLUME MANAGER (3)
BLOG ARCHIVE
<!--[if !supportLists]-->2. <!--[endif]-->Removing PowerPath
<!--[if !supportLists]-->2.1. <!--[endif]-->Removing PowerPath files.
2013 (27)
October (2)
<!--[if !supportLists]-->3. <!--[endif]-->PowerPath reference
<!--[if !supportLists]-->3.1. <!--[endif]--> Powermt
<!--[if !supportLists]-->3.2. <!--[endif]--> Powercf
<!--[if !supportLists]-->3.3. <!--[endif]--> Emcpreg
<!--[if !supportLists]-->3.4. <!--[endif]--> Emcpminor
<!--[if !supportLists]-->3.5. <!--[endif]--> Emcpupgrade
<!--[if !supportLists]-->3.6. <!--[endif]--> emcpadm
<!--[if !supportLists]-->1. <!--[endif]-->Installing
2014 (18)
September (1)
August (5)
July (15)
ENABLE HTTPS ON ORACLE M S
SERVERS(XSCF)
EMC PowerPath:
<!--[if !supportLists]--> <!--[endif]-->Change the directory to the directory where EMC PowerPath tar file resides.
<!--[if !supportLists]--> <!--[endif]-->Unzip the package
#gunzip [Link]
<!--[if !supportLists]--> <!--[endif]-->Untar the package
#tar -xvf [Link]
<!--[if !supportLists]--> <!--[endif]-->Run package add command to install the package#pkgadd -d [Link].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.
VERITAS CLUSTER SERVER(VC
PORT INFORMATION
CHECK INSTALLED PATCHES O
PROBE BASED IPMP SETUP ON
SETTING UP CRON
DNS SERVER AND CLIENT SETU
EMC POWERPATH ON SOLARIS
SPLUNK UNIVERSAL FORWARD
INSTALLATION ON A LINUX...
USING GNU SCREEN TOOL
FIND WWN IN AIX
LDOM SERVICES DOESN'T COM
VLDS DEVICE
SOLARIS 10 SERVER PATCHING
Sun/Oracle Server List
No utmpx entry. You must exec "lo
low...
Solaris 10 Kernel Patch 147440-02
iss...
June (4)
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
<EMCpower> [y,n,?]
Enter y and press ENTER.
LINUX MAGAZINE
Why instructions are not enough for prom
encryption - Tuesday, June 10, 2014 webdevel@[Link] (Bruce By
Once the installation is complete register the [Link] takes the older registration key if there are
any previously registered powerpath on the host.
<!--[if !supportLists]-->1.1
<!--[endif]-->Registering
PowerPath:
1. Enter:
#/etc/emcpreg -install
You see the following output:
[Link]
- Thursday, June 05, 2014 webdevel@[Link] (Lori Whi
Determining hardware components and
parameters - Thursday, June 05, 2014 webdevel@[Link] (Lori Whi
Exploring Booktype: A complete e-book
environment - Thursday, June 05, 2014
webdevel@[Link] (Lori Whi
Virtual reality glasses on Linux - Thursda
2014 - webdevel@[Link] (Lo
6/11/2014
System Admins: EMC POWERPATH ON SOLARIS
============ EMC PowerPath Registration =============
Do you have a new registration key or keys to enter? [n]
Page 2 of 13
THE UNIX AND LINUX FORUMS
Sendmail processes not running - Wedn
11, 2014 - fretagi
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):
sed and awk usage to grep a pattern 1 a
reference to this grep a pattern 2 and pa
Wednesday, June 11, 2014 - breezevina
Combine identical lines and average the
field - Wednesday, June 11, 2014 - jfern
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):
Open file function - Wednesday, June 11
maverick72
Help with bandwidth Limit for netgear - W
June 11, 2014 - radha254
ORACLETECHNOLOGYNETWORK
Tech Article: Getting started with OpenS
Oracle Solaris 11.2 - Thursday, May 15,
oracletechnologynetwork
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 [Link] 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
How to Test the Failover Capabilities of O
Wednesday, May 14, 2014 oracletechnologynetwork
Blog: Video Replay of Solaris Labs From
Sysadmin Day - Wednesday, May 07, 20
oracletechnologynetwork
Blog: Which Type of Virtualization Shoul
Monday, April 14, 2014 - oracletechnolo
If You Have to Ask, You Wouldn't Under
Garage) - Wednesday, March 26, 2014 oracletechnologynetwork
SERVER WATCH
Lenovo Launches ThinkServer RS140 fo
Tuesday, June 10, 2014 HP Brings Liquid Cooling to Apollo HighServer Portfolio - Monday, June 09, 2014
You can safely ignore this warning.
Cisco Gains as Global Server Market Co
Decline - Wednesday, June 04, 2014 -
<!--[if !supportLists]-->1.2
<!--[endif]-->Verify
the PowerPath installation:
Run the following command,
The Cloud Takes Over TechEd - Wedne
04, 2014 Cavium ARMs New Server Chips - Tues
2014 -
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)
FOLLOWERS
Join this site
with Google Friend Connect
Members (2)
Already a member?Sign in
TOTAL PA
13,295
<!--[if !supportLists]-->1.3
<!--[endif]-->Verify
the PowerPath Kernel Extension:
root@hostname01$ modinfo |grep -i emc
29 137e648 36b8 283 1 emcpsf (PP SF [Link].0)
30 1381740 2a6b0 282 1 emcp (PP Driver [Link].0)
34 13e9078 2ac0 - 1 emcpgpx (PP GPX Ext [Link].0)
35 7be00000 28fd0 - 1 emcpmpx (PP MPX Ext [Link].0)
36 7be20000 d6ef0 - 1 emcpsapi (PP SAPI Ext [Link].0)
37 13eb4b0 10d50 - 1 emcpcg (PP CG Ext [Link].0)
38 7bec2000 7080 - 1 emcpvlumd (PP VLUMD Manager [Link].0)
39 7bec8000 1ba60 - 1 emcpxcrypt (PP XCRYPT Manager [Link].0)
40 7bee4000 b708 - 1 emcpdm (PP DM Manager [Link].0)
41 7beede68 4c8 - 1 emcpioc (PP PIOC [Link].0)
[Link]
6/11/2014
System Admins: EMC POWERPATH ON SOLARIS
<!--[if !supportLists]-->1.4
<!--[endif]-->Verify
Page 3 of 13
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 policy 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.
<!--[if !supportLists]-->2. <!--[endif]-->Removing
PowerPath:
To remove PowerPath from a Solaris host:
<!--[if !supportLists]-->1. <!--[endif]-->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 <EMCpower>
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 <EMCpower> was successful.
<!--[if !supportLists]-->2.1
<!--[endif]-->Removing
PowerPath files:
[Link]
6/11/2014
System Admins: EMC POWERPATH ON SOLARIS
Page 4 of 13
The removal process saves the following files, adding the extension .[Link]:
<!--[if !supportLists]--> <!--[endif]-->/kernel/drv/[Link]
<!--[if !supportLists]--> <!--[endif]--> /kernel/drv/[Link]
<!--[if !supportLists]--> <!--[endif]--> /etc/[Link]
<!--[if !supportLists]--> <!--[endif]--> /etc/emcp_registration
<!--[if !supportLists]--> <!--[endif]-->/etc/emcp_devicesDB.dat
<!--[if !supportLists]--> <!--[endif]--> /etc/emcp_devicesDB.idx
If the removal program detects existing files with the .[Link] extension on the host, it overwrites these files.
It does not overwrite saved files that have a different format, for example,
[Link].
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 73
Removing 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.
<!--[if !supportLists]-->3. <!--[endif]-->PowerPath
COMMAND
reference:
DESCRIPTION
To Manage Powerpath
Configure PowerPath Devices
powermt
Powercf
emcpreg
emcpminor
emcpupgrade
emcpadm
Manage License
Check for free minor numbers.
Convert PowerPath configuration files.
List available PowerPath pseudo device
names/used pseudo device names/ rename
PowerPath pseudo device.
<!--[if !supportLists]-->3.1
<!--[endif]-->Powermt:
COMMAND
Powermt
check
Powermt check_registration
Powermt config
Powermt display
watch
powermt
DESCRIPTION
Check for and
optionally
remove dead
paths.
Check the
state of the
PowerPath
license.
Configure
logical devices
as PowerPath
devices.
Display the
state of HBAs
configured for
PowerPath.
Powermt
USAGE
powermt check
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
[force] [hba=hba#|all] [dev=path|device|all]
powermt check_registration
powermt config
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]
[Link]
6/11/2014
System Admins: EMC POWERPATH ON SOLARIS
watch
deprecated.
Powermt display unmanaged
Powermt load
Powermt manage
Powermt remove
Display logical
devices that
have been
excluded from
PowerPath
management.
Load the
PowerPath
configuration
Place a
specified
logical device
under
PowerPath
management.
Remove a path
from the
PowerPath
configuration.
Powermt restore
Test and
restore paths.
Powermt save
Save a custom
PowerPath
configuration.
Set paths to
active or
standby mode.
Enable or
disable
periodic
autorestore.
Change the
load balancing
and failover
policy.
Set the I/O
priority.
Powermt set mode
Powermt set periodic_autorestore
Powermt set policy
Powermt set priority
Powermt set transparent
Powermt set write_throttle
Powermt unmanage
Powermt update lun_names
Powermt version
Enable or
disable load
balancing and
failover.
Enable or
disable I/O
write throttling
to a logical
device
Exclude a
specified
logical device
from
PowerPath
management
Cause
PowerPath to
retrieve the
latest userspecified LUN
names for
devices.
Check
powerpath
version
Page 5 of 13
[every=seconds]
powermt display options
powermt watch
powermt display unmanaged
powermt load
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
[file=pathname]
powermt manage
{dev=device|class={hitachi|hpxp|hphsx|ess}}
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
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
[force] [hba=hba#|all] [dev=path|device|all]
powermt save [file=pathname]
powermt set mode=active|standby
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
[hba=hba#|all] [dev=path|device|all]
powermt set periodic_autorestore=on|off
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
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=priority#
[class=symm|clariion|hitachi|hpxp|hphsx|ess|all]
[dev=device|all]
powermt set transparent=on|off [dev=device|all]
powermt set write_throttle=on|off [class=symm]
[dev=device|all]
powermt unmanage
{dev=device|class={hitachi|hpxp|hphsx|ess}}
powermt update lun_names
powermt version
[Link]
6/11/2014
System Admins: EMC POWERPATH ON SOLARIS
<!--[if !supportLists]-->3.2
COMMAND
Powercf
Page 6 of 13
<!--[endif]-->Powercf:
DESCRIPTION
Configure PowerPath devices
USAGE
Powercf q|Z
-q
updates the PowerPath driver
configuration file.
-Z Configures an
SRDF
Usage:
Powercf q|-Z
-q updates the PowerPath driver configuration file.
-Z Configures an SRDF.
<!--[if !supportLists]-->3.3
COMMAND
Emcpreg
<!--[endif]-->emcpreg:
DESCRIPTION
Manage PowerPath
license registration.
<!--[if !supportLists]-->3.4
USAGE
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 ...]
<!--[endif]-->emcpminor:
COMMAND
Emcpminor
check
Emcpminor get
DESCRIPTION
Check whether a minor number is
free
Emcpminor
version
Return the version numbers of the
emcpminor tool and the PowerPath
base driver.
Return the 1st available minor
number or set of minor numbers.
<!--[if !supportLists]-->3.5
USAGE
Emcpminor check minor
[minor..]
Emcpminor get [-n N] [-b
base]
Emcpminor version
<!--[endif]-->emcpupgrade:
DESCRIPTION
Compare the saved
PowerPath configuration
against the system
configuration.
Emcpupgrade convert
Convert the older saved
powerpath configuration files
to the newer version of
PowerPath files.
specifies a nondefault [Link] filename.
-c continues without prompting if [Link] is not found.
-f
COMMAND
Emcpupgrade check
<!--[if !supportLists]-->3.6
USAGE
Emcpupgrade check [-f
filename] [-c]
Emcpupgrade convert [-f
filename] [-c]
<!--[endif]-->emcpadm:
COMMAND
Emcpadm
getfreepseudos
DESCRIPTION
Retrieve list of available
PowePath pseudo
device names.
USAGE
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
Help for emcpadm
command.
Emcpadm renamepseudo s
source_pseudo_instance t
target_pseudo_instance
Emcadm help
Emcpadm help
[Link]
6/11/2014
System Admins: EMC POWERPATH ON SOLARIS
Emcpadm version
Emcpadm
and
More version
Next Blog
PowerPath base driver
version.
Page 7 of 13
Emcpadm version
Posted by nandan pandith at 12:45 AM
Reactions:
+1 Recommend this on Google
Labels: SOLARIS
No comments:
Post a Comment
Comment as:
Publish
Select profile...
Preview
Newer Post
Home
Older Post
Subscribe to: Post Comments (Atom)
Picture Window template. Powered by Blogger.
[Link]
6/11/2014
System Admins: EMC POWERPATH ON SOLARIS
[Link]
Page 8 of 13
6/11/2014
System Admins: EMC POWERPATH ON SOLARIS
[Link]
Page 9 of 13
6/11/2014
System Admins: EMC POWERPATH ON SOLARIS
[Link]
Page 10 of 13
6/11/2014
System Admins: EMC POWERPATH ON SOLARIS
[Link]
Page 11 of 13
6/11/2014
System Admins: EMC POWERPATH ON SOLARIS
[Link]
Page 12 of 13
6/11/2014
System Admins: EMC POWERPATH ON SOLARIS
[Link]
Page 13 of 13
6/11/2014