Documente Academic
Documente Profesional
Documente Cultură
Page 1 of 13
System Admins
Learn, Share and Teach. Any comments or suggestions are appreciated.
Home
TUESDAY, JULY 9, 2013
LABELS
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
2013 (27)
October (2)
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 EMCPower.SOLARIS.5.2.SP2.b012.tar.gz
<!--[if !supportLists]--> <!--[endif]-->Untar the package
#tar -xvf EMCPower.SOLARIS.5.2.SP2.b012.tar
<!--[if !supportLists]--> <!--[endif]-->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.
LINUX MAGAZINE
Once the installation is complete register the powerpath.PowerPath 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:
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
6/11/2014
Page 2 of 13
ORACLETECHNOLOGYNETWORK
SERVER WATCH
<!--[if !supportLists]-->1.2
<!--[endif]-->Verify
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
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
6/11/2014
<!--[if !supportLists]-->1.4
<!--[endif]-->Verify
Page 3 of 13
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.
PowerPath:
<!--[if !supportLists]-->2.1
<!--[endif]-->Removing
PowerPath files:
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
6/11/2014
Page 4 of 13
The removal process saves the following files, adding the extension .500.saved:
<!--[if !supportLists]--> <!--[endif]-->/kernel/drv/emcp.conf
<!--[if !supportLists]--> <!--[endif]--> /kernel/drv/emcpsf.conf
<!--[if !supportLists]--> <!--[endif]--> /etc/powermt.custom
<!--[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 .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 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.
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
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
6/11/2014
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 unmanage
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 unmanage
{dev=device|class={hitachi|hpxp|hphsx|ess}}
powermt version
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
6/11/2014
<!--[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
<!--[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 powermt.custom.saved filename.
-c continues without prompting if powermt.custom.saved is not found.
-f
COMMAND
Emcpupgrade check
<!--[if !supportLists]-->3.6
USAGE
Emcpupgrade check [-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
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
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
6/11/2014
Emcpadm version
Emcpadm
and
More version
Next Blog
PowerPath base driver
version.
Page 7 of 13
Emcpadm version
Labels: SOLARIS
No comments:
Post a Comment
Comment as:
Publish
Select profile...
Preview
Newer Post
Home
Older Post
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
6/11/2014
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
Page 8 of 13
6/11/2014
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
Page 9 of 13
6/11/2014
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
Page 10 of 13
6/11/2014
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
Page 11 of 13
6/11/2014
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
Page 12 of 13
6/11/2014
http://royalsysadmin.blogspot.com/2013/07/emc-powerpath-on-solaris.html
Page 13 of 13
6/11/2014