Friday, April 11, 2014

CHANGING MOUNT POINT OF POWERHA FILE SYSTEM USING A SCRIPT

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




CHANGING MOUNT POINT OF A POWERHA FILE SYSTEM

read RG
echo enter RESOURCE GROUP
read fs nfs
echo enter mount point to change followed by new mount point for eg /oldfs /newfs
/usr/es/sbin/cluster/sbin/cl_chfs -cspoc "-g $RG" -m $nfs  $fs
 

CHANGING CLUSTER IP OF STORAGE V7000 , V5000 , V3000

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





CHANGING CLUSTER IP OF STORAGE 


svctask chclusterip -clusterip <newip> -gw <gateway> -mask <mask> -port 1


svctask chclusterip -clusterip 192.168.1.172 -gw 192.168.1.10 -mask 255.255.255.0 -port 1
 

CONFIGURING NIM TO USE NIMSH

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





CONFIGURING NIM TO USE NIMSH

niminit -a master=<nim master server> -a name=<stand alone machine name> -a connect=nimsh

# niminit -a master=nim -a name=sapdev2 -a connect=nimsh

nimsh:2:wait:/usr/bin/startsrc -g nimclient >/dev/console 2>&1
0513-044 The nimsh Subsystem was requested to stop.
0513-059 The nimsh Subsystem has been started. Subsystem PID is 3801214

CREATING A MDISK GROUP AND MDISK USING COMMAND LINE IN V7000/V3700/SVC/V5000

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




CREATING A MDISK GROUP OR STORAGE POOL USING COMMAND LINE IN V7000/V3700/SVC/V5000

IN THE BELOW EXAMPLE WE ARE CREATING  MDISK GROUP WITH RAID 10 MDISK HAVING ONE SPARE DISK

svctask mkmdiskgrp -easytier auto -ext 1024 -guiid 0 -name PRD_RAID10 -warning 80%

svctask chdrive -use spare 23
svctask mkarray -drive 22:21:20:19:18:17:16:15 -level raid10 -sparegoal 1 0
svctask mkarray -drive 14:13:12:11:10:9 -level raid10 -sparegoal 1 

CREATING PAGING SPACE ON TWO DISKS IN ONE STEP

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



CREATING PAGING SPACE ON TWO DISKS IN ONE STEP 

mkvg -B -s 1024 -y pagingvg hdisk4 hdisk5;sleep 2;mkps -t lv -n -s 32 -a pagingvg hdisk4;sleep 2 ;mkps -t lv -n -s 32 -a  pagingvg hdisk5