Topic
36 replies Latest Post - ‏2015-02-17T01:47:06Z by kenhygh
eai_user
eai_user
7 Posts
ACCEPTED ANSWER

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
    1344 Posts
    ACCEPTED ANSWER

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

    ‏2013-05-14T14:24:14Z  in response to eai_user

    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
      7 Posts
      ACCEPTED ANSWER

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

      ‏2013-05-14T14:52:26Z  in response to swlinn

      Thanks for your reply!

       

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

    • eai_user
      eai_user
      7 Posts
      ACCEPTED ANSWER

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

      ‏2013-05-14T15:19:24Z  in response to swlinn

      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
        1344 Posts
        ACCEPTED ANSWER

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

        ‏2013-05-14T15:43:31Z  in response to eai_user

        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
          7 Posts
          ACCEPTED ANSWER

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

          ‏2013-05-14T16:19:30Z  in response to swlinn

          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
            1344 Posts
            ACCEPTED ANSWER

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

            ‏2013-05-14T16:45:51Z  in response to eai_user

            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
              7 Posts
              ACCEPTED ANSWER

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

              ‏2013-05-14T16:48:35Z  in response to swlinn

              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
          • nimmagadda
            nimmagadda
            3 Posts
            ACCEPTED ANSWER

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

            ‏2014-07-21T02:02:50Z  in response to eai_user

            can u help me in setting ip my machine 

    • Surojit88
      Surojit88
      3 Posts
      ACCEPTED ANSWER

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

      ‏2014-09-11T20:09:56Z  in response to swlinn

      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
        1344 Posts
        ACCEPTED ANSWER

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

        ‏2014-09-12T13:47:01Z  in response to Surojit88

        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
          ACCEPTED ANSWER

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

          ‏2014-09-14T15:32:20Z  in response to swlinn

          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
            4320 Posts
            ACCEPTED ANSWER

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

            ‏2014-09-14T20:48:58Z  in response to Surojit88

            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.

  • eai_user
    eai_user
    7 Posts
    ACCEPTED ANSWER

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

    ‏2013-05-14T19:05:49Z  in response to eai_user

    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
      23 Posts
      ACCEPTED ANSWER

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

      ‏2013-06-04T04:47:44Z  in response to eai_user

      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
        7 Posts
        ACCEPTED ANSWER

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

        ‏2013-06-04T13:48:54Z  in response to lenisha

        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\

         

    • nimmagadda
      nimmagadda
      3 Posts
      ACCEPTED ANSWER

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

      ‏2014-07-20T07:29:07Z  in response to eai_user

      ji jeevan i need your help to setup my machine

  • nimmagadda
    nimmagadda
    3 Posts
    ACCEPTED ANSWER

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

    ‏2014-07-20T07:25:10Z  in response to eai_user

    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 

  • 9EBU_chen_zhang
    9EBU_chen_zhang
    8 Posts
    ACCEPTED ANSWER

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

    ‏2015-01-19T13:23:24Z  in response to eai_user

    Where to download datapower virtual appliance?

    • kenhygh
      kenhygh
      1408 Posts
      ACCEPTED ANSWER

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

      ‏2015-01-19T15:40:10Z  in response to 9EBU_chen_zhang

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

  • 9EBU_chen_zhang
    9EBU_chen_zhang
    8 Posts
    ACCEPTED ANSWER

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

    ‏2015-01-19T19:10:49Z  in response to eai_user

    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
      1408 Posts
      ACCEPTED ANSWER

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

      ‏2015-01-19T19:22:16Z  in response to 9EBU_chen_zhang

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

      • 9C2M_Yaj_Bhattacharya
        6 Posts
        ACCEPTED ANSWER

        XI52 on VMWare Workstation

        ‏2015-02-11T03:41:21Z  in response to kenhygh

        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?

        • kenhygh
          kenhygh
          1408 Posts
          ACCEPTED ANSWER

          Re: XI52 on VMWare Workstation

          ‏2015-02-11T12:21:59Z  in response to 9C2M_Yaj_Bhattacharya

          sho eth eth0

          • 9C2M_Yaj_Bhattacharya
            6 Posts
            ACCEPTED ANSWER

            Re: XI52 on VMWare Workstation

            ‏2015-02-11T15:26:49Z  in response to kenhygh

            Thank you Ken and Harley. 

            There is something I am doing which is not right.

            1. What is the fundamental difference when configuring XI52 virtual appliance between using Player 7 versus Workstation 11?

            2. Where exactly can I force the VM (example xi7102_nopd) to take a certain IP address?

            3. I am using "Host Only" option for all the network adapters, does this make a difference?

            4. Is it possible to give the following sequence of command to make the IP address 192.168.233.200 for eth0?
            admin-state enabled
            ip address 192.168.233.200 9090

            Thanks

            • kenhygh
              kenhygh
              1408 Posts
              ACCEPTED ANSWER

              Re: XI52 on VMWare Workstation

              ‏2015-02-11T16:28:16Z  in response to 9C2M_Yaj_Bhattacharya

              1) DataPower developer edition doesn't care whether you're using player or workstation. The question is how those hypervisors allow you to mess with the networking setup.

              2) in the initial poweron you're guided through configuring your network interfaces. After that, you can, in the hypervisor's console, get to the CLI and change whatever you want, including the ethernet interfaces.

              3) yes, it does. 'Host Only', 'Bridged', and 'NAT' connect to different vmware subnets, which will dictate what IP addresses are available to DataPower

              4) the commands are in the knowledge center

        • Harley Stenzel
          Harley Stenzel
          72 Posts
          ACCEPTED ANSWER

          Re: XI52 on VMWare Workstation

          ‏2015-02-11T12:39:27Z  in response to 9C2M_Yaj_Bhattacharya

          To see config:

          show eth eth0

          top; config; eth eth0; show . . . make changes . . . exit

          Other status providers:

          show ipaddress

          show route

          show link

           

           --Harley

          • 9C2M_Yaj_Bhattacharya
            6 Posts
            ACCEPTED ANSWER

            Re: XI52 on VMWare Workstation

            ‏2015-02-11T17:22:08Z  in response to Harley Stenzel

            Using VMware Workstation 11 on Windows 8.1 (on a laptop with 16 GB RAM)

            1. Set number of processors to 2, number of cores per processor to 2 - so total of 4 cores, set memory to 8 GB

            2. Host machine shows

            Ethernet adapter VMware Network Adapter VMnet0:

            IPv4 Address: 192.168.93.1

            Subnet Mas: 255.255.255.0

            3. Virtual Network Editor shows the following settings

            (Name) VMnet0

            (Type) Host only

            (External Connection) -

            (Host Connection) Connected

            (DHCP) -

            (Subnet Address) 192.168.93.0

            4. All other interfaces set to "Host Only"

            5. Tried setting up XI52 dev ed with IP address (on CLI) 192.168.93.10

            6. After saving configuration (exit), no luck pining 192.168.93.10

            What is the goof up?

            Thanks in advance

             

             

             

            Updated on 2015-02-11T18:42:15Z at 2015-02-11T18:42:15Z by 9C2M_Yaj_Bhattacharya
            • kenhygh
              kenhygh
              1408 Posts
              ACCEPTED ANSWER

              Re: XI52 on VMWare Workstation

              ‏2015-02-11T17:53:17Z  in response to 9C2M_Yaj_Bhattacharya

              what were the other configuration items on eth0?

              Is the difference in IP address between steps 5 and 6 a typo?

              • 9C2M_Yaj_Bhattacharya
                6 Posts
                ACCEPTED ANSWER

                Re: XI52 on VMWare Workstation

                ‏2015-02-11T18:43:29Z  in response to kenhygh

                Just corrected the typo on Step 5 and 6.
                 

                Sorry, trying to understand what is "other configuration items on eth0"?

                • 9C2M_Yaj_Bhattacharya
                  6 Posts
                  ACCEPTED ANSWER

                  Re: XI52 on VMWare Workstation

                  ‏2015-02-11T19:20:13Z  in response to 9C2M_Yaj_Bhattacharya

                  This time set all network interfaces through VMWare workstation as "NAT"

                  Set DNS as 192.168.93.2

                  Set IP address (while setting up DataPower Appliance, not through VMWare) as 192.168.93.10/24

                  On host machine (Windows) IPConfig screenshot attached below

                   

                  xi52# show web-m

                   

                  web-mgmt [up]

                  ip-address 192.168.93.10

                  port 9090

                  save-config-overwrite-on

                  idle-timeout 600 seconds

                  acl web-mgmt [up]

                  xi52# show eth eth0

                  ethernet: eth0 [up]

                  ip-config-mode-static

                  (there are no ipaddresses seen here under show eth eth0)

                  I still cannot ping 192.169.93.10 from the same laptop.

                   

                  • kenhygh
                    kenhygh
                    1408 Posts
                    ACCEPTED ANSWER

                    Re: XI52 on VMWare Workstation

                    ‏2015-02-11T20:59:29Z  in response to 9C2M_Yaj_Bhattacharya

                    Do you have a default gateway configured? from the DataPower console, can you ping 192.168.93.10? 

                    Again, I assume that the IP address in the last line of your post is a typo.

                    One of the ways I've figured this out in the past is to set eth0 to dhcp, reboot the vm, and see what address it comes up with. That should show you the subnet VMWare connected to eth0.

                  • kenhygh
                    kenhygh
                    1408 Posts
                    ACCEPTED ANSWER

                    Re: XI52 on VMWare Workstation

                    ‏2015-02-16T14:54:54Z  in response to 9C2M_Yaj_Bhattacharya

                    I've been out sick a couple of days, did you get this resolved?

                    • 9C2M_Yaj_Bhattacharya
                      6 Posts
                      ACCEPTED ANSWER

                      Re: XI52 on VMWare Workstation

                      ‏2015-02-17T00:17:44Z  in response to kenhygh

                      Thank you for checking in!

                      Hope you're feeling better.

                      I chose NAT (don't know if this made a difference), and used the IP Address for VMNet 8 to give eth0 and eth1 static addresses. This method worked, but I don't know if this amounts to the solution you suggested. The machine didn't require a reboot, so perhaps this is a different method?