Topic
  • 43 replies
  • Latest Post - ‏2015-11-06T01:50:45Z by Rajesh madhavan
eai_user
eai_user
11 Posts

Pinned topic xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

‏2013-05-14T14:04:36Z |

 

Hello,
 
I am using VMWARE Player 5.0.2 build-1031769 to host xi52 datapower appliance on my windows 7 64 bit OS to check out the virtual version of xi 52. 
 
I have tried below steps but looks like I am missing something and not able to access the appliance by using the IP:port on web interface.
 
(Please note this will be accessed only by me on my laptop and not by anyone else on network).
 
1. Converted OVF files from IBM to VMX file by using ovftool.
 
2. Imported the converted vmx file into vmware player and started the appliance.
 
3. When I do ip config from windows command line I can see below.
 
Wireless LAN adapter Wireless Network Connection:
 
   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::a9db:77ca:d169:da7b%11
   IPv4 Address. . . . . . . . . . . : 192.168.1.107
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
 
Ethernet adapter VMware Network Adapter VMnet1:
 
   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::589c:b463:7e70:a055%37
   IPv4 Address. . . . . . . . . . . : 192.168.211.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
 
Ethernet adapter VMware Network Adapter VMnet8:
 
   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::cccd:b56f:3f1:ec10%38
   IPv4 Address. . . . . . . . . . . : 192.168.13.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :
 
4. My appliance boots up and I assigned 192.168.211.1 as IP to datapower appliance with default gateway as above.
 
5. Also I have set web-mgt. Results are below
 
  etho   192.168.13.1/24
 
web-mgmt as below
 
admin state  enabled
 
ip address 192.168.13.1
 
port 410
 
 I have saved this config using write memory
 
Issue that I am facing is, after doing these configurations I am not able to access web gui using http://192.168.13.1:410 or https://192.168.13.1:410.
 
Please let me know if I am missing anything here. If anyone has tried this approach then please share your experience.
 
 
 
Thanks!
 
   
 
  • swlinn
    swlinn
    1395 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2013-05-14T14:24:14Z  

    What I did was take my virtual network IP, in your case, 192.168.13.1 as my default gateway for my ethernet interface, which was on the same subnet, say 192.168.13.100.  If you are in configure mode for your eth0 interface, try to ping your default gateway.  If you can ping your default gateway, you should be able to access it from your host system.

    Regards,

    Steve

  • eai_user
    eai_user
    11 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2013-05-14T14:52:26Z  
    • swlinn
    • ‏2013-05-14T14:24:14Z

    What I did was take my virtual network IP, in your case, 192.168.13.1 as my default gateway for my ethernet interface, which was on the same subnet, say 192.168.13.100.  If you are in configure mode for your eth0 interface, try to ping your default gateway.  If you can ping your default gateway, you should be able to access it from your host system.

    Regards,

    Steve

    Thanks for your reply!

     

    I will go through your response and try it. Will keep this thread posted.

  • eai_user
    eai_user
    11 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2013-05-14T15:19:24Z  
    • swlinn
    • ‏2013-05-14T14:24:14Z

    What I did was take my virtual network IP, in your case, 192.168.13.1 as my default gateway for my ethernet interface, which was on the same subnet, say 192.168.13.100.  If you are in configure mode for your eth0 interface, try to ping your default gateway.  If you can ping your default gateway, you should be able to access it from your host system.

    Regards,

    Steve

    Hi Steve,

    I restarted the virtual appliance and ran install wizard, did below as per your response.

    1. Set IP as 192.168.13.1(in my case, this is shown as 'Ethernet adapter VMware Network Adapter VMnet8:' from windows command line) as IP address in CIDR format that is 192.168.13.1/24

    2. Set default gateway same 192.168.13.1

    3. Set Web mgmt on port 410

    I also went to config mode on appliance and was able to ping 192.168.13.1. By this ping did you mean to ping actual default gateway of my Wirelesss LAN?

    Looks like I did not understand fully your response, sorry. If I set my virtual IP as defualt gateway, what would be my appliance IP?

     

    Regards,

    Jeevan

    Updated on 2013-05-14T15:22:41Z at 2013-05-14T15:22:41Z by eai_user
  • swlinn
    swlinn
    1395 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2013-05-14T15:43:31Z  
    • eai_user
    • ‏2013-05-14T15:19:24Z

    Hi Steve,

    I restarted the virtual appliance and ran install wizard, did below as per your response.

    1. Set IP as 192.168.13.1(in my case, this is shown as 'Ethernet adapter VMware Network Adapter VMnet8:' from windows command line) as IP address in CIDR format that is 192.168.13.1/24

    2. Set default gateway same 192.168.13.1

    3. Set Web mgmt on port 410

    I also went to config mode on appliance and was able to ping 192.168.13.1. By this ping did you mean to ping actual default gateway of my Wirelesss LAN?

    Looks like I did not understand fully your response, sorry. If I set my virtual IP as defualt gateway, what would be my appliance IP?

     

    Regards,

    Jeevan

    Hi Jeevan,

    Your IP for your ethernet interface should be something like 192.168.13.100/24, ie, it can't be the same IP as the default gateway, but it should be in the same subnet, and since your subnet mask in CIDR format is a /24, that means the last octet would be some value between 2-254, I just chose 100.

    So in real terms, your default gateway is usually the IP of a switch.  In the virtual sense, the switch is going to be the IP of your virtual network, in your case, 192.168.13.1.  With your interface IP being different as described above, say .100, you should be able to ping your default gateway to verify connectivity.  Assuming connectivity, you should be able to access the web gui at https://192.168.13.100:410

    Regards,
    Steve

     

  • eai_user
    eai_user
    11 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2013-05-14T16:19:30Z  
    • swlinn
    • ‏2013-05-14T15:43:31Z

    Hi Jeevan,

    Your IP for your ethernet interface should be something like 192.168.13.100/24, ie, it can't be the same IP as the default gateway, but it should be in the same subnet, and since your subnet mask in CIDR format is a /24, that means the last octet would be some value between 2-254, I just chose 100.

    So in real terms, your default gateway is usually the IP of a switch.  In the virtual sense, the switch is going to be the IP of your virtual network, in your case, 192.168.13.1.  With your interface IP being different as described above, say .100, you should be able to ping your default gateway to verify connectivity.  Assuming connectivity, you should be able to access the web gui at https://192.168.13.100:410

    Regards,
    Steve

     

    Steve,

     

    From config console of Xi52 virtual appliance I am not able to ping 192.168.13.1(I have set this as default gateway). Not sure if this has to do with firewall issue?

    Regards,

    Jeevan

     

  • swlinn
    swlinn
    1395 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2013-05-14T16:45:51Z  
    • eai_user
    • ‏2013-05-14T16:19:30Z

    Steve,

     

    From config console of Xi52 virtual appliance I am not able to ping 192.168.13.1(I have set this as default gateway). Not sure if this has to do with firewall issue?

    Regards,

    Jeevan

     

    I use VMWare Workstation, but hopefully the interfaces are close.  Take a look at your VM Settings.  For me, VM Menu -> Settings.  You should have 4 Network Adapters.  How do you have the network connection defined.  By default, I believe they are "Bridged".  Change that to NAT or Host on the first one and see if that makes a difference.

    Regards,

    Steve

  • eai_user
    eai_user
    11 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2013-05-14T16:48:35Z  
    • swlinn
    • ‏2013-05-14T16:45:51Z

    I use VMWare Workstation, but hopefully the interfaces are close.  Take a look at your VM Settings.  For me, VM Menu -> Settings.  You should have 4 Network Adapters.  How do you have the network connection defined.  By default, I believe they are "Bridged".  Change that to NAT or Host on the first one and see if that makes a difference.

    Regards,

    Steve

    Sure Steve! Yes by default its Bridged. Let me  try to figure those network interface for while.

    Updated on 2013-05-14T16:48:53Z at 2013-05-14T16:48:53Z by eai_user
  • eai_user
    eai_user
    11 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2013-05-14T19:05:49Z  

    Hi Steve,

    Thanks for all your inputs! Appreciate it. Virtual xi52 is up and running on my local home network. This is what I did. 

    1. Used bridged option because of below reasons, after going through VMware guide - Networking section

                This is an easiest way to set up network access to your virtual machine on wireless as well as wired network on windows OS

               You can easily define your VM its own identity by assigning a unique IP on same subnet.(I assigned random unique IP for /24 subnet range)

              Enables VM to be fully participant in the network.

    2. Leaving above jargon, below is what I did at ground level

                     1. Selected bridged option on network interfaces that are available with virtual edition in VM player.

                      2. Assigned Unique IP falling in same subnet as my home network.

                      3. Assigned same default gateway as my home network.

                      4. Validated connectivity by pinging Host as well as DP appliance from Config terminal.

                      5. Made sure web-mgmt and eth int are all set by using show commands.

    Regards,

    Jeevan

  • lenisha
    lenisha
    24 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2013-06-04T04:47:44Z  
    • eai_user
    • ‏2013-05-14T19:05:49Z

    Hi Steve,

    Thanks for all your inputs! Appreciate it. Virtual xi52 is up and running on my local home network. This is what I did. 

    1. Used bridged option because of below reasons, after going through VMware guide - Networking section

                This is an easiest way to set up network access to your virtual machine on wireless as well as wired network on windows OS

               You can easily define your VM its own identity by assigning a unique IP on same subnet.(I assigned random unique IP for /24 subnet range)

              Enables VM to be fully participant in the network.

    2. Leaving above jargon, below is what I did at ground level

                     1. Selected bridged option on network interfaces that are available with virtual edition in VM player.

                      2. Assigned Unique IP falling in same subnet as my home network.

                      3. Assigned same default gateway as my home network.

                      4. Validated connectivity by pinging Host as well as DP appliance from Config terminal.

                      5. Made sure web-mgmt and eth int are all set by using show commands.

    Regards,

    Jeevan

    Hi Jeevan,

     

    Could you post what IPs you have ended up?

    Could you clarify please step 4 using IPs?

     

    May I ask you please what syntax you have used for ovftool? -Gives me an errors for vmx ...

    Thank you

    Updated on 2013-06-04T05:01:56Z at 2013-06-04T05:01:56Z by lenisha
  • eai_user
    eai_user
    11 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2013-06-04T13:48:54Z  
    • lenisha
    • ‏2013-06-04T04:47:44Z

    Hi Jeevan,

     

    Could you post what IPs you have ended up?

    Could you clarify please step 4 using IPs?

     

    May I ask you please what syntax you have used for ovftool? -Gives me an errors for vmx ...

    Thank you

    Hi,

    I assigned IP falling in same range as my host computer, I mean IP that is assigned by ISP.

                   Example - if IP of my windows machine is 192.142.x.ABC; I used IP falling in same subnet for web int of my appliance, that is 192.142.x.ABD

    Below syntax was used for conversion

    ovftool -tt=ovf C:\xxxx\xxxxx\xi5000.tam61_nonpd_vmware_esx4.ova C:\xxxxx\

     

  • HermannSW
    HermannSW
    6218 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2013-06-04T20:25:33Z  
    • eai_user
    • ‏2013-06-04T13:48:54Z

    Hi,

    I assigned IP falling in same range as my host computer, I mean IP that is assigned by ISP.

                   Example - if IP of my windows machine is 192.142.x.ABC; I used IP falling in same subnet for web int of my appliance, that is 192.142.x.ABD

    Below syntax was used for conversion

    ovftool -tt=ovf C:\xxxx\xxxxx\xi5000.tam61_nonpd_vmware_esx4.ova C:\xxxxx\

     

    I found that the easiest way for me to deal with virtual appliances is to configure the ethernet interfaces to use DCHP.

    This works fine for me in IBM network.

    And even locally with my laptop connected to myAndroid acting as wireless hotspot(!):

    https://www.ibm.com/developerworks/community/blogs/HermannSW/entry/myandroid_datapower_webgui


    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/>

  • nimmagadda
    nimmagadda
    3 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2014-07-20T07:25:10Z  

    Hi Am trying to install vmware in my laptop i can able to acess gui but i cannot able to ping external guest and internet i tried a lot can some help me pls 

  • nimmagadda
    nimmagadda
    3 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2014-07-20T07:29:07Z  
    • eai_user
    • ‏2013-05-14T19:05:49Z

    Hi Steve,

    Thanks for all your inputs! Appreciate it. Virtual xi52 is up and running on my local home network. This is what I did. 

    1. Used bridged option because of below reasons, after going through VMware guide - Networking section

                This is an easiest way to set up network access to your virtual machine on wireless as well as wired network on windows OS

               You can easily define your VM its own identity by assigning a unique IP on same subnet.(I assigned random unique IP for /24 subnet range)

              Enables VM to be fully participant in the network.

    2. Leaving above jargon, below is what I did at ground level

                     1. Selected bridged option on network interfaces that are available with virtual edition in VM player.

                      2. Assigned Unique IP falling in same subnet as my home network.

                      3. Assigned same default gateway as my home network.

                      4. Validated connectivity by pinging Host as well as DP appliance from Config terminal.

                      5. Made sure web-mgmt and eth int are all set by using show commands.

    Regards,

    Jeevan

    ji jeevan i need your help to setup my machine

  • nimmagadda
    nimmagadda
    3 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2014-07-21T02:02:50Z  
    • eai_user
    • ‏2013-05-14T16:19:30Z

    Steve,

     

    From config console of Xi52 virtual appliance I am not able to ping 192.168.13.1(I have set this as default gateway). Not sure if this has to do with firewall issue?

    Regards,

    Jeevan

     

    can u help me in setting ip my machine 

  • HermannSW
    HermannSW
    6218 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2014-07-21T07:21:35Z  

    Hi Am trying to install vmware in my laptop i can able to acess gui but i cannot able to ping external guest and internet i tried a lot can some help me pls 

    I cannot help you with the networking questions besides restating what I said above, that DHCP worked for me.


    BUT you should really consider these statements before continuing with what you do:

    Any use of DataPower virtual appliances on VMWare Player with pre 7.0.0.0 firmware is NOT SUPPORTED:
    http://pic.dhe.ibm.com/infocenter/wsdatap/v6r0m0/index.jsp?topic=%2Fcom.ibm.dp.xi.doc%2Fvirtual_systemrequirements.html

    Only 7.0.0.0 developer edition virtual appliance is supported with VMWare Player:
    http://www-01.ibm.com/support/knowledgecenter/SS9H2Y_7.0.0/com.ibm.dp.xg.doc/virtual_editionandfeatures.html


    Hermann <myBlog/> <myTweets/> | <GraphvizFiddle/> | <xqib/> | <myCE/> <myFrameless/>

  • Surojit88
    Surojit88
    3 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2014-09-11T20:09:56Z  
    • swlinn
    • ‏2013-05-14T14:24:14Z

    What I did was take my virtual network IP, in your case, 192.168.13.1 as my default gateway for my ethernet interface, which was on the same subnet, say 192.168.13.100.  If you are in configure mode for your eth0 interface, try to ping your default gateway.  If you can ping your default gateway, you should be able to access it from your host system.

    Regards,

    Steve

    Hello steve,

    Need urgent help. Am trying to figure out how to take a secure back-up of my XI52 virtual appliance. But, I found out it has not been initialized in secure mode. I would require to re-initialise my appliance in secure mode. but, that needs a serial port in the appliance to re-configure the IP addresses back. Virtual appliance would not have a serial port.

     

    How do I re-initialize my virtual appliance in secure mode and then take a secure back-up??

    Please help Steve. It's urgent :( :(

  • swlinn
    swlinn
    1395 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2014-09-12T13:47:01Z  
    • Surojit88
    • ‏2014-09-11T20:09:56Z

    Hello steve,

    Need urgent help. Am trying to figure out how to take a secure back-up of my XI52 virtual appliance. But, I found out it has not been initialized in secure mode. I would require to re-initialise my appliance in secure mode. but, that needs a serial port in the appliance to re-configure the IP addresses back. Virtual appliance would not have a serial port.

     

    How do I re-initialize my virtual appliance in secure mode and then take a secure back-up??

    Please help Steve. It's urgent :( :(

    Virtual appliances have to have a "serial port", otherwise how was the appliance initial network configuration and enablement of the GUI done in the first place?  For example, I use VMWare Workstation.  When you start the VM you'll eventually get an admin prompt.  That is the "console port".  I'd assume other hypervisors work in a similar fashion.  So you'd need to do your task as you would on a physical appliance.

    a) backup all domains

    b) reinit

    c) do initial setup (admin password, specify secure backup mode, do network config, enable gui, etc)

    d) login to the GUI and accept the license

    e) restore your backup

    Note that your contents of cert and sharedcert directories will not be backed up, hopefully you have your own backup of these artifacts.  Also some configuration (on box users being the most used) will not have their passwords saved and you'll need to find those objects are reconfigure the passwords in them.

    Regards,

    Steve

     

  • Surojit88
    Surojit88
    3 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2014-09-14T15:32:20Z  
    • swlinn
    • ‏2014-09-12T13:47:01Z

    Virtual appliances have to have a "serial port", otherwise how was the appliance initial network configuration and enablement of the GUI done in the first place?  For example, I use VMWare Workstation.  When you start the VM you'll eventually get an admin prompt.  That is the "console port".  I'd assume other hypervisors work in a similar fashion.  So you'd need to do your task as you would on a physical appliance.

    a) backup all domains

    b) reinit

    c) do initial setup (admin password, specify secure backup mode, do network config, enable gui, etc)

    d) login to the GUI and accept the license

    e) restore your backup

    Note that your contents of cert and sharedcert directories will not be backed up, hopefully you have your own backup of these artifacts.  Also some configuration (on box users being the most used) will not have their passwords saved and you'll need to find those objects are reconfigure the passwords in them.

    Regards,

    Steve

     

    Hello Steve,

    Sorry for replying late. Am still a little confused over a virtual appliance having a serial port. By admin port did u mean the default 9090 port as I'd get the URL?

    Moreover, to reinit the appliance we might need a Firmware image to be present in the appliance, as suggested by IBM site.

    I do not have one as seen in the attached pic.

    Please help :(
     

     

    Attachments

    Updated on 2014-09-14T16:19:09Z at 2014-09-14T16:19:09Z by Surojit88
  • HermannSW
    HermannSW
    6218 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2014-09-14T20:48:58Z  
    • Surojit88
    • ‏2014-09-14T15:32:20Z

    Hello Steve,

    Sorry for replying late. Am still a little confused over a virtual appliance having a serial port. By admin port did u mean the default 9090 port as I'd get the URL?

    Moreover, to reinit the appliance we might need a Firmware image to be present in the appliance, as suggested by IBM site.

    I do not have one as seen in the attached pic.

    Please help :(
     

     

    Hi,

    as stated in this thread what you do is not supported at all unless you use developer edition available with v7 firmware.

    Not sure what you try to do, but "image:" is a directory, so you seem to want "dir image:".


    Hermann.

  • 9EBU_CZ30001
    9EBU_CZ30001
    16 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2015-01-19T13:23:24Z  

    Where to download datapower virtual appliance?

  • kenhygh
    kenhygh
    2087 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2015-01-19T15:40:10Z  

    Where to download datapower virtual appliance?

    It is not free, you have to purchase it, and then you're given a link for download.

  • 9EBU_CZ30001
    9EBU_CZ30001
    16 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2015-01-19T19:10:49Z  

    I am IBMer, is it available from [removed by forum owner]

     

    Updated on 2015-01-19T19:22:52Z at 2015-01-19T19:22:52Z by kenhygh
  • kenhygh
    kenhygh
    2087 Posts

    Re: xi 52 Virtual appliance on VMWARE Player - Accessing the appliance

    ‏2015-01-19T19:22:16Z  

    I am IBMer, is it available from [removed by forum owner]

     

    Please do not put requests like this is the public forum. Contact me directly @ Ken Hygh/Raleigh/IBM

  • 9C2M_Yaj_Bhattacharya
    6 Posts

    XI52 on VMWare Workstation

    ‏2015-02-11T03:41:21Z  
    • kenhygh
    • ‏2015-01-19T19:22:16Z

    Please do not put requests like this is the public forum. Contact me directly @ Ken Hygh/Raleigh/IBM

    I am trying to get a non-pd version appliance working on VMWare workstation 11.
    On the CLI, however much I try to check "show eth", the whole thing scrolls up and I can't see what IP address has been bound to eth0, I can only see eth3.

    Is there a way around this: I tried "arp -a" and the IP addresses don't work i.e. if I do an "arp -a" on a command prompt (win 8.1) and then try to ping the addresses, the connectivity is there. However, when I try to get to the web gui -- no luck (even after "enabling" the gui using commands posted in this thread.

    Any suggestions?