Thursday, March 31, 2011

Links

http://santosh-aix.blogspot.com/
https://www.ibm.com/developerworks/mydeveloperworks/blogs/cgaix/?page=1&maxresults=15&lang=en_us
http://unixskylab.wordpress.com/
http://windowspeople.com/
http://gibsonnet.net/aix/
http://wn.com/Ibm_Aix_Operating_System

Monday, March 28, 2011

Links

1- http://wiki-ux.info/
2- http://www.hpuxtips.es/
3- http://www.hpux.ch/index.php/Main_Page
4- http://aixibm.wordpress.com/

Links

1- http://asgaur.com/
2- http://cleophus59.blogspot.com

Mount USB disk in AIX must be AIX 5.3 TL09 or AIX 6.1 TL02 higher TL

Mount USB disk in AIX must be AIX 5.3 TL09 or AIX 6.1 TL02 higher TL

Configuration:

1. Stick the memory key in the front of the machine
2.
cfmgr
-- or --
cfgmgr -l usb0

3.
lsdev
will show you new devices flashdriveN (N = 0,1,2 etc)
4.
ls -l /dev/*flash*
will show you
/dev/flashdriveN
and
/dev/rflashdriveN

5. Mine look like:

root:/tmp# ls -l /dev/*flash*
br--r--r-- 1 root system 36, 0 Feb 12 08:34 /dev/flashdrive0
cr--r--r-- 1 root system 36, 0 Feb 12 08:34 /dev/rflashdrive0


1. Use it
2. If you mounted the drive as a file system don't forget to unmount it.
3. When completely done: rmdev -l flashdrive0 -d to remove the flash device
4. Remove memory key

# lsconf | grep flash
* flashdrive0 U789C.001.DQD3561-D1-T1-L1 USB Flash Drive



# lsdev -Cc flashdrive
flashdrive0 Available 0.2 USB Flash Drive


for further guidelines please refer to

http://www.torontoaix.com/aix-commands/usb_drive

AIX reset root password

1- Insert Media and boot the system.
2- When screen appear / when you hear beep press F1 key till you get SMS menu.
3- Select multiboot. IBM Database 2.1 Server for AIX
4- Select install from.
5- Select CD (If you are installing from CD ) select Install.
6- Select AIX version icon.
7- System console by pressing the F1 key and then press Enter.
8- Start Maintenance Mode for System Recovery by typing 3 and press Enter.
9- Select Access a Root Volume Group ignores the message.
10- Type 0 and press Enter.
11- Select Access this Volume Group and start a shell.
#passwd
Changing password for "root"
root's New password:
Enter the new password again:
# sync;sync;shutdown -Fr

Links

1- http://aixwithdipakwarade.blogspot.com/
2- http://www.sys-admin.net/
3- http://unixarticles.com/
4- http://www.rootvg.net/
5- http://www.torontoaix.com/

Saturday, March 26, 2011

Links

1- http://www.ahinc.com/
2- http://radek-it.blogspot.com/
3- http://www.digilife.be/quickreferences/quickrefs.htm
4- http://www.tablespace.net/quicksheet/aix-quicksheet.pdf
5- http://www.tablespace.net/
6- http://www.ivorde.ro/Server_Operating_Systems/

HMC key combintaions quated from http://radek-it.blogspot.com/

CTRL-ALT-F1: Switch to Linux command line; no login possible. If you then click on CTRL-ALT-DEL the system will reboot.
CTRL-ALT-F2: Takes you back to the Xserver window.
CTRL-ALT-BACKSPACE: Kills of the Xserver and will start a new -fresh- one, so you can login again.

Trouble TSM connections

Link : http://publib.boulder.ibm.com/tividd/td/TSMM/SC32-9103-01/en_US/HTML/comm_err_adm_ctr.html

Verify the TSM port is correct

Check to see what port the TSM server is using. You can issue the QUERY OPT TCPPORT command on the server to determine the server port.

Make sure the port used in the Administration Center is the same port the server is running on. Go to the directory where the administrative client is installed. Then issue dsmadmc with parameters matching those in the connection settings for the Administration Center. This command can also be issued from the server console.

dsmadmc -id= -pass= -tcpport= -tcps=


tsm: SERVER1>QUERY OPT TCPPORT

Server Option Option Setting
----------------- --------------------
TCPPort 1500

tsm: SERVER1>

Disabling undesired TCP/IP services in AIX

Disabling undesired TCP/IP services in AIX

http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/TD100942

Viewing All Users and Tasks from HMC Command Line

Viewing All Users and Tasks from HMC Command Line
http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/TD105422

Hardening AIX

Link : http://www.boran.com/security/sp/aix_hardening.html
Link : http://www.ibm.com/developerworks/aix/library/au-security_cmds/index.html
Link : https://www-304.ibm.com/support/docview.wss?origin=pSeriesTechnicalBulletin&rs=111&uid=isg3T1010741&context=SWG10

Increase AIX 5.3 password length ( TL must be 7 and upward )

Link 1 : https://www-304.ibm.com/support/docview.wss?origin=pSeriesTechnicalBulletin&rs=111&uid=isg3T1010741&context=SWG10

Link 2: https://www-304.ibm.com/support/docview.wss?origin=pSeriesTechnicalBulletin&rs=111&uid=isg3T1010741&context=SWG10

Password length and encryption algorithms
http://www.redbooks.ibm.com/redbooks/pdfs/sg247559.pdf

Virtualization Doc

Link
1- http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/TD103130

Links

1- http://user-techdocs.blogspot.com/
2- http://odme.blogspot.com/
3- http://aix.lap.hu/
4- http://users.ca.astound.net/baspence/AIXtip/

Determine the process running on a particular port

Determine the process running on a particular port
Link : http://www-01.ibm.com/support/docview.wss?uid=swg21457869&myns=swgtiv&mynp=OCSSBSEX&mynp=OCSS8JB5&mync=E

netstat -Aan | grep

Storage Links

Links for some useful blogs
1- http://www.storagewisdom.com/?tag=ds8000
2- http://www.storagewisdom.com/?tag=ds8000
3- http://publib.boulder.ibm.com/infocenter/dsichelp/ds8000ic/index.jsp?topic=%2Fcom.ibm.storage.ssic.help.doc%2Ff2c_cmnrelatedinfo_1sktr6.html
4- http://www.nasi.com/IBM_DS8000.php
5- https://storagebuddhist.wordpress.com/
6- http://rogerluethy.wordpress.com

Thursday, March 24, 2011

Get count of tapes in TSM


SELECT COUNT(*) FROM volumes

List Phsyical volumes in AIX


/usr/sbin/lspv | /usr/bin/awk '{print $1}'

List all users in aix in a formatted output

To list all users in formatted output


lsuser -c -a id home ALL | sed '/^#.*/d' | tr ':' '\011'

Wednesday, March 23, 2011

Get MAC address in AIX

To get MAC address in AIX

bash-3.2$ lscfg -vl ent1

Monday, March 21, 2011

TSM : Show Reclaimable Volumes

TSM SQL statment to get reclaimable volumes

select stgpool_name,volume_name,pct_utilized,access,pct_reclaim,status from volumes where stgpool_name in (select stgpool_name from stgpools) order by 1 asc,3 asc

Tuesday, March 15, 2011

System CFG in AIX

Get System Memory in AIX
bash-3.2$ prtconf -m


Get System Processor Speed

bash-3.2$ prtconf -s


Get System kernel in use

bash-3.2$ prtconf -k

Monday, March 7, 2011

Get number of by state tape in TSM

SELECT COUNT(*) FROM libvolumes WHERE status='Scratch'

SELECT COUNT(*) FROM libvolumes WHERE status='Private'