documentasi from troublesome.......
--note--
scan menggunakan dns ( untuk settingan dns yang bagus menurut saya bisa mengacu ke sini )
--basic knowing--
yang perlu di perhatikan setelah editing adalah merefresh konfigurasi scan vip
--1--
cek konfigurasi awal
[oracle@cluster1 ~]$ srvctl config scan
SCAN name: cluster1-scan, Network: 1/12.168.1.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /12.168.1.2/12.168.1.2
SCAN VIP name: scan2, IP: /12.168.1.3/12.168.1.3
SCAN VIP name: scan3, IP: /11.168.1.1/11.168.1.1
SCAN name: cluster1-scan, Network: 1/12.168.1.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /12.168.1.2/12.168.1.2
SCAN VIP name: scan2, IP: /12.168.1.3/12.168.1.3
SCAN VIP name: scan3, IP: /11.168.1.1/11.168.1.1
--/kasus--
sekarang kita ingin merubah ip dari 11 ke 12
--2--
edit konfigurasi scan di DNS misal dalam grid.zone.nl( sesuaikan dengan settinga DNS masing 2)
cluster1-scan A 11.168.1.1
cluster1-scan A 12.168.1.2
cluster1-scan A 12.168.1.3
ubah menjadi :
cluster1-scan A 12.168.1.1
cluster1-scan A 12.168.1.2
cluster1-scan A 12.168.1.3
--3--
Restart DNS service
restart DNS service
[root@dns]# /etc/init.d/named restart
Reloading named: [ OK ]
[root@dns]# /etc/init.d/named restart
Reloading named: [ OK ]
--4--
tahapan terakhir adalah merefres settingan SCAN
[oracle@cluster1 ~]$ srvctl modify scan -n cluster1-scan
--cek n' jajal--
[root@cluster1 ~]# srvctl config scan
SCAN name: cluster1-scan, Network: 1/12.168.1.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /12.168.1.3/12.168.1.3
SCAN VIP name: scan2, IP: /12.168.1.1/12.168.1.1
SCAN VIP name: scan3, IP: /12.168.1.2/12.168.1.2
SCAN name: cluster1-scan, Network: 1/12.168.1.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /12.168.1.3/12.168.1.3
SCAN VIP name: scan2, IP: /12.168.1.1/12.168.1.1
SCAN VIP name: scan3, IP: /12.168.1.2/12.168.1.2
:done
source :
rachelp.nl
comment please ... ConversionConversion EmoticonEmoticon