For example, you can choose to have associated servers boot from a local
device, such as a local disk or CD-ROM (VMedia), or you can select a SAN boot
or a LAN (PXE) boot.
You must include this policy in a
service profile,
and that
service profile
must be associated with a server for it to take effect. If you do not include a
boot policy in a
service profile,
the server uses the default settings in the BIOS to determine the boot order.
Important:
Changes to a boot policy may be propagated to all servers created with
an updating
service profile
template that includes that boot policy. Reassociation of the
service profile
with the server to rewrite the boot order information in the BIOS is
auto-triggered.
Guidelines
When you create a boot policy, you can add one or more of the
following to the boot policy and specify their boot order:
Boot type
Description
SAN 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 the exact same operating
system image. Therefore, the new server appears to be the exact same server to
the network.
LAN boot
Boots from a centralized provisioning server. It is
frequently used to install operating systems on a server from that server.
Local disk boot
If the server has a local drive, boots from that drive.
Virtual media boot
Mimics the insertion of a physical CD-ROM disk (read-only)
or floppy disk (read-write) into a server. It is typically used to manually
install operating systems on a server.
Note
The default boot order is as follows:
Local disk boot
LAN boot
Virtual media read-only boot
Virtual media read-write boot
Configuring a Boot Policy
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 a boot policy with the specified policy name, and enters
organization boot policy mode.
When you create the boot policy, specify the
operational option. This ensures that the server
boots from the operating system installed on the server. The
utility options is reserved and should only be
used if instructed to do so by a Cisco representative.
Step 3
UCS-A /org/boot-policy #
set descrdescription
(Optional)
Provides a description for the boot policy.
Note
If your description includes spaces, special characters, or
punctuation, you must begin and end your description with quotation marks. The
quotation marks do not appear in the description field of any
show command output.
Step 4
UCS-A /org/boot-policy #
set reboot-on-update{no |
yes}
Specifies whether the servers using this boot policy are
automatically rebooted after you make changes to the boot order.
Step 5
UCS-A /org/boot-policy #
commit-buffer
Commits the transaction to the system configuration.
The following example creates a boot policy named boot-policy-LAN,
provides a description for the boot policy, specifies that servers using this
policy will not be automatically rebooted when the boot order is changed, and
commits the transaction:
UCS-A# scope org /
UCS-A /org* # create boot-policy boot-policy-LAN purpose operational
UCS-A /org/boot-policy* # set descr "Boot policy that boots from the LAN."
UCS-A /org/boot-policy* # set reboot-on-update no
UCS-A /org/boot-policy* # commit-buffer
UCS-A /org/boot-policy #
What to Do Next
Configure one or more of the following boot options for the boot
policy 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.
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.
Cisco recommends 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 will boot
from the exact same operating system image. Therefore, the new server will
appear to be the exact same server to the network.
We recommend that the boot order in a boot policy include either a local disk or a SAN LUN, but not both, to avoid the possibility of the server booting from the wrong storage type. If you configure a local disk and a SAN LUN for the boot order storage type and the operating system or logical volume manager (LVM) is configured incorrectly, the server may boot from the local disk rather than the SAN LUN.
For example, on a server with Red Hat Linux installed, where the LVM is configured with default LV names and the boot order is configured with a SAN LUN and a local disk, Linux reports that there are two LVs with the same name and boots from the LV with the lowest SCSI ID, which could be the local disk.
Include the boot policy in a
service profile
and/or template.
Specifies the vNIC to use for the LAN path to the boot image.
Step 7
UCS-A /org/boot-policy/lan/path #commit-buffer
Commits the transaction to the system configuration.
The following example enters the boot policy named lab2-boot-policy, creates a LAN boot for the policy, sets the boot order to 2, creates primary and secondary paths using the vNICs named vNIC1 and vNIC2 , and commits the transaction:
Commits the transaction to the system configuration.
The following example enters the boot policy named lab1-boot-policy, creates a storage boot for the policy, sets the boot order to 1, creates a primary SAN image, uses a vHBA named vHBA2, creates primary path using LUN 967295200, and commits the transaction:
Creates a virtual media boot for the boot policy, specifies whether the virtual media is has read-only or read-write privileges, and enters organization boot policy virtual media mode.
Commits the transaction to the system configuration.
The following example enters the boot policy named lab3-boot-policy, creates a virtual media boot with read-only privileges for the policy, sets the boot order to 3, and commits the transaction:
This discovery policy determines how the system reacts when you add a
new chassis. If you create a chassis discovery policy, Cisco UCS Manager configures the chassis for the number of links between
the chassis and the fabric interconnect specified in the policy.
Configuring the Chassis Discovery Policy
Procedure
Command or Action
Purpose
Step 1
UCS-A#
scope org /
Enters the root organization mode.
Note
The chassis discovery policy can only be accessed from the root
organization.
Provides a description for the chassis discovery policy.
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 5
UCS-A /org/chassis-disc-policy #
set qualifierqualifier
(Optional)
Uses the specified server pool policy qualifications to associates
this policy with a server pool.
Step 6
UCS-A /org/chassis-disc-policy #
commit-buffer
Commits the transaction to the system configuration.
The following example scopes to the default chassis discovery policy,
sets it to discover chassis with four links to a fabric interconnect, provides
a description for the policy, and specifies the server pool policy
qualifications that will be used to qualify the chassis, and commits the
transaction:
UCS-A# scope org /
UCS-A /org # scope chassis-disc-policy
UCS-A /org/chassis-disc-policy* # set action 4-link
UCS-A /org/chassis-disc-policy* # set descr "This is an example chassis discovery policy."
UCS-A /org/chassis-disc-policy* # set qualifier ExampleQual
UCS-A /org/chassis-disc-policy* # commit-buffer
UCS-A /org/chassis-disc-policy #
Configuring IPMI Access Profiles
IPMI Access Profile
This policy allows you to determine whether IPMI commands can be sent directly to the server, using the IP address. For example, you can send commands to retrieve sensor data from the BMC. This policy defines the IPMI access, including a username and password that can be authenticated locally on the server, and whether the access is read-only or read-write.
You must include this policy in a service profile and that service profile must be associated with a server for it to take effect.
Configuring an IPMI Access Profile
Before You Begin
Username with appropriate permissions that can be authenticated by
the operating system of the server
Password for the username
Permissions associated with the username
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.
After entering the set password command, you are prompted to enter and confirm the password. For security purposes, the password that you type does not appear in the CLI.
Step 5
UCS-A /org/ipmi-access-profile/epuser # set privilege{admin | readonly}
Specifies whether the endpoint user has administrative or read-only privileges.
Commits the transaction to the system configuration.
The following example creates an IPMI access profile named ReadOnly, creates an endpoint user named bob, sets the password and the privileges for bob, and commits the transaction:
UCS-A# scope org /
UCS-A /org # create ipmi-access-profile ReadOnly
UCS-A /org/ipmi-access-profile* # create epuser bob
UCS-A /org/ipmi-access-profile/epuser* # set password
Enter a password:
Confirm the password:
UCS-A /org/ipmi-access-profile/epuser* # set privilege readonly
UCS-A /org/ipmi-access-profile/epuser* # commit-buffer
UCS-A /org/ipmi-access-profile/epuser #
What to Do Next
Include the IPMI profile in a
service profile
and/or template.
Deleting an IPMI Access 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.
After entering the set password command, you are prompted to enter and confirm the password. For security purposes, the password that you type does not appear in the CLI.
Step 5
UCS-A /org/ipmi-access-profile/epuser # set privilege{admin | readonly}
Specifies whether the endpoint user has administrative or read-only privileges.
This policy configures any optional SAS local drives that have been
installed on a server through the onboard RAID controller of the local drive.
This policy enables you to set a local disk mode for all servers that are associated with a service profile that includes the local disk configuration policy. The local disk modes include the following:
Any Configuration—For a server
configuration that carries forward the local disk configuration without any
changes.
No Local Storage—For a diskless
workstation or a SAN only configuration. If you select this option, you cannot
associate any
service profile
which uses this policy with a server that has a local disk.
No RAID—For a server
configuration that removes the RAID and leaves the disk MBR and payload
unaltered.
RAID Mirrored—For a 2-disk RAID 1
server configuration.
RAID Stripes—For a 2-disk RAID 0
server configuration.
You must include this policy in a
service profile,
and that
service profile
must be associated with a server for it to take effect.
Configuring a Local Disk Configuration Policy
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.
This policy determines what happens to local data on a server during the discovery process and when the server is disassociated from a service profile. This policy can ensure that the data on local drives is erased at those times.
Configuring a Scrub Policy
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 #
create scrub-policypolicy-name
Creates a scrub policy with the specified policy name, and enters
organization scrub policy mode.
Step 3
UCS-A /org/scrub-policy #
set descrdescription
(Optional)
Provides a description for the scrub policy.
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 4
UCS-A /org/scrub-policy #
set disk-scrub{no |
yes}
Disables or enables disk scrubbing on servers using this scrub
policy.
Step 5
UCS-A /org/scrub-policy #
commit-buffer
Commits the transaction to the system configuration.
The following example creates a scrub policy named ScrubPolicy2,
enables disk scrubbing on servers using the scrub policy, and commits the
transaction:
UCS-A# scope org /
UCS-A /org # create scrub-policy ScrubPolicy2
UCS-A /org/scrub-policy* # set descr "Scrub policy set to yes."
UCS-A /org/scrub-policy* # set disk-scrub yes
UCS-A /org/scrub-policy* # commit-buffer
UCS-A /org/scrub-policy #
Deleting a Scrub Policy
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 # delete scrub-policypolicy-name
Deletes the specified scrub policy.
Step 3
UCS-A /org # commit-buffer
Commits the transaction to the system configuration.
The following example deletes the scrub policy named ScrubPolicy2 and commits the transaction:
This policy sets the configuration for the serial over LAN connection
for all servers associated with
service profiles
that use the policy. By default, the serial over LAN connection is disabled.
If you implement a serial over LAN policy, we recommend that you also
create an IPMI profile.
You must include this policy in a
service profile
and that
service profile
must be associated with a server for it to take effect.
Configuring a Serial over LAN Policy
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 #
create sol-policypolicy-name
Creates a serial over LAN policy and enters organization serial over LAN
policy mode.
Step 3
UCS-A /org/sol-policy #
set descrdescription
(Optional)
Provides a description for the policy.
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.
Disables or enables the serial over LAN policy. By default, the serial over LAN policy is
disabled; you must enable it before it can be applied.
Step 6
UCS-A /org/sol-policy #
commit-buffer
Commits the transaction to the system configuration.
The following example creates a serial over LAN policy named Sol9600, provides a
description for the policy, sets the speed to 9,600 baud, enables the policy,
and commits the transaction:
UCS-A# scope org /
UCS-A /org* # create sol-policy Sol9600
UCS-A /org/sol-policy* # set descr "Sets serial over LAN policy to 9600 baud."
UCS-A /org/sol-policy* # set speed 9600
UCS-A /org/sol-policy* # enable
UCS-A /org/sol-policy* # commit-buffer
UCS-A /org/sol-policy #
Deleting a Serial over LAN Policy
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 #
delete sol-policypolicy-name
Deletes the specified serial over LAN policy.
Step 3
UCS-A /org #
commit-buffer
Commits the transaction to the system configuration.
The following example deletes the serial over LAN policy named Sol9600 and commits
the transaction:
Cisco UCS Manager uses this policy to determine how to configure a new server. If you create a server autoconfiguration policy, the following occurs when a new server starts:
The qualification in the server autoconfiguration policy is executed against the server.
If the server meets the required qualifications, the server is associated with a service profile created from the service profile template configured in the server autoconfiguration policy. The name of that service profile is based on the name given to the server by Cisco UCS Manager.
The service profile is assigned to the organization configured in the server autoconfiguration policy.
Configuring a Server Autoconfiguration Policy
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 a server autoconfiguration policy with the specified
policy name, and enters organization server autoconfiguration policy mode.
Step 3
UCS-A /org/server-autoconfig-policy #
set descrdescription
(Optional)
Provides a description for the policy.
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 4
UCS-A /org/server-autoconfig-policy #
set destination orgorg-name
(Optional)
Specifies the organization for which the server is to be used.
Step 5
UCS-A /org/server-autoconfig-policy #
set qualifierserver-qual-name
(Optional)
Specifies server pool policy qualification to use for qualifying
the server.
Step 6
UCS-A /org/server-autoconfig-policy #
set templateprofile-name
(Optional)
Specifies a service profile template to use for creating a service
profile instance for the server.
Commits the transaction to the system configuration.
The following example creates a server autoconfiguration policy named
AutoConfigFinance, provides a description for the policy, specifies finance as
the destination organization, ServPoolQual22 as the server pool policy
qualification, and ServTemp2 as the service profile template, and commits the
transaction:
UCS-A# scope org /
UCS-A /org* # create server-autoconfig-policy AutoConfigFinance
UCS-A /org/server-autoconfig-policy* # set descr "Server Autoconfiguration Policy for Finance"
UCS-A /org/server-autoconfig-policy* # set destination org finance
UCS-A /org/server-autoconfig-policy* # set qualifier ServPoolQual22
UCS-A /org/server-autoconfig-policy* # set template ServTemp2
UCS-A /org/server-autoconfig-policy* # commit-buffer
UCS-A /org/server-autoconfig-policy #
Deleting a Server Autoconfiguration Policy
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.
This discovery policy determines how the system reacts when you add a new server. If you create a server discovery policy, you can control whether the system conducts a deep discovery when a server is added to a chassis, or whether a user must first acknowledge the new server. By default, the system conducts a full discovery.
f you create a server discovery policy, the following occurs when a new server starts:
The qualification in the server discovery policy is executed against the server.
If the server meets the required qualifications, Cisco UCS Manager applies the following to the server:
Depending upon the option selected for the action, either discovers the new server immediately or waits for a user to acknowledge the new server
Applies the scrub policy to the server
Configuring a Server Discovery Policy
Before You Begin
If you plan to associate this
policy with a server pool, create server pool policy qualifications.
Procedure
Command or Action
Purpose
Step 1
UCS-A#
scope org /
Enters the root organization mode.
Note
Chassis discovery policies can only be accessed from the root
organization.
Step 2
UCS-A /org #
create server-disc-policypolicy-name
Creates a server discovery policy with the specified policy name,
and enters org server discovery policy mode.
Step 3
UCS-A /org/server-disc-policy #
set action{diag |
immediate |
user-acknowledged}
Specifies when the system will attempt to discover new servers.
Provides a description for the server discovery policy.
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 5
UCS-A /org/server-disc-policy #
set qualifierqualifier
(Optional)
Uses the specified server pool policy qualifications to associates
this policy with a server pool.
Step 6
UCS-A /org/server-disc-policy #
set scrub-policy
Specifies the scrub policy to be used by this policy. The scrub
policy defines whether the disk drive on a server should be scrubbed clean upon
discovery.
Step 7
UCS-A /org/server-disc-policy #
commit-buffer
Commits the transaction to the system configuration.
The following example creates a server discovery policy named
ServDiscPolExample, sets it to immediately discover new servers, provides a
description for the policy, specifies the server pool policy qualifications and
scrub policy, and commits the transaction:
UCS-A# scope org /
UCS-A /org # create server-disc-policy ServDiscPolExample
UCS-A /org/server-disc-policy* # set action immediate
UCS-A /org/server-disc-policy* # set descr "This is an example server discovery policy."
UCS-A /org/server-disc-policy* # set qualifier ExampleQual
UCS-A /org/server-disc-policy* # set scrub-policy NoScrub
UCS-A /org/server-disc-policy # commit-buffer
What to Do Next
Include the server discovery
policy in a
service profile
and/or template.
Deleting a Server Discovery Policy
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 # Delete server-disc-policypolicy-name
Deletes the specified server discovery policy.
Step 3
UCS-A /org/server-disc-policy # commit-buffer
Commits the transaction to the system configuration.
The following example deletes the server discovery policy named ServDiscPolExample and commits the transaction:
This policy is invoked during the server discovery process to create a service profile for the server. All service profiles created from this policy use the values burned into the blade at manufacture. The policy performs the following:
Analyzes the inventory of the server
If configured, assigns the server to the selected organization
Creates a service profile for the server with the identity burned into the server at manufacture
You cannot migrate a service profile created with this policy to another server.
Configuring a Server Inheritance Policy
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 a server inheritance policy with the specified policy
name, and enters organization server inheritance policy mode.
Step 3
UCS-A /org/server-inherit-policy #
set descrdescription
(Optional)
Provides a description for the policy.
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 4
UCS-A /org/server-inherit-policy #
set destination orgorg-name
(Optional)
Specifies the organization for which the server is to be used.
Step 5
UCS-A /org/server-inherit-policy #
set qualifierserver-qual-name
(Optional)
Specifies server pool policy qualification to use for qualifying
the server.
Step 6
UCS-A /org/server-inherit-policy #
commit-buffer
Commits the transaction to the system configuration.
The following example creates a server inheritance policy named
InheritEngineering, provides a description for the policy, specifies
engineering as the destination organization and ServPoolQual22 as the server
pool policy qualification, and commits the transaction:
UCS-A# scope org /
UCS-A /org* # create server-inherit-policy InheritEngineering
UCS-A /org/server-inherit-policy* # set descr "Server Inheritance Policy for Engineering"
UCS-A /org/server-inherit-policy* # set destination org engineering
UCS-A /org/server-inherit-policy* # set qualifier ServPoolQual22
UCS-A /org/server-inherit-policy* # commit-buffer
UCS-A /org/server-inherit-policy #
Deleting a Server Inheritance Policy
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.
This policy is invoked during the server discovery process. It determines what happens if server pool policy qualifications match a server to the target pool specified in the policy.
If a server qualifies for more than one pool and those pools have server pool policies, the server is added to all those pools.
Configuring a Server Pool Policy
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 #
create pooling-policypolicy-name
Creates a server pool policy with the specified name, and enters
organization pooling policy mode.
Step 3
UCS-A /org/pooling-policy #
set descrdescription
(Optional)
Provides a description for the server pool policy.
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 4
UCS-A /org/pooling-policy #
set poolpool-distinguished-name
Specifies the server pool to use with the server pool policy. You
must specify the full distinguished name for the pool.
Step 5
UCS-A /org/pooling-policy #
set qualifierqualifier-name
Specifies the server pool qualifier to use with the server pool
policy.
Step 6
UCS-A /org/pooling-policy #
commit-buffer
Commits the transaction to the system configuration.
The following example creates a server pool policy named PoolPolicy4
and commits the transaction:
UCS-A# scope org /
UCS-A /org # create pooling-policy ServerPoolPolicy4
UCS-A /org/pooling-policy* # set pool org-root/compute-pool-pool3
UCS-A /org/pooling-policy* # set qualifier ServPoolQual8
UCS-A /org/pooling-policy* # commit-buffer
UCS-A /org/pooling-policy #
Deleting a Server Pool Policy
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 # delete pooling-policypolicy-name
Deletes the specified server pool policy.
Step 3
UCS-A /org # commit-buffer
Commits the transaction to the system configuration.
The following example deletes the server pool policy named PoolPolicy4 and commits the transaction:
This policy qualifies servers based on the inventory of a server conducted during the discovery process. The qualifications are individual rules that you configure in the policy to determine whether a server meets the selection criteria. For example, you can create a rule that specifies the minimum memory capacity for servers in a data center pool.
Qualifications are used in other policies to place servers, not just by the server pool policies. For example, if a server meets the criteria in a qualification policy, it can be added to one or more server pools or have a service profile automatically associated with it.
Depending upon the implementation, you may include server pool policy qualifications in the following policies:
Autoconfiguration policy
Chassis discovery policy
Server discovery policy
Server inheritance policy
Server pool policy
Creating a Server Pool Policy Qualification
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 # create server-qualserver-qual-name
Creates a server pool qualification with the specified name, and enters organization server qualification mode.
Step 3
UCS-A /org/server-qual # commit-buffer
Commits the transaction to the system configuration.
The following example creates a server pool qualification named ServPoolQual22 and commits the transaction:
Creates an adapter capacity qualification for the specified adapter type and enters organization server qualification adapter capacity qualification mode. The adapter-type argument can be any of the following values:
vNIC/vHBA placement profiles are used to assign vNICs or vHBAs to the physical adapters on a server. Each vNIC/vHBA placement profile contains two virtual network interface connections (vCons) that are virtual representations of the physical adapters. When a vNIC/vHBA placement profile is assigned to a service profile, and the service profile is associated to a server, the vCons in the vNIC/vHBA placement profile are assigned to the physical adapters. For servers with only one adapter, both vCons are assigned to the adapter; for servers with two adapters, one vCon is assigned to each adapter.
You can assign vNICs or vHBAs to either of the two vCons, and they are then assigned to the physical adapters based on the vCon assignment during server association. Additionally, vCons use the following selection preference criteria to assign vHBAs and vNICs:
All
The vCon is used for vNICs or vHBAs assigned to it, vNICs or vHBAs not assigned to either vCon, and dynamic vNICs or vHBAs.
Assigned-Only
The vCon is reserved for only vNICs or vHBAs assigned to it.
Exclude-Dynamic
The vCon is not used for dynamic vNICs or vHBAs.
Exclude-Unassigned
The vCon is not used for vNICs or vHBAs not assigned to the vCon. The vCon is used for dynamic vNICs and vHBAs.
For servers with two adapters, if you do not include a vNIC/vHBA placement profile in a service profile, or you do not configure vCons for a service profile, Cisco UCS equally distributes the vNICs and vHBAs between the two adapters.
Configuring a vNIC/vHBA Placement 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 # create vcon-policypolicy-name
Creates the specified vNIC/vHBA placement profile and enters organization vcon policy mode.
Step 3
UCS-A /org/vcon-policy # set descrdescription
(Optional)
Provides a description for the vNIC/vHBA Placement 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.