Forum Discussion

Ben_Myles_9169's avatar
Ben_Myles_9169
Icon for Nimbostratus rankNimbostratus
Jan 29, 2006

Problem Creating Virtual Server

Hi,

 

 

I'm building a Ruby library for iControl v9. I've got the pools and profiles working great, but I'm having some trouble creating a virtual server.

 

 

When attempting to create a basic virtual server, I don't receive an error but nothing is added in the big-ip. I've tried a lot of different combinations but I just can't get anything to happen.

 

 

The wiredump is pasted below - any ideas on where I'm going wrong would be greatly appreciated.

 

 

= Request

 

 

 

xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"

 

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

 

 

env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

 

xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"

 

xmlns:n3="urn:iControl"

 

xsi:type="n2:Array">

 

 

rb.unit.test.vs

 

10.0.0.150

 

80

 

PROTOCOL_TCP

 

 

 

xmlns:n4="http://schemas.xmlsoap.org/soap/encoding/"

 

xsi:type="n4:Array">

 

 

xmlns:n5="http://schemas.xmlsoap.org/soap/encoding/"

 

xsi:type="n5:Array"

 

xmlns:n6="urn:iControl">

 

 

RESOURCE_TYPE_POOL

 

rb.unit.test

 

 

 

n7:arrayType="n8:LocalLB.VirtualServer.VirtualServerProfileSequence[1]"

 

xmlns:n7="http://schemas.xmlsoap.org/soap/encoding/"

 

xmlns:n8="urn:iControl">

 

n7:arrayType="n8:LocalLB.VirtualServer.VirtualServerProfile[0]">

 

 

 

 

 

 

 

= Response

 

 

1b5

 

xmlns:E="http://schemas.xmlsoap.org/soap/envelope/"

 

xmlns:A="http://schemas.xmlsoap.org/soap/encoding/"

 

xmlns:s="http://www.w3.org/2001/XMLSchema-instance"

 

xmlns:y="http://www.w3.org/2001/XMLSchema"

 

xmlns:iControl="urn:iControl"

 

E:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

 

 

xmlns:m="urn:iControl:LocalLB/VirtualServer">

 

 

 

 

0

 

 

! CONNECTION CLOSED

 

  • Never mind, figured it out myself. Should have looked more like this:

     

     

     

    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"

     

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

     

     

    env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

     

    xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"

     

    xmlns:n3="urn:iControl"

     

    xsi:type="n2:Array">

     

     

    rb.unit.test.vs

     

    10.0.0.151

     

    80

     

    PROTOCOL_TCP

     

     

     

    xmlns:n4="http://schemas.xmlsoap.org/soap/encoding/"

     

    xsi:type="n4:Array">

     

    255.255.255.255

     

     

    xmlns:n5="http://schemas.xmlsoap.org/soap/encoding/"

     

    xsi:type="n5:Array"

     

    xmlns:n6="urn:iControl">

     

     

    RESOURCE_TYPE_POOL

     

    rb.unit.test

     

     

     

    n7:arrayType="n8:LocalLB.VirtualServer.VirtualServerProfileSequence[1]"

     

    xmlns:n7="http://schemas.xmlsoap.org/soap/encoding/"

     

    xmlns:n8="urn:iControl">

     

    n7:arrayType="n8:LocalLB.VirtualServer.VirtualServerProfile[1]">

     

     

    PROFILE_TYPE_TCP

     

    PROFILE_CONTEXT_TYPE_ALL

     

    tcp

     

     

     

     

     

     

  • This is cool! I'm always interested to hear about alternalte languge implementations using iControl. I'd love to get a glimpse on what you end up with.

     

     

    -Joe