이 페이지의 이전 버전을 보고 있습니다. 현재 버전 보기.

현재와 비교 페이지 이력 보기

« 이전 버전 2 다음 »

 

 

 

 

 

 

 

 

 

vi /etc/sysconfig/network
HOSTNAME=rac2.localdomain
vi .bash_profile
export ORACLE_HOSTNAME=rac2.localdomain
export ORACLE_SID=racdb2
vi .db_env
export ORACLE_SID=racdb2
vi .grid_env
export ORACLE_SID=+ASM2
vi /etc/inittab
id:3:initdefault:
reboot
ping -c 3 rac1
ping -c 3 rac1-priv
ping -c 3 rac2
ping -c 3 rac2-priv
nslookup rac-scan
nslookup rac-scan
nslookup rac-scan
ssh rac1 date
ssh rac1-priv date
ssh rac2 date
ssh rac2-priv date
[root@rac1 ~]# ping -c 3 rac1
PING rac1.localdomain (10.0.1.101) 56(84) bytes of data.
64 bytes from rac1.localdomain (10.0.1.101): icmp_seq=1 ttl=64 time=0.038 ms
64 bytes from rac1.localdomain (10.0.1.101): icmp_seq=2 ttl=64 time=0.051 ms
64 bytes from rac1.localdomain (10.0.1.101): icmp_seq=3 ttl=64 time=0.048 ms

--- rac1.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 0.038/0.045/0.051/0.009 ms

[root@rac1 ~]# ping -c 3 rac1-priv
PING rac1-priv.localdomain (10.0.2.101) 56(84) bytes of data.
64 bytes from rac1-priv.localdomain (10.0.2.101): icmp_seq=1 ttl=64 time=0.031 ms
64 bytes from rac1-priv.localdomain (10.0.2.101): icmp_seq=2 ttl=64 time=0.067 ms
64 bytes from rac1-priv.localdomain (10.0.2.101): icmp_seq=3 ttl=64 time=0.047 ms

--- rac1-priv.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2006ms
rtt min/avg/max/mdev = 0.031/0.048/0.067/0.015 ms
 
[root@rac1 ~]# ping -c 3 rac2
PING rac2.localdomain (10.0.1.102) 56(84) bytes of data.
64 bytes from rac2.localdomain (10.0.1.102): icmp_seq=1 ttl=64 time=0.832 ms
64 bytes from rac2.localdomain (10.0.1.102): icmp_seq=2 ttl=64 time=0.768 ms
64 bytes from rac2.localdomain (10.0.1.102): icmp_seq=3 ttl=64 time=0.611 ms

--- rac2.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2007ms
rtt min/avg/max/mdev = 0.611/0.737/0.832/0.092 ms

[root@rac1 ~]# ping -c 3 rac2-priv
PING rac2-priv.localdomain (10.0.2.102) 56(84) bytes of data.
64 bytes from rac2-priv.localdomain (10.0.2.102): icmp_seq=1 ttl=64 time=0.753 ms
64 bytes from rac2-priv.localdomain (10.0.2.102): icmp_seq=2 ttl=64 time=0.807 ms
64 bytes from rac2-priv.localdomain (10.0.2.102): icmp_seq=3 ttl=64 time=0.859 ms

--- rac2-priv.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2007ms
rtt min/avg/max/mdev = 0.753/0.806/0.859/0.049 ms

[root@rac1 ~]# nslookup rac-scan
Server:		10.0.1.101
Address:	10.0.1.101#53

Name:	rac-scan.localdomain
Address: 10.0.1.123
Name:	rac-scan.localdomain
Address: 10.0.1.121
Name:	rac-scan.localdomain
Address: 10.0.1.122

[root@rac1 ~]# nslookup rac-scan
Server:		10.0.1.101
Address:	10.0.1.101#53

Name:	rac-scan.localdomain
Address: 10.0.1.121
Name:	rac-scan.localdomain
Address: 10.0.1.122
Name:	rac-scan.localdomain
Address: 10.0.1.123

[root@rac1 ~]# nslookup rac-scan
Server:		10.0.1.101
Address:	10.0.1.101#53

Name:	rac-scan.localdomain
Address: 10.0.1.122
Name:	rac-scan.localdomain
Address: 10.0.1.123
Name:	rac-scan.localdomain
Address: 10.0.1.121
 
[root@rac1 ~]# ssh rac1 date
The authenticity of host 'rac1 (10.0.1.101)' can't be established.
RSA key fingerprint is b7:ce:cc:0c:bb:b7:76:52:f5:ba:e4:ec:88:aa:03:95.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac1,10.0.1.101' (RSA) to the list of known hosts.
root@rac1's password: 
2014. 06. 07. (토) 01:05:00 KST

[root@rac1 ~]# ssh rac1-priv date
The authenticity of host 'rac1-priv (10.0.2.101)' can't be established.
RSA key fingerprint is b7:ce:cc:0c:bb:b7:76:52:f5:ba:e4:ec:88:aa:03:95.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac1-priv,10.0.2.101' (RSA) to the list of known hosts.
root@rac1-priv's password: 
2014. 06. 07. (토) 01:05:27 KST


[root@rac1 ~]# ssh rac2 date
The authenticity of host 'rac2 (10.0.1.102)' can't be established.
RSA key fingerprint is b7:ce:cc:0c:bb:b7:76:52:f5:ba:e4:ec:88:aa:03:95.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac2,10.0.1.102' (RSA) to the list of known hosts.
root@rac2's password: 
2014. 06. 07. (토) 01:05:30 KST
 
[root@rac1 ~]# ssh rac2-priv date
The authenticity of host 'rac2-priv (10.0.2.102)' can't be established.
RSA key fingerprint is b7:ce:cc:0c:bb:b7:76:52:f5:ba:e4:ec:88:aa:03:95.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac2-priv,10.0.2.102' (RSA) to the list of known hosts.
root@rac2-priv's password: 
2014. 06. 07. (토) 01:05:49 KST
[root@rac2 ~]# ping -c 3 rac1
PING rac1.localdomain (10.0.1.101) 56(84) bytes of data.
64 bytes from rac1.localdomain (10.0.1.101): icmp_seq=1 ttl=64 time=0.709 ms
64 bytes from rac1.localdomain (10.0.1.101): icmp_seq=2 ttl=64 time=0.708 ms
64 bytes from rac1.localdomain (10.0.1.101): icmp_seq=3 ttl=64 time=0.671 ms

--- rac1.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2009ms
rtt min/avg/max/mdev = 0.671/0.696/0.709/0.017 ms

[root@rac2 ~]# ping -c 3 rac1-priv
PING rac1-priv.localdomain (10.0.2.101) 56(84) bytes of data.
64 bytes from rac1-priv.localdomain (10.0.2.101): icmp_seq=1 ttl=64 time=0.441 ms
64 bytes from rac1-priv.localdomain (10.0.2.101): icmp_seq=2 ttl=64 time=0.704 ms
64 bytes from rac1-priv.localdomain (10.0.2.101): icmp_seq=3 ttl=64 time=0.716 ms

--- rac1-priv.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2006ms
rtt min/avg/max/mdev = 0.441/0.620/0.716/0.128 ms

[root@rac2 ~]# ping -c 3 rac2
PING rac2.localdomain (10.0.1.102) 56(84) bytes of data.
64 bytes from rac2.localdomain (10.0.1.102): icmp_seq=1 ttl=64 time=0.026 ms
64 bytes from rac2.localdomain (10.0.1.102): icmp_seq=2 ttl=64 time=0.048 ms
64 bytes from rac2.localdomain (10.0.1.102): icmp_seq=3 ttl=64 time=0.047 ms

--- rac2.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.026/0.040/0.048/0.011 ms

[root@rac2 ~]# ping -c 3 rac2-priv
PING rac2-priv.localdomain (10.0.2.102) 56(84) bytes of data.
64 bytes from rac2-priv.localdomain (10.0.2.102): icmp_seq=1 ttl=64 time=0.023 ms
64 bytes from rac2-priv.localdomain (10.0.2.102): icmp_seq=2 ttl=64 time=0.044 ms
64 bytes from rac2-priv.localdomain (10.0.2.102): icmp_seq=3 ttl=64 time=0.046 ms

--- rac2-priv.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2006ms
rtt min/avg/max/mdev = 0.023/0.037/0.046/0.012 ms

[root@rac2 ~]# nslookup rac-scan
Server:		10.0.1.102
Address:	10.0.1.102#53

Name:	rac-scan.localdomain
Address: 10.0.1.123
Name:	rac-scan.localdomain
Address: 10.0.1.121
Name:	rac-scan.localdomain
Address: 10.0.1.122

[root@rac2 ~]# nslookup rac-scan
Server:		10.0.1.102
Address:	10.0.1.102#53

Name:	rac-scan.localdomain
Address: 10.0.1.121
Name:	rac-scan.localdomain
Address: 10.0.1.122
Name:	rac-scan.localdomain
Address: 10.0.1.123

[root@rac2 ~]# nslookup rac-scan
Server:		10.0.1.102
Address:	10.0.1.102#53

Name:	rac-scan.localdomain
Address: 10.0.1.122
Name:	rac-scan.localdomain
Address: 10.0.1.123
Name:	rac-scan.localdomain
Address: 10.0.1.121

[root@rac2 ~]# ssh rac1 date
The authenticity of host 'rac1 (10.0.1.101)' can't be established.
RSA key fingerprint is b7:ce:cc:0c:bb:b7:76:52:f5:ba:e4:ec:88:aa:03:95.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac1,10.0.1.101' (RSA) to the list of known hosts.
root@rac1's password: 
2014. 06. 07. (토) 01:10:04 KST

[root@rac2 ~]# ssh rac1-priv date
The authenticity of host 'rac1-priv (10.0.2.101)' can't be established.
RSA key fingerprint is b7:ce:cc:0c:bb:b7:76:52:f5:ba:e4:ec:88:aa:03:95.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac1-priv,10.0.2.101' (RSA) to the list of known hosts.
root@rac1-priv's password: 
2014. 06. 07. (토) 01:10:16 KST

[root@rac2 ~]# ssh rac2 date
The authenticity of host 'rac2 (10.0.1.102)' can't be established.
RSA key fingerprint is b7:ce:cc:0c:bb:b7:76:52:f5:ba:e4:ec:88:aa:03:95.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac2,10.0.1.102' (RSA) to the list of known hosts.
root@rac2's password: 
2014. 06. 07. (토) 01:10:25 KST

[root@rac2 ~]# ssh rac2-priv date
The authenticity of host 'rac2-priv (10.0.2.102)' can't be established.
RSA key fingerprint is b7:ce:cc:0c:bb:b7:76:52:f5:ba:e4:ec:88:aa:03:95.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'rac2-priv,10.0.2.102' (RSA) to the list of known hosts.
root@rac2-priv's password: 
2014. 06. 07. (토) 01:10:34 KST
  • 레이블 없음