I have the same hardware setup and use the same configuration. Not sure if one can run away from having multiple compute offerings for each storage type and server group. The only thing that reduced the amount of compute offerings is to set both compute and disk offerings to be custom. So actually you have just one offering per specific server/storage group with resources customizable by the users.
Regards, Jordan On Wed, Mar 29, 2023 at 6:47 PM Hean Seng <heans...@gmail.com> wrote: > So what you actually wish to achieve ? > > On Wed, Mar 29, 2023 at 11:41 PM <m...@swen.io> wrote: > > > Hi Hean, > > > > sure, this works, but is not really flexible and you run into problems > > when using the override function in the UI wizard. > > > > -----Ursprüngliche Nachricht----- > > Von: Hean Seng <heans...@gmail.com> > > Gesendet: Mittwoch, 29. März 2023 17:20 > > An: users@cloudstack.apache.org > > Betreff: Re: Compute offerings and Disk offerings > > > > Hi > > > > In Compute offering, you can choose if the compute offering is Local or > > Shared Storage . > > > > And you can also tag the storage with Tags, and define the tag in Compute > > offering. > > > > Like this, it will goes to the storage you wish to. > > > > > > On Wed, Mar 29, 2023 at 11:12 PM <m...@swen.io> wrote: > > > > > Hey all, > > > > > > > > > > > > does someone use local AND shared storage in Cloudstack? I am using > > > tags on storage level which I use in Disk offerings then to assign > > > them to shared or local storage. I use xcp-ng as hypervisor and each > > > host has shared or local storage, but not both. > > > > > > I created a default-compute-offering without mapping it directly to a > > > Disk offering vi api, because the UI wants to have a Disk offering > > > mapped. In the VM installation wizard I can choose between local an > > > shared storage and it works fine. > > > > > > > > > > > > But I run into some issues: > > > > > > 1. I am unable to configure the default Disk offering which will > be > > > used when not overriding root disk offering > > > > > > It looks like CS is using the one with the lowest id in den database. > > > > > > 2. When I want to migrate a running VM from local to shared > storage > > > (or > > > vice versa) via UI "Migrate instance to another host" I see the other > > > hosts, but there are shown as not suitable. > > > 3. When I want to migrate a Volume from local to shared storage > (or > > > vice versa) via UI "Migrate volume" I do not see the other type of > > > storage even when enable the "Replace disk offering" button. > > > > > > > > > > > > Is my workflow just not correct, or do we have some kind of issue > > > here? I hope someone else already using this setup and can tell me how > > > it was configured. Thanks for help! > > > > > > > > > > > > Regards, > > > > > > Swen > > > > > > > > > > -- > > Regards, > > Hean Seng > > > > > > > > -- > Regards, > Hean Seng >