cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Dey (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-492) Document procedure to choose default System Offering for System VMs
Date Mon, 19 Nov 2012 17:02:05 GMT


Eric Dey commented on CLOUDSTACK-492:

I am currently out of the office and will return on August 10th. If you require immediate
support on a Caringo product, please use our help web site at: [1]


Eric Dey  [2]<>
Caringo, Inc.  (512)782-9902 

> Document procedure to choose default System Offering for System VMs
> -------------------------------------------------------------------
>                 Key: CLOUDSTACK-492
>                 URL:
>             Project: CloudStack
>          Issue Type: New Feature
>          Components: Doc
>    Affects Versions: 4.0.0
>            Reporter: Kirk Kosinski
>            Assignee: Radhika Nair
>            Priority: Minor
>              Labels: adminguide
> While it is possible to manually change the System Offering for a particular System VM,
a CloudStack administrator may want to change the System Offering used by default for System
VMs. It would be useful for this procedure to be documented. The following procedure works
for me on CloudStack 3.0.2 and 4.0.0-incubating.
> 1. Create a new system offering with the desired settings. This can be done via UI under
the Service Offerings tab. 
> 2. Back up the database. 
> mysqldump -u root -p cloud | bzip2 > cloud_backup.sql.bz2 
> 3. Open a mysql prompt to be able to run queries in later steps on the cloud database.
> mysql -u cloud -p cloud
> 4. In the disk_offering table in the database, identify the original default offering
and the new offering you wish to be used by default. Make a note of their id. 
> select id,name,unique_name,type from disk_offering; 
> 5. Set unique_name = NULL for the original default offering. It is important to use the
correct value for id. 
> update disk_offering set unique_name = NULL where id = 10; 
> 6. For the new offering you wish to be used by default, set unique_name = ''
(for the default CPVM offering) or '' (for the default SSVM offering).

> update disk_offering set unique_name = '' where id = 16; 
> 7. Restart CloudStack. This is required because the default offerings are loaded into
memory at start-up. 
> service cloud-management restart 
> 8. Destroy the existing CPVM or SSVM and wait for it to be recreated. The new CPVM or
SSVM will be configured with the new offering. 
> Note that CLOUDSTACK-338 seems to be requesting that the string used in unique_name be
changed. When that happens, this procedure would need to be updated with the correct string.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message