Listener Commands
Listener Commands
I)Aliasname
In primary
or use to view host details
cat /etc/hosts
IPAddress Hostname Alias
127.0.0.1 oracle11g
ifconfig
above these command ll give the details about our server machine IP address
details . now i'm going to edit ip address so pass the command has given below
S-4:
I 'm going to create new static ip before that we have to delete ip which has
been already appeared on it
=> Deactive => it 'll ask confirmation Press "YES" => Press "Delete"
S-5: Press "New " for creating new ip address => Forward
Press "Forward"
Choose Static ip option
Enter the ip details and Press "Forward"
Press "Apply"
Press "Active"
After Active our IP address
S-5: restart the network service
service network restart
S-6: go to tnsname.ora file and edit that file where it's located on
cd /u01/app/oracle/11.2.0.3/db_1/network/admin
(Note : Here firts one "TEST" is primary server db name ,second one
is "CLONE" enter the both ip address in tnsname file ) as the same
we have to enter on listener.ora file also
S-7: Ping Current ip
ping 192.168.1.4
In Standby side
S-8: now we go on "Standby" server side do the same steps from s-1 into
s-7 and i mentioned ip "192.168.1.5" also entered on tnsname.ora file
check the ping both ip addresses on each side
[oracle@oracle11g~]ping 192.168.1.4