This command changes the N1 System Manager configuration information for a server or refreshes the N1 System Manager with the server's current settings and status.
This command does not change the actual configuration parameters on the server, for example, like SSH credentials. It changes only configuration information used by N1 System Manager to manage the server.
Change the configuration of a server:
set server server configuration-attributes |
Refresh the N1 System Manager with a server's current settings and status:
set server server refresh |
Change the IP address and the SSH credentials used for the management features on the server, including OS monitoring:
set server server agentip agentip agentssh agentssh |
Change the SNMP credentials used for OS monitoring on the server:
set server server agentsnmp agentsnmp set server server agentsnmpv3 agentsnmpv3 |
Enable or disable monitoring on a server:
set server server monitored monitored-state |
Turn the locator light on or off on a server:
set server server locator locator-state |
Set the threshold values for an OS monitoring attribute on a server:
set server server threshold threshold [criticallow value] [criticalhigh value] [warninglow value] [warninghigh value] |
Set the threshold values for the fsusage.kbspacefree file system monitoring attribute on a server:
set server server [filesystem filesystem] threshold fsusage.kbspacefree [criticallow value] [criticalhigh value] [warninglow value] [warninghigh value] |
Set the threshold values for the fsusage.pctused file system monitoring attribute on a server:
set server server [filesystem filesystem] threshold fsusage.pctused [criticallow value] [criticalhigh value] [warninglow value] [warninghigh value] |
agentip – Change the IP address used for the management features on the server, including OS monitoring. The agentip is usually the IP address of the provisioning network interface on the server.
agentsnmp – Change the SNMP credentials used for OS monitoring on the server. The agentsnmp format is a read community string for the SNMP credentials.
agentsnmpv3 – Change the SNMP Version 3 credentials used for OS monitoring on the server. The agentsnmpv3 format is a user name/password pair: snmpv3-username/snmpv3-password. You can type a question mark (?) if you do not want the password to display in the command line. Once you issue the command, you are prompted for the user name/password.
agentssh – Change the SSH credentials used for the management features on the server, including OS monitoring. The SSH user must have root access on the server. The agentssh format is a user name/password pair for SSH credentials: ssh-username/ssh-password. You can type a question mark (?) if you do not want the password to display in the command line. Once you issue the command, you are prompted for the user name/password.
filesystem– Choose a file system for which to set one or more threshold values. Only the fsusage.pctused and fsusage.kbspacefree monitored attribute thresholds can be set for file systems. If no file system is specified, the thresholds are set for all file systems on the server. Example values are / and /usr
locator-state – Turn the server's locator light on or off. Valid values are true (on) and false (off).
monitored-state– Enable or disable monitoring on the server. Valid values are true (enable) and false (disable).
refresh – Refresh the management server with the server's current settings and status. This includes monitoring information, currently installed software, and other details.
server – The management name of a server.
telnet – Change the telnet credentials used for the management features on the ALOM-based systems. The telnet format is a user name/password pair for telnet credentials: telnet-username/telnet-password.
You can type a question mark (?) if you do not want the password to display in the command line. Once you issue the command, you are prompted for the user name/password.
threshold – Choose an OS or file system monitoring attribute for which to set one or more threshold values. Valid values are:
cpustats.loadavg1min – System load expressed as average number of queued processes over 1 minute.
cpustats.loadavg5min – System load expressed as average number of queued processes over 5 minutes.
cpustats.loadavg15min – System load expressed as average number of queued processes over 15 minutes.
cpustats.pctusage – Overall CPU usage percentage.
cpustats.pctidle – Overall CPU idle percentage.
fsusage.kbspacefree – Free file system space (Kbytes). Can be used with the filesystem attribute to set thresholds for a specific file system.
fsusage.pctused – Percentage of file system space in use. Can be used with the filesystem attribute to set thresholds for a specific file system.
memusage.pctmemused – Percentage of memory in use.
memusage.pctmemfree – Percentage of memory free.
memusage.mbmemused – Memory in use (Mbytes).
memusage.mbmemfree – Memory free (Mbytes).
memusage.pctswapused – Percentage of swap space in use.
memusage.kbswapused – Used swap space (Kbytes).
value– Set a threshold value for an OS or file system monitoring attribute on a server. Valid values for the criticallow, criticalhigh, warninglow, and warninghigh thresholds depend on the attribute. For attributes measuring percentages, the valid value range is 0–100. A value of none disables monitoring of the attribute for that threshold.
CONFIGURATION ATTRIBUTES
guid guid – (Windows only) Change the server's Globally Unique Identifier (GUID). Example: 5D607F6A-AF48-4003–AFA8–69E019A4496F
ip ip – Change the IP address used to manage the server.
ipmi ipmi – Change the IPMI credentials for the server's management network IP address. The ipmi value is an IPMI user name/password pair ssh-username/ssh-password. Note that Sun Fire V20z and Sun Fire V40z servers require only a password for IPMI credentials. You can type a question mark (?) if you do not want the password to display in the command line. Once you issue the command, you are prompted for the user name/password.
name name – Change the name of the server.
note note – Change the notes for the server. The notes must be in quotation marks and the new notes will overwrite the current notes.
snmp snmp – Change the SNMP credentials for the server's management network IP address. The snmp format is a read community string for the SNMP credentials: read-community.
ssh ssh – Change the SSH credentials for the server's management network IP address. The ssh format is a user name/password pair for SSH credentials: ssh-username/ssh-password. You can type a question mark (?) if you do not want the password to display in the command line. Once you issue the command, you are prompted for the user name/password.