Operating System - HP-UX
1754372 Members
3230 Online
108813 Solutions
New Discussion юеВ

HyperFabric configuration

 
Marius Pana_1
Regular Advisor

HyperFabric configuration

Hi all,

Ive just set-up a point-to-point configuration between 2 rc1620's. Everything seems ok except for the fact that it is not clear what I should write in /etc/hosts. I have added the ip addresses which I gave to the HP's but when I try to clic_probe them it says host unknown. If I clic_diag the system name it works fine. Also if I just ping the addresses it work. Any ideas on whats going on?

Here is my /etc/hosts on sric-hub1:

99.100.1.169 sric-hub1.bnr.ro sric-hub1 # this is lan0
192.168.100.1 sric-hub1.bnr.ro.vip sric-hub1.vip # this is clic0 on localhost
192.168.100.2 sric-hub2.bnr.ro.vip sric-hub2.vip # this is clic0 on second host

The file is the same on sric-hub2 and pinging between sric-hubX-vip works but clic_probe sric-hubX-vip does not.

Many thanks!
"The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes, that's it." --Linus Torvalds
26 REPLIES 26
Luk Vandenbussche
Honored Contributor

Re: HyperFabric configuration

Hi,

Can you ping on IP adress, instead of hostname?

Check

/etc/resolv.conf
/etc/nsswitch.conf
Marius Pana_1
Regular Advisor

Re: HyperFabric configuration

I can ping on ip-address and hostname. I just cant use clic_probe with the value I have set in /etc/hosts for the clic interfaces.

Here is the results of ping and clic_probe:

bash-3.00# ping sric-hub1-vip
PING sric-hub1-vip.bnr.ro: 64 byte packets
64 bytes from 192.168.100.1: icmp_seq=0. time=0. ms
64 bytes from 192.168.100.1: icmp_seq=1. time=0. ms

bash-3.00# clic_probe sric-hub2-vip
CLIC_PROBE: 256 byte packets
Source adapter id: sric-hub2.bnr.ro:clic0
Target adapter id: :

The node sric-hub2-vip is unknown.
The node sric-hub2-vip is unknown.
--------- sric-hub2.bnr.ro CLIC_PROBE Statistics --------
2 packets transmitted, 0 packets received, 100% packet loss.
"The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes, that's it." --Linus Torvalds
Enrico P.
Honored Contributor

Re: HyperFabric configuration

Hi,
by the Managing Hyperfabric Manual:


You have this situation:

node1 with clic0_1
node2 with clic0_2

To test local connettivity:

nodo1:clic_probe -l -c clic0_1

If you need to verify communication with the other node:

clic_probe node2

To test connectivity with nodo2 and nodo1 using the clic0_1 on the nodo1:

clic_probe node2 -c clic0_1

Hope this help you

Enrico
Enrico P.
Honored Contributor

Re: HyperFabric configuration

Marius Pana_1
Regular Advisor

Re: HyperFabric configuration

I have the document but something is not very clear to me..obviously 8-)

# sric-hub1 /etc/hosts
99.100.1.169 sric-hub1.bnr.ro sric-hub1
99.100.1.170 sric-hub2.bnr.ro sric-hub2
192.168.100.1 sric-hub1-vip.bnr.ro sric-hub1-vip
192.168.100.2 sric-hub2-vip.bnr.ro sric-hub2-vip

# sric-hub2 /etc/hosts
99.100.1.170 sric-hub2.bnr.ro sric-hub2
99.100.1.169 sric-hub1.bnr.ro sric-hub1
192.168.100.1 sric-hub1-vip.bnr.ro sric-hub1-vip
192.168.100.2 sric-hub2-vip.bnr.ro sric-hub2-vip

I do not have clic0_1 and clic0_2, it gives me an error. I should be able to do the following from sric-hub2:

# clic_probe sric-hub2-vip and it should work. Un fortunately it does not with the following error:
bash-3.00# clic_probe sric-hub2-vip
CLIC_PROBE: 256 byte packets
Source adapter id: sric-hub1.bnr.ro:clic0
Target adapter id: :

The node sric-hub2-vip is unknown.
The node sric-hub2-vip is unknown.
--------- sric-hub1.bnr.ro CLIC_PROBE Statistics --------
2 packets transmitted, 0 packets received, 100% packet loss.

# I do not know if this is normal behavior bu t why does sric-hub2 respond?


bash-3.00# clic_probe sric-hub2
CLIC_PROBE: 256 byte packets
Source adapter id: sric-hub1.bnr.ro:clic0
Target adapter id: sric-hub2.bnr.ro:clic0

256 bytes: seq_num = 1. Packet Acknowledged.
256 bytes: seq_num = 2. Packet Acknowledged.
--------- sric-hub1.bnr.ro CLIC_PROBE Statistics --------
2 packets transmitted, 2 packets received, 0% packet loss.

Once we start using the interconnect what do I specify: sric-hub2 or sric-hub2-vip? sric-hub2 is the ethernet which is totally different IP.!?

Many thanks for all the help!


"The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes, that's it." --Linus Torvalds
Enrico P.
Honored Contributor

Re: HyperFabric configuration

OK,
the names clic0-1 clic0_2 were for examples purpouse.

I don' t know the hyperfabric command but for me you test you need is the follow:

From sric-hub1

sric-hub1: clic_probe sric-hb2
sric-hub1: clic_probe -l -c sric-hub1-vip
sric-hub1: clic_probe sric-hb2 -c sric-hub1-vip

From sric-hub2

sric-hub1: clic_probe sric-hb1
sric-hub1: clic_probe -l -c sric-hub2-vip
sric-hub1: clic_probe sric-hb1 -c sric-hub2-vip

If this work fine you are OK

Enrico
Marius Pana_1
Regular Advisor

Re: HyperFabric configuration

Still fails.

>sric-hub1: clic_probe sric-hb2
This command works

>sric-hub1: clic_probe -l -c sric-hub1-vip
This command fails with :

Local Loopback: Source and Target Adapter ID: sric-hub1.bnr.ro:

The adapter sric-hub1-vip is unknown

>sric-hub1: clic_probe sric-hb2 -c sric-hub1-vip
Same as above

"The Linux philosophy is 'Laugh in the face of danger'. Oops. Wrong One. 'Do it yourself'. Yes, that's it." --Linus Torvalds
Enrico P.
Honored Contributor

Re: HyperFabric configuration

Fail also with the domain name?

From sric-hub1

sric-hub1: clic_probe sric-hub2
sric-hub1: clic_probe -l -c sric-hub1.bnr.ro.vip
sric-hub1: clic_probe sric-hb2 -c sric-hub1.bnr.ro.vip

From sric-hub2

sric-hub1: clic_probe sric-hub1
sric-hub1: clic_probe -l -c sric-hub2.bnr.ro.vip
sric-hub1: clic_probe sric-hb2 -c sric-hub2.bnr.ro.vip

Enrico
Enrico P.
Honored Contributor

Re: HyperFabric configuration

Have you created the configuration file /etc/rc.config.d/clic_global_conf with the clic_init command?

Enrico