2006. 10. 24. 09:13 오라클
Oracle 10g VIP 변경, 이중화
Oracle 10g에서 vip 를 바꾸어보자.
vip 변경
=================================================================
ex)
srvctl stop database -d promise
srvctl stop nodeapps -n promise1
srvctl stop nodeapps -n promise2
crsctl stop crs (root user)
srvctl modify nodeapps -n mynode1 -A 138.2.166.152/255.255.255.0/lan1 (root user)
crsctl start crs (root user)
srvctl start nodeapps -n promise1
srvctl start nodeapps -n promise2
srvctl start database -d promise
================================================================
vip 이중화
================================================================
srvctl modify nodeapps -n mynode1 -A 138.2.166.152/255.255.255.0/lan1/lan2 (root user로) <- 요기 파란색부분이 중요함..(첫번째 놈,두번째 놈 순서대로)
MC/SG lancard failover 구성해 놓고 oracle에서 lancard failover 셋팅해 놓지 않으면 무용지물이라고 함.
ex)
srvctl stop database -d promise
srvctl stop nodeapps -n promise1
srvctl stop nodeapps -n promise2
crsctl stop crs (root user)
srvctl modify nodeapps -n mynode1 -A 138.2.166.152/255.255.255.0/lan1\lan2 (root user)
srvctl modify nodeapps -n mynode1 -A 138.2.166.153/255.255.255.0/lan1\lan2 (root user)
crsctl start crs (root user)
srvctl start nodeapps -n promise1
srvctl start nodeapps -n promise2
srvctl start database -d promise