Jump to content
Welcome to our new Citrix community!

Nitro API - lbvserver_service_binding


Recommended Posts

I am trying to use the api to bind and unbind what services are bound to a given vserver ie.  lbvserver_binding.get(client, vServerNames);

This works fine to give me the list of services that are bound and CURSTATE is UP.  When I try to unbind a specific service it is unbound correctly but it no longer comes back in the GET.

Is there something I am missing? A  setting or options to return all services not just the currently bound/UP ones?

 

Thanks,

Ray

Link to comment
Share on other sites

  • 2 months later...
On 3/20/2020 at 11:57 PM, Ray Ropel said:

Hi,

I'm trying to attach service groups and persistence to my VIP however its getting failed, Could you please share the API which you used to bind the service group in VIP

 

put: https://X.X.X.X/nitro/v1/config/lbvserver_servicegroup_binding

 

{
"lbvserver_servicegroup_binding":{
      "name": "Satheesh1",
      "servicename": "sabari_SG",
      "weight": "1",
      "servicegroupname": "sabari_SG"
}}
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...