GET /patterns/{id}/includeSettings
Use this method to export the properties for an existing server pattern.
Authentication
Authentication with username and password is required.
Request URL
GET https://{management_server_IP}/patterns/{id}/includeSettings
where {id} is the unique ID that was assigned when the server pattern was created. To obtain the pattern ID, use the GET /patterns method.
Query parameters
None
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
403 | Forbidden | The orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request. For XClarity Administrator advanced functions, ensure that you have active licenses for each managed server that supports the advanced functions. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
The server pattern includes the category patterns that are reference by the server pattern. The format of the response changes depending on the type and number of referenced category patterns (for example, system-information or port patterns).
Attributes | Type | Description | |||
---|---|---|---|---|---|
server_template | Array of objects | Information about the server pattern | |||
adapterSettings | Array of objects | Information about adapter settings that are defined in the server pattern | |||
adapters | Array of strings | List of adapters that were added to this pattern | |||
ethAddressDomain | String | ID of the Ethernet address range that is used in this pattern | |||
ethAddressPool | String | ID of the Ethernet address pool that is used in this pattern | |||
fcAddressDomain | String | ID of the Fibre Channel address range that is used in this pattern | |||
fcAddressPool | String | ID of the Fibre Channel address pool that is used in this pattern | |||
formFactor | String | Form factor. This can be one of the following values.
| |||
ioAddressingMode | String | Type of I/O addressing that is used. This can be one of the following values.
| |||
bootSettings | Array of objects | Information about the boot methods that are defined in the server pattern | |||
bootConfig | String | Selected boot configuration type. This value is always specify. | |||
bootMode | String | Boot mode set in the pattern. This can be one of the following values.
| |||
bootOrderTable | Array of objects | Boot order, for example:
| |||
bootWoLTable | Array of objects | Wake-on-LAN boot order when the boot mode is set to Legacy Only, for example:
| |||
learnedBootOptions | Array of objects | Boot-order properties that are dynamically learned from the system when the pattern was created from an existing server. These values vary depending on the learned properties, for example:
| |||
learnedWoLBootOptions | Array of objects | Wake-on-LAN boot-order properties that are dynamically learned from the system when the pattern was created from an existing server. These values vary depending on the learned properties, for example:
| |||
sanBootTable | Array of objects | Information about the SAN boot device | |||
device | String | Device label for the selected SAN boot device (for example, I/O Adapter 1 - Port 1) | |||
devicePort | Integer | Port on the adapter that is selected for booting from SAN | |||
deviceSlot | Integer | Slot number of the adapter that is selected for booting from SAN | |||
deviceType | String | Device type that is selected for SAN boot. This can be one of the following values.
| |||
functionNumber | String | Function number (virtual port) that is selected for booting from the SAN. If port virtualization is not enabled (for example, on a Fibre Channel adapter), this value is 0. | |||
option | String | This value is always Fibre Channel (SAN). | |||
order | Integer | Order in which to prioritize this entry in the SAN boot order. This can be one of the following values.
| |||
target | String | Selected boot target. This can be one of the following values.
| |||
template | String | ID of the associated Fibre Channel boot target pattern | |||
description | String | Description of the server pattern | |||
formFactor | String | Form factor. This can be one of the following values.
| |||
name | String | Name of the server pattern | |||
nodeType | String | Type of server to which the pattern applies. This value is always sysx. | |||
platform | String | ID of the platform (type of resource) that is associated with this server-configuration pattern This value is v4 for ThinkSystem V4 servers or an empty string for all other servers. | |||
storageSettings | Array of objects | Information about the storage settings that are defined in the server pattern | |||
storageAttrs | Array of objects | List of storage settings for each volume type that is defined by this pattern, when storageSelect is set to Specify. | |||
accessPolicy | String | Access policy. This can be one of the following values.
| |||
cachePolicy | String | Cached policy. This can be one of the following values.
| |||
controllerType | String | RAID controller type. This can be one of the following values.
| |||
controllerSlot | Integer | PCI slot number of the RAID controller | |||
diskDriveBay | String | Number of the bay where the disk drive is located, separated by a colon (for example, 0:1:2). For RAID level 10, 50, 60, and 00, each span is separated by a comma (for example, 0:1:2,3:4:5). | |||
diskType | String | Type of disk drives in the device. This can be one of the following values.
| |||
hotspareDriveBay | String | Number of the bay where the host-spare disk drive is located, separated by a colon (for example, 6:7) | |||
initStatus | String | Initialization status. This can be one of the following values.
| |||
ioPolicy | String | I/O policy. This can be one of the following values.
| |||
memoryModePercentage | Integer | (Intel Optane™ DC Persistent Memory DIMMs only) Percentage of total capacity to be used as memory mode. This value can be from 0 - 100. | |||
numDrives | Integer | Number of drives in the device | |||
numHotspares | Integer | Number of host-spare drives in the device | |||
percentageRemainingThresholds | Integer | (Intel Optane DC Persistent Memory DIMMs only) Warning threshold for the remaining life of the DIMM, as a percentage value of the factory expected life span. This value can be from 2 - 99. | |||
persistentMemoryType | String | (Intel Optane DC Persistent Memory DIMMs only) Persistent memory type. This can be one of the following values.
| |||
raidLevel | String | RAID level. This can be one of the following values.
Note RAID level 0, 1, or 5 are supported on all serves. RAID level 6, 10, 50, 60, and 00 are supported only on ThinkSystem servers with XCC version 2.1 and later. (ThinkSystem SR950 requires XCC version 1.4 or later). | |||
raidVolumeName | String | RAID volume name | |||
readPolicy | String | Read policy. This can be one of the following values.
| |||
stripeSize | String | Stripe size. This can be one of the following values.
| |||
writePolicy | String | Write policy. This can be one of the following values.
| |||
storageSelection | String | Store configuration. This can be one of the following values.
| |||
serverType | String | Server type. This can be one of the following value.
| |||
templates | Array of objects | List of category patterns that are referenced by the server pattern | |||
id | String | ID of the category pattern | |||
type | String | Type of category pattern. This can be one of the following values.
| |||
type | String | The type of server pattern. This value is always Server. | |||
userDefined | Boolean | Indicates whether the server pattern is user-defined or predefined. This can be one of the following values.
| |||
sub_templates | Array | Information about each category pattern that is referenced by this server pattern. The attributes vary depending on the category pattern type. For information about the attributes, see the following topics.
| |||
template_type | String | Type of template to be exported. The value is always server_template. |
{
"server_template": {
"adapterSettings": {
"adapters": [{
"adapterId": "adapter:17",
"controllers": [{
"id": "adapterSetting:69:controller:1",
"ports": [{
"id": "adapterSetting:69:controller:1:port:1",
"portNumber": 1,
"templateId": "portVirtualizationPattern:70",
"templateType": "PortVirtualization"
},
{
"id": "adapterSetting:69:controller:1:port:2",
"portNumber": 2,
"templateId": "portVirtualizationPattern:71",
"templateType": "PortVirtualization"
}],
"controllerNumber": 1
}],
"id": "adapterSetting:69",
"formFactor": "r",
"nodeNumber": 1,
"slotNumber": 0
},
{
"adapterId": "adapter:6",
"controllers": [{
"controllerNumber": 1"id": "adapterSetting:72:controller:1",
"ports": [{
"id": "adapterSetting:72:controller:1:port:1",
"portNumber": 1,
"templateId": "68",
"templateType": "ExtendedPort"
},
{
"id": "adapterSetting:72:controller:1:port:2",
"portNumber": 2,
"templateId": "68",
"templateType": "ExtendedPort"
}],
}],
"formFactor": "r",
"id": "adapterSetting:72",
"nodeNumber": ,
1"slotNumber": 1
}],
"ethAddressDomain": "*NONE",
"ethAddressPool": "*NONE",
"fcAddressDomain": "*NONE",
"fcAddressPool": "*NONE"
"formFactor": "r",
"ioAddressingMode": "burned",
},
"bootSettings": {
"bootConfig": "specify",
"bootMode": "Legacy Only",
"bootOrderTable": [{
"order": 0,
"device": "*NONE",
"option": "Embedded Hypervisor"
},
....,
{
"order": 3,
"device": "*NONE",
"option": "PXE Network"
}],
"bootWoLTable": [{
"order": 0,
"device": "*NONE",
"option": "CD\/DVD Rom"
},
...,
{
"order": 2,
"device": "*NONE",
"option": "PXE Network"
}],
"learnedBootOptions": [{
"value": "Diagnostics",
"label": "Diagnostics"
},
...,
{
"value": "DSA",
"label": "DSA"
}],
"learnedWoLBootOptions": [{
"value": "IMMv3",
"label": "IMMv3"
},
...,
{
"value": "DSA",
"label": "DSA"
}],
"localStorageDisabled": false,
"sanBootTable": []
},
"description": "Pattern created from server: Lenovo x240\n
Learned on: Jul 29, 2024 12:08:14 PM",
"formFactor": "r",
"name": "Learn ThinkSystem v3",
"nodeType": "sysx",
"platform": "",
"storageSettings": {
"storageAttrs" : [{
"accessPolicy" : "Read Write",
"cachePolicy" : "Unchanged",
"diskType" : "None",
"initStatus" : "No Initialization",
"ioPolicy" : "Direct IO",
"numDrives" : 2,
"numHotspares" : 0,
"raidLevel" : "RAID 1",
"readPolicy" : "No Read Ahead",
"stripeSize" : "64k",
"writePolicy" : "Write Through",
}
{
"controllerType": "IntelOptaneDCPMM",
"memoryModePercentage ": 50,
"percentageRemainingThresholds": 10
"persistentMemoryType": "App Direct",
}],
"storageSelection": "Specify"
},
"templates": [{
"id": "68",
"type": "ExtendedPort"
},
...,
{
"id": "66",
"type": "ExtendedPort"
}],
"type": "Server",
"userDefined": true,
},
"sub_templates": {
"template": {
"contact": "contact",
"description": "Pattern created from server: Lenovo x240\n
Learned on: Jul 29, 2024 12:08:14 PM",
"location": "location",
"name": "Learned-System_Info-2",
"systemName": {
"autogen": "Disable",
"hyphenChecked": false
},
"type": "SystemInfo",
"uri": "\/config\/template\/61",
"userDefined": true
},
"template_type": "SystemInfo"
},
{
"template_type": "Management",
"template": {
"description": "Pattern created from server: Lenovo x240\n
Learned on: Jul 29, 2024 12:08:14 PM",
"domainNameSystem": {
"domainName": "",
"domainNameSource": "dhcp",
"dynamicDNS": "enabled"
},
"hostName": {
"autogen": "Disable",
"hyphenChecked": false
},
"interfaceSettings": {
"ethInterface": 0,
"maximumTransmissionUnit": "1500"
},
"managementIPAddress": {
"ipV4Settings": "No Change",
"ipV6Settings": "No Change"
},
"name": "Learned-Management-2",
"portAssignments": {
"cimhttpPort": "5988",
"cimhttpsPort": "5989""httpPort": "80",
"httpsPort": "443",
"remotecontrolPort": "3900",
"sshcliPort": "22",
"snmpagentPort": "161",
"snmptrapsPort": "162",
"telnetcliPort": "23",
},
"type": "Management",
"userDefined": true,
"uri": "\/config\/template\/62"
}
},
...,
"template_type": "server_template"
}