Command
Command
Command
==================================
Take backup of existing disk group
======================================================
# /usr/sbin/emgr -P
HBA info :
lslpp -l | grep hba
--------------------------
console from puty:
hscroot@localhost:~> mkvterm -m Server-9119-595-SN0201F50 --id 10
login :padmin
$lsmap -all
$oem_setup_env / r oem
#lspv
#cfgmgr
#chdev -l hdisk24 -a pv=yes
#chdev -l hdisk24 -a reserve_lock=no
#exit
$mkvdev -vdev hdisk24 -vadapter vhost0
cfgmgr
lspv
To delete:
rmdev -vtd hdisk5
--------------------
for scan : cfgdev
------------
#odmget -q name=inet0 CuAt
#odmdelete -q "name=inet0 and value="net,-hopcount,0,,0,10.16.12.1"" -o CuAt
===============================================
Power path and ODM :
agent:
root 98340 1 0 03:42:17 - 0:00 /usr/bin/naviagent -f
/etc/Navisphere/agent.config
smitty installp
select Install software / or Install and Update from ALL Available Software
select path of packages kept at
Package:EMC.AIX.5.3.0.2
smitty update_all
select path of packages kept at
--------
For 5.3 powerpath :
New file is :
powerpath_odm.tar
EMC -- all:
EMCpower
-------------
Powerapth OBM
===========================================================
To set NW parameter :
bash-3.2# no -a
smitty ---> Performance & Resource Scheduling --> Tuning Kernel & Network
Parameters -->
Tuning Network Option Parameters ---> 1)Change / Show Current Parameters And
2)Change / Show Parameters for Next Boot
Manually:
/usr/lib/perf/sm_setcurrent -t no
Next boot:
no -r
/usr/lib/perf/sm_setcurrent -t no ipqmaxlen=512
/usr/lib/perf/sm_setcurrent -t no rfc1323=1
/usr/lib/perf/sm_setcurrent -t no sb_max=1310720
/usr/lib/perf/sm_setcurrent -t no tcp_ephemeral_high=65500
/usr/lib/perf/sm_setcurrent -t no tcp_ephemeral_low=9000
/usr/lib/perf/sm_setcurrent -t no tcp_recvspace=262144
/usr/lib/perf/sm_setcurrent -t no tcp_sendspace=262144
/usr/lib/perf/sm_setcurrent -t no udp_ephemeral_high=65500
/usr/lib/perf/sm_setcurrent -t no udp_ephemeral_low=9000
/usr/lib/perf/sm_setcurrent -t no udp_recvspace=655360
/usr/lib/perf/sm_setcurrent -t no udp_sendspace=65536
no -r -o ipqmaxlen='512'
no -r -o rfc1323='1'
no -r -o sb_max='1310720'
no -r -o tcp_ephemeral_high='65500'
no -r -o tcp_ephemeral_low='9000'
no -r -o tcp_recvspace='262144'
no -r -o tcp_sendspace='262144'
no -r -o udp_ephemeral_high='65500'
no -r -o udp_ephemeral_low='9000'
no -r -o udp_recvspace='655360'
no -r -o udp_sendspace='65536'
----------------------------
To display info :
aioo -a
=========================================================
After this :
PREVIEW only? (update operation will NOT occur) no
COMMIT software updates? no---- yes
ACCEPT new license agreements? yes
After this :
After Upgrading AIX server to TL9 or higher make sure to stop the websm service
#stopsrc -s http4websm
After that comment out the folllowing line in the /etc/inittab file to stop websm
permanently.
webserverstart:2:once:startsrc -s http4websm >/dev/null 2>&1
bash-3.00# lppchk -v
bash-3.00# lppchk -c
------------------------------
To install APAR package :
IZ50430 :
2)run inutoc .
3)smitty installp --> Update Software by Fix (APAR) --> INPUT device / directory
for software [.]
--->
FIXES to install [IZ47510]
PREVIEW only? (update operation will NOT occur) yes
COMMIT software updates? no
SAVE replaced files? yes
After This:
PREVIEW only? (update operation will NOT occur) No
COMMIT software updates? no ----> keep in applied
state .
SAVE replaced files? yes
or
Max process:
lsattr -El sys0
=====================
lsvg -o|lsvg -il
=====================
Memory utilization
vmstat performance
vmstat -wt 2 10
avm value*4096/1024/1024
svmon -P
svmon -G -O unit=GB
======================
swap status
lsps -a
=======================
performance commands
A) vmstat 1 10
B) iostat -Dl 1 10
C) ps vg
D) ps aux
E) lsps -a
F) vmstat -v
G) vmo -a
H) no -a
I ) ioo -a
J)svmon -G
K)tprof -skeuj -x sleep 30 --> generate Generating sleep.prof
snap -gc -- /tmp/ibm..
#oslevel -s
#df -g
#lspv
#vmo -a
#ioo -a
#no -a
#ulimit -Ha
#ulimit -Sa
#lsattr -El sys0
====================
java:
j532redist.tar -- Java 5
For user untar this in user home dir. go to following path and set path in .profile
command file:/aps/posidex/sdk/jre/bin
java -version
========================
Port process and killing procedure :
bash-3.00# netstat -Aan | grep 443
f100060002860398 tcp 0 0 *.443 *.* LISTEN
bash-3.00# rmsock f100060002860398 tcpcb
The socket 0x2860008 is being held by proccess 291002 (java).
--------------------
to kill CLOSE_WAIT process on port
for i in `netstat -Aan | grep 1561 |grep CLOSE_WAIT |awk '{print $1}'`; do echo "
proc : $i "; rmsock $i tcpcb; donenetstat -Aan | grep
1561 |grep CLOSE_WAIT |awk '{print $1}'
===========================
AIX parameter : tux6:
no -p -o rfc1323=1
no -p -o sb_max=1310720
no -p -o tcp_sendspace=262144
no -p -o tcp_recvspace=262144
no -p -o udp_sendspace=65536
no -p -o udp_recvspace=655360
nfso -p -o nfs_rfc1323=1
nfso -p -o nfs_socketsize=60000
nfso -p -o nfs_tcp_socketsize=600000
vmo -p -o minperm%=5
vmo -p -o maxperm%=90
vmo -p -o maxclient%=90
vmo -p -o minfree=960
vmo -p -o maxfree=1088
vmo -p -o lru_file_repage=0
vmo -p -o lru_poll_interval=10
ioo -p -o j2_maxPageReadAhead=128
ioo -p -o maxpgahead=16
ioo -p -o j2_maxRandomWrite=32
ioo -p -o maxrandwrt=32
ioo -p -o j2_nBufferPerPagerDevice=1024
ioo -p -o pv_min_pbuf=1024
ioo -p -o numfsbufs=2048
ioo -p -o j2_nPagesPerWriteBehindCluster=32
Increase the following if using raw LVMs (default is 9)
ioo -p -o lvm_bufvnt=12
Async I/O
=========
chdev -l aio -a maxreqs=8192
chdev -l aio -a maxservers=100
chdev -l aio -a minservers=50
--------------
no -p -o rfc1323=1
ioo -p -o maxpgahead=16
ioo -p -o j2_maxRandomWrite=32
ioo -p -o maxrandwrt=32
ioo -p -o j2_nBufferPerPagerDevice=1024
ioo -p -o pv_min_pbuf=1024
ioo -p -o numfsbufs=2048
ioo -p -o j2_nPagesPerWriteBehindCluster=32
ioo -p -o lvm_bufvnt=12
chdev -l aio -a maxreqs=8192
chdev -l aio -a maxservers=100
chdev -l aio -a minservers=50
=========================================================
to display lock vg:
bash-3.00# lsvg -o | lsvg -il
0516-1201 lsvg: Warning: Volume group sybase_raw is locked. This command
will continue retries until lock is free. If lock is inadvertent
and needs to be removed, execute 'chvg -u sybase_raw'.
=============================================================
error:
errpt
errpt -a
To see individual process :
-------------------------------
Smbha mapping
mount -v cifs -n MLXESEARCH01/esearch_operator/admin@001 -o
uid:0204,gid:0201,fmode:0777 uploadfiles /e-search/data/dump/utldump
new:
MLXESEARCH01 uploadfiles /e-search/data/dump/utldump cifs May 22 08:57
uid:00203,gid:0202,fmode:00777
========================
ROOT paswd recovery:
DVD: other mass storage device
After this
passwd --> Change root password
After This
shutdown now -> partition come in non active mode -- remove CDROM and then active
===================================
Change fibre and disk value:
-------------------
for fcs:
bash-3.00# lsatter -El fcs0
bash: lsatter: command not found
bash-3.00# lsattr -El fcs0
bus_intr_lvl Bus interrupt level False
bus_io_addr 0xffc00 Bus I/O address False
bus_mem_addr 0xffebf000 Bus memory address False
init_link al INIT Link flags True
intr_msi_1 66117 Bus interrupt level False
intr_priority 3 Interrupt priority False
lg_term_dma 0x800000 Long term DMA True
max_xfer_size 0x100000 Maximum Transfer Size True
num_cmd_elems 200 Maximum number of COMMANDS to queue to the adapter True
pref_alpa 0x1 Preferred AL_PA True
sw_fc_class 2 FC Class for Fabric True
After:
bash-3.00# lsattr -El fcs0
bus_intr_lvl Bus interrupt level False
bus_io_addr 0xffc00 Bus I/O address False
bus_mem_addr 0xffebf000 Bus memory address False
init_link al INIT Link flags True
intr_msi_1 66117 Bus interrupt level False
intr_priority 3 Interrupt priority False
lg_term_dma 0x800000 Long term DMA True
max_xfer_size 0x1000000 Maximum Transfer Size True
num_cmd_elems 200 Maximum number of COMMANDS to queue to the adapter True
pref_alpa 0x1 Preferred AL_PA True
sw_fc_class 2 FC Class for Fabric True
================================================
After Upgrading AIX server to TL9 or higher make sure to stop the websm service
#stopsrc -s http4websm
After that comment out the folllowing line in the /etc/inittab file to stop
websm permanently.
webserverstart:2:once:startsrc -s http4websm /dev/null 2&1
========================
NIC : 595
diag -->Task Selection--->Hot Plug Task-->PCI Hot Plug Manager--> Identify a PCI
Hot Plug Slot-->Press U5791.001.99B0W8Y-P2-C04 PCI-X capable, 64 bit, 133MHz slot
ent2 en
will blink adapter card on the server
smitty mktcpip-->
3. checking:
entstat -d ent2 | grep Active <--Active channel: backup
adapter
errpt | head <--ETHERCHANNEL FAILOVER
4. switch back:
/usr/lib/methods/ethchan_config -f ent2 <--it will do a switch again
5. checking:
entstat -d ent2 | grep Active <--Active channel: primary
channel
errpt | head <--ETHERCHANNEL RECOVERY
----------------------
nfs in /etc/filesystem:
/reinsurance6:
dev = 10.16.58.40:/sybasepool/241_18_MLXILPREMIADB_reinsurance6
vfs = nfs
options =
rw,bg,hard,intr,sec=sys:dh:krb5:krb5i:krb5p,proto=tcp,vers=3,rsize=32768,wsize=3276
8
mount = false
--------------
smitty mknfsexp --------- make entry in /etc/export
Add
a Directory to Exports List
------------------------------------------------
===============================================
If already in clone :
Cloning on AIX system.
One disk should be free for this cloning other than rootdisk.
#exportvg alinst_rootvg
# smitty alt_clone
=============================================================================
To boot from clone disk:
bash-3.00# lspv
hdisk0 00ceb4bc61ec31e5 rootvg active
hdisk1 00ceb4bc8e635fea altinst_rootvg
===============================================================================
bash-3.00# lspv
hdisk0 00c01f50f3529214 rootvg active
hdisk1 00c01f50e9a1c319 rootvg active
------------------------------------------
bash-3.00# bootlist -m normal -o
hdisk2
ent0 speed=auto duplex=auto
Find out primary boot disk , then start copy missing lv from mirrored to primary
(e.g lg_dumplv)
---------------------------------
to migrate hdisk :
/usr/sbin/migratepv hdisk16(source) hdisk0(new)
Break mirror :
------------
1)If in rootvg 2 disk present but having 2 lvs i.e hd6(paging os lv) and paging00
lv then
remove paginglv with smitty -->Paging Space -->Deactivate a Paging Space --> then
Remove a Paging Space
Then migrate hd6(paging) with below command.
Start clone:
------------
smitty
Software Installation and Maintenance
Alternate Disk Installation
Clone the rootvg to an Alternate Disk
Target Disk(s) to install [hdisk1]
...
...
...
ACCEPT new license agreements? [yes]
...
Set bootlist to boot from this disk on next reboot? [no]
OR
=======================
to start root mirroring
extendvg rootvg hdisk1
smitty mirrorvg --> select rootdg -- select mirror disk
========================
rst console command:
/usr/sbin/rsct/install/bin/recfgct
/usr/sbin/rsct/bin/rmcctrl -z
/usr/sbin/rsct/bin/rmcctrl -A
/usr/sbin/rsct/bin/rmcctrl -p
================================---==
HMC configuration :
system management-->server-->connections--->Add managed System-->Select Add managed
system
-->add -->IP Address/hostname-- give hmc primary ip, passwd
(abc1234/abc123/acleop$#)
------------------------
# locale -a
C
POSIX
en_US
en_US.8859-15
en_US.ISO8859-1
EN_US
EN_US.UTF-8
=============================
HMC console problem:
For vio client to take login of client from vio server, give connand from $ prompt
$mkvt -id 6
~. ----> to exit from
lspartition -dlpar
For P570
console from puty:
hscroot@localhost:~> mkvterm -m Server-9119-595-SN0201F50 --id 10
==================================
File size for transfer
chuser command.
chuser fsize_hard=NUMBER-OF-512byte-BLOCKS username
chuser fsize=NUMBER-OF-512byte-BLOCKS username
Use "-1" for unlimited.
2. Verify that the ftp daemon is configured to allow output file of the
size.
chuser fsize=-1 ora10g
------------------
for migration:
cat /tmp/passwd |awk -F: '{print " mkdir -p " $6 }'
cat /etc/passwd |awk -F: '{print "useradd " " -u " $3 " -g " $4 " -d " $6 "
-m " " -s " $7 " " $1 }'
cp /etc/passwd /etc/passwd_12Apr12
cp /etc/security/passwd /etc/security/passwd_12Apr12
------------------------------------
password / user configuration file :
/etc/security/login.cfg
----
pwdadm -c ora10g
173 smitty user
174 chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s hpadm
=====================================x====
-----------------
create filesystem
mkvg -f -y'tuxdatavg' -s'128' hdiskpower0
----------------------------
(for stripe lv creation)
mklv -y'tux02lv' -t'jfs2' '-S128K' tuxdata02vg 800 hdiskpower0 hdiskpower1
hdiskpower2
=================================
mirrorvg rootvg
=======================================
awk command:
cat /tmp/list1 |awk '{print "portshow "$2"/"$3"" " |grep
21:01:00:1B:32:AA:0C:7A"}'
portshow 1/1 |grep 21:01:00:1B:32:AA:0C:7A
========================================================
swap / pagging space:
smitty mklv
Logical volume NAME [paging00]
* VOLUME GROUP name rootvg
* Number of LOGICAL PARTITIONS [64]
#
PHYSICAL VOLUME names []
+
Logical volume TYPE [paging]
+
POSITION on physical volume middle
+
RANGE of physical volumes minimum
+
MAXIMUM NUMBER of PHYSICAL VOLUMES []
#
to use for allocation
Number of COPIES of each logical 2
smitty lvm -->Paging Space--> Change / Show Characteristics of a Paging Space -->
select paging00
Use this paging space each time the system is yes
-----------------------
To increase swap space
chps -s 20 hd6
chps -s 116 hd6 -- increase by 116pp
========================================
To stop web service port 443
/etc/inittab file
hash line webserver
==============================
To recover rootpassword
\Take backup of /etc/security/passwd
edit passwd file remove entry and add following entry for default password:
root:
password = QpFhmE66lp0W6
lastupdate = 1308209412
sysadm:
password = 3YB5Ad.BLRZns
lastupdate = 1308115225
flags =
perf:
password = XPaRSjY5qVf/c
lastupdate = 1302170033
====================================================
EFS:
bash-3.2# efsenable -a
EFS has already been enabled on this system.
------------------------------------------------------
Time zone:
smitty time -- ---System Environments---Change / Show Date, Time, and Time
Zone---Change Time Zone Using User Entered Values
[Entry Fields]
* Standard Time ID(only alphabets) [IST]
* Standard Time Offset from CUT([+|-]HH:MM:SS) [-5:30]
Day Light Savings Time ID(only alphabets) []
Day Light Savings Time Offset from CUT([+|-]HH:MM: []
SS)
Start Daylight Savings Day([Mmm.ww.dd|Jn]) []
Start Daylight Savings Time(HH:MM:SS) []
Stop Daylight Savings Day([Mmm.ww.dd|Jn]) []
Stop Daylight Savings Time(HH:MM:SS) []
entry in /etc/timezone :
/etc/environment
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/
java14/bin
TZ=IST-5:30
LANG=en_US
LOCPATH=/usr/lib/nls/loc
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
LC__FASTMSG=true
----------------------------------------
HACMP smitty :
To refresh :
-----------------
For Increase and decrease filesystem in HACMP:
smitty clstop---->
* Stop now, on system restart or both now
+
Stop Cluster Services on these nodes [iCoreAIX_prod,iCoreAIX_stby]
+
BROADCAST cluster shutdown? false
+
* Select an Action on Resource Groups Bring Resource Groups Offline
/etc/scripts/disableip.sh
/etc/scripts/enableip.sh
smitty clstart
+
Start Cluster Services on these nodes [iCoreAIX_prod,iCoreAIX_stby]
+
* Manage Resource Groups Automatically
+
BROADCAST message at startup? true
+
Startup Cluster Information Daemon? true
+
Ignore verification errors? false
+
Automatically correct errors found during Interactively
===============================================================================
/dev/m1_index42 200.00 0.03 199.97 1% /m1/index42
smitty cspoc -- > storage--> File Systems --> Change / Show Characteristics of a
File System
/
SIZE of file system Unit Size
Gigabytes
+
Number of units [201]
#
Mount GROUP [] Mount AUTOMATICALLY at
system restart? no
+
PERMISSIONS read/write
+
Mount OPTIONS []
+
Start Disk Accounting? no
+
Block Size (bytes) 4096
Inline Log? no Inline Log size (MBytes)
[0]
#
Extended Attribute Format [v1]
ENABLE Quota Management? no
+
Allow Small Inode Extents? [yes]
+
Logical Volume for Log loglv_21
Then
Refresh / Syncronisation:
[Entry Fields]
* Verify changes only? [No]
+
* Logging [Standard]
========================================================
to reduce :
smitty cspoc -- > storage--> File Systems --> Change / Show Characteristics of a
File System
/
SIZE of file system Unit Size
Gigabytes
+
Number of units [200]
#
Mount GROUP [] Mount AUTOMATICALLY at
system restart? no
+
PERMISSIONS read/write
+
Mount OPTIONS []
+
Start Disk Accounting? no
+
Block Size (bytes) 4096
Inline Log? no Inline Log size (MBytes)
[0]
#
Extended Attribute Format [v1]
ENABLE Quota Management? no
+
Allow Small Inode Extents? [yes]
+
Logical Volume for Log loglv_21
+
====================================
Virtual ip alias :
smitty ---> Communications Applications and Services --> TCP/IP --> Further
Configuration-- > Network Interfaces --> Network Interface Selection -->
Configure Aliases ---> Add an IPV4 Network Alias --> en0 04-08 Standard
Ethernet Network Interface -->
=============================
sddpcm multipathing software :
lspcmcfg --------------> all vg info
lslpp -l | grep -i sddpcm
pcmpath query adapter / device ---------> It shows all paths.
lspath -l hdisk3
===================================================
1 gbps speed :
=================================================================
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
LV
[Entry Fields]
Logical volume NAME [lvol31]
* VOLUME GROUP name sybase12
* Number of LOGICAL PARTITIONS [2000]
#
PHYSICAL VOLUME names [hdiskpower327 hdiskpower328
hdiskpower329 hdiskpower330 hdiskpower331]
+
Logical volume TYPE [raw]
+
POSITION on physical volume outer_middle
+
RANGE of physical volumes minimum
+
MAXIMUM NUMBER of PHYSICAL VOLUMES []
#
to use for allocation
Number of COPIES of each logical 1
+
partition
Mirror Write Consistency? active
+
Allocate each logical partition copy yes
+
on a SEPARATE physical volume?
RELOCATE the logical volume during reorganization? yes
+
Logical volume LABEL []
MAXIMUM NUMBER of LOGICAL PARTITIONS [4096]
#
Enable BAD BLOCK relocation? yes
+
SCHEDULING POLICY for writing/reading parallel
+
logical partition copies
Enable WRITE VERIFY? no
+
File containing ALLOCATION MAP []
Stripe Size? [128K]
+
Serialize IO? no
in path /dev/
ls -la rlvol32
package:sudo-1.8.3-2.ppc.rpm
=============================================================
sftp connection :
In chasis :
service tool -- >AMM service data
For vio server : Blade service data -- >Select blade -- > dump type Partition -->
inititiate
To enable :
lsfs -qa
lsfs -q /m1/bbysvcredo1b
=======================================
redo option :
cio,minpout=0,maxpout=0,rw
block size: 512
===========================================
User addition in HACMP cluster :
=============================================
OS parching missing patches:
Patching check:
lppchk -v
oslevel -rq
installp -ug < missing patch >
=====================================================
To create package image :
smitty bffcreate
================================
DVD:
It represent : DVD: other mass storage device
lsslot -c slot
U7879.001.DQD2P9H-P1-T15 Logical I/O Slot pci10 ide0
Click -- > Lpar -->Dynamic Logical partition ( It shows Other Mass Storage
Controller)-->Physical Adpter---> move/remove
======================================================
crontab -l adm --- Unhash below lines.
0 * * * * /usr/lib/sa/sa1 1200 3 &
5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 3600 -ubcwyaqvm &
refresh inetd
sar -a
==========================
dtspcd taking more SPU , then hash in /etc/inetd.conf
#dtspcd stream tcp nowait root /usr/dt/bin/dtspcd /usr/dt/bin/dtspcd
=============================
will ask password next login
pwadm -x <id>
=====================================
To change kernel bit from 32 to 64.
AIX5L (TechnicalUser)
To switch from 32-bit mode to 64-bit mode run the following commands, in the given
order:
To switch from 64-bit mode to 32-bit mode run the following commands, in the given
order:
============================
rsh aix
make entry in /etc/hosts and .rhosts
bash-3.2# cat .rhosts
10.50.35.148 +
change /etc/security/
refresh serrvice:
refresh -s inetd
====================================
cross cable IP configuration:
ifconfig en2 192.168.1.1 netmask 255.255.255.0 up
=======================================
PV id issue :
After:
bash-3.2# chpv -v a hdisk2
bash-3.2# lsvg -p ihelpvg
ihelpvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk2 active 199 0 00..00..00..00..00
hdisk3 active 199 0 00..00..00..00..00
====================================================
To reset unsuccessfull login :
lsuser shailesh
chuser unsuccessful_login_count=0 suraj
shutdown -Fr
5)Either type 0 and press Enter to install with current settings, or type the
number of the setting you want to change and press Enter.
migration option
0 ---
1--- Migration Installation Summary
0 -- Migration Confirmation
691 pkgs
3 vt100
Installation Assistant
Move cursor to desired item and press Enter. --- Tasks Completed - Exit to Login
change boot list to rootdisk
after 6.1 reboot the server
smitty update_all
sp3 10.16.114.145 /tmp 1.21gb
vacpp.90.aix53TL6-71.mar2012.ptf.tar
=================================
No utmpx entry. You must exec "login" from the lowest level "shell"
then :
http://powerlink.emc.com > Support > Software Downloads and Licensing > Downloads
P-R > PowerPath for AIX > (Look for �PowerPath 5.5 P02 HF01 EMCP_MOND Tool 1.0 for
AIX�)
the existing emcp_mond binary with the binary contained in the fix.
Ex : install.sh -f ./emcp_mond
OR
/etc/rc.emcp_mond stop
cp /usr/sbin/emcp_mond /tmp/emcp_mond.orig
cp ./emcp_mond /usr/sbin/
================================================================================
IP trace :
> 1.Iptrace -i<interface name> -s< Source IP address of host name> -d<target IP
address or hostname> <filename with absolute path>
2.iptrace -i interface name> -s (Source IP> -d<destination IP> <different file
name than above>
ps -eaf | grep iptrace
Kill -15< PID of iptrace> or kill -9< PID of iptrace>
Once process is killed,Unload the iptrace extension by running
command "iptrace -u"
------------------------------------
iptrace -i en0 -s 192.168.121.54 -d 192.168.121.51 -p 7790
/tmp/iptrace_121.54_25feb13
========================================
ssdpcm :
devices.fcp.disk.ibm.mpio.rte --
devices.sddpcm.61.rte
devices.sddpcm.61.2.6.3.2.bff
=================================================
resolve.conf :
/etc/resolv.conf
nameserver 10.50.37.84
nameserver 10.50.37.170
nameserver 10.50.37.171
--------------------
10.50.52.58 :
bash-3.2# cat /etc/resolv.conf
search icicibankltd.com
nameserver 10.16.1.168
nameserver 10.50.37.171
nameserver 10.50.37.170
----------------------
bash-3.2# cat /etc/resolv.conf_19mar13 -------- wrong entry
search icicibankltd.com
nameserver 10.16.1.168
nameserver 10.50.37.84
nameserver 10.50.37.170
================================================
traceroute cron script:
bash-3.2# cat /scripts/traceroute_55_30
echo "******************************************"
date
traceroute 192.168.55.30
cron :
00-59 * * * * sh /scripts/traceroute_55_19 >> /tmp/traceroute_55_19
00-59 * * * * sh /scripts/ping_55_52 >> /tmp/ping_55_52
========================================
To remove FC cable :
getconf LOGIN_NAME_MAX
change the value:
max_logname 9
as below:
chdev -l sys0 -a max_logname=129
getconf LOGIN_NAME_MAX
Please note that this change will not go into effect until you have rebooted the
operating system
==============================================
Log shipping :
172.25.254.0 172.25.254.14 UHSb 0 0 en1 - - =>
172.25.254/24 172.25.254.14 U 0 0 en1 - -
172.25.254.14 127.0.0.1 UGHS 0 292 lo0 - -
172.25.254.255 172.25.254.14 UHSb 2 6518 en1 - -
traceroute 172.25.255.22
1 172.25.254.1 (172.25.254.1) 1 ms 1 ms 1 ms
==============================================================
command line :
nim -o define -t mksysb -a server=master -a location=/mksysb/mksysb_68_180_28feb13
-a source=IMDVLSVR003 -a mk_image=yes mksysb_68_180
==================================================================
To update all filesets from a CD that are currently installed on the system, type:
lslpp -lc | awk -F ":" '{print $2}' | tail -n +2 > /tmp/lslpp
installp -agXd /dev/cd0 -e /tmp/install.log -f /tmp/lslpp
=================================================
dscli :
/opt/ibm/dscli
./dscli
Enter the primary management console IP address: 10.50.42.14
Enter the secondary management console IP address:
Enter your username: storageadmin/Ra1ncoat
Enter your password:
dscli> lsflash -l 0000-ffff
mkflash -dev IBM.2107-75WW891 -tgtse -nocp 5200-5227:7200-7227 5300-5327:7300-
7327 522F:722F 532F:732F 5232-523B:7232-723B 5332-533B:7332
-733B
========================================
Increase raw volume :
[Entry Fields]
* LOGICAL VOLUME name lvol4103
* Number of ADDITIONAL logical partitions [396]
#
PHYSICAL VOLUME names [hdiskpower393 hdiskpower394]
+
POSITION on physical volume middle
+
RANGE of physical volumes maximum
+
MAXIMUM NUMBER of PHYSICAL VOLUMES [4]
#
to use for allocation
Allocate each logical partition copy superstrict
+
on a SEPARATE physical volume?
File containing ALLOCATION MAP []
before :
lvol4103 raw 792 792 4 closed/syncd N/A
After:
lvol4103 raw 794 794 4 closed/syncd N/A
============================================================
ent0 Available Logical Host Ethernet Port (lp-hea)
ent1 Available Logical Host Ethernet Port (lp-hea)
ent2 Available Logical Host Ethernet Port (lp-hea)----------
ent3 Available Logical Host Ethernet Port (lp-hea)----------
ent4 Available EtherChannel / IEEE 802.3ad Link
Aggregation-----------ent0 & ent1
ent5 Available VLAN
ent0--P1-T6--BLADE9--BAY1--GROUP1
ent1--P1-T7--BLADE9--BAY2--GROUP1
ent2--P2-T6--BLADE10--BAY1--GROUP1
ent3--P2-T7--BLADE10--BAY2--GROUP1
=============================================
Data domain DD package :
Atape.driver 12.6.0.0 COMMITTED IBM AIX Enhanced Tape and
/tmp/AtapeIBM -- -rw-r--r-- 1 perf staff 4147200 Apr 11 17:43
Atape.12.6.0.0.bin
==============================================
IBM username and password :
http://www-933.ibm.com/support/fixcentral/aix/selectFixes?
release=6.1&function=release
[email protected] / sysadminoprs
amu15tandel / amol@123
snap -r (This will clear the old SNAP File and Directory)
#snap -gbfktGLNR (Creates New SNAP at /tmp/ibmsupt )
#snap -c ( This will compress the file )
#mv /tmp/. bmsupt/snap.pax.Z /tmp/ibmsupt/Serial #).snap.pax.Z Regards Mahesh
Waghode