What tables do I need to migrate a Cloud Resource Disco schedule across environments?

jdiegeliv
Mega Expert

We have a series of schedules created via Cloud Management wizard.  What tables do I need to export that schedule to another environment?  Update sets didn't catch it all. I exported the discovery_accel_config and cmp_discovery_ldc_config and my schedule starts but just sits there.

Cloud Management -> Service Accounts -> Service Account -> Create Discovery Schedule

find_real_file.png

1 ACCEPTED SOLUTION

jdiegeliv
Mega Expert

The tables were as follows:

  1. discovery_schedule
  2. cmdb_ci_azure_subscription
  3. cmdb_ci_cloud_service_account
  4. cmp_discovery_ldc_config
  5. discovery_accel_config
  6. discovery_credentials
  7. cmdb_ci_azure_datacenter
  8. cmdb_rel_ci

View solution in original post

7 REPLIES 7

sachin_namjoshi
Kilo Patron
Kilo Patron

You need to export and import XML from below records

 

discovery_schedule

discovery_range_item

discovery_schedule_range

 

Regards,

Sachin

Wouldn't those be different for Cloud Resource schedules though?

No, it will be same.

If you see OOB UI action "create discovery schedule", it creates records in same tables.

 

find_real_file.png

 

Regards,

Sachin

How does a Cloud Resource schedule know what Cloud Service Account it's running for ?