Auto-enrollment process
Target servers in an on-premises or cloud environments can be enrolled automatically in TrueSight Server Automation.
Auto-enrollment process
A newly provisioned host is automatically enrolled in the Application Server when the following tasks are completed:
- The RSCD Agent containing the Smart Agent is installed and configured on the new host.
- The new host is started.
The following tasks are performed for auto-enrollment. By default, the auto-enrollment task is triggered by the Smart Agent every 15 minutes.
- The Smart Agent generates an enrollment request.
- The Smart Hub receives this request and generates an ID for the enrollment request. It also stores the Smart Agent details in the database.
- The Smart Agent saves this request ID.
- The Application Server pulls this enrollment request from the Smart Hub and enrolls the server using the enrollment details available in the enrollment request.
NEW IN 21.02The server is added as a "RAW device" and its properties are updated with the details from the enrollment request. The state is changed to "Server" after the server properties are updated. The Application Server generates a work response with the same request ID that was generated for the Smart Agent.
For example, a sample enrollment response looks like this:"command": "enroll",
"msg": "Server enrolled successfully",
"server_name": "test.bmc.com",
"server_guid": "b76d430f-3d6a-4962-9825-ab406a8dc7ee"Field
Data type
Purpose
command
String
The actual task to be performed.
msg
String
Message describing the response details.
server_name
String
The name with which this server is enrolled in the Application Server.
server_guid
String
The unique identifier that is used by the Application server to identify the server.
The Application Server sends the enrollment response to the Smart Hub.
One of the following response codes are generated depending on the enrollment status:Response code
Message
SA-1000
Enrolled
SA-1001
Enrolled as raw device
SA-1002
Not enrolled
SA-1003
Already enrolled
SA-1004
Server decommissioned
Server properties
You can specify the cloud-related properties to be configured for the enrolled targets. The properties are sent to the Application Server along with an auto-enrollment request. The Application Server configures these properties for the enrolled targets. Some of these properties are available out-of-the-box, such as cloud account, region, resource, and VPC. You can also configure additional properties of your choice. For example, you can configure the Is_Cloud_Prod property to define whether the server belongs to the production environment.
If any of these properties are used by the Update Server Properties job, the property values are overridden after the Update Server Properties job is run.
For information about configuring the server properties during installation, see the following topics:
- Using-silent-mode-to-install-an-RSCD-agent-Windows
- Configuring-the-installation-parameters-for-the-NSH-or-the-RSCD-agent
For information about configuring the server properties manually, see Managing-the-Smart-Agent.