Adding a Host Profile

This section describes the sequence of operation about how to add a host-profile to the software configuration configured on the CM.

  1. To use host profiles, add the .tgz file to the software configuration on the CM by using the following CLI configuration and sync.

    config 
        software 
            host-profile host-profile_name url software_url user user_name password passowrd 

    NOTES:

    • host-profile host-profile_name - Specify the name of the host profile, which is used to configure the BIOS settings for a UCS server.

    • url software_url - Specify the HTTP, HTTPS, or file URL of the software. File format must be "file:///absolute/path/to/file".

      Must be a URI in the pattern (http:|https:|file:/)//.*.

    • user user_name - Specify the user name for HTTP/HTTPS authentication.

      Must be a string.

    • password passowrd - Specify the password for downloading software package.

      Must be an aes-cfb-128-encrypted string.

    The following CLI commands form a sample configuration.
    software host-profile cndp-upf
     url             https://www.abc.com/ucs/profile/cndp-upf-profile.tgz
     user            smi-readonly.gen
     password        $8$abc
     sha256          b01dc4d47926e7a35e352c2f2d1c9f8b280fd44a89d0657281ff858387669753
    exit
  2. To add the host-profile name in the cluster configuration, use the following CLI configuration.

    config 
        clusters cluster_name 
            nodes node_name 
                host-profile host-profile_name 
                commit 
                exit 

    NOTES:

    • clusters cluster_name - Specify the name used to uniquely identify the cluster. Must be an alphanumeric string, and can contain the hyphen (-) character, however it must not start with a hyphen.

      Must be a string.

    • nodes node_name -

      Specify the name of the node. name can be an alphanumeric string containing the hyphen (-). A host name cannot start with a hyphen (-). For example, kashaio-123.

      Must be a string.

    • host-profile host-profile_name - Specify the name of the host profile, which is used to configure the BIOS settings for a UCS server.

    The following CLI commands form a sample configuration.
    config
    clusters example-upf nodes kvm-1 host-profile cndp-upf
    commit
    top
    exit

    To return to the default settings, remove host-profile setting from the node. The following CLI commands form a sample configuration.

    config
    no clusters example-upf nodes kvm-1 host-profile
    commit        
    exit