Sunday, May 31, 2009

Solaris 10 : /sbin/bootadm update-archive : After Patch Update & before Reboot

If the server is running Solaris 10 or higher, run the following command
after the patch set installation completes and before rebooting the server.
Skip this step for all versions of Solaris prior to Solaris 10.
# /sbin/bootadm update-archive

Reason:
Shutting Down a Solaris System That Uses the New SPARC Boot
Technology May Fail if Certain Software is Installed OR if Patches or
Other Layered Software Have Installed New Drivers. This issue and
its workaround are documented in the following article on Sunsolve.
http://sunsolve.sun.com/search/document.do?assetkey=1-66-250426-1

Monday, May 11, 2009

Powerpath CLI Commands

Powerpath CLI Commands

 

Command Description

 

powermt àManages a PowerPath environment

powercf àConfigures PowerPath devices

emcpreg -install àManages PowerPath license registration

emcpminor àChecks for free minor numbers

emcpupgrade à Converts PowerPath configuration files

 

powermt command

Command Description

 

powermt check  àChecks for, and optionally removes, dead paths.

powermt check_ registration  àChecks the state of the PowerPath license.

powermt config à Configures logical devices as PowerPath devices.

powermt display

powermt watch

Displays the state of HBAs configured for PowerPath.

powermt watch is deprecated.

powermt display options àDisplays the periodic autorestore setting.

powermt load àLoads a PowerPath configuration.

powermt remove à Removes a path from the PowerPath configuration.

powermt restore àTests and restores paths.

powermt save àSaves a custom PowerPath configuration.

powermt set mode àSets paths to active or standby mode.

powermt set

periodic_autorestore àEnables or disables periodic autorestore.

powermt set policy àChanges the load balancing and failover policy.

powermt set priority àSets the I/O priority

powermt version àReturns the number of the PowerPath version for which powermt was created.

(Edit Section ↓)

 

powermt command examples

powermt display:

# powermt display paths class=all

# powermt display ports dev=all

# powermt display dev=all

powermt set:

To disable a HBA from passing I/O

# powermt set mode=standby adapter=

To enable a HBA from passing I/O

# powermt set mode=active adapter=

 

 

 

To set or validate the Load balancing policy

To see the current load-balancing policy and I/Os run the following command

# powermt display dev=

· so = Symmetrix Optimization (default)

· co = Clariion Optimization

· li = Least I/Os (queued)

· lb = Least Blocks (queued)

· rr = Round Robin (one path after another)

· re = Request (failover only)

· nr = No Redirect (no load-balancing or failover)

To set to no load balancing

# powermt set policy=nr dev=

To set the policy to default Symmetrix Optimization

# powermt set policy=so dev=

To set the policy to default Clariion Optimization

# powermt set policy=co dev=

(Edit Section ↓)

 

pprootdev

To bring the rootvg devices under powerpath control

# pprootdev on

To bring back the rootvg disks back to hdisk control

# pprootdev off

To temporarily bring the rootvg disks to hdisk control for running "bosboot"

# pprootdev fix

(Edit Section ↓)

 

powermt command examples with output

 

To validate the installation

# powermt check_registration

Key B3P3-HB43-CFMR-Q2A6-MX9V-O9P3

Product: PowerPath

Capabilities: Symmetrix CLARiiON

To display each device's path, state, policy and average I/O information

# powermt display dev=emcpower6a

Pseudo name=emcpower6a

Symmetrix ID=000184503070

Logical device ID=0021

state=alive; policy=SymmOpt; priority=0; queued-IOs=0

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

0 sbus@2,0/fcaw@2,0 c4t25d225s0 FA 13bA active dead 0 1

1 sbus@6,0/fcaw@1,0 c5t26d225s0 FA 4bA active alive 0 0

To show the paths and dead paths to the storage port

# powermt display paths

Symmetrix logical device count=20

----- Host Bus Adapters --------- ------ Storage System ----- - I/O Paths -

### HW Path ID Interface Total Dead

0 sbus@2,0/fcaw@2,0 000184503070 FA 13bA 20 20

1 sbus@6,0/fcaw@1,0 000184503070 FA 4bA 20 0

CLARiiON logical device count=0

----- Host Bus Adapters --------- ------ Storage System ----- - I/O Paths -

### HW Path ID Interface Total Dead

To display the storage ports information

# powermt display ports

Storage class = Symmetrix

----------- Storage System --------------- -- I/O Paths -- --- Stats ---

ID Interface Wt_Q Total Dead Q-IOs Errors

000184503070 FA 13bA 256 20 20 0 20

000184503070 FA 4bA 256 20 0 0 0

Storage class = CLARiiON

----------- Storage System --------------- -- I/O Paths -- --- Stats ---

ID Interface Wt_Q Total Dead Q-IOs Errors

 

 

 

 

Powerpath on HP-UX

 

 

powermt display dev=all

CLARiiON ID=APM00080702201 [AEMSAQC1]

Logical device ID=6006016035901E000ABE8A31B53CDD11 [LUN 12]

state=alive; policy=BasicFailover; priority=0; queued-IOs=0

Owner: default=SP A, current=SP B

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

10 0/3/1/0.1.0.0.0.0.1 c10t0d1 SP A5 unlic alive 0 0

11 0/3/1/0.2.0.0.0.0.1 c11t0d1 SP B5 unlic alive 0 0

12 0/7/1/0.1.0.0.0.0.1 c12t0d1 SP A4 active alive 0 0

13 0/7/1/0.2.0.0.0.0.1 c13t0d1 SP B4 active alive 0 0

powermt set policy=co dev=all

powermt display dev=all

CLARiiON ID=APM00080702201 [AEMSAQC1]

Logical device ID=6006016035901E000ABE8A31B53CDD11 [LUN 12]

state=alive; policy=CLAROpt; priority=0; queued-IOs=0

Owner: default=SP A, current=SP B

==============================================================================

---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---

### HW Path I/O Paths Interf. Mode State Q-IOs Errors

==============================================================================

10 0/3/1/0.1.0.0.0.0.1 c10t0d1 SP A5 active alive 0 0

11 0/3/1/0.2.0.0.0.0.1 c11t0d1 SP B5 active alive 0 0

12 0/7/1/0.1.0.0.0.0.1 c12t0d1 SP A4 active alive 0 0

13 0/7/1/0.2.0.0.0.0.1 c13t0d1 SP B4 active alive 0 0

SYMCLI BASE, SRM (Mapping), Control Commands

SYMCLI BASE Commands

 

symapierr Used to translate SYMAPI error code numbers into SYMAPI error messages.

symaudit List records from a symmetrix audit log file.

symbcv Perform BCV support operations on Symmetrix BCV devices.

symcfg Discover or display Symmetrix configuration information. Refresh the host's

Symmetrix database file or remove Symmetrix info from the file. Can also be used to

view or release a 'hanging' Symmetrix exclusive lock.

symchg Monitor changes to Symmetrix devices or to logical objects stored on Symmetrix

devices.

symcli Provides the version number and a brief description of the commands included in

the Symmetrix Command Line

symdev Perform operations on a device given the device's Symmetrix name. Can also be

used to view Symmetrix device locks.

symdg Perform operations on a device group (dg).

symdisk Display information about the disks within a Symmetrix.

symdrv List DRV devices on a Symmetrix.

symevent Monitor or inspect the history of events within a Symmetri

symgate Perform operations on a gatekeeper device.

symhost Display host configuration information and performance statistics.

syminq Issues a SCSI Inquiry command on one or all devices. Interface.

symlabel Perform label support operations on a Symmetrix device.

symld Perform operations on a device in a device group (dg).

symlmf Registers SYMAPI license keys.

sympd Perform operations on a device given the device's physical name.

symstat Display statistics information about a Symmetrix, a Director, a device group, or a

device.

symreturn Used for supplying return codes in pre- action and post- action script files.

 

SYMCLI CONTROL Commands

 

symacl Administer symmetrix access control information.

symauth Administer symmetrix user authorization information.

symcg Perform operations on an composite group (cg).

symchksum Administer checksum checks when an Oracle database writes data files on

Symmetrix devices.

symclone Perform Clone control operations on a device group or on a device within the device

group.

Symconfigure Perform modifications on the Symmetrix configuration.

symconnect Setup or Modify Symmetrix Connection Security functionalit

symmask Setup or Modify Symmetrix Device Masking functionality.

symmaskdb Backup, Restore, Initialize or Show the contents of the device masking database.

symmir Perform BCV control operations on a device group or on a device within the device

group.

symoptmz Perform Symmetrix Optimizer control operations.

Useful and common Symm CLI Command list Page 2 of 2

symqos Perform Quality of Service operations on Symmetrix Devices

symrdf Perform RDF control operations on a device group or on a device within the device

group.

symreplicate Perform automated, consistent replication of data given a pre- configured

SRDF/Timefinder setup

symsnap Perform Symmetrix Snap control operations on a device group or on devices in a

device file.

symstar Perform SRDF STAR management operations.

symrcopy Perform Symmetrix Rcopy control operations on devices in a device file.

 

SYMCLI SRM(Mapping) Commands

 

symhostfs Display information about a host File, Directory,or host File System.

symioctl Send IO control commands to a specified application.

symlv Display information about a volume in Logical Volume Group (vg).

sympart Display partition information about a host device.

symrdb Display information about a third- party RelationalDatabase

symrslv Display detailed Logical to Physical mapping information about a logical object

stored on Symmetrix devices.

symvg Display information about a Logical Volume Group (vg).

Sunday, May 3, 2009

ZFS Features


1. Supports storage space of upto 256 quadrillion zettabytes (Terabytes - Petabytes - Exabytes - Zettabytes(1024 Exabytes))
2. Supports RAID-0/1 & RAID-Z(which is nothing but RAID-5 with enhancements. Best part is you dont need 3 disks to achieve RAID-5 on ZFS, even with 2 virtual devices, ZFS provides and good amount of redundancy.)
3. Support File System Snapshots (read-only copies of file systems or volumes.)
4. Supports creation of volumes (which can contain disks, partitions, files)
5. Uses storage pools to manage storage - aggregates virtual devices
6. ZFS File system attached to storage pool can grow dynamically as storage is added. No need to reformat or backup your data before you add any extra storage.
7. File systems may span multiple physical disks without any extra software or even efforts.
8. ZFS is transactional so its all or nothing. If a write / read operation fails for some reason, the entire transaction is rolled back.
9. Pools & file systems are auto-mounted. No need to maintain /etc/vfstab (automatically handled through XML Files.)
10. Supports file system hierarchies: /storage1/{home(50GB),var(100GB),etc.}
11. Supports reservation of storage: /storage1/{home(50GB),var}
12. Solaris 10, provides a secure web-based ZFS management tool @ https://localhost:6789/zfs

SAN - FAQ

1.WHAT ARE THE BENEFITS OF FIBRE CHANNEL SANS?

 

Fibre Channel SANs are the de facto standard for storage networking in the

corporate data center because they provide exceptional reliability,

scalability, consolidation, and performance. Fibre Channel SANs provide

significant advantages over direct-attached storage through improved

storage utilization, higher data availability, reduced management costs,

and highly scalable capacity and performance.

 

 

2.WHAT ENVIRONMENT IS MOST SUITABLE FOR FIBRE CHANNEL SANS?

 

Typically, Fibre Channel SANs are most suitable for large data centers

running business-critical data, as well as applications that require high-

bandwidth performance such as medical imaging, streaming media, and large

databases. Fibre Channel SAN solutions can easily scale to meet the most

demanding performance and availability requirements.

 

3.WHAT CUSTOMER PROBLEMS DO FIBRE CHANNEL SANS SOLVE?

 

The increased performance of Fibre Channel enables a highly effective

backup and recovery approach, including LAN-free and server-free backup

models. The result is a faster, more scalable, and more reliable backup

and recovery solution. By providing flexible connectivity options and

resource sharing, Fibre Channel SANs also greatly reduce the number of

physical devices and disparate systems that must be purchased and managed,

which can dramatically lower capital expenditures. Heterogeneous SAN

management provides a single point of control for all devices on the SAN,

lowering costs and freeing personnel to do other tasks.

 

4.HOW LONG HAS FIBRE CHANNEL BEEN AROUND?

 

Development started in 1988, ANSI standard approval occurred in 1994, and

large deployments began in 1998. Fibre Channel is a mature, safe, and

widely deployed solution for high-speed (1Gb, 2Gb, 4Gb) communications and

is the foundation for the majority of SAN installations throughout the

world.

 

 

5.WHAT IS THE FUTURE OF FIBRE CHANNEL SANS?

 

Fibre Channel is a well-established, widely deployed technology with a

proven track record and a very large installed base, particularly in

highperformance, business-critical data center environments. Fibre Channel

SANs continue to grow and will be enhanced for a long time to come.The

reduced costs of Fibre Channel components, the availability of SAN kits,

and the next generation of Fibre Channel (4Gb) are helping to fuel that

growth. In addition, the Fibre Channel roadmap includes plans to double

performance every three years

 

6.WHAT ARE THE BENEFITS OF 4GB FIBRE CHANNEL?

 

Benefits include twice the performance with little or no price increase,

investment protection with backward compatibility to 2Gb, higher

reliability due to fewer SAN components (switch and HBA ports) required,

and the ability to replicate, back up, and restore data more quickly. 4Gb

Fibre Channel systems are ideally suited for applications that need to

quickly transfer large amounts of data such as remote replication across a

SAN, streaming video on demand, modeling and rendering, and large

databases. 4Gb technology is shipping today.

 

 

7.HOW IS FIBRE CHANNEL DIFFERENT FROM ISCSI?

 

Fibre Channel and iSCSI each have a distinct place in the IT

infrastructure as SAN alternatives to DAS. Fibre Channel generally

provides high performance and high availability for business-critical

applications, usually in the corporate data center. In contrast, iSCSI is

generally used to provide SANs for business applications in smaller

regional or departmental data centers.

 

8.WHEN SHOULD I DEPLOY FIBRE CHANNEL INSTEAD OF ISCSI?

 

For environments consisting of high-end servers that require high

bandwidth or data center environments with business-critical data, Fibre

Channel is a better fit than iSCSI. For environments consisting of many

midrange or low-end servers, an IP SAN solution often delivers the most

appropriate price/performance.