Server Template
IntersightA Server Template bundles a set of policies and pools into a reusable profile that can be applied to multiple servers, enabling consistent configuration at scale. Changes to a template, including to its policies, are applied to the template on the next apply. When they reach the servers’ profiles depends on each server’s action. Templates are scoped to a target platform (FIAttached or Standalone).
A server that uses a template can override some of the template’s policies, its UUID pool or its target platform, so a server that differs from the others does not need a dedicated template. See Profile Policies in the Server documentation.
Supported policies per target platform. Some policies are only supported on one target platform. Intersight can accept such a policy on a template without applying it to the server profile, so validation reports it as an error:
| Target platform | Policies that are not supported |
|---|---|
FIAttached | adapter_, device_, ldap_policy, network_, ntp_policy, persistent_, smtp_policy, ssh_policy |
Standalone | imc_, and uuid_pool |
LAN connectivity, SAN connectivity and firmware policies have their own target_platform, which must be the same as the template’s. They default to FIAttached (LAN and SAN connectivity) and Standalone (firmware), so a firmware policy used in a FIAttached template must set target_platform: FIAttached.
Location in Intersight GUI:
Templates » Server
Diagram
Section titled “Diagram”Classes
Section titled “Classes”compute
Section titled “compute”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| intersight | Class | intersight | No |
intersight (compute)
Section titled “intersight (compute)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| organizations | List | organizations | No |
organizations (compute.intersight)
Section titled “organizations (compute.intersight)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| templates | Class | templates | No |
templates (compute.intersight.organizations)
Section titled “templates (compute.intersight.organizations)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| server | List | server | No |
server (compute.intersight.organizations.templates)
Section titled “server (compute.intersight.organizations.templates)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_ | Yes | |
| description | String | No | ||
| managed | Boolean | true, false | No | true |
| tags | List | tags | No | |
| target_platform | Choice | FIAttached, Standalone, UnifiedEdgeServer | No | FIAttached |
| bios_policy | String | No | ||
| boot_ | String | No | ||
| certificate_ | String | No | ||
| imc_ | String | No | ||
| ipmi_ | String | No | ||
| lan_ | String | No | ||
| local_ | String | No | ||
| network_ | String | No | ||
| ntp_policy | String | No | ||
| power_policy | String | No | ||
| san_ | String | No | ||
| serial_ | String | No | ||
| scrub_policy | String | No | ||
| drive_ | String | No | ||
| adapter_ | String | No | ||
| device_ | String | No | ||
| sd_card_policy | String | No | ||
| memory_policy | String | No | ||
| persistent_ | String | No | ||
| smtp_policy | String | No | ||
| snmp_policy | String | No | ||
| ssh_policy | String | No | ||
| storage_policy | String | No | ||
| syslog_policy | String | No | ||
| thermal_policy | String | No | ||
| firmware_policy | String | No | ||
| virtual_ | String | No | ||
| virtual_ | String | No | ||
| ldap_policy | String | No | ||
| uuid_pool | String | No |
tags (compute.intersight.organizations.templates.server)
Section titled “tags (compute.intersight.organizations.templates.server)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| key | String | Yes | ||
| value | String | No | ||
| type | Choice | KeyValue, PathTag | No |
Examples
Section titled “Examples”Example-1: Comprehensive FI-attached server template showing all available policy and pool references for a SAN-boot deployment.
compute: intersight: organizations: - name: MyOrganization templates: server: - name: fi-server-template description: FI-attached template for SAN-boot servers target_platform: FIAttached bios_policy: web-bios boot_order_policy: san-boot firmware_policy: prod-firmware imc_access_policy: inband-access lan_connectivity_policy: web-lan local_user_policy: standard-local-users san_connectivity_policy: fc-san snmp_policy: snmp-standard syslog_policy: syslog-standard storage_policy: raid-standard power_policy: power-standard thermal_policy: thermal-standard virtual_kvm_policy: kvm-standard virtual_media_policy: vmedia-standard uuid_pool: uuid-pool-a tags: - key: env value: prodExample-2: Minimal Standalone server template for rack servers booting from local disk.
compute: intersight: organizations: - name: MyOrganization templates: server: - name: standalone-server-template target_platform: Standalone bios_policy: standalone-bios boot_order_policy: local-boot storage_policy: local-raid power_policy: power-standard thermal_policy: thermal-standard ntp_policy: ntp-standard