Solved

How can i change attribute settings on AIX and remove dead paths from vio server

Posted on 2010-08-14
2
1,259 Views
Last Modified: 2013-11-17
EMC says configuration of reserver_lock attribute  to be set “NO”  for all the disk instead of “yes”  and there is dead paths also need to be removed on a vio server

1) how can i change the configuration of reserver_lock attribute  to be set “NO”  for all the disk instead of “yes”  . please give step by step process in doing that.

2) how can i remove dead paths from a vio server.

thank you.
0
Comment
Question by:assistunix
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 400 total points
Comment Utility
Hi,

1)  
Check disk attributes with "lsdev -dev diskname -attr"
Replace diskname with the actual name of the disk.

Change the reserve_lock attribute, if present, with "chdev -dev hdiskname -attr reserve_lock=no"
Again, replace diskname with the actual name of the disk.

Please take note that the disk in question must not be mapped to an active vdev (i.e. it must not be "busy").
If you can't remove the mapping to recreate it after "chdev", you could add the flag "-perm" to the "chdev" command. This will apply changes to the ODM database only. They will be applied to the device on reboot.

The above describes IOSCLI (VIO) commands. You can achieve the same by issuing "oem_setup_env" to get a root shell and then use the standard AIX commands "lsattr -El diskname" and "chdev -a reserve_lock=no -l diskname". The "Apply to Database Only" flag is "-P" here.

"reserve_lock" is specific for EMC disks. For standard MPIO disks the respective attribute is "reserve_policy", which must be changed from "single_path" to "no_reserve", if applicable.

2)
What do you mean with "dead paths"?

Anyway, the simplest method to remove a path is to issue "oem_setup_env" to then use
"smitty mpiopath_remove_path". Select the path you'd like to remove with <F4> and Go.

Of course you can also use "lspath" and "rmpath" in the IOSCLI (VIO) environment, syntax is:

lspath [-dev DeviceName] [-pdev Parent] [-status Status] [-conn Connection] [-field FieldName ...] [-fmt delimiter]

rmpath {[-dev Name] [-pdev Parent] [-conn Connection]} [-rm]

wmp
0
 
LVL 5

Assisted Solution

by:balasundaram_s
balasundaram_s earned 100 total points
Comment Utility
May be Powerpath in use, because you said EMC.   Run the "Powermt check" as a root user, and then reply the prompted questions.
You may consider running "powermt config" and then "powermt display".
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now