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
Error | HP-UX Tips & Tricks Site

Error

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /homepages/37/d228974590/htdocs/includes/common.inc:2567) in drupal_send_headers() (line 1207 of /homepages/37/d228974590/htdocs/includes/bootstrap.inc).
  • PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'dbo229817041'@'217.160.155.192' for table 'watchdog': INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => cron [:db_insert_placeholder_2] => Attempting to re-run cron while it is already running. [:db_insert_placeholder_3] => a:0:{} [:db_insert_placeholder_4] => 4 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://hpuxtips.es/?q=taxonomy/term/4&page=1 [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 54.90.207.75 [:db_insert_placeholder_9] => 1513505843 ) in dblog_watchdog() (line 157 of /homepages/37/d228974590/htdocs/modules/dblog/dblog.module).
The website encountered an unexpected error. Please try again later.