This type of
service profile
provides the maximum amount of flexibility and control. This profile allows you
to override the identity values that are on the server at the time of
association and use the resource pools and policies set up in
Cisco UCS Manager
to automate some administration tasks.
You can disassociate this
service profile
from one server and then associate it with another server. This re-association
can be done either manually or through an automated server pool policy. The
burned-in settings, such as UUID and MAC address, on the new server are
overwritten with the configuration in the
service profile.
As a result, the change in server is transparent to your network. You do not
need to reconfigure any component or application on your network to begin using
the new server.
This profile allows you to take advantage of and manage system resources
through resource pools and policies, such as the following:
Virtualized identity information, including pools of MAC addresses,
WWN addresses, and UUIDs
Ethernet and Fibre Channel adapter profile policies
Firmware package policies
Operating system boot order policies
Unless the service profile contains power management policies, a server pool qualification policy, or another policy that requires a specific hardware configuration, the profile can be used for any type of server in the Cisco UCS domain.
You can associate these service profiles with either a rack-mount server or a blade server. The ability to migrate the service profile depends upon whether you choose to restrict migration of the service profile.
Note
If you choose not to restrict migration, Cisco UCS Manager does not perform any compatibility checks on the new server before migrating the existing service profile. If the hardware of both servers are not similar, the association might fail.
Service Profiles that Inherit Server Identity
This hardware-based service profile is the simplest to use and create. This profile uses the default values in the server and mimics the management of a rack-mounted server. It is tied to a specific server and cannot be moved or migrated to another server.
You do not need to create pools or configuration policies to use this service profile.
This service profile inherits and applies the identity and configuration information that is present at the time of association, such as the following:
MAC addresses for the two NICs
For a converged network adapter or a virtual interface card, the WWN addresses for the two HBAs
BIOS versions
Server UUID
Important:
The server identity and configuration information inherited through this service profile may not be the values burned into the server hardware at manufacture if those values were changed before this profile is associated with the server.
Guidelines and Recommendations for Service Profiles
In addition to any guidelines or recommendations that are specific to policies and pools included in service profiles and service profile templates, such as the local disk configuration policy, you need to be aware of the following guidelines and recommendations that impact the ability to associate a service profile with a server:
Limit to the Number of vNICs that Can Be Configured on a Rack-Mount Server
You can configure up to 56 vNICs per supported adapter, such as the Cisco UCS P81E Virtual Interface Card (N2XX-ACPCI01), on any rack-mount server that is integrated with Cisco UCS Manager.
No Power Capping Support for Rack-Mount Servers
Power capping is not supported for rack servers. If you include a power control policy in a service profile that is associated with a rack-mount server, the policy is not implemented.
Service Profile Templates
With a
service profile
template, you can quickly create several
service profiles
with the same basic parameters, such as the number of vNICs and vHBAs, and with
identity information drawn from the same pools.
Tip
If you need only one
service profile
with similar values to an existing
service profile,
you can clone a
service profile
in the
Cisco UCS Manager GUI.
For example, if you need several
service profiles
with similar values to configure servers to host database software, you can
create a
service profile
template, either manually or from an existing
service profile.
You then use the template to create the
service profiles.
Cisco UCS
supports the following types of
service profile
templates:
Initial template
Service profiles
created from an initial template inherit all the properties of the template.
However, after you create the profile, it is no longer connected to the
template. If you need to make changes to one or more profiles created from this
template, you must change each profile individually.
Updating template
Service profiles
created from an updating template inherit all the properties of the template and
remain connected to the template. Any changes to the template automatically
update the
service profiles
created from the template.
Creates the specified service profile template and enters
organization service profile mode.
Enter a unique profile-name to identify this service profile template.
This name can be between 2 and 32 alphanumeric characters. You cannot use spaces or any special characters other than - (hyphen), _ (underscore), : (colon), and . (period), and this name must be unique across all service profiles and service profile templates within the same organization.
Step 3
UCS-A /org/service-profile #
set bios-policypolicy-name
Associates the specified BIOS policy with the service profile.
Step 4
UCS-A /org/service-profile #
set boot-policypolicy-name
Associates the specified boot policy with the service profile.
Step 5
UCS-A /org/service-profile #
set descrdescription
(Optional)
Provides a description for the service profile.
Note
If your description includes spaces, special characters, or
punctuation, you must begin and end your description with quotation marks. The
quotation marks will not appear in the description field of any
show command output.
Step 6
UCS-A /org/service-profile #
set dynamic-vnic-conn-policypolicy-name
Associates the specified dynamic vNIC connection policy with the service
profile.
Step 7
UCS-A /org/service-profile # set ext-mgmt-ip-state {none | pooled}
Specifies how the management IP address will be assigned to the service profile.
You can set the management IP address policy using the following options:
None-- The service profile is not assigned an IP address.
Pooled-- The service profile is assigned an IP address from the management IP pool.
Note
Setting the management IP address to static for a service profile template will result in an error.
Step 8
UCS-A /org/service-profile #
set host-fw-policypolicy-name
Associates the specified host firmware policy with the service
profile.
Specifies the selection preference for the specified vCon.
Step 20
UCS-A /org/service-profile #
set vcon-profilepolicy-name
Associates the specified vNIC/vHBA placement profile with the service
profile.
Note
You can either assign a vNIC/vHBA placement profile to the service profile, or set vCon selection preferences for the service profile, but you do not need to do both.
Step 21
UCS-A /org/service-profile #
commit-buffer
Commits the transaction to the system configuration.
The following example shows how to create a service profile template and commit
the transaction:
UCS-A# scope org /
UCS-A /org* # create service-profile ServTemp2 updating-template
UCS-A /org/service-profile* # set bios-policy biospol1
UCS-A /org/service-profile* # set boot-policy bootpol32
UCS-A /org/service-profile* # set descr "This is a service profile example."
UCS-A /org/service-profile* # set dynamic-vnic-conn-policy mydynvnicconnpolicy
UCS-A /org/service-profile* # set ext-mgmt-ip-state pooled
UCS-A /org/service-profile* # set host-fw-policy ipmi-user987
UCS-A /org/service-profile* # set identity dynamic-uuid derived
UCS-A /org/service-profile* # set ipmi-access-profile ipmiProf16
UCS-A /org/service-profile* # set local-disk-policy localdiskpol33
UCS-A /org/service-profile* # set maint-policy maintpol4
UCS-A /org/service-profile* # set mgmt-fw-policy mgmtfwpol75
UCS-A /org/service-profile* # set power-control-policy powcontrpol13
UCS-A /org/service-profile* # set scrub-policy scrubpol55
UCS-A /org/service-profile* # set sol-policy solpol2
UCS-A /org/service-profile* # set stats-policy statspol4
UCS-A /org/service-profile* # set user-label mylabel
UCS-A /org/service-profile* # vcon-policy myvconnpolicy
UCS-A /org/service-profile* # commit-buffer
UCS-A /org/service-profile #
What to Do Next
(Optional) Configure a boot definition for the service profile.
Use this option only if you have not associated a boot policy with the service
profile.
Create a service profile instance from the service profile
template.
Creating a Service Profile Instance from a Service Profile Template
Before You Begin
Verify that there is a service profile template from which to create a service profile instance.
Procedure
Command or Action
Purpose
Step 1
UCS-A# scope orgorg-name
Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name.
Creates the specified service profile instance and enters organization service profile mode.
Enter a unique profile-name to identify this service profile template.
This name can be between 2 and 32 alphanumeric characters. You cannot use spaces or any special characters other than - (hyphen), _ (underscore), : (colon), and . (period), and this name must be unique across all service profiles and service profile templates within the same organization.
Step 3
UCS-A /org/service-profile # set src-templ-nameprofile-name
Specifies the source service profile template to apply to the service profile instance. All configuration settings from the service profile template will be applied to the service profile instance.
Step 4
UCS-A /org/service-profile # commit-buffer
Commits the transaction to the system configuration.
The following example creates a service profile instance named ServProf34, applies the service profile template named ServTemp2, and commits the transaction:
Creates the specified service profile instance and enters
organization service profile mode.
Enter a unique profile-name to identify this service profile template.
This name can be between 2 and 32 alphanumeric characters. You cannot use spaces or any special characters other than - (hyphen), _ (underscore), : (colon), and . (period), and this name must be unique across all service profiles and service profile templates within the same organization.
Step 3
UCS-A /org/service-profile #
set bios-policypolicy-name
Associates the specified BIOS policy with the service profile.
Step 4
UCS-A /org/service-profile #
set boot-policypolicy-name
Associates the specified boot policy with the service profile.
Step 5
UCS-A /org/service-profile #
set descrdescription
(Optional)
Provides a description for the service profile.
Note
If your description includes spaces, special characters, or
punctuation, you must begin and end your description with quotation marks. The
quotation marks will not appear in the description field of any
show command output.
Step 6
UCS-A /org/service-profile #
set dynamic-vnic-conn-policypolicy-name
Associates the specified dynamic vNIC connection policy with the service
profile.
Step 7
UCS-A /org/service-profile # set ext-mgmt-ip-state {none | pooled | static}
Specifies how the management IP address will be assigned to the service profile.
You can set the management IP address policy using the following options:
None-- The service profile is not assigned an IP address.
Pooled-- The service profile is assigned an IP address from the management IP pool.
Static-- The service profile is assigned the configured static IP address.
Step 8
UCS-A /org/service-profile #
set host-fw-policyipmi-user-name
Associates the specified host forwarding policy with the service
profile.
Specifies the selection preference for the specified vCon.
Step 20
UCS-A /org/service-profile #
set vcon-policypolicy-name
Associates the specified vNIC/vHBA placement policy with the service
profile.
Note
You can either assign a vNIC/vHBA placement profile to the service profile, or set vCon selection preferences for the service profile, but you do not need to do both.
Step 21
UCS-A /org/service-profile #
commit-buffer
Commits the transaction to the system configuration.
The following example shows how to create a service profile instance and commit
the transaction:
UCS-A# scope org /
UCS-A /org* # create service-profile ServInst90 instance
UCS-A /org/service-profile* # set bios-policy biospol1
UCS-A /org/service-profile* # set boot-policy bootpol32
UCS-A /org/service-profile* # set descr "This is a service profile example."
UCS-A /org/service-profile* # set ext-mgmt-ip-state pooled
UCS-A /org/service-profile* # set host-fw-policy ipmi-user987
UCS-A /org/service-profile* # set identity dynamic-uuid derived
UCS-A /org/service-profile* # set ipmi-access-profile ipmiProf16
UCS-A /org/service-profile* # set local-disk-policy localdiskpol33
UCS-A /org/service-profile* # set maint-policy maintpol4
UCS-A /org/service-profile* # set mgmt-fw-policy mgmtfwpol75
UCS-A /org/service-profile* # set power-control-policy powcontrpol13
UCS-A /org/service-profile* # set scrub-policy scrubpol55
UCS-A /org/service-profile* # set sol-policy solpol2
UCS-A /org/service-profile* # set stats-policy statspol4
UCS-A /org/service-profile* # set user-label mylabel
UCS-A /org/service-profile* # vcon-policy myvconnpolicy
UCS-A /org/service-profile* # commit-buffer
UCS-A /org/service-profile #
What to Do Next
(Optional) Configure a boot definition for the service profile.
Use this option only if you have not associated a boot policy with the service
profile.
Associate the service profile with a blade server, server pool, or rack server.
Configuring a vNIC for a Service Profile
Procedure
Command or Action
Purpose
Step 1
UCS-A# scope orgorg-name
Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name.
Step 2
UCS-A /org # scope service-profileprofile-name
Enters organization service profile mode for the specified service.
Creates a vNIC for the specified service profile and enters organization service profile vNIC mode.
Step 4
UCS-A /org/service-profile/vnic # set adapter-policypolicy-name
Specifies the adapter policy to use for the vNIC.
Step 5
UCS-A /org/service-profile/vnic # set fabric
{a | a-b | b | b-a}
Specifies the fabric to use for the vNIC. If you did not specify
the fabric when creating the vNIC template in Step 3, you have the option
to specify it with this command.
If you want this vNIC to be able
to access the second fabric interconnect if the default one is unavailable,
choose
a-b (A is the primary) or b-a (B is the primary) .
Note
Do not enable fabric failover for the vNIC under the following circumstances:
If the Cisco UCS domain is running in Ethernet Switch Mode. vNIC fabric failover is not supported in that mode. If all Ethernet uplinks on one fabric interconnect fail, the vNICs do not fail over to the other.
if you plan to associate this
vNIC with a server that has an adapter which does not support fabric failover, such as the
Cisco UCS 82598KR-CI 10-Gigabit
Ethernet Adapter.
If you do so,
Cisco UCS Manager
generates a configuration fault when you associate the
service profile
with the server.
Specifies the identity (MAC address) for the vNIC. You can set the identity using one of the following options:
Create a unique MAC address in the form nn:nn:nn:nn:nn:nn.
Derive the MAC address from one burned into the hardware at manufacture.
Assign a MAC address from a MAC pool.
Step 7
UCS-A /org/service-profile/vnic # set mtusize-num
The maximum transmission unit, or packet size, that this vNIC accepts.
Enter an integer between 1500 and 9216.
Note
If the vNIC has an associated QoS policy, the MTU specified here must be equal to or less than the MTU specified in the associated QoS system class. If this MTU value exceeds the MTU value in the QoS system class, packets may be dropped during data transmission.
Step 8
UCS-A /org/service-profile/vnic # set nw-control-policypolicy-name
The network control policy the vNIC should use.
Step 9
UCS-A /org/service-profile/vnic # set order
{order-num | unspecified}
Specifies the relative order for the vNIC.
Step 10
UCS-A /org/service-profile/vnic # set pin-groupgroup-name
The LAN pin group the vNIC should use.
Step 11
UCS-A /org/service-profile/vnic # set qos-policypolicy-name
The quality of service policy the vNIC should use.
Step 12
UCS-A /org/service-profile/vnic # set stats-policypolicy-name
The statistics collection policy the vNIC should use.
Step 13
UCS-A /org/service-profile/vnic # set template-namepolicy-name
Specifies the dynamic vNIC connectivity policy to use for the vNIC.
Step 14
UCS-A /org/service-profile/vnic # set vcon {1 | 2 | any}
Assigns the vNIC to the specified vCon. Use the any keyword to have Cisco UCS Manager automatically assign the vNIC.
Step 15
UCS-A /org/service-profile/vnic # commit-buffer
Commits the transaction to the system configuration.
The following example configures a vNIC for a service profile and commits the transaction:
UCS-A# scope org /
UCS-A /org* # scope service-profile ServInst90
UCS-A /org/service-profile* # create vnic vnic3 fabric a
UCS-A /org/service-profile/vnic* # set adapter-policy AdaptPol2
UCS-A /org/service-profile/vnic* # set fabric a-b
UCS-A /org/service-profile/vnic* # set identity mac-pool MacPool3
UCS-A /org/service-profile/vnic* # set mtu 8900
UCS-A /org/service-profile/vnic* # set nw-control-policy ncp5
UCS-A /org/service-profile/vnic* # set order 0
UCS-A /org/service-profile/vnic* # set pin-group EthPinGroup12
UCS-A /org/service-profile/vnic* # set qos-policy QosPol5
UCS-A /org/service-profile/vnic* # set stats-policy StatsPol2
UCS-A /org/service-profile/vnic* # set template-name VnicConnPol3
UCS-A /org/service-profile/vnic* # set set vcon any
UCS-A /org/service-profile/vnic* # commit-buffer
UCS-A /org/service-profile/vnic #
Configuring a vHBA for a Service Profile
Procedure
Command or Action
Purpose
Step 1
UCS-A# scope orgorg-name
Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name.
Step 2
UCS-A /org # scope service-profileprofile-name
Enters organization service profile mode for the specified service.
Specifies the storage identity (world wide port name [WWPN]) for the vHBA.
You can set the storage identity using one of the following options:
Create a unique WWPN in the form hh:hh:hh:hh:hh:hh:hh:hh.
You can specify a WWPN in the range from
20:00:00:00:00:00:00:00 to 20:FF:FF:FF:FF:FF:FF:FF or from 50:00:00:00:00:00:00:00 to 5F:FF:FF:FF:FF:FF:FF:FF.
Derive the WWPN from one burned into the hardware at manufacture.
Assign a WWPN from a WWN pool.
Note
If you want the WWPN to be compatible with Cisco MDS Fibre Channel switches, use the manual template and WWPN 20:00:00:25:B5:XX:XX:XX.
Step 7
UCS-A /org/service-profile/vhba # set max-field-sizesize-num
Specifies the maximum size of the Fibre Channel frame payload (in bytes) that the vHBA supports.
Step 8
UCS-A /org/service-profile/vhba # set order {order-num | unspecified}
Specifies the PCI scan order for the vHBA.
Step 9
UCS-A /org/service-profile/vhba # set pers-bind {disabled | enabled}
Disables or enables persistent binding to
Fibre Channel targets.
Step 10
UCS-A /org/service-profile/vhba # set pin-groupgroup-name
Specifies the pin group to use for the vHBA.
Step 11
UCS-A /org/service-profile/vhba # set qos-policypolicy-name
Specifies the QoS policy to use for the vHBA.
Step 12
UCS-A /org/service-profile/vhba # set stats-policypolicy-name
Specifies the stats policy to use for the vHBA.
Step 13
UCS-A /org/service-profile/vhba # set template-namepolicy-name
Specifies the vHBA SAN connectivity policy to use for the vHBA.
Step 14
UCS-A /org/service-profile/vhba # commit-buffer
Commits the transaction to the system configuration.
The following example configures a vHBA for a service profile and commits the transaction:
UCS-A# scope org /
UCS-A /org* # scope service-profile ServInst90
UCS-A /org/service-profile* # create vhba vhba3 fabric b
UCS-A /org/service-profile/vhba* # set adapter-policy AdaptPol2
UCS-A /org/service-profile/vhba* # set set admin-vcon any
UCS-A /org/service-profile/vhba* # set admin-vcon any
UCS-A /org/service-profile/vhba* # set identity wwpn-pool SanPool7
UCS-A /org/service-profile/vhba* # set max-field-size 2112
UCS-A /org/service-profile/vhba* # set order 0
UCS-A /org/service-profile/vhba* # set pers-bind enabled
UCS-A /org/service-profile/vhba* # set pin-group FcPinGroup12
UCS-A /org/service-profile/vhba* # set qos-policy QosPol5
UCS-A /org/service-profile/vhba* # set stats-policy StatsPol2
UCS-A /org/service-profile/vhba* # set template-name SanConnPol3
UCS-A /org/service-profile/vhba* # commit-buffer
UCS-A /org/service-profile/vhba #
Configuring a Local Disk for a Service Profile
Procedure
Command or Action
Purpose
Step 1
UCS-A#
scope orgorg-name
Enters organization mode for the specified organization. To enter
the root organization mode, type
/ as the
org-name.
Step 2
UCS-A /org #
scope service-profileprofile-name
Enters organization service profile mode for the specified service
profile.
Creates a boot definition for the service profile and enters
organization service profile boot definition mode.
Step 4
UCS-A /org/service-profile/boot-definition #
set descrdescription
(Optional)
Provides a description for the boot definition.
Step 5
UCS-A /org/service-profile/boot-definition #
set reboot-on-update{no |
yes}
(Optional) Specifies whether to automatically reboot all servers that use
this boot definition after changes are made to the boot order. By default, the
reboot on update option is disabled.
Configure one or more of the following boot options for the boot
definition and set their boot order:
LAN Boot—Boots from a centralized provisioning
server. It is frequently used to install operating systems on a server from
that server.
If you choose the LAN Boot option, continue to Configuring a LAN Boot for a Service Profile Boot Definition.
Storage Boot— Boots from an operating system
image on the SAN. You can specify a primary and a secondary SAN boot. If the
primary boot fails, the server attempts to boot from the secondary.
We recommend that you use a SAN boot, because it offers the
most service profile mobility within the system. If you boot from the SAN, when
you move a service profile from one server to another, the new server boots
from exactly the same operating system image. Therefore, the new server appears to be exactly the same server to the network.
If you choose the Storage Boot option, continue to Configuring a Storage Boot for a Service Profile Boot Definition.
Commits the transaction to the system configuration.
The following example enters the service profile named ServInst90, creates a LAN boot for the service profile boot definition, sets the boot order to 2, creates a primary path, and commits the transaction:
Creates a primary or secondary SAN image path and enters service
profile boot definition storage SAN image path mode.
The use of the terms primary or secondary boot devices does not imply a boot order. The
effective order of boot devices within the same device class is
determined by PCIe bus scan order.
Step 8
UCS-A
/org/service-profile/boot-definition/storage/san-image/path #
set lunlun-num
Specifies the LUN used for the SAN image path.
Step 9
UCS-A
/org/service-profile/boot-definition/storage/san-image/path #
set vhbavhba-name
Specifies the vHBA used for the SAN image path.
Step 10
UCS-A
/org/service-profile/boot-definition/storage/san-image/path #
set wwnwwn-num
Commits the transaction to the system configuration.
The following example enters the service profile named ServInst90, creates a storage boot for the service profile boot definition, sets the boot order to 2, creates a primary path, and commits the transaction:
Creates a read-only or read-write virtual media boot for the service profile boot definition and enters service profile boot definition virtual media mode.
Commits the transaction to the system configuration.
The following example enters the service profile named ServInst90, creates a virtual media boot with read-only privileges for the service profile boot definition, sets the boot order to 3, and commits the transaction:
Service Profiles and Service Profile Template Management
Associating a Service Profile with a Blade Server or Server Pool
Follow this procedure if you did not
associate the
service profile
with a blade server or server pool when you created it, or to change the blade server or server pool with
which a
service profile
is associated.
Procedure
Command or Action
Purpose
Step 1
UCS-A# scope orgorg-name
Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name.
Step 2
UCS-A /org # scope service-profileprofile-name
Enters organization service profile mode for the specified service profile.
Follow this procedure if you did not
associate the
service profile
with a rack server when you created it, or to change the rack server with
which a
service profile
is associated.
Procedure
Command or Action
Purpose
Step 1
UCS-A# scope orgorg-name
Enters organization mode for the specified organization. To enter the root organization mode, type / as the org-name.
Step 2
UCS-A /org # scope service-profileprofile-name
Enters organization service profile mode for the specified service profile.
Resetting the UUID Assigned to a Service Profile from a Pool in a Service Profile Template
If you change the UUID suffix pool assigned to an updating service profile template, Cisco UCS Manager does not change the UUID assigned to a service profile created with that template. If you want Cisco UCS Manager to assign a UUID from the newly assigned pool to the service profile, and therefore to the associated server, you must reset the UUID. You can only reset the UUID assigned to a service profile and its associated server under the following circumstances:
The service profile was created from an updating service profile template and includes a UUID assigned from a UUID suffix pool.
The UUID suffix pool name is specified in the service profile. For example, the pool name is not empty.
The UUID value is not 0, and is therefore not derived from the server hardware.
Procedure
Command or Action
Purpose
Step 1
UCS-A#
scope orgorg-name
Enters the command mode for the organization for which you want to reset the UUID. If the system does not include multi-tenancy, type
/ as the
org-name to enter the root organization.
Step 2
UCS-A /org #
scope service-profileprofile-name
Enters the service profile that requires the UUID for the associated server to be reset to a different UUID suffix pool.
Step 3
UCS-A /org/service-profile #
set identity dynamic-uuid derived
Specifies that the service profile will obtain a UUID dynamically from a pool.
Step 4
UCS-A /org/service-profile #
commit-buffer
Commits the transaction to the system configuration.
This example resets the UUID of a service profile to a different UUID suffix pool:
Resetting the MAC Address Assigned to a vNIC from a Pool in a Service Profile Template
If you change the MAC pool assigned to an updating service profile template, Cisco UCS Manager does not change the MAC address assigned to a service profile created with that template. If you want Cisco UCS Manager to assign a MAC address from the newly assigned pool to the service profile, and therefore to the associated server, you must reset the MAC address. You can only reset the MAC address assigned to a service profile and its associated server under the following circumstances:
The service profile was created from an updating service profile template and includes a MAC address assigned from a MAC pool.
The MAC pool name is specified in the service profile. For example, the pool name is not empty.
The MAC address value is not 0, and is therefore not derived from the server hardware.
Procedure
Command or Action
Purpose
Step 1
UCS-A#
scope orgorg-name
Enters the command mode for the organization that contains the service profile for which you want to reset the MAC address. If the system does not include multi-tenancy, type
/ as the
org-name to enter the root organization.
Step 2
UCS-A /org #
scope service-profileprofile-name
Enters the command mode for the service profile that requires the MAC address of the associated server to be reset to a different MAC address.
Step 3
UCS-A /org/service-profile #
scope vnicvnic-name
Enters the command mode for the vNIC for which you want to reset the MAC address.
Step 4
UCS-A /org/service-profile/vnic #
set identity dynamic-mac derived
Specifies that the vNIC will obtain a MAC address dynamically from a pool.
Step 5
UCS-A /org/service-profile/vnic #
commit-buffer
Commits the transaction to the system configuration.
This example resets the MAC address of a vNIC in a service profile:
Resetting the WWPN Assigned to a vHBA from a Pool in a Service Profile Template
If you change the WWPN pool assigned to an updating service profile template, Cisco UCS Manager does not change the WWPN assigned to a service profile created with that template. If you want Cisco UCS Manager to assign a WWPN from the newly assigned pool to the service profile, and therefore to the associated server, you must reset the WWPN. You can only reset the WWPN assigned to a service profile and its associated server under the following circumstances:
The service profile was created from an updating service profile template and includes a WWPN assigned from a WWPN pool.
The WWPN pool name is specified in the service profile. For example, the pool name is not empty.
The WWPN value is not 0, and is therefore not derived from the server hardware.
Procedure
Command or Action
Purpose
Step 1
UCS-A#
scope orgorg-name
Enters the command mode for the organization that contains the service profile for which you want to reset the WWPN. If the system does not include multi-tenancy, type
/ as the
org-name to enter the root organization.
Step 2
UCS-A /org #
scope service-profileprofile-name
Enters the service profile of the vHBA for which you want to reset the WWPN.
Step 3
UCS-A /org/service-profile #
scope vhbavhba-name
Enters the command mode for vHBA for which you want to reset the WWPN.
Step 4
UCS-A /org/service-profile/vhba #
set identity dynamic-wwpn derived
Specifies that the vHBA will obtain a WWPN dynamically from a pool.
Step 5
UCS-A /org/service-profile/vhba #
commit-buffer
Commits the transaction to the system configuration.
This example resets the WWPN of a vHBA in a service profile: