BigAdmin System Administration Portal
Community-Submitted Tech Tip
Print-friendly VersionPrint-friendly Version
This content is submitted by a BigAdmin user. It has not been reviewed for technical accuracy by Sun Microsystems, though it may have been lightly edited to improve readability. If you find an error or would like to comment on the article, please contact the submitter or use the comment field at the bottom of the article. Community submissions may not follow Sun trademark guidelines. For information on Sun trademarks, please see http://www.sun.com/suntrademarks/.
 
 

Setting Up crlogin to Work via SSH Using Sun Cluster 3.0/3.1 Software

Alec Effrat, October 2007

This tech tip provides five easy steps for using SSH with crlogin, which makes it easier to administer multiple servers or clusters. This information applies to Sun Cluster 3.0 and 3.1 software on the Solaris OS for SPARC platforms, release 9 and above.

1. Install the Cluster Console package on your workstation:

pkgadd -d
somepath/suncluster_3_1_u1/SunCluster_3.1/Sol_9/Packages/ SUNWccon

2. Find some place in your $PATH that is before the system /usr/bin/rlogin binary. I use ~/bin.

~/bin <22>$ echo $PATH | tr ':' '\n'
  /space/home/alec/adabas/bin
  /space/home/alec/adabas/pgm
  /space/home/alec/bin
  /usr/local/bin
  /usr/sbin
  /usr/bin
  /usr/ucb
  ...

3. Place the following script in that path:

~/bin <8>$ cat rlogin
#!/bin/sh /usr/bin/ssh $*
~/bin <9>$ chmod a+rx rlogin

4. Set up your /etc/clusters file:

~/bin <11>$ cat /etc/clusters
tst tsteast tstwest
prod prodeast prodwest

5. Invoke the Cluster Console using a command similar to the following. Using -x makes the sessions start up faster by disabling X11 forwarding.

Warning: Doing this will make all rlogin invocations use SSH, but that is a desired side effect.

/opt/SUNWcluster/bin/crlogin -x -l username clustername
The information and links on this page have been provided by a BigAdmin user. The submitter is solely responsible for such information and links. Sun is not responsible for the availability of external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. Sun will not be responsible or liable, directly or indirectly, for any actual or alleged damage or loss caused by or in connection with use of or reliance on the information posted here, or goods or services available on or through any external site or resource.
 
 

Comments (latest comments first)

Discuss and comment on this resource in the BigAdmin Wiki

Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License.


BigAdmin
  
 
BigAdmin Upgrade Hub