flipkart3

SNAPDEAL OFFERS

filpkartflash

Tuesday, December 8, 2015

INSTALLING VIOS USING NIM

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

MOST OF THE TIMES WE ARE WORKING REMOTELY AND TO BUILD NEW SERVERS WE NEED TO BUILD VIO SERVERS 

SO I TRIED IT AROUND 2 YEARS BACK FOR ONE OF MY INSTALLATIONS AND I AM SHARING WITH YOU 

1. Create a VIO mksysb 

you can create a vios mksysb by using backupios or by concatenating three mksysb files in VIO CDROM both works 

1. Create VIO client 

the same stand alone client which we use to create a normal aix client

2. Create bosinstdata
 create a bosinst data type resource by using -t bosinst_data
-t bosinst_data  

3.Create a spot 

mention bosinst_data   while creating resource .

4. Assign spot and bosinst_data and start installation usually .

 

Thursday, August 20, 2015

AIX SCRIPT TO COLLECT PV , VG , LV AND FILE SYSTEM INFO

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

Hey Guys i was looking into collecting Pv and VG information of a AIx System  and i just
 wanted a summary of few details i created script for the same and feel like sharing it , please test at your system and see if you like it .


echo "   LV NAME                             FILE SYSTEM       SIZE IN MB          PV NAME            VGNAME    "            

for x in $(lsvg -o )

do

pps=$( lsvg $x|grep "PP SIZE:"|awk '{print $6}')

lsvg -l $x |grep -vE "LV|N/A|:"|while read llv tp lp pp npp ds fs

do

b=

for dsk in $(lslv -m $llv|awk '{print $3}'|uniq|grep -v PV)

do

b=$b$dsk,

done



echo "   $llv                         $fs                          $(( $pps * $lp ))                 $b                           $x     "

done

done
 

Amazon8

Total Pageviews