Difference between revisions of "Supernova"

From Christoph's Personal Wiki
Jump to: navigation, search
(New page: {{stub}} ==Resizing a Cloud Server== The following command will show you your current servers, where <PROFILE> is the profile you're using (e.g., "dfw"): $ supernova <PROFILE> list Wh...)
 
(Resizing a Cloud Server)
Line 18: Line 18:
 
Take note of the <code>ID</code> or the <code>Name</code> of the Cloud Server you wish to resize.
 
Take note of the <code>ID</code> or the <code>Name</code> of the Cloud Server you wish to resize.
  
Next, you will need a list of flavors available to resize to:
+
Next, you will need a list of flavors available to resize to (note: You ''cannot'' resize a "performance" flavor):
 
 
 
  $ supernova <PROFILE> flavor-list
 
  $ supernova <PROFILE> flavor-list
Line 24: Line 24:
 
Which should give you an output like the following:
 
Which should give you an output like the following:
 
<pre>
 
<pre>
+----+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+
+
+------------------+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name                    | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+
| ID               | Name                    | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+
+
+------------------+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+
| 2 | 512MB Standard Instance | 512      | 20  | 0        |      | 1    |            | N/A      |
+
| 2               | 512MB Standard Instance | 512      | 20  | 0        |      | 1    |            | N/A      |
| 3 | 1GB Standard Instance  | 1024      | 40  | 0        |      | 1    |            | N/A      |
+
| 3               | 1GB Standard Instance  | 1024      | 40  | 0        |      | 1    |            | N/A      |
| 4 | 2GB Standard Instance  | 2048      | 80  | 0        |      | 2    |            | N/A      |
+
| 4               | 2GB Standard Instance  | 2048      | 80  | 0        |      | 2    |            | N/A      |
| 5 | 4GB Standard Instance  | 4096      | 160  | 0        |      | 2    |            | N/A      |
+
| 5               | 4GB Standard Instance  | 4096      | 160  | 0        |      | 2    |            | N/A      |
| 6 | 8GB Standard Instance  | 8192      | 320  | 0        |      | 4    |            | N/A      |
+
| 6               | 8GB Standard Instance  | 8192      | 320  | 0        |      | 4    |            | N/A      |
| 7 | 15GB Standard Instance  | 15360    | 620  | 0        |      | 6    |            | N/A      |
+
| 7               | 15GB Standard Instance  | 15360    | 620  | 0        |      | 6    |            | N/A      |
| 8 | 30GB Standard Instance  | 30720    | 1200 | 0        |      | 8    |            | N/A      |
+
| 8               | 30GB Standard Instance  | 30720    | 1200 | 0        |      | 8    |            | N/A      |
+----+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+
+
| performance1-1  | 1 GB Performance        | 1024      | 20  | 0        |      | 1    |            | N/A      |
 +
| performance1-2  | 2 GB Performance        | 2048      | 40  | 20        |      | 2    |            | N/A      |
 +
| performance1-4  | 4 GB Performance        | 4096      | 40  | 40        |      | 4    |            | N/A      |
 +
| performance1-8  | 8 GB Performance        | 8192      | 40  | 80        |      | 8    |            | N/A      |
 +
| performance2-120 | 120 GB Performance      | 122880    | 40  | 1200      |      | 32    |            | N/A      |
 +
| performance2-15  | 15 GB Performance      | 15360    | 40  | 150      |      | 4    |            | N/A      |
 +
| performance2-30  | 30 GB Performance      | 30720    | 40  | 300      |      | 8    |            | N/A      |
 +
| performance2-60  | 60 GB Performance      | 61440    | 40  | 600      |      | 16    |            | N/A      |
 +
| performance2-90  | 90 GB Performance      | 92160    | 40  | 900      |      | 24    |            | N/A      |
 +
+------------------+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+
 
</pre>
 
</pre>
  

Revision as of 13:36, 12 December 2013

This article is curently a "stub". This means it is an incomplete article needing further elaboration.

I always welcome suggestions, comments, and criticism. If you have something to contribute to this site, please follow this link: Contributing Information. Thank you!


Resizing a Cloud Server

The following command will show you your current servers, where <PROFILE> is the profile you're using (e.g., "dfw"):

$ supernova <PROFILE> list

Which should return something like the following:

+--------------------------------------+--------+--------+--------------------------------------------------------------------------+
|                  ID                  |  Name  | Status |                                       Networks                           |
+--------------------------------------+--------+--------+--------------------------------------------------------------------------+
| ffffffff-ffff-ffff-ffff-ffffffffffff | Foobar | ACTIVE | public=x.x.x.x, 2001:ffff:ffff:ffff:ffff:ffff:ffff:ffff; private=x.x.x.x |
+--------------------------------------+--------+--------+--------------------------------------------------------------------------+

Take note of the ID or the Name of the Cloud Server you wish to resize.

Next, you will need a list of flavors available to resize to (note: You cannot resize a "performance" flavor):

$ supernova <PROFILE> flavor-list

Which should give you an output like the following:

+------------------+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+
| ID               | Name                    | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+------------------+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+
| 2                | 512MB Standard Instance | 512       | 20   | 0         |      | 1     |             | N/A       |
| 3                | 1GB Standard Instance   | 1024      | 40   | 0         |      | 1     |             | N/A       |
| 4                | 2GB Standard Instance   | 2048      | 80   | 0         |      | 2     |             | N/A       |
| 5                | 4GB Standard Instance   | 4096      | 160  | 0         |      | 2     |             | N/A       |
| 6                | 8GB Standard Instance   | 8192      | 320  | 0         |      | 4     |             | N/A       |
| 7                | 15GB Standard Instance  | 15360     | 620  | 0         |      | 6     |             | N/A       |
| 8                | 30GB Standard Instance  | 30720     | 1200 | 0         |      | 8     |             | N/A       |
| performance1-1   | 1 GB Performance        | 1024      | 20   | 0         |      | 1     |             | N/A       |
| performance1-2   | 2 GB Performance        | 2048      | 40   | 20        |      | 2     |             | N/A       |
| performance1-4   | 4 GB Performance        | 4096      | 40   | 40        |      | 4     |             | N/A       |
| performance1-8   | 8 GB Performance        | 8192      | 40   | 80        |      | 8     |             | N/A       |
| performance2-120 | 120 GB Performance      | 122880    | 40   | 1200      |      | 32    |             | N/A       |
| performance2-15  | 15 GB Performance       | 15360     | 40   | 150       |      | 4     |             | N/A       |
| performance2-30  | 30 GB Performance       | 30720     | 40   | 300       |      | 8     |             | N/A       |
| performance2-60  | 60 GB Performance       | 61440     | 40   | 600       |      | 16    |             | N/A       |
| performance2-90  | 90 GB Performance       | 92160     | 40   | 900       |      | 24    |             | N/A       |
+------------------+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+

Take note of either the ID or the Name of the flavor you wish to resize to (I suggest always using the ID).

The final step is to issue the resize command, where <SERVER> is the Name or ID of the Cloud Server in question, and <FLAVOR> is the Name or ID of the flavor you are resizing to:

$ supernova resize <SERVER> <FLAVOR>

That's it. After a few minutes, your Cloud Server should be resized to whatever flavor your chose.