git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: primary storage best practices?


It sounds like we have an enhancement/feature request here: to be able to specify primary storage device where the new image to be created on when calling deployVirtualMachine API.

Where should I file this request, in Github or the original Apache's CloudStack Jira?

Yiping

On 11/15/18, 2:27 PM, "Andrija Panic" <andrija.panic@xxxxxxxxx> wrote:

    I believe (if not mistaken) that CloudStack will match first available
    storage based on storage tags and availability, and will always choose
    first storage pool, even though you have 3 of them available for particular
    cluster.
    In this sense, you can not really balance load across multiple Primary
    Storages... (I have actually just tested this, having 2 pools with same
    storage tag, and deploying a few volumes - all of them were created on
    first storage available...)
    
    You could configure them with different storage tags, but not sure that
    solves your problem - i.e. some Compute/Disk offerings will be targeting
    NetApp Cluster1, some NetApp 2, some NetApp3 - but this is impractical.
    
    Not sure if someone else can shred some light on this scenario ? (I could
    atm imagine a very specific game with editing storage tags on storage_pool
    via SQL (scheduled job), in order to "rotate" list of available storage
    pools...)
    
    Cheers
    
    On Thu, 15 Nov 2018 at 23:01, Yiping Zhang <yzhang@xxxxxxxxxxx> wrote:
    
    > Hi, all:
    >
    > At my site, our currently practice is to have only one primary storage
    > device for each CloudStack cluster, serving up to 500 disk volumes with
    > total of 10 – 20TB disk space.  Now, we are replacing old NetApp clusters
    > with new ones and moving to SSD disks,  so I need to recreate all my
    > primary storage devices.
    >
    > I am thinking of configuring three primary storage volumes, each served by
    > a different NetApp cluster,  for each CloudStack cluster to divide work
    > load on the NetApp end, and to provide some storage redundancy in
    > CloudStack.
    >
    > My question is when creating new VM instances,  how would I distribute new
    > disk volumes on to different primary storage devices evenly and
    > automatically?
    >
    > I am wondering how are other users configure their (NFS) primary storage
    > devices?  What are your best practices in this area?
    >
    > Thanks
    >
    > Yiping
    >
    
    
    -- 
    
    Andrija Panić