-
Notifications
You must be signed in to change notification settings - Fork 124
Allow copy of templates from secondary storages of same or other zone when adding a new secondary storage #611
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
Changes from 2 commits
822838b
adc272a
c4e9ba6
423da79
07514df
d0880cf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -1686,7 +1686,7 @@ add more servers to an existing zone. | |||||
| Swift or S3 is used as the secondary storage provider, an NFS staging | ||||||
| storage in each zone is still required. | ||||||
|
|
||||||
| - Zone. The zone where the NFS Secondary Staging Store is to be | ||||||
| - Zone: The zone where the NFS Secondary Staging Store is to be | ||||||
| located. | ||||||
|
|
||||||
| - **SMB Username**: Applicable only if you select SMB/CIFS provider. | ||||||
|
|
@@ -1700,10 +1700,34 @@ add more servers to an existing zone. | |||||
| - **SMB Domain**: Applicable only if you select SMB/CIFS provider. | ||||||
| The Active Directory domain that the SMB share is a part of. | ||||||
|
|
||||||
| - NFS server. The name of the zone's Secondary Staging Store. | ||||||
| - NFS server: The name of the zone's Secondary Staging Store. | ||||||
|
|
||||||
| - Path. The path to the zone's Secondary Staging Store. | ||||||
| - Path: The path to the zone's Secondary Staging Store. | ||||||
|
|
||||||
| - Copy templates from other storages: This switch can be used to automatically | ||||||
harikrishna-patnala marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| copy existing templates from secondary storages in other zones instead of | ||||||
harikrishna-patnala marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| fetching from their URLs, more details are as below. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
|
|
||||||
| When a new Secondary Storage is added, the Management Server attempts to make | ||||||
| existing templates available on the new Secondary Storage. | ||||||
harikrishna-patnala marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| CloudStack improves template availability using the configuration: | ||||||
harikrishna-patnala marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| +----------------------------------------------+-------------------------------------------------------------------------------------------------------------+-----------+ | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @harikrishna-patnala the table is not visible in the html.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks @rajujith fixed it
|
||||||
| | Name | Description | Default | | ||||||
| +==============================================+=============================================================================================================+===========+ | ||||||
| | copy.templates.from.other.secondary.storages | Allow templates to be copied from existing Secondary Storage servers (within the same zone or across zones) | true | | ||||||
harikrishna-patnala marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| | | when adding a new Secondary Storage, instead of downloading them from the source URL. | | | ||||||
| +----------------------------------------------+-------------------------------------------------------------------------------------------------------------+-----------+ | ||||||
|
|
||||||
| This setting is enabled by default and can be configured globally or at zone level. | ||||||
DaanHoogland marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
harikrishna-patnala marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| CloudStack applies the following order of steps while trying to make a template available in the new secondary storage: | ||||||
harikrishna-patnala marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| 1. Attempt to copy the template from another Secondary Storage in the same zone. | ||||||
harikrishna-patnala marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| 2. If not found, attempt to copy the template from a Secondary Storage in a different zone. | ||||||
harikrishna-patnala marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| 3. If the copy operation fails, CloudStack falls back to downloading the template using its URL when it is registered. | ||||||
harikrishna-patnala marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| Adding an NFS Secondary Staging Store for Each Zone | ||||||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||||
|
|
||||||

Uh oh!
There was an error while loading. Please reload this page.