-
Notifications
You must be signed in to change notification settings - Fork 52
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
Question - Running on Multiple vCD Cells #122
Comments
I can't answer your question around multiple instances (I'm curious about that too) but vCloud Director 9.5 just got released and has an appliance deployment option. Seeing VMware's track record on appliances one could guess that self installed vCD instances will be gone soon. My suggestion would be to start off on the right track with a standalone CSE instance? Totally up to you but I don't like double handling services like that. |
I am wondering what benefit are you expecting by running a separate CSE instance on each vCD cell? vCD cells in a multi cell setup are all part of the same vCD cluster. They share the same database and has the same view of the cloud. If you run multiple copies of CSE server, one of them (randomly) will pick up a message off AMQP queue, and work on it e.g. create a kubernetes cluster. So, in theory we can achieve some sort of performance boost (parallelism?) but at the same time we will be openning up ourselves for a plethora of race conditions e.g. updating a cluster that's already being updated by a different CSE server. |
We are interested in this feature as well, the performance isn't really relevant but high-availability is. We need to be able to assure that if one of the VM's with CSE running goes down we can continue to provide services until the issue is corrected. |
The diagram with the rabbitMQ server in the middle of the vCD VMs is the correct architecture for a multi cell vCD deployment. (The CSE servers are misplaced though in the diagram). I will update this thread with a diagram for a setup with multiple vCD, rabbitMQ and CSE tomorrow. |
As far vCD->CSE interaction is concerned, CSE is just a listener on the AMQP bus. User triggers a CSE operation via vcd-cli, this operation is internally translated as a REST request to vCD. However there is no guarantee that two successive command invocation from vcd-cli will go to the same CSE server. Also we should keep in mind that CSE architecture does not support multiple copies of CSE server officially, so expect system info command to report incorrect number of running tasks, it will report only the number of running task on one of the CSE servers. I have tested this configuration on my dev setup (by pure accident and hilarious outcome) . I left a CSE server running on my dev box at work. After work hours, I was testing some changes and started up a second CSE server on my personal laptop, both pointing to the same vCD installation (and AMQP server). All CSE command invocations were returning standard response from CSE server and not reflecting the changes I was testing. Took me some time to figure out that the CSE server at work was stealing all the messages off the AMQP bus. And as soon as I turned off the server at work, the second server started to process my requests normally. Hope this helps. Regards |
This indeed helps a lot, thank you very much for your help! |
Is there any plan to officially support HA CSE servers? We would really prefer to have an HA config but not if it means we will be unsupported in the event of issues with the software. |
Hi There We haven't prioritized HA support for CSE Servers at the moment. It's not a tested and supported setup today. I don't have timelines on when we will get to it. This is a place where we could take your contributions. Would you be willing to test this configuration in your setup? Aashima |
VCD cells behind load balancer having public address entry of load balancer in VCD portal. |
Hi there - Can you clarify what you mean by "VCD cells behind load balancer having public address entry of load balancer in VCD portal"? Aashima |
Do we have any progress in this subject ? We are looking for fully redundant CSE server deployment. |
We have not tested HA of CSE Servers. |
Hello Ashima, |
Hi,
We are in the process of deploying CSE - it seems lightweight enough that we have decided to run this on one of the vCD Cells.
My understanding is that the cse simply listens for messages on the AMQP - does this imply that we could therefore run multiple instances of the CSE (i.e. one on each cell)?
Thanks,
Jonathan
The text was updated successfully, but these errors were encountered: