C H A P T E R 7 |
Capacity on Demand |
Sun Fire high-end systems are configured with processors (CPUs) on system boards. These boards are purchased as part of your initial system configuration or as add-on components. The right to use the CPUs on these boards is included with the initial purchase price.
The Capacity on Demand (COD) option provides additional processing resources that you pay for when you use them. Through the COD option, you purchase and install unlicensed COD system boards in your system. Each COD system board contains four CPUs, which are considered as available processing resources. However, you do not have the right to use these COD CPUs until you also purchase the right-to-use (RTU) licenses for them. The purchase of a COD RTU license entitles you to receive a license key, which enables the appropriate number of COD processors.
You use COD commands included with the SMS software to allocate, activate, and monitor your COD resources.
This chapter covers the following topics:
The COD option provides additional CPU resources on COD system boards that are installed in your system. Although your Sun Fire high-end system comes configured with a minimum number of standard (active) system boards, your system can have a mix of both standard and COD system boards installed, up to the maximum capacity allowed for the system. At least one active CPU is required for each domain in the system.
If you want the COD option, and your system is not currently configured with COD system boards, contact your Sun sales representative or authorized Sun reseller to purchase COD system boards. Your salesperson will work with your service provider to install the COD system boards in your system.
The following sections describe the main elements of the COD option:
COD RTU licenses are required to enable COD CPU resources. COD licensing involves the following tasks:
1. Obtaining COD RTU license certificates and COD RTU license keys for COD resources to be enabled.
You can purchase COD RTU licenses at any time from your Sun sales representative or reseller. You can then obtain a license key (for the COD resources purchased) from the Sun License Center.
2. Entering the COD RTU license keys in the COD license database.
The COD license database stores the license keys for the COD resources that you enable. You record this license information in the COD license database by using the addcodlicense(1M) command. The COD RTU licenses can be used for any COD CPU resource installed in the system.
For details on completing the licensing tasks, see To Obtain and Add a COD RTU License Key to the COD License Database.
With the COD option, your system is configured to have a certain number of COD CPUs available, as determined by the number of COD system boards and COD RTU licenses that you purchase. The COD RTU licenses that you obtain are handled as a pool of available licenses.
When you activate a domain containing a COD system board or when a COD system board is connected to a domain through a dynamic reconfiguration (DR) operation, the following occurs automatically:
The COD RTU licenses are allocated to the CPUs on a "first come, first serve" basis. However, you can allocate a specific quantity of RTU licenses to a particular domain by using the setupplatform(1M) command. For details, see To Enable Instant Access CPUs and Reserve Domain RTU Licenses.
If there is an insufficient number of COD RTU licenses and a license cannot be allocated to a COD CPU, the COD CPU is not configured into the domain and is considered as unlicensed. A COD CPU is considered to be unused when it is assigned to a domain but the CPU is not active.
If a COD system board does not have sufficient COD RTU licenses for its COD CPUs, the system will disable the unlicensed CPUs and configure the board into the domain. If none of the CPUs have COD RTU licenses, then the system will fail the entire board, and will not configure that board into the domain. For additional details and examples, see Deconfigured and Unlicensed COD CPUs.
When you remove a COD system board from a domain through a DR operation or when a domain containing a COD system board is shut down normally, the COD RTU licenses for the CPUs on those boards are released and added to the pool of available licenses.
You can use the showcodusage command to review COD usage and COD RTU license states. For details on showcodusage and other commands that provide COD information, see COD Resource Usage.
If you require COD CPU resources before you complete the COD RTU license purchasing process, you can temporarily enable a limited number of resources called instant access CPUs (also referred to as headroom). The maximum number of instant access resources available on Sun Fire high-end systems is eight CPUs.
Instant access CPUs are disabled by default on Sun Fire high-end systems. To use these resources, activate them by using the setupplatform(1M) command. Warning messages are logged on the platform console, informing you that the number of instant access CPUs (headroom) used exceeds the number of COD licenses available. Once you obtain and add the COD RTU license keys for instant access CPUs to the COD license database, these warning messages will stop.
For details on activating instant access CPUs, see, To Obtain and Add a COD RTU License Key to the COD License Database.
You can temporarily enable an available, instant access CPU to replace a failed non-COD CPU. In this case, the instant access CPU is considered as a hot spare (a spare CPU that can be used immediately to replace a failed non-COD CPU). However, once the failed non-COD CPU has been replaced, you must deactivate the instant access CPU (see To Enable Instant Access CPUs and Reserve Domain RTU Licenses). Contact your Sun sales representative or reseller to purchase a COD RTU license for the instant access CPU in use if you want to continue using it.
Information about COD events, such as the activation of instant access CPUs (headroom) or license violations, is recorded in the platform log and can be viewed by using the showlogs command.
Other commands, such as the showcodusage(1M) command, provide information on COD components and COD configuration. For details on obtaining COD information and status, see Monitoring COD Resources.
Before you can use COD on Sun Fire high-end systems, you must complete certain prerequisites. These tasks include:
For details on upgrading the software, refer to the System Management Services (SMS) 1.5 Installation Guide.
Note - SMS software versions before SMS 1.3 will not recognize COD system boards. |
COD RTU license management involves the acquisition and addition of COD RTU licenses keys to the COD license database. You can also remove COD RTU licenses from the license database if needed.
|
1. Contact your Sun sales representative or authorized Sun reseller to purchase a COD RTU license for each COD CPU to be enabled.
Sun will send you a COD RTU License Certificate for each CPU license that you purchase. The COD RTU license sticker on the License Certificate contains a right-to-use serial number used to obtain a COD RTU license key.
2. Contact the Sun License Center and provide the following information to obtain a COD RTU license key:
You can obtain the Chassis HostID by running the command
showplatform -p cod as platform administrator.
For instructions on contacting the Sun License Center, refer to the COD RTU License Certificate that you received or check the Sun License Center web site:
The Sun License Center will send you an email message containing the RTU license key for the COD resources that you purchased.
3. Add the license key to the COD license database by using the addcodlicense (1M) command.
In an SC window, log in as a platform administrator and type:
where license-signature is the complete COD RTU license key assigned by the Sun License Center. You can copy the license key string that you receive from the Sun License Center.
4. Verify that the specified license key was added to the COD license database by running the showcodlicense -r command (see To Review COD License Information).
The COD RTU license key that you added should be listed in the showcodlicense(1M) command output.
|
1. In an SC window, log in as a platform administrator and type:
license-signature is the complete COD RTU license key to be removed from the COD license database.
The system verifies that the license removal will not cause a COD RTU license violation, which occurs when there is an insufficient number of COD licenses for the number of COD resources in use. If the deletion will cause a COD RTU license violation, the SC will not delete the license key.
2. Verify that the license key was deleted from the COD license database by running the showcodlicense -r command, described in the next procedure.
The deleted license key should not be listed in the showcodlicense output.
|
1. In an SC window, log in as a platform administrator and type one of the following to display COD license information:
sc0:sms-user:> showcodlicense Lic Tier Description Ver Expiration Count Status Cls Num Req ----------- --- ----------- ----- ------- --- --- --- PROC 01 NONE 16 GOOD 1 1 0 |
TABLE 7-1 describes the COD license information in the showcodlicense output.
The license key signatures for COD resources are displayed. For example:
sc0:sms-user:> showcodlicense -r 01:5014936C37048:45135285:0201000000:8:00000000:0000000000000000000000 |
Note - The COD RTU license key listed above is provided as an example and is not a valid license key. |
For details on the showcodlicense(1M) command, refer to the command description in the System Management Services (SMS) 1.5 Reference Manual.
To activate instant access CPUs and allocate COD RTU licenses to specific domains, use the setupplatform command. TABLE 7-2 describes the various setupplatform command options that can be used to configure COD resources.
For details on the setupplatform command options, refer to the command description in the System Management Services (SMS) 1.5 Reference Manual.
|
1. In an SC window, log in as a platform administrator and type:
You are prompted to enter the COD parameters (headroom quantity and domain RTU information). For example:
Note the following about the prompts displayed:
The text in parenthesis indicates the maximum number of instant access CPUs (headroom) allowed. The value inside the brackets is the number of instant access CPUs currently configured.
To disable the instant access CPU (headroom) feature, type 0. You can disable the headroom quantity only when there are no instant access CPUs in use.
The text in parenthesis indicates the maximum number of RTU licenses that can be reserved for the domain. The value inside the brackets is the number of RTU licenses currently allocated to the domain.
2. Verify the COD resource configuration by running the showplatform(1M) command:
This section describes various ways to track COD resource use and obtain COD information.
You can determine which system boards in your system are COD boards by using the showboards(1M) command.
In an SC window, log in as platform administrator and type:
The information displayed shows board assignments and test status. COD CPU boards are identified as CPU (COD).
To obtain information on how COD resources are used in your system, use the showcodusage(1M) command.
In an SC window, log in as a platform administrator and type:
sc0:sms-user:> showcodusage -p resource Resource: ========= Resource In Use Installed Licensed Status ---------- ------ --------- -------- ------ PROC 4 12 12 OK: 8 available |
TABLE 7-1 describes the COD resource information displayed by the showcodusage(1M) command.
In an SC window, log in as a platform or domain administrator and type:
The output includes the status of CPUs for all domains. For example:
TABLE 7-4 describes the COD resource information displayed by domain.
The COD resource (processor) for each domain. An unused processor is a COD CPU that has not yet been assigned to a domain. |
|
In an SC window, log in as a platform administrator and type:
The information displayed contains usage information by both resource and domain. For example:
When you activate a domain that uses COD system boards, any COD CPUs that cannot obtain a COD RTU license are identified as deconfigured or unlicensed. You can determine which COD CPUs are deconfigured or unlicensed by reviewing the following items:
Any COD CPUs that did not acquire a COD RTU license are identified as deconfigured. If all the COD CPUs on a COD system board are deconfigured, the setkeyswitch on operation will fail the COD system board, and the setkeyswitch on operation also fails, as the next example shows:
To obtain the status of COD CPUs for a domain, see To View COD Usage by Domain. The Unlicensed status indicates that a COD RTU license could not be obtained for the COD CPU and that the CPU is not being used by the domain.
TABLE 7-5 summarizes the COD configuration and event information that you can obtain through other system controller commands. For further details on these commands, refer to their descriptions in the System Management Services (SMS) 1.5 Reference Manual.
Copyright © 2005, Sun Microsystems, Inc. All Rights Reserved.