Create a server profile

Prerequisites

  • Minimum required session ID privileges: Server administrator

  • A managed enclosure that includes a blade server without a server profile or a rack server under management without a server profile

  • The selected server hardware is powered off


[NOTE: ]

NOTE: Duplicate VLANs must be placed on different physical ports (LOMs). Create or edit the connections to specify different networks or place them on different physical ports.


Creating a server profile using REST APIs
  1. Get a server hardware URI.

    GET /rest/server-profiles/available-servers

  2. Select the BIOS settings for the server hardware using the associated server hardware type URI.

    To retrieve the available values from the given server hardware type:

    GET /rest/server-hardware-types/{id}

  3. Get available server ports using the server hardware type URI and enclosure group URI associated with the server hardware. (The hardware type and enclosure group of the physical server must match the profile.)

    GET /rest/server-profiles/profile-ports?serverHardwareTypeUri={uri}&enclosureGroupUri={uri}

  4. Select the network URIs for the server profile connections using the server hardware type URI and the enclosure group URI.

    GET /rest/server-profiles/available-networks?serverHardwareTypeUri={uri}&enclosureGroupUri={uri}


    [NOTE: ]

    NOTE: If you are attaching SAN storage, you can select connections that are associated with the storage system. See step 7.


  5. Select the firmware URI you prefer to apply.

    GET /rest/firmware-drivers

  6. Define the local storage settings for the server based on the storage capabilities from the associated server hardware type. Retrieve the available local storage capabilities from the given server hardware.

    GET /rest/server-hardware-types/{id}

  7. Select the OS type used by the storage attachments. (Optional. Only apply to attach SAN storage.)

    GET /rest/storage-systems/host-types

  8. Select storage volumes that are visible to that server hardware type/enclosure group. (Optional. Only apply to attach SAN storage.) For each storage volume that you want to attach, you need the associated storage system URI and storage pool URI. This information is returned in the response body.

    GET /rest/server-profiles/available-storage-systems?count=25&start=0&enclosureGroupUri={uri}&serverHardwareTypeUri={uri}

  9. Create the server profile with the information from the previous steps. During this step you can specify the boot order and BIOS settings.

    POST /rest/server-profiles