Create a server profile with user-specified IDs

Use user-specified IDs to migrate server profiles from HPE Virtual Connect or HPE Virtual Connect Enterprise Manager to HPE OneView, or to re-create an accidentally-deleted server profile with SAN storage.

If you are re-creating a deleted server profile that uses SAN storage, first create an unassigned server profile, then copy the virtual IDs that you need from that profile, and then delete the profile to release the IDs for use in your re-created server profile. To retain storage provisioning, you must use the WWPN from the original server profile. This WWPN is in the storage array volume export.

Prerequisites

  • Minimum required session ID privileges: Server administrator

  • A managed enclosure that includes a server blade without a server profile

  • If you are re-creating an accidentally-deleted server profile with SAN storage:

    • WWPN that storage is exported to that should exist in the storage array volume export.

    • WWNN: any WWN not currently in use—typically WWPN +/- 1.

    • MAC: any virtual MAC address not currently in use.


      [TIP: ]

      TIP: You can obtain a free MAC address by creating an unassigned profile with a virtual MAC address, copy the MAC address, and then delete the profile.


    • Create an unassigned server profile, note the virtual IDs, and delete the unassigned server profile to release the IDs for use in your re-created server profile. See Create an unassigned server profile to use as a template.

  • If you are migrating server profiles from HPE Virtual Connect or HPE Virtual Connect Enterprise Manager, you need the IDs used in those server profiles.

Creating a server profile with user-specified IDs using REST APIs
  1. Get a server hardware URI.

    GET /rest/server-profiles/servers

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

    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.

    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}

  5. Select the firmware URI to apply.

    GET /rest/firmware-drivers

  6. Create the server profile with the information from the previous steps. During this step you can specify the boot order and BIOS settings and add the user-specified IDs.

    • Serial number

      serialNumberType:UserDefined

      serialNumber:{serial number not in use or serial number transferred from VC/VCEM}

    • Ethernet connection

      macType:UserDefined

      macAddress:{virtual mac address not in use or virtual mac address transferred from VC/VCEM}

    • Fibre Channel connection

      wwpnType:UserDefined

      wwpn:{virtual wwpn not in use, wwpn from accidentally-deleted profile with SAN storage, or wwpn transferred from VC/VCEM}

      wwnn:{virtual wwnn not in use, wwnn from accidentally-deleted profile with SAN storage, or wwnn transferred from VC/VCEM}

      macType:UserDefined

      macAddress:{virtual mac address not in use or virtual mac address transferred from VC/VCEM }

    POST /rest/server-profiles