You are here

Aix

Aix

Finding which lpp contains a file

Finding which lpp contains a file:
lslpp -w /usr/sbin/umount

Unix Systems: 

Setting jumbo frames

Setting jumbo frames on en2 looks like:
ifconfig en2 down detach
chdev -l ent2 -a jumbo_frames=yes
chdev -l en2 -a mtu=9000
chdev -l en2 -a state=up

Unix Systems: 

Using svmon

svmon
svmon -P

Further:
use can user svmon command to monitor memory usage as follows;

(A) #svmon -P -v -t 10 | more (will give top ten processes)
(B) #svmon -U -v -t 10 | more ( will give top ten user)

Unix Systems: 

Remove Failed Paths with sdd

Removes all the failed paths:
lspath -s failed -F"name:connection:parent:path_status:status"|tr ':' ' '|while read a b c;do rmpath -dl $a -w $b ;done

After that scan again:
cfgmgr -v

Unix Systems: 

Log and Info commands for AIX Hacmp

INFO CLUSTER AIX
/usr/es/sbin/cluster/utilities/cldisp
/usr/es/sbin/cluster/utilities/clshowres -g'service'
/usr/es/sbin/cluster/utilities/cltopinfo
/usr/es/sbin/cluster/utilities/cllsif

LOG AIX
/usr/es/adm/cluster.log (LOG CLUSTER AIX)
/var/ha/log
/usr/local/hacmp
/tmp/hacmp.out

Unix Systems: 

Power 5 HMC Commands

Power 5 HMC Commands:
To see system state for a system or the partitions on a system:
lssyscfg -r sys -m
lssyscfg -r lpar -m
To just see names and state:
lssyscfg -r lpar -m -F name,state --header
To power on an lpar with a profile:
chsysstate -m -o on -r lpar -n -f
i.e. for example:

Unix Systems: 

Using alt_disk_install to restore a server

Hy,

This are the parameters i use with alt_disk_install when i need to restore a server:

alt_disk_install -d /home/mksysb.server -y -k -B -g hdisk3 hdisk5 (to restore,not clone)

when the alternate finishes,we need to clear the alt_root_vg
/usr/sbin/alt_disk_install –X

Unix Systems: 

Error !20EE000B! after updating ML

Si tras actualizar el ML de una máquina obtenemos el error:

!20EE000B!

arrancar, pulsar 8 para entrar en el "Open Firmware Prompt"

Ejecutar:

0 > setenv real-base 1000000 ok
0 > reset-all

resumiendo, 1000000 en hexadecimal corresponde a 16,7MB por lo que nos valdrá durante una temporada.

Unix Systems: 

Free a used port

Liberar puertos en AIX

1. Issue the following command:
netstat -Aan | grep 657
If a service is using port number 657, output will be similar to the following:
f10000f000127358 tcp4 0 0 *.657 *.* LISTEN
f10000f000064600 udp4 0 0 *.657 *.*

2. Issue the rmsock command:
rmsock f10000f000127358 tcpcb

Unix Systems: 

Fix corrupt magic number

FIX A CORRUPTED MAGIC NUMBER IN THE FILE SYSTEM SUPERBLOCK AIX
http://publib16.boulder.ibm.com/pseries/en_US/aixbman/baseadmn/baseadmnt...

Unix Systems: 

Pages

Subscribe to RSS - Aix

Fatal error: Class CToolsCssCache contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (DrupalCacheInterface::__construct) in /homepages/37/d228974590/htdocs/sites/all/modules/ctools/includes/css-cache.inc on line 52