vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| jpeters@my-dejanews.com wrote: > In article <7dod4d$gis$1@nnrp1.dejanews.com>, > Jamester76 <jdalldata@my-dejanews.com> wrote: > > A year or so ago, I saw a GUI on a windows based PC that would allow a > > Sysadmin to manage (or at least visualize) an SSA drawer, the SSA adapters, > > and their connections to the server. > > > > Does anyone know if this is still available, and where I might get it? > > Here's a link to my SSA script: > > http://homestead.dejanews.com/user.jpeters/lsssa.html > > If you consider "telnet" a GUI then this should work for you > > Cheers, > jpeters@my-dejanews.com A blast from the past, the actual script: #!/bin/sh # lsssa.sh, James A. Peters, 4/17/1998, jpeters@my-dejanews.com # Display AIX SSA adapter and disk configuration. This script has # to run as "root" but will not modify the current SSA disk config- # uration. # # Reference the following URL for IBM's version: # # http://service.boulder.ibm.com/aix.u...s/os/smap.html # # None of the SSA utilities have "man" pages. The only reference # worth noting is the InfoExplorer SSA device driver page: # # info -t "ssadisk ssa device driver" # # Determining how SSA adapters and disks are configured is useful # for re-mapping {h,p}disk's to SSA slot location. By default the # configuration is random. Determining a disks identity is accomp- # lished using "ssaidentify". # # WARNING: Re-mapping an active disk is not recommended. # # To re-map SSA disks perform the following: # # 1) Determine which disks require re-mapping using this script. # # ./lsssa.sh # # NOTE: a copy of current configuration should be preserved. # # 2) Verify that the disk is not in use. # # lspv -l `ssaxlate -l pdisk{#}` # # 3) Remove the disk devices. # # rmdev -d -l pdisk{#} # rmdev -d -l hdisk{#} # # NOTE: "ssaxlate" should be used to verify pdisk to hdisk # mapping. # # 4) Verify that the SSA pdisk is now avaliable. # # ssacand -a ssa{#} -P # # 5) Make the re-mapped pdisk. # # mkdev -p ssar -c pdisk -s ssar -t {TYPE} -w {CONNWHERE} -l pdisk{#} # # {TYPE} and {CONNWHERE} are derived from this script. # # 6) Make the re-mapped hdisk. # # mkdev -p ssar -c disk -s ssar -t hdisk -w {CONNWHERE} -l hdisk{#} # # {CONNWHERE} should be same value used in Step #5. [ `uname -s` != AIX ] && exit -1 if [ `whoami` != root ] ; then echo "$0: run as root" exit -1 fi echo "pdisk\tadapter\t\tchannel a\tchannel b\tconnwhere\ttype" for SSA in `/usr/sbin/lsdev -Cc adapter -t ssa -F name` do for DEV in `/usr/sbin/ssadisk -a $SSA -P` do SSACONN=`/usr/sbin/ssaconn -l $DEV -a $SSA` CONNWHERE=`/usr/sbin/lsdev -Cc pdisk -l $DEV -F 'connwhere type'` echo "$SSACONN\t$CONNWHERE" done done |
| Thread Tools | |
| Display Modes | |
|
|