This command adds the N1 System Manager features to a provisionable server.
To benefit from some of the N1 System Management functionality, you must add features to the provisionable servers. The two types of features are base management, which is required for OS updates and remote commands, and OS monitoring, which is required to monitor the OS resource health on the server. When a feature is added, the feature is installed on the provisionable server, the specified agent credentials are set, and the feature becomes supported on the server. In the case of the OS monitoring feature, monitoring is also enabled if not already. The Base Management Supported and OS Monitoring Supported fields in the show server output provide the current support status on a server's features.
After you upgrade the Sun N1 System Manager from a previous release, you can use this command with the upgrade keyword to upgrade the existing features on a provisionable server.
Add the OS monitoring and base management features to a provisionable server:
add server server feature osmonitor agentip agentip agentssh agentssh [agentsnmp agentsnmp] [agentsnmpv3 agentsnmpv3] |
Add the base management feature to a provisionable server:
add server server feature basemanagement agentip agentip agentssh agentssh |
Upgrade a feature on a provisionable server:
add server server feature feature upgrade [agentip agentip agentssh agentssh] |
agentip – Specify the IP address used for the management features on the provisionable server, including OS monitoring. The agentip is usually the IP address of the provisioning network interface on the server.
agentsnmp – Specify the SNMP credentials used for OS monitoring on the provisionable server. The agentsnmp format is a read community string. The default SNMP read community string is public.
agentsnmpv3 – Specify the SNMP Version 3 credentials used for OS monitoring on the provisionable server. The agentsnmpv3 format is a user name/password pair: snmpv3-username/snmpv3-password.
agentssh – Specify the SSH credentials used for the management features on the provisionable server, including OS monitoring. The SSH user must have root access on the provisionable server. The agentssh format is a user name/password pair for SSH credentials: ssh-username/ssh-password.
basemanagement – Add or upgrade the base management feature, which is required for OS update deployment and remote commands.
feature – Valid values are basemanagement and osmonitor.
osmonitor – Add or upgrade the OS monitoring feature, which also includes the base management feature. The OS monitoring feature is required to monitor a server's OS resource health state. See the show server command for more details.
server – The management name of a server.
upgrade – Upgrade the feature to the latest version.