Changes between Version 2 and Version 3 of GENIRacksHome/OpenGENIRacks/AdministrationGuide


Ignore:
Timestamp:
11/19/14 08:54:33 (9 years ago)
Author:
sdabideen@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/OpenGENIRacks/AdministrationGuide

    v2 v3  
    262262
    263263
     264== Adding a Flavor ==
     265
     266Use the flavor-create subcommand of nova : nova flavor-create <ID> <RAM in MB> <disk space in GB> <num virtual cores>
     267
     268{{{
     269nova flavor-create m1.super 7 32768 160 16
     270nova flavor-list
     271+--------------------------------------+------------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
     272| ID                                   | Name       | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs |
     273+--------------------------------------+------------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
     274| 1                                    | m1.tiny    | 512       | 0    | 0         |      | 1     | 1.0         | True      | {}          |
     275| 2                                    | m1.small   | 2048      | 20   | 0         |      | 1     | 1.0         | True      | {}          |
     276| 3                                    | m1.medium  | 4096      | 40   | 0         |      | 2     | 1.0         | True      | {}          |
     277| 4                                    | m1.large   | 8192      | 80   | 0         |      | 4     | 1.0         | True      | {}          |
     278| 6                                    | default-vm | 2048      | 20   | 0         |      | 1     | 1.0         | True      | {}          |
     279| 7                                    | m1.super   | 32768     | 160  | 0         |      | 16    | 1.0         | True      | {}          |
     280| 76b049db-7f84-4fa0-8202-a31432af34d7 | m1.xlarge  | 16384     | 160  | 0         |      | 8     | 1.0         | True      | {}          |
     281+--------------------------------------+------------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
     282}}}
     283
     284== Managing Quotas ==
     285Openstack enforces quotas at the slice (project) level and at the server level.
     286
     287To view the default quotas, use the following command:
     288{{{
     289source /etc/novarc
     290nova quota-defaults
     291}}}
     292
     293To update the default quota, use the following command:
     294{{{
     295nova quota-class-update --key value default
     296}}}
     297See here for more details:
     298http://docs.openstack.org/user-guide-admin/content/cli_set_quotas.html
     299
     300There is also a notion of absolute limits on quota. The default quota
     301cannot exceed the absolute limits.
     302To view the absolute limit quota, use the following command:
     303{{{
     304nova absolute-limits
     305}}}
     306
     307To change the value of the absolute-limits you must edit /etc/nova/nova.conf on the control node and restart the nova-api service.
     308For example, you can add these lines to set the number of cores and RAM:
     309{{{
     310quota_ram=512000
     311quota_cores=150
     312}}}
     313
     314Further, there is a notion of overcommitting in OpenStack and this too has a limit.
     315See here for details: http://docs.openstack.org/openstack-ops/content/compute_nodes.html
     316
    264317
    265318=== Cleanup Procedures ===
     
    280333     sudo service gram-amv2 restart
    281334}}}
     335
     336