Resources | system | serverAdmin

serverAdmin

This object describes the configuration of each server module. A server module can be a standalone server or a server card in a chassis based system. It is also used to assign server module roles, set the coredump server profile, and perform server actions such as restart, soft reset and start software upgrade.

Configuration

ParameterPresenceTypeDefaultDescription
nameMstring The unique identifier assigned to this card or server.
actualCeNameOstring Instance/Ce Name given by user as userdata
coredumpProfileMreference The coredump settings for this server.
deviceSmartAttribOuint320 The smart control attribute value for disk life remaining. 0 indicates unknown / not supported.

Operational Data

ParameterDescription
role When set to primary, role designates a server for internal processing.
modularType HW(Modular) type of the server
hwType HW type of the server
pktPortSpeed Packet port speed setting
hwSubType HW sub-type of the server

Operations

Operation NameDescription
restart Restart a server/CE
softReset Restart application on the server without rebooting the server.
forceCoreDump Force generation of process core dumps
startSoftwareUpgrade Initiates live software upgrade with the package specified.
removeCoredump Removes coredump.
REST API: GET Example

curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/api/config/system/serverAdmin/{name}

REST API: POST Example

curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/vnd.yang.data+xml' https://{SBX-SERVER}/api/config/system --data '
<serverAdmin>
     <name>{name}</name>
     <coredumpProfile>{coredumpProfile}</coredumpProfile>
</serverAdmin>
'

REST API: DELETE Example

curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/api/config/system/serverAdmin/{name}

  • No labels