Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding ServiceGroup to multiple VirtualServers #5

Closed
sjwl opened this issue May 7, 2017 · 8 comments
Closed

Binding ServiceGroup to multiple VirtualServers #5

sjwl opened this issue May 7, 2017 · 8 comments

Comments

@sjwl
Copy link

sjwl commented May 7, 2017

This currently doesn't seem possible.

Binding a single netscaler_servicegroup to multiple netscaler_lbverver.

@chiradeep
Copy link
Contributor

What would you suggest? Should the lbvserver parameter be a schema.TypeSet instead of schema.TypeString?

@sjwl
Copy link
Author

sjwl commented May 27, 2017

Yes that would work for us. But was hoping the change would also consume only a single http connection. As it is now when we have 130+ VIPs to bind to, an equal number of service groups are created which cause some calls to fail intermittently as the max number of Netscaler connections are reached.

@paultravers
Copy link

Being able to bind a single servicegroup resource to multiple vservers would also be very useful for us.

@paultravers
Copy link

Also being able to bind a service to multiple vservers would be useful, but servicegroups should suffice in the short term.

@chiradeep
Copy link
Contributor

See if this works: https://github.com/citrix/terraform-provider-netscaler/releases/tag/v0.96-alpha.2

For reducing the number of connections, we already re-use a global http.Client in the go code, which by default re-uses connections. Perhaps try and reduce the parallelism of TF
terraform apply -parallelism=n

@paultravers
Copy link

Multiple vservers appears to be working on my test server. Thanks for the quick turnaround!

@chiradeep
Copy link
Contributor

@paultravers @sjwl comments on issue #6

@sjwl
Copy link
Author

sjwl commented Jun 5, 2017

@chiradeep Multiple vservers appear to be working on our end too. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants