0% found this document useful (0 votes)
364 views

Powerpath Commands

The powercf command configures PowerPath devices during installation on Solaris hosts by scanning host adapter buses for single-ported and multiported Symmetrix volumes. It creates device entries in the emcp.conf file and saves primary and alternate paths. The powermt command adds additional paths at boot. powercf must be rerun when the physical configuration changes, such as adding or removing host bus adapters, Symmetrix devices, or changing cabling. The powermt commands display, check, configure, and manage PowerPath devices and paths. The naviseccli commands set cache options like enabling/disabling cache, setting cache size and page size, and enabling/disabling HA vault drive cache on Clari

Uploaded by

Nishanta Banik
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
364 views

Powerpath Commands

The powercf command configures PowerPath devices during installation on Solaris hosts by scanning host adapter buses for single-ported and multiported Symmetrix volumes. It creates device entries in the emcp.conf file and saves primary and alternate paths. The powermt command adds additional paths at boot. powercf must be rerun when the physical configuration changes, such as adding or removing host bus adapters, Symmetrix devices, or changing cabling. The powermt commands display, check, configure, and manage PowerPath devices and paths. The naviseccli commands set cache options like enabling/disabling cache, setting cache size and page size, and enabling/disabling HA vault drive cache on Clari

Uploaded by

Nishanta Banik
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Powerpath Commands:

powercf
During installation on Solaris hosts, the powercf utility configures PowerPath devices by scanning the
host adapter buses for both single-ported and multiported Symmetrix volumes. (A multiported volume
shows up on two or more host bus adapters with the same Symmetrix subsystem/device identity. The
identity comes from the serial number for the volume.) For each Symmetrix volume found in the scan
of the host adapter buses, powercf creates a corresponding emcpower device entry in the emcp.conf
file, and saves a primary path and an alternate primary path to that device. The powermt config
command, run at boot time by init (1M), adds additional paths to the Symmetrix volume.

After PowerPath is installed, you only need to run the powercf command when the physical
configuration of the Symmetrix or the host changes. The configuration changes that require you to
reconfigure PowerPath devices include:
• Adding or removing host bus adapters
• Adding, removing, or changing Symmetrix logical devices
• Changing the cabling routes between host bus adapters and Symmetrix ports
• Adding or removing Symmetrix channel directors

powercf -i|p|q

Arguments

-i
Scans the host adapter buses for single-ported and multiported Symmetrix volumes. Compares those
volumes with the PowerPath device entries in the emcp.conf file. Prompts you to accept or reject any
addition or deletion of Symmetrix devices in the emcp.conf file.

-p
Scans the host adapter buses for single-ported and multiported Symmetrix volumes. Compares those
devices with the emcpower entries in the emcp.conf file. Prints information on any inconsistencies.

-q
Scans the host adapter buses for single-ported and multiported Symmetrix volumes. Compares those
volumes with the PowerPath device entries in the emcp.conf file. Updates the emcp.conf file by
removing PowerPath devices that were not found in the host adapter scan and by adding new
PowerPath devices that were found. Saves a primary and an alternate primary path to each PowerPath
device.

The powermt Commands

This section describes each powermt command. Refer to the preface of this document for information
on the conventions used in the command syntax. You can run powermt commands from either the
command line.

Powermt

Displays the syntax for the commands in the powermt management utility.

Syntax
powermt
powermt check
Verifies that all paths are connected to the correct Symmetrix volumes.

Syntax
powermt check [dev=power#|all] [adapter=adapter#|all]

The dev parameter and the adapter parameter are optional. You must, however, specify at least one
in the powermt check command.

powermt check_registration

Provides PowerPath license registration information. The powermt check_registration command is


available from the command line only. It does not have an equivalent SMIT command.

Syntax
powermt check_registration

powermt config
Configures paths to all known Symmetrix logical devices for maximum accessibility.

Syntax
powermt config

powermt display
Displays a table that shows the state of all host adapters found by PowerPath.

Syntax
powermt display

powermt display dev


Displays a table that shows the state of the specified PowerPath device or all PowerPath devices.

Syntax
powermt display dev=power#|all

powermt restore
Attempts to reopen, or restore to service, all device paths currently marked as Closed.

Syntax
powermt restore

powermt save
Saves changes to the PowerPath devices’ policy and priority attributes to the ODM so that the new
values are in effect at system startup.

Syntax
powermt save

powermt set adapter_switch


Enables or disables the specified host adapter.

Syntax
powermt set adapter_switch=disabled|enabled adapter=adapter#

Parameters

disabled
Does not allow the specified host adapter to accept I/O traffic for any device path it serves.
enabled
Allows the specified host adapter to accept I/O traffic for any device path it serves.
adapter#
The host adapter number shown in the ## column in the table displayed when you enter
the powermt display dev command.
powermt set mode
Sets device path(s) to either active or standby mode for the specified PowerPath device or
for all PowerPath devices on the specified adapter.

Syntax
powermt set mode=active|standby adapter=adapter# [dev=power#|all]

The dev parameter is optional. If you do not include the dev parameter, the powermt set
mode command changes the mode of all PowerPath devices on the specified adapter.

powermt set policy


Sets the load balancing policy for the specified PowerPath device or all PowerPath devices.

Syntax
powermt set policy=rr|io|lb|so [dev=power#|all]

The dev parameter is optional. If you do not include the dev parameter, the powermt set
policy command changes the policy of all PowerPath devices.

Parameters

Rr Round-robin. Future I/O requests are assigned to each of the available paths in rotation.
Io I/O. Load balance is based on the number of pending I/Os.

Lb Least blocks. Load balance is based on the number of blocks in the pending I/Os.

powermt set priority


Sets the I/O priority for the specified PowerPath device or for all PowerPath devices.

Syntax
powermt set priority= [dev=power#|all]

The dev parameter is optional. If you do not include the dev parameter, the powermt set
priority command changes the priority of all PowerPath devices.

The powermt set priority command is only meaningful when the load-balancing policy is
Symmetrix optimized (so). This setting allows the I/O performance of a few, individual
PowerPath devices to be improved at the expense of the rest of the devices, while otherwise
maintaining the best possible load balance across all paths.

powermt validate
Verifies that the primary path opened for each PowerPath device is connected to the correct
Symmetrix volume.

Syntax
powermt validate

powermt watch
Displays a table that shows the state of the host adapters for the specified PowerPath device
or all PowerPath devices.
Syntax
powermt watch every=#seconds

powermt watch dev


Displays a table that shows the state of the specified PowerPath device or all PowerPath
devices.

Syntax
powermt watch dev=power#|all every=#seconds

1)To display registered/licensed software:

emcpreg -list

2)To install registered/licensed software:

emcpreg -install

Follow the prompts

3) To check the status of the system:

powermt display device=all

4) To check and see if LUNS are trespassed

powermt display device=all | grep -i owner

This should show you the default SP owner and the current SP owner

i.e.

hostname: [170] $ powermt display device=all | grep -i owner

Owner: default=SP B, current=SP B

Owner: default=SP B, current=SP B

Owner: default=SP B, current=SP B

Owner: default=SP B, current=SP B


Owner: default=SP A, current=SP A

Owner: default=SP A, current=SP A

Owner: default=SP A, current=SP A

Owner: default=SP A, current=SP A

5)To tresspass a LUN back to the default owner

powermt restore

6) When setting up PowerPath on a solaris system, make sure the policy setting is

set to CLAROpt.

Use the command powermt display device=all and look for the policy=CLAROpt

If it's not set, use the command powermt set policy=co

this will set up load balancing between SP's.

7) If you happent o make changes to a solaris system's storage group, and are having
problems,

after a reboot, seeing the new devices and the old devices are still registered with
PowerPath,

try running:

powermt check ( may have to remove dead paths )

powermt config

powermt save
Clariion Cache: Navicli Commands

The following sets of commands are run to change the cache options in the Clariion CX, CX3
and CX4 systems using NAVICLI. Most of these can also be performed using Navisphere
Manager GUI.

This blog is an extension of my previous blog on Clariion Cache Flushing Techniques: Idle
Cache Flushing, Watermark Cache Flushing and Forced Cache Flushing, links found below.

To Enable Cache on the Clariion

naviseccli – h setcache –wc 1 –rca 1 –rcb1

Command Arguments

-wc Write cache enabled (1) and disabled (0)

-rca Read cache for SPA enabled (1) and disabled (0)

-rcb Read cache for SPB enabled (1) and disabled (0)

To Disable Cache on the Clariion

naviseccli –h setcache –wc 0 –rca 0 –rcb 0

Command Arguments

-wc Write cache enabled (1) and disabled (0)

-rca Read cache for SPA enabled (1) and disabled (0)

-rcb Read cache for SPB enabled (1) and disabled (0)

To Set Cache to 2GB for Write Cache and Set Cache to 4GB for Read Cache on both SP’s
(SPA and SPB)

naviseccli – h setcache –wsz 2048 –rsza 4096 –rszb 4096

Command Arguments

-wsz Write Cache Size and the amount of Cache (valid between 1GB and 3GB)

-rsza Read Cache Size for SPA and the amount of Cache (valid between 1GB and 4GB)

-rszb Read Cache Size for SPB and the amount of Cache (valid between 1GB and 4GB)

To sets the page size of cache to 4KB and the Low WaterMark to 60% and the High
WaterMark to 80%

naviseccli – h setcache –p 4 –l 60 – h 80

Command Arguments

-p Cache Page Size: 4kb, 8kb, 16kb size

-l Low Watermark and the value


-h High Watermark and the value

To Disable HA Vault Drive Cache

naviseccli –h setcache –hacv 0

Command Arguments

-hacv HA Vault Cache enabled (1) and disabled (0)

To Enable HA Vault Drive Cache

naviseccli –h setcache –hacv 1

Command Arguments

-hacv HA Vault Cache enabled (1) and disabled (0)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy