jeudi sept. 11, 2008

How to Run SunCluster cconsole Tool In OpenSolaris Indiana

The cconsole tool allow us to have multiple parallel connections (ssh, telnet or rlogin) to many UNIX servers. Unfortunately this tool is not able to run with OpenSolaris (Nevada or Indiana) because of missing libs. As I always need to work with cconsole, I use the following workaround to run it on OpenSolaris  20008.05.


Download package file from http://mpkgopensolaris.sourceforge.net/pkg/libcconsole-solaris-5.11-i86pc.pkg.bz2  and install it with with pkgadd (must be install in default location /opt/SUNWcluster):
# bunzip2 libcconsole-solaris-5.11-i86pc.pkg.bz2
# pkgadd -d ./libcconsole-solaris-5.11-i86pc.pkg


Now you can Install cconsole package (SUNWccon)  from your Solaris Cluster Express 6/08 x86 media available from opensolaris.org
# cd <media_dir>/Solaris_x86/Product/sun_cluster/Solaris_10/Packages
# pkgadd -d ./ SUNWccon

Add Followings lines in /etc/hosts
# echo "127.0.0.1    l1 l2 l3 l4 l5 l6 l7 l8" >> /etc/hosts

Create your cconsole configuration file
# cat > /etc/clusters << EOF
> n2 l1 l2
> n3 l1 l2 l3
> n4 l1 l3 l3 l4
> n5 l1 l2 l3 l4 l5
> n6 l1 l2 l3 l4 l5 l6
> n7 l1 l2 l3 l4 l5 l6 l7
> n8 l1 l2 l3 l4 l5 l6 l7 l8
> EOF


If you Want to use ctelnet Allow Telnet in you OpenSolaris desktop
# svcadm enable svc:/network/telnet:default

And for example if you need to have six parallel terminals with cssh just run the mcssh script instead:
# /opt/SUNWcluster/bin/mcssh n6


About

Jerome Blanchet

Search

Categories
Archives
« juillet 2014
lun.mar.mer.jeu.ven.sam.dim.
 
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
31
   
       
Today