不想通过资源组去管理NFS,操作如下:
修改eccprod1,eccprod2下的/etc/exports,内容如下:
/export/sapmnt/ECP -sec=sys:krb5p:krb5i:krb5:dh,rw=eccprod1:eccprod2,root=eccprod1:eccprod2
/export/usr/sap/trans -sec=sys:krb5p:krb5i:krb5:dh,rw=eccprod1:eccprod2,root=eccprod1:eccprod2
修改启sapdb的脚本orastart.sh如下:
exportfs -a #加入此行,即使得当DB启动时,刷新需要共享出来的目录
mount eccproddb:/export/sapmnt/ECP /sapmnt/ECP
mount eccproddb:/export/usr/sap/trans /usr/sap/trans
附:/etc/hosts
# cat /etc/hosts
127.0.0.1 localhost loopback
10.10.20.1 eccprod1_boot1
10.10.30.1 eccprod1_boot2
172.18.1.151 eccprod1 eccprod1_per
172.18.1.153 eccprod
10.10.20.2 eccprod2_boot1
10.10.30.2 eccprod2_boot2
172.18.1.161 eccprod2 eccprod2_per
172.18.1.163 eccproddb
172.18.1.171 ECCDEV
172.18.1.172 ECCQAS
172.18.3.134 oa1_sys
172.18.3.136 mc1_sys
172.18.3.151 eccprod1_sys
172.18.3.161 eccprod2_sys
阅读(3233) | 评论(0) | 转发(0) |