探花大神

Manage Ephemeral Devices in 探花大神

In cloud platforms like AWS and GCP, ephemeral systems are frequently spun up and torn down. Ensuring proper enrollment, management, and un-enrollment of these devices in 探花大神 is essential for maintaining a clean and manageable system database.

Enrolling Ephemeral Devices

Ephemeral devices need to be enrolled in 探花大神 as part of their creation process to ensure they are managed effectively.

When deploying ephemeral devices, it is recommended to use pre-configured images that include the 探花大神 agent. This ensures that every new instance is automatically enrolled in 探花大神.

See Install the 探花大神 Agent with a Template or System Image to learn more.

Managing Ephemeral Devices

Once ephemeral devices are enrolled, managing their lifecycle is critical for maintaining control over your environment. Best Practices include:

  • Continuously monitor device activity within the 探花大神 Admin Portal to verify the status of operational systems.
  • Regularly review the device list, identifying and investigating prolonged offline devices to determine if they are ephemeral and eligible for removal.

Get a list of all the inactive devices that have been inactive for X number of days in one go using 探花大神 Powershell Module. See 探花大神 Powershell Module to learn more.

Follow these steps:

  • Install PowerShell on your Windows, Mac, or Linux device. See Microsoft's support document to to learn more.
  • Next, install the 探花大神 module by running the following PS cmdlet in elevated mode (Run as Admin):
    • Install-Module 探花大神 -Scope CurrentUser
  • When prompted, press Y to install the 探花大神 PowerShell module.
  • After the module installation is complete, use the following cmdlet in PowerShell to connect to and authenticate your admin console. You will be prompted to enter your API key.
    • Connect-JCOnline
  • You can run the below cmdlet to get the list of systems that have not reported to 探花大神 in the last X days. You can update the parameter .AddDays(-X) to modify the date range to 30, 60, 90, 120 etc days, as required.
    • Get-JCSystem -filterDateProperty lastContact -dateFilter before -date (Get-Date).AddDays(-60) | Export-Csv inactive-devices.csv

Unenrolling Ephemeral Devices

Ensure you unenroll ephemeral devices from 探花大神 before their termination to maintain a clean database free of inactive or orphaned records.

  • Before terminating an ephemeral system, always send an uninstall directive to the 探花大神 agent.
  • Integrate the 探花大神 SystemContext API into your system management workflows. This allows you to automatically send uninstall commands.
  • See Use System Context Authorization with 探花大神 APIs to learn more.
Back to Top

Still Have Questions?

If you cannot find an answer to your question in our FAQ, you can always contact us.

Submit a Case