Clone and Upgrade
Clone and Upgrade
Exclude attachment data Prevents the cloning of certain files (incl. videos, images, documents, zip files) from the sys_attachment table. Please see exceptions below.
Note: ServiceNow out-of-the-box attachments and other system-relevant files (e.g. catalog item images, theming images, icons) are not affected by this setting.
The following ServiceNow out-of-the-box attachments and other system-relevant files are not affected by this setting and will not be excluded from a clone:
•Table name values that start with ZZ_
•Table names: sys_certificate, sc_cat_item , sys_upgrade_manifest , ecc_agent_jar, ecc_agent_mib , sys_store_app , or invisible.sys_store_app
This option is on by default.
Lock settings for this clone If you use a clone profile, this option locks the settings and options at the time of the clone request. Any subsequent changes to the clone profile, regardless of
request when the clone runs, do not affect the clone request.
This option is not selected by default.
Amount of data copied from Limits the number of days of historical data for the Task table and its child tables (e.g. Incident, Problem, Change) to 90 days.
the Task tables Important Note: Selecting 'Last 90 days' can increase clone time, due to the post-clone deletion process of records older than 90 days.
To reduce clone time, consider excluding large tables altogether. When excluding tables, your target instance will have the same table schema and hierarchy (i.e.
empty usable tables) as the source instance.
The default setting is to clone all data from the Task table and its child tables to the target instance.
Preserve In Progress Update Preserves the last 90 days of in-progress update sets in the global application scope. This option allows you to keep in-progress, global update sets created within
Sets the last 90 days on your target instance.
Note:
This option does not preserve your in-progress scoped update sets.
Keep in mind that update sets that are older than 90 days will not be saved.
As a best practice, we recommend reviewing and committing your update sets before cloning.
The default is to not preserve update sets.
This option allows you to schedule recurring clones from your source to your target instance. It allows you to define the clone frequency and the maximum number
Clone frequency of occurrences.
By default, the clone frequency is set to None.
For more information about scheduling cloning, see the product documentation: Schedule cloning.
Clone and Upgrade By Dinesh Kumar Raghu
How can I do a full clone?
• A full clone is when you bring over all the information from your source instance and you do not exclude any data from
source. This is normally done when you want a full replica of your prod instance with logs, emails, etc. This is helpful when
doing upgrading, updating sets, application deployments, etc. to see how it would run on your production instance.
• To request a full clone, please toggle these options:
• Exclude audit and log data - Unchecked
• Exclude large attachment data - Unchecked
• Exclude tables specified in Exclusion List - Unchecked
• Preserve Theme - Checked
• Amount of data copied from the Task table - Full
• Note: Emails are disabled during the clone, so even though emails were copied across they will not send after a full clone.
After the clone we would only have the role from the Target instance, we will not have the role from source as we can't have both with the
unique index.
• When requesting a clone, you can select a profile, once selected then the clone profile automatically
populates the clone request with your selected profile settings.
• Here is some more information about Profiles, these profiles can be helpful when you have different settings
to clone over different environments.
• Clone Profiles for Clone Requests
• NOTE: ServiceNow provides one profile called "System Profile" that will only include the OOB defined list of
excluded tables, preserve data entries, and clean-up script. So this will NOT include the excludes /
preservers you have created previously for your default clone. If you wish to keep using your default settings
without profiles then leave the profile field empty when requesting a clone, DO NOT use System Profile
unless you have configured it.
Post-clone tasks
• Perform the following tasks after your production instance is cloned:
• Update the welcome page
• Change the email properties
• Restrict user access
• Modify LDAP to disable imports and updates.
• Disable active scheduled jobs
• Restoration activity.
• Yes, but only within the 7 days after the clone is run for non-sharded DBs, or
within 2 days for sharded DBs.
• As we take a backup of the database after the cloning process, we can roll back
the clone up to 7 days after the clone was run. After a clone is complete there is a
UI action Rollback clone. If you click this button, it will roll back the clone using
the same automation that Technical Support will use to roll back the clone. If you
are facing any issues or need clarification about your clone rollback, please
contact Technical Support for assistance.
Upgrade Instance:
• Planning:
• Ensure that there is a comprehensive test plan for after the upgrade.
• Once dates are confirmed by the client send the Monthly Schedule Notification.
• Release notes for upgrading from Washington DC (servicenow.com) / Release notes for upgrading from Vancouver (servicenow.com)
• Phase 1 - Read the release notes and plan your upgrade (servicenow.com)
• Phase 3 - Verify your upgrade configurations and schedule the development instance upgrade in Now Support (servicenow.com)
• Phase 5 - If applicable: Upgrade and validate your other non-production instances, such as your test instance (servicenow.com)
Upgrade Instance:
• Internal Checklist:
• • Ensure sub-production environments have been cloned in preparation for upgrade. If not, schedule clones from PROD to DEV/TEST(QA).
• Instance Checks-
• Verify the scheduled upgrade time and ensure that there are no conflicts.
• Take snapshots, document, and/or test the following in the clients’ lower instances:
• MID Servers
• Email Diagnostics
• LDAP
• Nodes
• Once the upgrade is complete, send relevant parties the completion email/notification with screenshots.
• Once the skipped changes have been processed, complete and save the update set(s).
Upgrade Instance:
• Testing, validating, and remediating:
• Ensure that all basic functionalities of the instance are working properly.
• Perform testing as illustrated with the test plan created during the planning phase.
• Repeat from 'Pre-Upgrade' phase to 'Testing, validating and remediating' phase for all lower instances.
• Upgrade - PROD:
• Once all lower instances have been upgraded, validated, tested, and signed off successfully, proceed with upgrading PROD.
• Migrate over the update sets with the skipped changes from lower instances. Check for any additional skipped changes that may appear. If there are additional
skipped changes, process them.
• Perform smoke testing on all vital functionalities. If any issues arise, troubleshoot, and fix accordingly.
• Once the upgrade is complete, send relevant parties the completion emails/notifications.
Clone and Upgrade By Dinesh Kumar Raghu
Thank you.