Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeConfluence
languagebash
[oracle@avisit01]$cd $HOME 
 [oracle@avisit01]$vi .rhosts

In this example avisit01 is the primary server and avisit03 is the standby server

Add the name of the standby server. Add the alias as well as the fully qualified name.

Round Rectanglecode
100
bgcolorthemeGreyConfluence
width50
heightlanguagebash
avisit03.avisit.co.nz oracle


avisit03 oracle

 

...

In this example avisit01 is the primary server and avisit03 is the standby server

Exit out of vi and change the permission on the .rhosts file to rw for the owner only:

Code Block
themeConfluence
languagebash
[oracle@avisit01]$chmod 600 .rhosts

In this example avisit01 is the primary server and avisit03 is the standby server

On the standby server:

Code Block
themeConfluence
languagebash
[oracle@avisit03]$cd $HOME

...

 
[oracle@avisit03]$vi .rhosts

In this example avisit01 is the primary server and avisit03 is the standby server server 

Add the name of the standby server. Add the alias as well as the fully qualified name.

Code Block
themeConfluence
languagebash
avisit01.avisit.co.nz oracle

...

 
avisit01 oracle

In this example avisit01 is the primary server and avisit03 is the standby server

Exit out of vi and change the permission on the the .rhosts file to  file to rw for  for the owner only:

Code Block
themeConfluence
languagebash
[oracle@avisit03]$chmod 600 .rhosts

In this example avisit01 is the primary server and avisit03 is the standby server

To test the rsh execute the following command on the standby server:

Code Block
themeConfluence
languagebash
[oracle@avisit03]$rsh avisit01 ls

...

 
 ..

...

 
 ..

In this example avisit01 is the primary server and avisit03 is the standby server

To test the rsh execute the following command on the primary server:

Code Block
themeConfluence
languagebash
[oracle@avisit03]$rsh avisit01 ls

...

 
 ..

...

 
 ..

In this example avisit01 is the primary server and avisit03 is the standby server server 


RSH is now setup and configured. For more information on rsh, please consult the man pages in Unix or Linux.