Skip to content

How to install custum hostallocator module #10889

Discussion options

You must be logged in to vote

@hacked473 If you've developed your custom host allocator as an adapter similar to FirstFitAllocator, you're on the right track. You can refer to that class and how it's registered and used in the CloudStack codebase.

If you are having a development environment, you will need to follow below steps,

  1. Build the project and get client/target/cloud-client-ui-4.19.3.0-SNAPSHOT.jar this ready with your changes
  2. Copy it in your management server under location /usr/share/cloudstack-management/lib with the name cloudstack-4.19.3.0.jar (Correct the names as per the version you are using and developing)
  3. In the management server UI, set the global setting "host.allocators.order" with your custom host…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DaanHoogland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants