NSX API to modify a virtual server Loadbalancer

Hello.

I use NSX API to add load balancer pools and to redirect the connections using application rules.

LB is a virtual server. Based on the State of the application, it will redirect to different pools.

I am able to use the API to add pools, rules of application.

But I can't find any API to change the virtual server to add the rule to it.

Ideally should be a POST operation on https://nsxmgr/4.0/edges/ {id} / loadbalancer/config/virtualservers / {Vside}

But it is not there in the NSX 6.1 API guide. And when I tried to do a POST, a 405 error (POST not supported).

Any help on how to change a virtual server LB via API is much appreciated.


Thank you

Editing objects are with the HTTP method 'PUT '.

Are creating objects with the HTTP 'POST' method

I understand that you try to change an existing VIP, then you should try with the HTTP method 'PUT '.

Can try again you?

If you still face the question, can you send the exact URL + the payload that you send.

Thank you

Dimitri

Tags: VMware

Similar Questions

  • monitoring of virtual server via API

    Hello

    I'm trying to follow some easy tips using the vmware API.

    Using real project of samples in time I can get some values for the cpu, but I don't know what to do with these values.

    If I choose the number two options ("use of the UC in percent during the interval") I get a value of 2663. Divided by 20 (qSpec.intervalId = 20) it's more the CPU of the vSphere client is displayed.

    Can someone tell me what to do with this value?

    Maybe I just did not find good documentation, but for now the vmware API is a huge "?" for me.

    Is there a simple example or tutorial on how to use the API to control the hardware each virtual server information?

    Thank you

    The color is actually returned as a State of the API, so you can take the string and color coat any report/etc you want. Again, you'll want to familiarize yourself further by looking at the QAnywhere to see what has been returned and you should also take a look at the navigation on the CROWD that gives you a view of all objects in vCenter or ESX (i) via a web browser. It is located in the docs started get, so check!

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    If you find this information useful, please give points to "correct" or "useful".

  • Download Virtual Server 2005 or 2008 for a Windows Vista Home Premium x 64?

    I am new to computers and I am not informed on a lot of what happens, I have a laptop Dell Inspiron 1545 and I want to download MS Virtual Server 2005 R2 or 2008 version, I downloaded the 2008 or thought I did, but I couldn't find it in the files he had an icon on my desktop. I went back and unfortunately he's said anything it would download on Vista Home Premium OS, I found that it would work on a XP SP2 and I was wondering if I can download that and then download the server 05 ' or ' 08? Where can I get XP SP2?  Apparently it don't load Windows 7 is this true? I downloaded a version 2005 to see what will happen after the download, I got pop ups saying that a modified installation wizard my computer and to download it again as I did but I still cannot find the server on my computer. Any help would be helpful as to what I could do to use Virtual Server etc. the Ms. Merci a lot for any help.

    Hi dumdeedumdum,

    The question you have posted is associated with Windows server and would be better suited in the Windows Server forums.

    Please visit the link below to find a community that will support what ask you:

    http://social.msdn.Microsoft.com/forums/en-us/servervirtualization/threads

  • Alternative to IIS6.0 as SMTP virtual server

    Hi all

    My company does a cloud-based mail filtering and our last jump internally is fundamentally a vanilla Windows server with IIS6.0 enabled for SMTP delivery to our customers, a receiving SMTP is used by our system to capture logging to a database for our customer portal. A similar setup is used to deliver outgoing messages for customers who use us for the relay.

    We have been asked on the TLS delivery, but not all customers want to implement and if I understand correctly, IIS6.0 essentially deals with TLS as an all or nothing, there is no other opportunistic choice.

    Is there another solution that I can use? Preference is another function/role I can activate the virtual SMTP service, or a complement of standard Windows that we can always use with SMTP sink for our logging.

    EDIT *.

    Posted in TechNet, here:

    https://social.technet.Microsoft.com/forums/en-us/d9637c6a-87de-4A53-bdf8-abcf70ff3c6d/alternative-to-iis60-as-SMTP-Virtual-Server?Forum=winserversetup

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • I would take my existing Server 2008 and upgrade to Server 2012 and the purchase of a virtual server in a data center

    Original title:

    Virtualization server 2012

    I got too many answers to this question. I need the correct answer before buying any CALs galore.

    I would take my existing Server 2008 and upgrade to Server 2012 and the purchase of a virtual server in a data center. I have 25 computers that need to communicate with the server throughout the day, all the different machines. I want to know the best option without breaking the Bank. I permit the data center included in the package to my server.

    Try asking in the Windows Server forum:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • can I install virtual server 2005 R2 on windows vista family 32-bit

    Hello

    Please can you tell me if I can install virtual server 2005 R2 on windows vista 32-bit family, because I'm trying to do, but an error apears "virtual server not supported by windows vista" knowing I have install all IIS services

    Please give me a solution

    Thank you

    Hello Me force,

    I suggest posting your question on our TechNet forums located here:
    Thank you!
  • Implementation of the small vFoglight Pro on virtual server?

    I install vFoglight Pro 6.5 in our environment. For the near future, it will monitor 3 vSphere ESX servers. Install on a virtual server would be ok or is it need a physical server?

    Hello Xafods,
    Even if you use a physical server is highly recommended, you can install vFoglight on a virtual machine that you allocate the necessary resources (as specified in the guide of the system configuration required) on the virtual machine to avoid performance problems.
    Concerning

  • Licensing of Port on a MSE8000 can be converted to a virtual server of TP?

    I have a client with a MSE8000 with 80 port licenses and 2 x 8420 blades.

    They would like to go virtual; is there a provision for transforming these port licenses screen for a telepresence virtual server licenses?

    Thank you

    David

    The only way that you can convert the MCU licenses Telepresence license server is if you have a 5300 MCU series or MCU MSE 8510 blade, and it is through the process of installing the server TP on the MCU software, because the hardware can support.

  • Installation of QPM 4.1 on Virtual server

    Hello

    Is it possible to run QPM 4.1 on a virtual server Windows 2003?

    ThanX

    Hi Neil,

    Answer - Yes.

    Reference http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_qos_policy_manager/4.1/installation/guide/windows/KIint.html#wp1127196

    Concerning

    Derek Clothier

  • Failed to create the Conference on virtual server of telepresence

    Hi all

    I installed Virtual Server of telepresence and injected the LIC-AES-VTS-PMP-K9, LIC-VTS-PMP-INTOP, LIC-VTS-PMP-K9-LIC-VTS-PMPUWL-1SL. I wonder why I can't create the conference room. When I access the Conference menu, there is no button to create the Conference.

    Thank you.

    With virtual Server of telepresence that you will not be able to manage or create conferences directly on the server TP, you must use the conductor to create and set up conferences.  The virtual server TP is identical to the pluralistic media 310/320, to see how the virtual model differs from other models TP server, they are listed in the Cisco_TelePresence_Server_on_Virtual_Machine_Release_Notes_3-1 xbottom of pg 2.

    To learn more about the managed mode remote TelePresence Sever in use with the conductor, you can learn more on this subject in the Cisco_Telepresence_Server_Release_Notes_3-0_2-48, pg 2.

  • Is it permissible to install XE in a virtual server environment?

    Hello.

    I wonder if it is permitted to install XE in a virtual server environment (for example, the digital ocean droplets)

    as the specification for the virtual host is 1 CPU with 1 GB of RAM?

    Are there constraints based on licenses, because the 'drop' (= virtual server) probably works on a very

    more host (whose card I don't know)?

    Kind regards

    Matthias

    XE have been installed in many virtual environments such as Digital Ocean and Amazon Web Services. You can find many messages to blog about it. 11 g license Guide:

    Oracle Database Express Edition Oracle Database Express Edition (Oracle Database XE) is an edition of entry-level of Oracle database which is quick to download, simple to install and manage, and is free to develop, deploy and distribute. Oracle Database XE makes it easy to upgrade to other editions of Oracle without costly migration and complex. Oracle Database XE can be installed on any size machine with any number of CPUS, stores up to 11 GB of user data, using up to 1 GB of memory and using a single CPU on the host machine. Support is provided by an online forum.

    (The underlining is mine.) I think you'll install it wherever you want

  • WebLogic 12 c on Solaris 10 virtual server

    I installed WebLogic 12 c on Solaris 10 virtual server.

    The server has 64 GB of RAM. and about 35 GB of swap space.

    When I try to increase the size of the segment of the managed server in weblogic than the segment size, it didn't start and tell me cannot allocate memory.

    I don't know why, he goes to the memory swap, although there is enough space on the RAM.

    I tried at my end and I see something similar to what you see. I think that the behavior works as expected.

    If you run prstat t see you RSS which is the real memory used.

    -bash - $3.2 prstat t

    NPROC USERNAME SWAP RSS MEMORY TIME CPU

    20G of oracle 19 904 M 1.4 05:13:40 % 0.0%

    1 smmsp K 3152 M 11 0.0% 0:02:07 0.0%

    1 M M 92 106, 0.2% 02:58:46 noaccess 0,0%

    6 demon 8824K 11M 0.0% 0:03:07 0.0%

    30 root 112M 125M 0.2% 0:38:07 0.0%

    SWAP is all the memory your process will use, in my case, my pile is 20 GB, and the memory used is 904 M.

    When your process will really need more memory RSS will increase.

    Vmstat shows memory free as much as you're ok

    for example

    -bash-3, $ 2 vmstat

    kthr memory page faults cpu disk

    r b o swap free re mf pi po fr sr s0 s1 s2 s3 in sy cs us sy id

    0 0 0 3 53843968 43066624 10 21 9 3 3 0 0 2 0-34 2123, 1614 1525 0 0 100

    43 GB in my case.

    References:

    https://docs.Oracle.com/CD/E19253-01/816-5166/prstat-1M/index.html

    https://docs.Oracle.com/CD/E19253-01/816-5165/PMAP-1/index.html

    Best regards

    Luz

  • Make a name virtual server HTTPS only

    I am using BCI 11.1.7 and using the Web Cache, OSH, and WebLogic.  I have several servers to virtual name defined in OSH.  I want to implement that one of them is only connected via HTTPS and HTTP requests are redirected to the HTTPS version.  I tried the obvious thing, using mod_rewrite in the configuration of the virtual server in OSH to redirect the HTTP requests:

    RewriteCond %{HTTPS} off

    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

    Of course since all the traffic of the OHS Web Cache using HTTP this simply causes an endless loop of redirects.

    So I wonder if there is a header, or something sent by Web Cache, I can use to tell if the original application used HTTPS.  Otherwise if there is a way to configure this at the level of the Web Cache, which would work as well.  Otherwise I think I'll finish with a certain configuration of Frankenstein that will be featured on http://www.thedailywtf.com in 2018

    I was dumping all the headers using JSP and found out the header (undocumented?) HTTPS-SSL defined by the WebCache is 'off' or 'on '.  So I used:

    RewriteCond %{HTTP:SSL-Https} !on
    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

  • V.11 ColdFusion Standard can be installed and executed on a Windows virtual server, or must it be installed on a physical server?

    V.11 ColdFusion Standard can be installed and executed on a Windows virtual server, or must it be installed on a physical server?

    It can be installed on physical servers and virtual machines. He political license would be different for the physical server and a virtual machine.

  • NSX API: Download ESG SSL VPN Portal logo

    I currently use the NSX API to supply an edge on our device of NSX Manager.  I was able to do everything with the exception of downloading a custom portal logo, I have included the information from the documents below, but it does not contain what the body of the request should look like.  I feel with this information, I would be able to complete the request.  Someone had to work with it before, or anyone is VMware be able to answer this question?

    Would also be nice to see the updated documentation with how to upload files to the REST API a bit more in detail...

    Configure Portal layouts

    You can configure the web page related to the SSL VPN client layout.

    Download Logo Portal

    Download the logo of Portal from the given local path.

    Example 8-150. Download logo Portal

    Request: POST https:///API/4.0/edges//sslvpn/config/layout/images/portallogo/

    Download the Phat banner

    Download the banner of the given local path phat client. Phat banner image should in bmp format.

    Example 8-151. Download the banner phat request: POST https:///api/4.0/edges//sslvpn/config/layout/images/phatbanner

    I have tried different methods... including base64 encoded image as a body and mulipart of form data but all fail with the error below.

    HTTP status 400-


    type of Status report

    Message

    Description The request sent by the client is syntactically incorrect.

    Sorry for the delay on this one there... replace layoutFile by banner.

Maybe you are looking for

  • How can I get permanent Private Browsing, I want to save passwords?

    I tried several times to turn off private browsing which requires a reboot. After the reboot, private browsing is always engaged. What I want, it is to be able to save passwords from time to time and can't restore that work in private browsing.

  • Re: Satellite L655-146 - start screen shaking when I play any game

    Hello I bought this laptop about 5 months ago and since I'm doing that I had the same problem all the time. Tried a few things to do something, find some ideas on the internet but still nothing. It has Windows 7 Home premium 64 bit, 3 GB of Ram, Inte

  • XPS 13 screen flickers when you wake up after upgrade Windows 10

    Whenever I have turn on the laptop, or reactivate it the screen upward when it darkens, the screen starts to Flash. It's as if it was glitching seconds before it stops... It lights up for about 5-10 seconds. It started to happen after that I've upgra

  • Green vertical line on E1914H

    A vertical green line (width in pixels) suddenly appeared on the screen. It is present with or without input from a computer. The monitor is around the age of three months. What is the next step? I tried to find some info contact with dell, but not l

  • Upgrade TMS from 14.5 to 15

    Hi all Do we need to run scripts (such as mensioned in the release notes for TMS 14.6.X) or any other manipulation of data or controls to be performed on the TMSNG database before the upgrade of TMS version 14.5 to TMS version 15.0) for deployment on