When cloning an instance, we have provided default exclude and retention definitions which work for most.


Clone Exclusion


The following are tables that are marked for the clone to exclude:

TableDisplay NameShort DescriptionComponent
u_psp_table_mapPSP Table MapsDefinitions for inbound and outbound table mappingsReplicator
u_psp_table_field_mapPSP Table Map FieldsFields included in table mapsReplicator
u_psp_queuesQueue DefinitionsQueue definitions for Sharing/Subscribing to Perspectium Message Bus queuesReplicator
u_psp_imp_alertImport AlertImport Set table of inbound alertsReplicator
u_psp_alertsAlertsPerspectium AlertsReplicator
psp_replicate_confReplication ConfigurationsConfigurations for Dynamic Sharing and SubscribingReplicator
psp_out_messageOutbound MessagesOutbound Message QueueReplicator
psp_in_messageInbound MessagesInbound Message QueueReplicator
psp_bulk_shareBulk ShareBulk SharesReplicator
u_psp_scheduled_bulk_shareScheduled Bulk SharesScheduled Bulk Share definitionReplicator
u_psp_log_messageLogsPerspectium Log MessagesReplicator
u_psp_message_set_activityMessage Set ActivityMessage Set transactionsReplicator
u_psp_propertiesPSP PropertiesPerspectium PropertiesReplicator
u_psp_sit_templateSituation TemplateObserver Alert Situation TemplatesObserver
u_psp_situationsObserver SituationsSituation transactions generated from alertsObserver
psp_follow_transactionFollow Transaction DefinitionsObserver Follow Transactions DefinitionsObserver
psp_event_subscriptionEvent Subscription DefinitionsObserver Event Subscription DefinitionsObserver
u_psp_actionsPerspectium ActionsObserver Action DefinitionsObserver


Clone Preservation


The following are tables that are marked for the clone to preserve on the target instance:

TableDisplay NameShort DescriptionComponent
u_psp_table_mapPSP Table MapsDefinitions for inbound and outbound table mappingsReplicator
u_psp_table_field_mapPSP Table Map FieldsFields included in table mapsReplicator
u_psp_queuesQueue DefinitionsQueue definitions for Sharing/Subscribing to Perspectium Message Bus queuesReplicator
psp_replicate_confReplication ConfigurationsConfigurations for Dynamic Sharing and SubscribingReplicator
psp_bulk_shareBulk ShareBulk SharesReplicator
u_psp_scheduled_bulk_shareScheduled Bulk SharesScheduled Bulk Share definitionReplicator
u_psp_propertiesPSP PropertiesPerspectium PropertiesReplicator

The Perspectium Properties are retained, so connectivity to the Message Bus works when the cloned instance is brought up.


Script Execution


We also recommend for you to hit the Stop All Jobs module under the Perspectium application. This will stop any data from being posted during this clone. It should also prevent the Scheduled Jobs from kicking off on the target instance until you manually enable them. This can be done by hitting the Start All Jobs module.


Exclude Audit and Log Data


When requesting a clone of a ServiceNow instance, you will need to select the Exclude audit and log data option to not clone Perspectium tables and their data.

Though the Perspectium tables are listed in Exclude Tables list, per the Exclude audit and log data option's description, this option also needs to be selected for this list to be honored.


Post Clone Steps


These are the recommended steps in order to ensure the clone did not impact any Perspectium replication:

Make sure your Perspectium properties are in order

This can be done on their Properties page and by going to the table directly (u_psp_properties).

Reset Dynamic Share Rules

This is to make sure any Business Rules for the Dynamic Share are cleaned and re-created as necessary.

Restart Jobs

This is to re-enable the Perspectium application for Sharing and Subscribing data.

Validate data transfer

Perform a small bulk share or dynamic share and validate that the data is leaving the instance.


Protections Against Cloning for Perspectium Properties


Instance Created On field

The PSP Properties table will have a field called Instance Created On. This field will be automatically populated when the Finish Install Module is executed with all the other default Perspectium Property fields. The finish install script will also clean up any duplicated properties and keep only the properties that belong to the current working instance.


Post Clone Cleanup Script

A Post Clone Cleanup Script will automatically run after your instance has been cloned. The script will query the existing Perspectium Properties table and delete any of the records that do not have an Instance Created On field matching the current instance.