Monday, March 28, 2011

Installing RAC on RHL 5 on vmware server of windows xp

Installing RAC on RHL 5 on vmware server of windows xp try at home - by aravind babu G - Page3


after creating raw devices
create links to those and give oracle as owner
to create link to raw device lets say for VD
ln -s /dev/raw/raw1 /vd
chown oracle:dba /dev/raw/raw1
do the same for all raw devices on both nodes
update hosts files name the created IPs with private virtual hostnames
lets say in /etc/hosts
192.168.1.1 node1 node1-vip
192.168.100.1 node1-priv
here first one is having node1 as public IP and node1-vip is pointing to the same
and private ip hostname is node1-priv
the above is for node1 information and include the node2 information also in the same way
for 192.168.1.2 node2 node2-vip
192.168.100.2 node2-priv
test pings on both nodes

then configure user equivalency thru ssh configuration
check for sshd running or not thru service command
or pgrep command
create rsa and dsa keys
first create a .ssh folder at oracle home as oracle user
ssh-keygen -t rsa
ssh-keygen -t dsa
to create keys
then goto .ssh and create authorized_keys file
do the same on both nodes
copy id_rsa.pub key of .ssh folder to authorized_keys file in the same id_dsa.pub file also into authorized_keys file

in the same way copy node2 rsa and dsa public keys to authorized_keys file

each time when u start ur nodes run the follwing
ssh-agent #SHELL
ssh-add
for both nodes and then check ssh working or not by typing lets say
ssh node1 date should display date without asking password
ssh node2 date also from both nodes

download oracle 11g clusterware software

No comments:

Post a Comment