1- http://kmit4u.blogspot.com/
2- http://www.aixhealthcheck.com/
3- http://santosh-aix.blogspot.com/
Articles hints,tips&tricks,howtos and guides related to UNIX System Administration
Wednesday, October 27, 2010
Thursday, July 15, 2010
Which fileset contains a particular binary
Which fileset contains a particular binary
1-
2-
the
1-
$ lslpp -w /usr/bin/vmstat
2-
which_fileset /usr/bin/ksh
the
"bos.content_list" filesetin order to display lpps
Sunday, July 11, 2010
Useful HACMP commands
clstat - show cluster state and substate; needs clinfo.
cldump - SNMP-based tool to show cluster state.
cldisp - similar to cldump, perl script to show cluster state.
cltopinfo - list the local view of the cluster topology.
clshowsrv -a - list the local view of the cluster subsystems.
clfindres (-s) - locate the resource groups and display status.
clRGinfo -v - locate the resource groups and display status.
clcycle - rotate some of the log files.
cl_ping - a cluster ping program with more arguments.
clrsh - cluster rsh program that take cluster node names as argument.
clgetactivenodes - which nodes are active?
get_local_nodename - what is the name of the local node?
clconfig - check the HACMP ODM.
clRGmove - online/offline or move resource groups.
cldare - sync/fix the cluster.
cllsgrp - list the resource groups.
clsnapshotinfo - create a large snapshot of the HACMP configuration.
cllscf - list the network configuration of an HACMP cluster.
clshowres - show the resource group configuration.
cllsif - show network interface information.
cllsres - show short resource group information.
lssrc -ls clstrmgrES - list the cluster manager state.
lssrc -ls topsvcs - show heartbeat information.
cllsnode - list a node centric overview of the hacmp configuration
cldump - SNMP-based tool to show cluster state.
cldisp - similar to cldump, perl script to show cluster state.
cltopinfo - list the local view of the cluster topology.
clshowsrv -a - list the local view of the cluster subsystems.
clfindres (-s) - locate the resource groups and display status.
clRGinfo -v - locate the resource groups and display status.
clcycle - rotate some of the log files.
cl_ping - a cluster ping program with more arguments.
clrsh - cluster rsh program that take cluster node names as argument.
clgetactivenodes - which nodes are active?
get_local_nodename - what is the name of the local node?
clconfig - check the HACMP ODM.
clRGmove - online/offline or move resource groups.
cldare - sync/fix the cluster.
cllsgrp - list the resource groups.
clsnapshotinfo - create a large snapshot of the HACMP configuration.
cllscf - list the network configuration of an HACMP cluster.
clshowres - show the resource group configuration.
cllsif - show network interface information.
cllsres - show short resource group information.
lssrc -ls clstrmgrES - list the cluster manager state.
lssrc -ls topsvcs - show heartbeat information.
cllsnode - list a node centric overview of the hacmp configuration
Wednesday, July 7, 2010
Mounting ISO image in solaris
1-assign device to file
2-mount device to /mnt
#lofiadm -a /tmp/image.iso /dev/lofi/1
2-mount device to /mnt
$mount -F hsfs -o ro /dev/lofi/1 /mnt
Thursday, July 1, 2010
Solaris 10 IPMP Link Based Failure Detection in Virtualbox
Configuring Solaris 10 IPMP Link Based Failure Detection in Virtualbox for just testing purpose
Define 2 NIC in a Solarisx86 vm
1-view configuration
# ifconfig -a
lo0: flags=2001000849mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=201000843mtu 1500 index 2
inet 192.168.1.14 netmask ffffff00 broadcast 192.168.1.255
groupname grp1
ether 8:0:27:3e:5b:87
e1000g1: flags=201000843mtu 1500 index 3
inet 0.0.0.0 netmask ff000000 broadcast 0.255.255.255
groupname grp1
ether 8:0:27:41:a1:63
2- check files mapping to your nic's under /etc/
# more /etc/hostname*
::::::::::::::
/etc/hostname.e1000g0
::::::::::::::
solsrvr2 netmask + broadcast + group grp1 up
::::::::::::::
/etc/hostname.e1000g1
::::::::::::::
group grp1 up
3-check if mpathd is running or not
# ps -ef | grep mpathd
root 158 1 0 16:48:03 ? 0:01 /usr/lib/inet/in.mpathd -a
4- mpathd configuration under /etc/default/
# ls -l /etc/default/mpathd
5-testing you can disconnect network cable to simulate disconnecting cable
Wednesday, June 30, 2010
Subscribe to:
Posts (Atom)