728x90
-- public ip 변경(RAC)
$srvctl stop database -d orcl --서비스 중지
$oifcfg getif
eth1 10.10.10.0 global cluster_interconnect
eth0 192.168.79.0 global public
$oifcfg delif -global eth0
$oifcfg setif -global eth0/192.168.223.0:public
$oifcfg getif
eth1 10.10.10.0 global cluster_interconnect
eth0 192.168.223.0 global public
#crsctl stop crs
vi /etc/hosts --편집
|
-- private ip 변경
$oifcfg getif
eth1 10.10.10.0 global cluster_interconnect
eth0 192.168.223.0 global public
$oifcfg setif -global eth2/10.10.20.0:cluster_interconnect
$oifcfg getif
eth1 10.10.10.0 global cluster_interconnect
eth0 192.168.223.0 global public
eth2 10.10.20.0 global cluster_interconnect
#crsctl stop crs
ip 변경
vi /etc/host 변경
#crsctl start crs
$oifcfg delif -global eth1
$oifcfg getif
eth0 192.168.223.0 global public
eth2 10.10.20.0 global cluster_interconnect
$oifcfg setif -global eth1/10.10.20.0:cluster_interconnect
$oifcfg getif
eth0 192.168.223.0 global public
eth2 10.10.20.0 global cluster_interconnect
eth1 10.10.20.0 global cluster_interconnect
$oifcfg delif -global eth2
$oifcfg getif
eth0 192.168.223.0 global public
eth1 10.10.20.0 global cluster_interconnect
|
728x90
'ORACLE' 카테고리의 다른 글
[ORACLE] DBMS_METADATA.GET_DDL (0) | 2022.06.28 |
---|---|
[ORACLE] RAC Scan IP 추가, 제거, 변경 (1) | 2022.06.28 |
[ORACLE] DB LINK (1) | 2022.06.28 |
[ORACLE] ASMCMD 명령어 (0) | 2022.06.28 |
[ORACLE] TDE (0) | 2022.06.27 |