Author |
Message
|
tessmonsta |
Posted: Thu Aug 31, 2006 5:56 am Post subject: [SOLVED] VMWare QM to VMWare QM |
|
|
 Apprentice
Joined: 06 Mar 2006 Posts: 29
|
Okay, so here's the problem:
I have a VMWare image with the following configuration: Windows XP SP2 and WebSphere MQ 6.0.1.1. I'm running this image on two different machines using the VMWare player (NOT the workstation). I would like to set up channel communication between these two queue managers, but I'm not having any luck.
Both images connect to the internet easily, I can even ping the other host machine on the network. Nevertheless, I can't connect the two queue managers. I've tried each of VMware's network modes, and still nothing has happened. What am I doing wrong? _________________ "If you meet the Buddha, kill the Buddha." - Lin Chi
Last edited by tessmonsta on Thu Aug 31, 2006 9:12 am; edited 1 time in total |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 31, 2006 6:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
can you telnet between the two machines? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Thu Aug 31, 2006 6:31 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
Hmmm - are the listeners running, do you use the correct port numbers, channel defined correctly...
Try a PING CHANNEL(...) _________________ Regards
Hubert |
|
Back to top |
|
 |
tessmonsta |
Posted: Thu Aug 31, 2006 6:51 am Post subject: |
|
|
 Apprentice
Joined: 06 Mar 2006 Posts: 29
|
jefflowrey wrote: |
can you telnet between the two machines? |
I can ping the the machines from within the image and on the host OS. There's no telnet server running on either the host OS or the image on either physical machine.
A coworker suggested that I try telnetting in to the machine using the port of the virtual queue manager listener. But telnet <physical_IP> 1414 doesn't seem to work. Both virtual queue managers are up, and both have listeners running on port 1414.
Port 1414 is open on both physical machines and both virtual systems. _________________ "If you meet the Buddha, kill the Buddha." - Lin Chi |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Thu Aug 31, 2006 6:59 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
Do you have something like a firewall or port filtering? _________________ Regards
Hubert |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 31, 2006 7:00 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Can you use amqscnxc within one machine to connect to the qmgr on that machine?
Can you use amqscnxc on the Host OS to connect to the qmgr on one of the machines?
Also, if you telnet to the Listener port, then all you will see on the telnet client side is either a connection failure or nothing if the connection succeeds.
If you don't get a connection failure, then you have connected to the listener port. You can enter in any text, and unless you have randomly hit on the MQ protocol, the queue manager will throw an FDC. So then you can see that you connected to the queue manager and not just the port. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Aug 31, 2006 7:26 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Answer this:
If you have VM Machine A (VMA) running on host A and VM Machine B (VMB) running on host B, can you ping from VMA to VMB and from VMB to VMA? Its not clear from the above posts ....
What type of network have you defined in VMWare? Bridged? Host only? NAT? It needs to be "bridged" to do what you want..... _________________ -wayne |
|
Back to top |
|
 |
tessmonsta |
Posted: Thu Aug 31, 2006 7:48 am Post subject: |
|
|
 Apprentice
Joined: 06 Mar 2006 Posts: 29
|
I'm not familiar with amqscnxc.
Telnet gives me a connection failure on both systems. The images do have the windows firewall enabled, but I had opened port 1414. _________________ "If you meet the Buddha, kill the Buddha." - Lin Chi |
|
Back to top |
|
 |
tessmonsta |
Posted: Thu Aug 31, 2006 7:50 am Post subject: |
|
|
 Apprentice
Joined: 06 Mar 2006 Posts: 29
|
wschutz wrote: |
Answer this:
If you have VM Machine A (VMA) running on host A and VM Machine B (VMB) running on host B, can you ping from VMA to VMB and from VMB to VMA? Its not clear from the above posts ....
What type of network have you defined in VMWare? Bridged? Host only? NAT? It needs to be "bridged" to do what you want..... |
I can ping:
A to B
VMA to B
VMB to A
Everything else times out.
The network on the VMWare player is configured to Bridged. _________________ "If you meet the Buddha, kill the Buddha." - Lin Chi |
|
Back to top |
|
 |
wschutz |
Posted: Thu Aug 31, 2006 7:54 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
What about ping A to VMA and B to VMB? _________________ -wayne |
|
Back to top |
|
 |
zpat |
Posted: Thu Aug 31, 2006 7:56 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Turn off the firewalls and try again. |
|
Back to top |
|
 |
tessmonsta |
Posted: Thu Aug 31, 2006 7:58 am Post subject: |
|
|
 Apprentice
Joined: 06 Mar 2006 Posts: 29
|
wschutz wrote: |
What about ping A to VMA and B to VMB? |
I'm a little unclear where to get the IP address from. Do I run an ipconfig inside the VM image? If so do I used interface 1 or 8? Furthermore, if I go to the host OS and get the properties of the adapters from the connections window I get another set of IP addresses.
In all the above IPs, pinging from within each image or from the host OS is unsuccessful. _________________ "If you meet the Buddha, kill the Buddha." - Lin Chi |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Thu Aug 31, 2006 8:23 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
Do you use the correct outgoing IP address? Maybe you have to set the LOCLADDR attribute? _________________ Regards
Hubert |
|
Back to top |
|
 |
tessmonsta |
Posted: Thu Aug 31, 2006 9:10 am Post subject: |
|
|
 Apprentice
Joined: 06 Mar 2006 Posts: 29
|
zpat wrote: |
Turn off the firewalls and try again. |
Now that's interesting. Using the IP address that ipcofig gives within the VM, with the VM firewalls down, my channels come up without complaint.
When I reenabled the firewall and restarted the player it still worked. And I didn't change any of the exceptions! _________________ "If you meet the Buddha, kill the Buddha." - Lin Chi |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 31, 2006 9:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The VM is going to have a different IP address than the Host.
If you do "ipconfig /all" on the host, you will see all the interfaces for that host.
If you do "ifconfig" on the VM machine, it should only show you the main IP. If it shows you two, then try both and see which one works... I suspect it will be VMNet8. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|