# yum install nfs-utils nfs-utils-lib
# chkconfig nfs on
# mkdir -p /data/xdbha1
# vi /etc/hosts
------------------------------------------------------------------------------------------------
192.168.38.121 xdbha1 # 加入db server的ip與名稱
------------------------------------------------------------------------------------------------
# vi /etc/exports
------------------------------------------------------------------------------------------------
/data/xdbha1/ xdbha1(rw,no_root_squash,no_all_squash,sync)
------------------------------------------------------------------------------------------------
# service nfs start | stop | restart於各PostgreSQL Database機器上:
# vi /etc/hosts
------------------------------------------------------------------------------------------------
192.168.38.99 CBM # 加入CBM server的ip與名稱
------------------------------------------------------------------------------------------------
# mkdir -p /cbm_data
# showmount -e CBM
Export list for CBM:
/data/xdbha1 xdbha1
# mount -t nfs CBM:/data/xdbha1 /cbm_data測試後如果沒問題,就設定開機mount
# vi /etc/fstab
------------------------------------------------------------------------------------------------
CBM:/data/xdbha1 /cbm_data nfs rw 0 0
------------------------------------------------------------------------------------------------2.PG_RMAN:
沒有留言:
張貼留言