1)creating cluster file system for ASCS resource Group.
# metaset -s Z10ASCSset -a -h Z10DB Z10CI
#metaset -s Z10ASCSset -a /dev/did/rdsk/d14
#metaset -s Z10ASCSset -a /dev/did/rdsk/d15
#metainit -s Z10ASCSset d51 1 2 /dev/did/rdsk/d14s0 /dev/did/rdsk/d15s0
# metainit -s Z10ASCSset d52 -p d51 50G
#metainit -s Z10ASCSset d53 -p d51 20G
#metainit -s Z10ASCSset d54 -p d51 10G
2.creating file system
#newfs /dev/md/ Z10ASCSset/rdsk/d52
#newfs /dev/md/ Z10ASCSset/rdsk/d53
#newfs /dev/md/ Z10ASCSset/rdsk/d54
3.make entries in cat /etc/vfstab file
# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
/devices - /devices devfs - no -
/proc - /proc proc - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
fd - /dev/fd fd - no -
swap - /tmp tmpfs - yes -
/dev/zvol/dsk/rpool/swap - - swap - no -
/dev/md/Z10ASCSset/dsk/d52 /dev/md/Z10ASCSset/rdsk/d52 /usr/sap/trans ufs 5 yes global,logging
/dev/md/Z10ASCSset/dsk/d53 /dev/md/Z10ASCSset/rdsk/d53 /usr/sap/Z10/ASCS00 ufs 5 yes global,logging
/dev/md/Z10ASCSset/dsk/d54 /dev/md/Z10ASCSset/rdsk/d54 /sapmnt/Z10 ufs 5 yes global,logging
4.Create ASCS resource Group
#clrg create Z10ASCS_RG
5.create cluster file system resource
# clrs "create" -g "Z10ASCS_RG" -t "SUNW.HAStoragePlus" -p "filesystemmountpoints=/usr/sap/trans,/usr/sap/Z10/ASCS00,/sapmnt/Z10" ascsdatares
6.create ipresource
#clrslh create –g Z10ASCS_RG –h Z10ASCS-VIP ascsipres
7.create nfs resource
# cd /global/
root@Z10CI:/global# ls
Z10ASCS_RG
root@Z10CI:/global# cd Z10ASCS_RG/
root@Z10CI:/global/Z10ASCS_RG# ls
SUNW.nfs
root@Z10CI:/global/Z10ASCS_RG# cd SUNW.nfs/
root@Z10CI:/global/Z10ASCS_RG/SUNW.nfs# ls
dfstab.ascsnfsres dfstab.Z10nfsres statmon v4_oldstate v4_state
root@Z10CI:/global/Z10ASCS_RG/SUNW.nfs# cat dfstab.ascsnfsres
share -F nfs -o anon=0,rw /usr/sap/trans
share -F nfs -o anon=0,rw /sapmnt/Z10
#clrt register SUNW.nfs
#clrg set –p PathPrefix=/global/Z10ASCS_RG
#clrs create –g Z10ASCS_RG –t SUNW.nfs –p resource_dependences= ascsdatares, ascsipres ascsnfsres
# metaset -s Z10ASCSset -a -h Z10DB Z10CI
#metaset -s Z10ASCSset -a /dev/did/rdsk/d14
#metaset -s Z10ASCSset -a /dev/did/rdsk/d15
#metainit -s Z10ASCSset d51 1 2 /dev/did/rdsk/d14s0 /dev/did/rdsk/d15s0
# metainit -s Z10ASCSset d52 -p d51 50G
#metainit -s Z10ASCSset d53 -p d51 20G
#metainit -s Z10ASCSset d54 -p d51 10G
2.creating file system
#newfs /dev/md/ Z10ASCSset/rdsk/d52
#newfs /dev/md/ Z10ASCSset/rdsk/d53
#newfs /dev/md/ Z10ASCSset/rdsk/d54
3.make entries in cat /etc/vfstab file
# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
/devices - /devices devfs - no -
/proc - /proc proc - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
sharefs - /etc/dfs/sharetab sharefs - no -
fd - /dev/fd fd - no -
swap - /tmp tmpfs - yes -
/dev/zvol/dsk/rpool/swap - - swap - no -
/dev/md/Z10ASCSset/dsk/d52 /dev/md/Z10ASCSset/rdsk/d52 /usr/sap/trans ufs 5 yes global,logging
/dev/md/Z10ASCSset/dsk/d53 /dev/md/Z10ASCSset/rdsk/d53 /usr/sap/Z10/ASCS00 ufs 5 yes global,logging
/dev/md/Z10ASCSset/dsk/d54 /dev/md/Z10ASCSset/rdsk/d54 /sapmnt/Z10 ufs 5 yes global,logging
4.Create ASCS resource Group
#clrg create Z10ASCS_RG
5.create cluster file system resource
# clrs "create" -g "Z10ASCS_RG" -t "SUNW.HAStoragePlus" -p "filesystemmountpoints=/usr/sap/trans,/usr/sap/Z10/ASCS00,/sapmnt/Z10" ascsdatares
6.create ipresource
#clrslh create –g Z10ASCS_RG –h Z10ASCS-VIP ascsipres
7.create nfs resource
# cd /global/
root@Z10CI:/global# ls
Z10ASCS_RG
root@Z10CI:/global# cd Z10ASCS_RG/
root@Z10CI:/global/Z10ASCS_RG# ls
SUNW.nfs
root@Z10CI:/global/Z10ASCS_RG# cd SUNW.nfs/
root@Z10CI:/global/Z10ASCS_RG/SUNW.nfs# ls
dfstab.ascsnfsres dfstab.Z10nfsres statmon v4_oldstate v4_state
root@Z10CI:/global/Z10ASCS_RG/SUNW.nfs# cat dfstab.ascsnfsres
share -F nfs -o anon=0,rw /usr/sap/trans
share -F nfs -o anon=0,rw /sapmnt/Z10
#clrt register SUNW.nfs
#clrg set –p PathPrefix=/global/Z10ASCS_RG
#clrs create –g Z10ASCS_RG –t SUNW.nfs –p resource_dependences= ascsdatares, ascsipres ascsnfsres
No comments:
Post a Comment