Operating System - HP-UX
1833433 Members
3023 Online
110052 Solutions
New Discussion

Connecting hpux servers using Hummingbird Connectivity 10

 
SOLVED
Go to solution
Shivkumar
Super Advisor

Connecting hpux servers using Hummingbird Connectivity 10

Hi,

I use Hummingbird Connectivity 10 to connect to HPUX Servers.
I have used Exceed x Client Wizard to connect to the servers of the above software.

Usually i have to login to almost 15 servers in a day.

I was trying to configure xterm showing title of each connected host on the xterm so that i can just
click on them to open any particular host.

Sometime ago someone suggested some way but it didn't work.

I want to connect all 15 hosts in the morning and login to the desired host by just clicking on
shortcuts of xterm.

Appreciate any suggestion.

Thanks,
Shiv
4 REPLIES 4
Coolmar
Esteemed Contributor
Solution

Re: Connecting hpux servers using Hummingbird Connectivity 10

Hi Shiv,

Here is what I do and it works very well for me. I just have to type the name of the sytem and an hpterm or xterm (whatever you want) pops up and the colours are random. So here is what you do, hopefully I don't forget anything:

1. Add the following to your .profile

COLOUR=/homedir/bin/colour.pl (attached)
GEO="-geometry 100x40+150+20"
XT=
alias servera="$XT -ls -fg white -bg `$COLOUR` -title SERVERA -sb -sl 200 $GEO -e ssh cipo-ux1 &"
alias serverb="$XT -ls -fg white -bg `$COLOUR` -title SERVERB -sb -sl 200 $GEO -e ssh cipo-ux2 &"
alias serverc="$XT -ls -fg white -bg `$COLOUR` -title SERVERC -sb -sl 200 $GEO -e ssh cipo-ux3 &"

Add one of the above lines for each server - modify "servera and SERVERA" to whatever your server names are or waht you want to call them.

2. copy and paste colour.pl (below), save it to your $HOME/bin

3. I have attached colours.dict, save it to your $HOME/etc - modify this if you want to only be colours you want for your backgrounds

Now, you will have to get one session going, and then you should be able to just type your server name you set up (alias) in your profile and a window should pop up...the window will be labelled with whatever you called it (SERVERA SERVERB) in .profile.


colour.pl:

#! /opt/perl/bin/perl -w

#my $ME = $0;
#$ME = ~ s,.*/,,;

my $VERSION = (qw$Revision: 1.7 $) [-1];
my $dict = "/homedir/etc/colours.dict";

my @words = ();

open (DICT, "<$dict")
or die "Cannot open file $dict, for reading: $!\n\n";

while(){
chomp;
push (@words,$_);
}
close(DICT);

my $i = int(rand($#words));
my $word = qq/$words[$i]/;
print($word);

exit;
Coolmar
Esteemed Contributor

Re: Connecting hpux servers using Hummingbird Connectivity 10

I also wanted to add that I have my Exceed set to "passive" mode and multiple windows...although you don't have to do that. If you are logging right into CDE, you may have to setup the .dtprofile with the info rather than the .profile. YOu will have to play with that as I don't do it that way.
Also, you can add to your profile to open each server so that you don't have to sit there and type all 40 aliases manually.
Raj D.
Honored Contributor

Re: Connecting hpux servers using Hummingbird Connectivity 10

Shiv,

You can check this configuration guide for Exceed.

http://www.udel.edu/topics/connect/sw/exceed/docs-7.1/UD-Exceed-configuring.html

hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Sp4admin
Trusted Contributor

Re: Connecting hpux servers using Hummingbird Connectivity 10

Hi Shiv,

You can just create a folder containing the profile for each server in hummingbird. You just set them up once and place the folder on you toolbat on your laptop. The just poin and click an the logon window will appear.

sp,