Sun Cluster Console - How it simplifies life even if you don't use Sun Cluster

Recently I am working with about 6 Sun Fire V440 connected to many 3510s and one of the pains is doing repetitive steps on all the 6 servers.

Enter Sun Cluster Console (part of Sun Java Enterprise System).

Basically what you need is SUNWcconsol package which after installation is available at /opt/SUNWcluster.

You have to try out /opt/SUNWcluster/bin/ctelnet.

After making sure I had the right display permissions/settings, I did

$ ctelnet v440-1 v440-2 v440-3 v440-4 v440-5 v440-6 &

It pops up 6 terminal screens and a small window containing a text box and few menu options . When I type in the small box it gets typed in all the 6 terminals. This way I can log into all the servers at the same time and do repetitive steps on all of them simultaneously saving me tremendous amount of time.

You can use the menu options to temporarily not type into any specific host and reset it back to normal later on. A tremendous time saver when you have to setup multiple boxes say for GRID or CLUSTER or HPC or DB2 DPF.

crlogin and cconsole are also available.

Comments:

This type of thing can also be accomplished with SSH and public/private keys. Using the same setup files can be pushed to all hosts via scp.

Posted by Mike Marschall on April 26, 2005 at 12:47 PM EDT #

Mike, While you can scp files to multiple machines, im not aware of a ctelnet like solution that uses ssh? I was just going to comment - does anybody still actually use telnet? a solution that uses ssh - or was a bit more pluggable regarding connections (nc tunnelled shells, etc) would be neat. -Justin

Posted by Justin Shaffer on April 27, 2005 at 10:06 AM EDT #

good afternoon, I fully agree that telnet has gone, ssh should be the default imho. Anyway I use for a long time the SUNWcconsol package, you just have to ssh to the hosts that you want to want to connect and it is really useful (I am actually surprised that there is no other product that does this as part of the OS core utilities). see you, eric

Posted by Eric Grancher on May 01, 2005 at 07:34 AM EDT #

there should be a SSH solution but I don't see one. so I binary-edit the telnet to make it launch ssh instead..

Posted by Bob T on October 01, 2009 at 04:30 AM EDT #

Actually I wrote something called massh. It is a shell script that does parallel ssh'ing and has a lot of cool features. email me mmarschall at mac . com and I will send you a copy.

Mike

Posted by Mike Marschall on February 23, 2010 at 09:27 AM EST #

Post a Comment:
Comments are closed for this entry.
About

Jignesh Shah is Principal Software Engineer in Application Integration Engineering, Oracle Corporation. AIE enables integration of ISV products including Oracle with Unified Storage Systems. You can also follow me on my blog http://jkshah.blogspot.com

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today