Auto Discovery: Configure Service Account Credentials
    • 13 Dec 2024
    • 2 Minutes to read
    • Dark
      Light
    • PDF

    Auto Discovery: Configure Service Account Credentials

    • Dark
      Light
    • PDF

    Article summary

    This section provides information on configuring service account credentials that can be used for Nodegrid automated tasks, such as auto-discovery by using the second set of credentials for discovering Console and KVM Servers’ ports.

    The discovery process requires logging into the appliance, and by default, it uses the credentials configured under Device :: Access, which are primarily intended for Console sessions. However, due to security policies, the same credentials cannot be used for both Console sessions and the discovery process. To align with these policies, we must define a dedicated authentication method, such as a service account specifically for automated tasks such as discovery. This ensures the credentials used for discovery are separate from those used for Console sessions.

    • Discovery Process: Typically requires Administrator-level credentials to access system information.

    • Console Sessions: Can be performed with User-level credentials, which can either be stored in Device :: Access or prompted at login.

    Step 1: Create a Managed Device

    To add a Console server managed device, follow these steps:

    1. Navigate to Managed Devices :: Devices.

    2. Click Add.

    3. Enter a name for the managed device.

    4. Select Type as console_server_nodegrid.

    5. Enter the IP address of the managed device.

    6. Under Credential select Ask During Login.

    7. Select On-demand in the Mode drop-down.

    8. Click Save.

    Step 2: Set up the Console Server Credentials

    After adding a Console server, you need to set up the credentials. Follow these steps to perform this task:

    1. Click on the managed device name created in the above procedure.

    2. Click Management.

    3. The Discovery Ports will be selected by default. Leave the setting to enabled.

    4. Provide username and password for logging in to the console server.

    5. Click Save.

    Step 3: Set up Discovery Rules

    Create a rule to apply the cloning on the managed device. Follow these steps to perform this task:

    1. Navigate to Managed Device :: AutoDiscovery :: Discovery Rules.

    2. Click Add.

    3. Enter a name for the discovery rule.

    4. Select mode as Enabled.

    5. Select the radio button Console Server Ports.

    6. Select the Action as Clone (Mode On-demand).

    7. From the drop-down Clone from: select the managed device name (created in the above procedure).

    8. (Optional): Enable Enforce Device Type and Inherit Appliance Credentials.

    9. Click Save.

    Step 4: Start the Discovery Process

    The discovery process runs at the configured interval but is triggered automatically when a new appliance is added to the platform. It can also be started manually if needed.

    1. Navigate to Managed Devices:: Auto Discovery:: Discover Now.

    2. Select the console server name.

    3. Click Discover Now.

    Step 5: View Discovery Logs

    The Discovery Logs page shows the logs of the discovery processes set on the Managed Devices’ setting for auto discovery. In this example, you can see that the Action is Device Cloned for the Console Server Port.

    Step 6: Access the Managed Device Appliance and Appliance Port

    To access the managed device appliance (console server port), follow these steps:

    1. Navigate to Access :: Tree. In the following figure, the managed device appliance has usbS3-2 port enabled that is cloned.

    2. Click on Console button next to the managed device to access console session of the device. The session will request for access credentials to log in to the device.

    3. Enter the login credentials to get access to the device.

    Note

    Similarly when you access the usbS3-2 port, you will be required enter the credentials (due to Access configuration Ask During Login).


    Was this article helpful?

    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence