Homepage › Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Renaming Sites › Reply To: Renaming Sites
Bala:
Here are some notes about exporting a file system I found that might help you; plus it shows how I was able to test out the cloverleaf license file without having to fail-over or having cloverleaf running on my fail-over box.
***** How to NFS mount and do hcilictest
on mdahub7
—————–
smitty nfs
network file systems
add directory to export list (mount now option)
on mdahub6
——————
showmount -e mdahub7
mount mdahub7:/upgrade /upgrade
mount mdahub7:/upgrade /sites
hcilictest
umount /upgrade
umount /sites
on mdahub7
———-
smitty nfs
network file systems
remove directory to export list (mount now option)
on mdahub6
——————
showmount -e mdahub7
Here is how my current NFS mounts show up on my test server mdahub4 to help complete the picture (mdahub10 is the old server and mdahub4 is the new server)
(mdahub4:hci) /upgrade/scripts > df -kI
Filesystem 1024-blocks Used Free %Used Mounted on
/dev/hd4 262144 68656 193488 27% /
/dev/hd2 3145728 1939516 1206212 62% /usr
/dev/hd9var 786432 47848 738584 7% /var
/dev/hd3 524288 44132 480156 9% /tmp
/dev/hd1 1048576 504224 544352 49% /home
/proc – – – – /proc
/dev/hd10opt 262144 188784 73360 73% /opt
/dev/fslv00 262144 368 261776 1% /perfman
/dev/fslv01 524288 704 523584 1% /logs
/dev/fslv02 2097152 870108 1227044 42% /usr/sys/inst.images
/dev/fslv03 10485760 2764 10482996 1% /work4
/dev/san00 5242880 11756 5231124 1% /ftp
/dev/fslv05 41943040 438564 41504476 2% /data
/dev/fslv06 10485760 42936 10442824 1% /hcitest
/dev/fslv07 20971520 185076 20786444 1% /sites
/dev/fslv08 20971520 1524256 19447264 8% /upgrade
/dev/fslv09 10485760 42900 10442860 1% /oldmsgs
/dev/fslv04 1048576 504 1048072 1% /backup_logs
mdahub10:/data 20971520 9182880 11788640 44% /nfs/data
mdahub10:/sites 20971520 9712492 11259028 47% /nfs/sites
mdahub10:/upgrade 20971520 2483616 18487904 12% /nfs/upgrade
(mdahub4:hci) /upgrade/scripts >
Here is a script I used to do the NFS mounts on my new test server:
#!/usr/bin/ksh
if [[ “`echo $MDA_UPDIR`” = “” ]]; then
export MDA_UPDIR=/upgrade
fi
me=`whoami`
if [ “$me” != “root” ]; then
echo “$0 must be run as root”
exit 1
fi
echo “”
showmount -e mdahub10
echo “”
mount mdahub10:/data /nfs/data
mount mdahub10:/sites /nfs/sites
mount mdahub10:/upgrade /nfs/upgrade
echo “”
df -kI
echo “”
Then I use symbolic links to make things show up logically where they are expected to be located.
Here is an illustration of the /quovadx directory on my new server to make 5.2 appear in the right place (see below)
(mdahub4:hci) /quovadx > ls -al
total 8
drwxrwxr-x 3 hci staff 256 Sep 09 13:17 .
drwxrwxr-x 18 hci staff 4096 Sep 09 13:24 ..
lrwxrwxrwx 1 hci staff 33 Sep 09 13:15 qdx5.2 -> /nfs/upgrade/quovadx_aix5L/qdx5.2
drwxrwxr-x 3 hci staff 256 Apr 25 2008 qdx5.6
(mdahub4:hci) /quovadx >
Russ Ross
RussRoss318@gmail.com