Skip to content

How CloudStack handles multiple NFS type Primary Storage #9073

Answered by rohityadavcloud
shaerul asked this question in Q&A
Discussion options

You must be logged in to vote

@shaerul It follows a lazy deployment strategy, i.e. it copies the templates (images) to a primary storage only when it needs to create a VM's root disk on a pool. There's also a prepareTemplate API that can load a template across pools to do this ahead of time.

In terms of using storage pool upon VM deployment or volume creation, it depends what deployment planning algorithm is used, pl search for these global settings (for tuning and configuration): image.store.allocation.algorithm [1], vm.allocation.algorithm [2].

[1] Image store allocation algorithm (image.store.allocation.algorithm)
firstfitleastconsumed','random' : Order in which hosts within a cluster will be considered for VM/volu…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@rohityadavcloud
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@shaerul
Comment options

@rohityadavcloud
Comment options

Answer selected by shaerul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #9067 on May 10, 2024 20:26.