If autodiscovery is enabled for a cloud, you can run discovery on demand to detect and
register new infrastructure resources.
About this task
By default, discovery of the cloud infrastructure runs automatically once a day. However,
you might want to run discovery immediately if you add some new resources to the cloud and you don't
want to wait for the next scheduled discovery.
Procedure
-
Check whether autodiscovery is enabled for the cloud:
palmctl get cloud --name <cloud-name>
- If autodiscovery is enabled,
auto_discover: true is shown in the output.
- The
next_discovery_scheduled_at value shows the scheduled time for the next
discovery.
- Run discovery immediately for the cloud:
palmctl rediscover cloud --name <cloud-name>
You
can also run the command with the resource_id of the
cloud:
palmctl rediscover cloud --id cloud-e5bfa709-4383-4e5c-8057-327c4ffb5891
- Monitor the discovery:
palmctl get cloud --name <cloud-name>
Discovery is
completed when discovery_status: completed is shown in the output.