Bug Reference

CLOUDSTACK-6142

Branch

4.4, master

Introduction

When a data disk is needed by a virtual machine that resides in a different cluster; that is on a different primary storage than the current cluster/primary storage, it involves a costly and time consuming data copy operation. The volume is copied from one primary storage to another primary storage via the secondary storage. It'll be good to add support for a zone wide primary storage; that is a primary storage that can be shared across clusters. 

Purpose

This is a feature specification for supporting zone wide primary storage on Hyper-V.

References

Document History

AuthorDescriptionDate
Rajesh BattalaInitial Revision 
Devdeep SinghIncorporating comments.03/27/2014

Glossary

Instance/vm - Virtual machine running on a hypervisor. The terms may be used interchangeably.

ZWPS - Zone wide primary storage

Feature Specifications

Test Guidelines

Functional
Negative

Support-ability Characteristics

Users Communities

Only a cloudstack root administrator can add a zone wide primary storage.

Supported Hypervisor

This feature is implemented for Windows Server 2012 R2 and Hyper-V 2012 R2 (Core).

Architecture and Design description

Database changes

There are no db changes for the feature. Existing schema is sufficient to hold information for a zone wide primary storage for Hyper-V too. Information for a zone wide primary storage is stored in the 'storage_pool' table in the db with the scope as 'Zone' and hypervisor type as 'Hyperv'.

Registering zone wide primary storage
Storage allocation
Volume migration

Web Services APIs

The api 'createStoragePool' can be used for adding SMB as a zone wide primary storage. The 'scope' parameter has to be 'zone' and hypervisor parameter set to 'Hyperv'. This is an existing api and no changes need to be made to it for this feature.

UI flow

IP Clearance

No IP dependencies are introduced by this feature.

Appendix

Appendix A:

Appendix B: