Friday, January 9, 2015

AIX PHYSICAL VOLUME INFORMATION

ALL DOCUMENT ARE PROPERTY OF SHIVAKANT , DO NOT COPY IBM , AIX , HACMP , ARE REGISTERED TRADE MARK OF IBM, NETAPP IS REGISTERED TRADEMARK OF NETAPP 
http://aix-administration.blogspot.com/p/index-of-posts-available-in-this-blog.html 


THE BELOW SCRIPT WILL SHOW  DISK NAME DISK SIZE AND PVID
 echo "DISK             SIZE IN GB                       PVID"     
lspv |grep -vE "rootvg|caavg_private"|while read h pv a
do
echo $h "      "    $(( $(bootinfo -s $h)/1024 )) "      " $pv
done

NFS ADVANCE CONFIGURATION AND TWEAKS

ALL DOCUMENT ARE PROPERTY OF SHIVAKANT , DO NOT COPY IBM , AIX , HACMP , ARE REGISTERED TRADE MARK OF IBM, NETAPP IS REGISTERED TRADEMARK OF NETAPP
http://aix-administration.blogspot.com/p/index-of-posts-available-in-this-blog.html

AIX TO USE NFS VERSION 2  FOR EXPORTS 


use -vers=2 in /etc/exports file to use nfs version 2 

USE access=hostname TO ALLOW ACCESS TO HOSTNAME 
USE root=hostname TO ALLOW ROOT ACCESS TO HOSTNAME

 
/xyz  -vers=2,access=abcd1,root=abcd2

MOUNT THE SAME USING "-o vers=2" OPTION



 mount -o vers=2 nfsserver:/nfsexportdir /nfslocalmount



ADD HOST ENTRY BY USING COMMAND 


 hostent -a 10.10.4.31 -h abcd 1
 hostent -a 10.10.4.41 -h abcd2

ADD NFS MOUNT USING COMMAND , ADD NFS MOUNT IN /etc/fstab FILE 






 mknfsexp -d /xyz -t rw -h abcd1  -r abcd1 -v 2