-
Archives
- September 2021
- December 2018
- August 2018
- April 2018
- September 2017
- August 2017
- January 2016
- November 2015
- October 2015
- September 2015
- February 2015
- September 2014
- July 2014
- March 2014
- February 2014
- December 2013
- October 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
-
Meta
Tag Archives: AIX
Detect SAN Switch from AIX Side
Sometimes AIX Admin need to be sure that the System is connected to different SAN Switch for more redundancy and stability. Follow below steps to check SAN Switches from AIX Side: # lsdev |grep fc fcs0 Available 24-T1 Virtual Fibre … Continue reading
Recursively replacing a string in all files in a directory
You can use the following command to change Specific string on all files under specific directory: find /u01/directory -type f | xargs perl -pi~ -e ‘s/oldtext/newtext/g;’ Tested on Linux & AIX Ref: https://blogs.oracle.com/rammenon/recursively-replacing-a-string-in-all-files-in-a-directory-linux
Change default values on ODM for Fibre
Hello Everybody … Sometimes for performance recommendations or redundancy solutions, you will need to change some parameters on fibre card, like fc_err_recov & dyntrk TEST_SERVER#lsattr -El fscsi0 attach none How this adapter is CONNECTED False dyntrk yes Dynamic Tracking of … Continue reading
Script to list disks Info
Hello Everybody, The following lines are a for loop script to display disks info @ AIX System (Disk Name, Disk Unique ID, Disk Size in MB) and of course you can customize the data by add more columns:
AIX can’t mount NFS mount: 1831-008
Sometimes when you try to mount file system (NFS) you will get the following Error: #mount -o rw server1:/dir /bk mount: 1831-008 giving up on: server1:/dir vmount: Operation not permitted.
How to Configure DNS on AIX
Configure DNS on AIX To configure DNS on an AIX server: Add the DNS server(s) to the /etc/resolv.conf configuration file: vi /etc/resolv.conf
How to check AIX Edition
IBM AIX has a 3 Edition (Standard, Express, Enterprise) and you can check the installed edition on you server by the following command: /usr/sbin/chedition -l and you can check the difference between each edition from the following Link: http://www-03.ibm.com/systems/power/software/aix/v61/editions.html
rename a device
Use the following command to rename a device: # rendev -l hdisk4 -n hdisk53 where the ‘hdisk4’ is your device and ‘hdisk53’ is the new name. HINT: The device must be free
Error Report Demon
Here are the commands related to error demon in AIX To stop logging run the below command #/usr/lib/errstop To get rid of that log. # rm /var/adm/ras/errlog To restart the daemon, thus creating a new error log