Using OnMetal Cloud Servers


Note: This article presents the steps to use if you will be creating an OnMetal Cloud SErver through the Cloud Control Panel inteface. For the parallel steps to use in the API, see Using OnMetal Cloud Servers through API.

OnMetal allows you to boot bare metal servers via the Rackspace Cloud Control Panel. Use the following steps to set up an OnMetal Cloud Server through the Control Panel interface.

Create OnMetal Cloud Server in Control Panel

  1. Log in to the Cloud Control Panel.
    The Cloud Servers List opens by default.
  2. Click the Create Server button.
  3. On the Create Server page, click the OnMetal Server tab.

  4. In the Server Details section, enter a name for the server and select the region in which the server will reside.
    Note: OnMetal servers are currently available only in the Northern Virginia (IAD) region. This list will be expanded as other regions become available.

  5. In the Flavor section, choose the appropriate configuration for your workload.


IMPORTANT
OnMetal Servers must be created using an SSH key pair. For information on generating SSH Keys, see Manage SSH Key Pairs for Cloud Servers with python-novaclient.

  1. Assign a public key to the server by either selecting an existing key or adding a new one:
    • To assign an existing public key, select the key name in the SSH Keys list, and skip to step 13.
    • To add a new public key, continue with the next step.
  2. To add a new public key, click Add Public Key.
    Note: If you have previously added your public key, this option is labeled Manage SSH Keys

  3. If you are adding a public key, give your new public key a name.
  4. In the Region field, confirm the region in which your key will be used.
  5. Paste your entire public key in the Public Key field, and then click Add Public Key.
    For information about how to generate a public and private key pair, see Manage SSH Keypairs for Cloud Servers with python-novaclient.
  6. Confirm that your key is listed in the SSH Keys list for your new server and select it.
  7. As needed, create a new network and select the PublicNet and ServiceNet options.
  8. ClickCreate Server.
    Your server is built.

Boot your server

To boot your OnMetal server, choose an image (operating system) and a flavor (server size).

Supported Images

  • OnMetal - CentOS 7
  • OnMetal - Debian 7 (Wheezy)

Note: Other images will be available soon.

Supported Flavors

  • All flavors have a 32 GB system disk.
  • All flavors include dual 10 GigE NICs in a high availability bonded configuration and use VLAN tagging to access ServiceNet (for traffic within a Rackspace region) and PublicNet (the Internet).

Boot command

From the Control Panel, click the link under Log Into Your Server Now in the left column to log in to your server. See Connecting to a server using SSH on Linux or Mac OS for further information on

Use the following command to boot your OnMetal server.

    supernova iad boot --flavor <flavor ID> --image <image ID> --key-name <key name>
    <server name>

For example:

supernova iad boot --flavor onmetal-compute1 --image 1387253c-7735-4542-9612-26bc9ff77a9d --key-name russell onmetal-test

You should see output such as:

    +------------------------+--------------------------------------+
    | Property | Value |
    +------------------------+--------------------------------------+
    | status | BUILD |
    | updated | 2014-05-31T00:23:29Z |
    | OS-EXT-STS:task_state | scheduling |
    | key_name | russell |
    | image | OnMetal - Debian 7 (Wheezy) |
    | hostId | |
    | OS-EXT-STS:vm_state | building |
    | flavor | OnMetal I/O v1 |
    | id | a8ea2366-9e50-4604-b6ce-e3edb8750451 |
    | user_id | 83362 |
    | name | teeth5 |
    | adminPass | 6FgtaEqkapRo |
    | tenant_id | 545251 |
    | created | 2014-05-31T00:23:29Z |
    | OS-DCF:diskConfig | MANUAL |
    | accessIPv4 | |
    | accessIPv6 | |
    | progress | 0 |
    | OS-EXT-STS:power_state | 0 |
    | config_drive | |
    | metadata | {} |
    +------------------------+--------------------------------------+

Note: Although this output displays an admin password, this password is not actually used. You can safely ignore it.

The server should take around five minutes to build. You can check the status by running:

supernova iad show <instance id>

The output should look like the following example:

    +------------------------+--------------------------------------------------------------------+

    | Property | Value |
    +------------------------+--------------------------------------------------------------------+
    | status | ACTIVE |
    | updated | 2014-05-31T00:27:34Z |
    | OS-EXT-STS:task_state | None |
    | private network | 10.184.0.48 |
    | key_name | russell |
    | image | OnMetal - Debian 7 (Wheezy) (1387253c-7735-4542-9612-26bc9ff77a9d) |
    | hostId | 8a12611e45a1e15a1aec221ab05c8494524d6bf00e7fb17c5c82722a |
    | OS-EXT-STS:vm_state | active |
    | public network | 23.253.157.48 |
    | flavor | OnMetal I/O v1 (onmetal-io1) |
    | id | a8ea2366-9e50-4604-b6ce-e3edb8750451 |
    | user_id | 83362 |
    | name | teeth5 |
    | created | 2014-05-31T00:23:29Z |
    | tenant_id | 545251 |
    | OS-DCF:diskConfig | MANUAL |
    | accessIPv4 | 23.253.157.48 |
    | accessIPv6 | |
    | progress | 0 |
    | OS-EXT-STS:power_state | 1 |
    | config_drive | |
    | metadata | {} |
    +------------------------+--------------------------------------------------------------------+

Within a few minutes, the server should be assigned a public and private IP, which you will see in the output of the show command. Once the status becomes ACTIVE, the server will boot for the first time. The server will not be reachable until the network configuration is complete. This may take another few minutes.

Logging in or deleting a server

  1. Once the server has booted, use the SSH key you uploaded to log into the server:
    Note: CoreOS requires you to sign in as "core."
    ssh root@<public IP>
  2. If needed, you can also delete/cancel the server.
    supernova iad delete a8ea2366-9e50-4604-b6ce-e3edb8750451
  3. Use the following command to see the list/progress.
    supernova iad list

    The output should look something like the following:

        +--------------------------------------+---------+--------+------------+-------------+---------------------------------------------+
        | ID | Name | Status | Task State | Power State | Networks |
        +--------------------------------------+---------+--------+------------+-------------+---------------------------------------------+
        | d1d58868-2b14-4fa5-b01f-e51d658556a8 | highcpu | ACTIVE | deleting | Running | public=23.253.157.105; private=10.184.0.105 |
        +--------------------------------------+---------+--------+------------+-------------+---------------------------------------------+

Note: Your server will go into “deleting” task_state. OnMetal deletes take a bit longer than virtual servers. Usually on the order of a few minutes.

Using OnMetal

The flash cards included with the OnMetal I/O flavor come unformatted. Feel free to RAID and format them however you like. For more information, see Configure flash drives in High I/O instances as Data drives.



Was this content helpful?




© 2014 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License


See license specifics and DISCLAIMER