Professional Documents
Culture Documents
ServiceNowKB:Upgradebestpractices(KB0547245)
11385
views
Number
KB
0547245 (
:// .
https
view do
sysparm
article
0547245)
KB
Overview
.
://
all features that are part of the base system or are already active
title
Activating
ServiceNow
),
Plugins
ware
tools
functionality
.
.
http
Set the expectation with IT and business users that time needs to be dedicated to preparing for
implementing
This page provides an upgrade process with best practices for ensuring a safe and e
,
/
://
http
://
http
).
ServiceNow o
manageability
service
scalability
and performance
Performed by a
example
Within a family
er a major city
Fuji Patch
Fuji Patch
1
2
Hot Fix
1
erent family than your current release. For example, if
to Fuji Patch
2,
erent families.
Best Practices
Patching is the act of moving to a release that is in the same family as your current release
move from Fuji Patch
to Fuji Patch
2,
://
http
For example
this is a patch because both versions are part of the Fuji family
title
if you
For details
Patches
Best
2.
.
).
Practices
It is the di
https://hi.servicenow.com/kb_view.do?sysparm_article=KB0547245
1/12
9/1/2016
ServiceNowKB:Upgradebestpractices(KB0547245)
Understand the ServiceNow release cycle
It is important to understand the ServiceNow release cycle and the types of releases available
Knowledge of the
release cycle helps ensure that the appropriate upgrades and versions are applied to your instance without
,
_
(/
kb
view do
,
0547244).
availability
sysparm
article
or performance
KB
ServiceNow automatically updates customer instances to ensure that customers receive the enhancements and
(/
kb
view do
sysparm
article
KB
ware
0547244).
backups
note that ServiceNow does not provide a rollback option or perform on demand
Instances are automatically backed up daily during non peak business hours on schedules defined by
ServiceNow
when possible
Restoring a
production instance from backup is a final option when a problem cannot be solved using other methods
provide customer support
24/7
We
The best method for successfully upgrading a production instance is to first test thoroughly on a sub production
instance
The testing process explained in this article helps identify critical problems and related fixes on the
Use the information identified during testing to create a plan for addressing issues a
er
methodically move the new code to the production instance without compromising system stability
https://hi.servicenow.com/kb_view.do?sysparm_article=KB0547245
2/12
9/1/2016
ServiceNowKB:Upgradebestpractices(KB0547245)
(/
_ =39978088
sys
id
sys
attachment do
022445 4 85 0 961948).
dbf
af
System administrators can check which release is running on an instance at any time
release
://
http
title
Release
Notes
for every
ecting your instance. The release notes can also help you determine
article
0547244).
(/
kb
view do
KB
Specifically
Key functionality
Integrations
Instance performance
Assign a consistent core team of power users and key stakeholders to validate important functionality in the
ServiceNow instance before and a
er upgrades
Pre upgrade instance validation can provide a reliable benchmark of the current operating environment and
alert you to any issues that may appear a
er the upgrade
For example
in some cases
Analysis sometimes shows that the functionality did not work properly in
Create a comprehensive test plan that includes test cases for all core instance functionality and integrations
Perform the tests before and a
er upgrading
To test e
testing team can use consistently and methodically to evaluate system functionality
er upgrading
track any defects or deviations from the pre upgrade testing results
The resulting
update sets hold the cumulative fixes that should be applied to the production instance
https://hi.servicenow.com/kb_view.do?sysparm_article=KB0547245
3/12
9/1/2016
ServiceNowKB:Upgradebestpractices(KB0547245)
://
http
),
tracking defects
consider using a spreadsheet with the following columns to track all required
test cases
Column
Description
Test case ID
Test object
For example
Test case
The type of test to run
type
transaction
For example
Test role
field value
or variable value
For example
Actor
Precondition
For example
The list may contain a single step or several steps for the test role
to perform
Success
The expected state a
criteria
Post
The new condition that is established a
condition
Result set
The expected result set created when the test case is run
Misc
Any additional
if applicable
relevant information
Consider using a spreadsheet with the following columns to track all defects
Column
Description
Test case ID
Test name
.
.
Expected
The expected state a
results
Defect
Detailed description of the defect as compared to the expected results
identified
.
,
Update set
Name of the update set containing the fix for the defect
title
SDLC
Scrum
Process
(
.
://
http
.
.
which o
ServiceNow instance
Use this information to help resolve as many errors as possible before the upgrade
https://hi.servicenow.com/kb_view.do?sysparm_article=KB0547245
>
System Log
>
Errors
4/12
9/1/2016
ServiceNowKB:Upgradebestpractices(KB0547245)
://
http
title
Viewing
System
Logs
to identify errors
Track the total volume of errors to spot any sudden increase that could indicate degraded
the sys
id
GB
could
Evaluate large log files for frequent errors or other excessive logging
://
http
title
Upgrade
)
,
History
View the most recent upgrade records to see what was skipped
>
updated
inserted
or deleted
iciently.
https://hi.servicenow.com/kb_view.do?sysparm_article=KB0547245
5/12
9/1/2016
ServiceNowKB:Upgradebestpractices(KB0547245)
Manage customizations
If viewing the upgrade history shows that a base system object was skipped during the previous upgrade
determine if you want to revert the object back to base system status so it is upgraded automatically in the
future
title
Upgrade
History
Reverting
://
http
).
://
title
sys
update
xml
table
To prevent
http
Customizations
The table maintains the current version information for all objects that have been modified
System
Update
Sets
Update
Sets
Tables
).
To determine the base system objects that were skipped in a specific upgrade
1.
2.
>
Upgrade History
select an upgrade
3.
title
4.
5.
6.
7.
)).
Click OK
://
http
Consider allowing the upgrade to overwrite a customization if the upgrade contains a desirable enhancement to
Note
Alternatively
er an upgrade
example
version
ware version
For
you may change a script to implement a temporary workaround for a problem that is fixed in the next
You would want to overwrite your workaround when upgrading to the next version to ensure that you
.
:
1.
2.
for example
).
://
/
.
.
https
.
_
upgrade field
4.
5.
Alternatively
3.
/_
administration task t
ConfigureAForm html
if necessary
Click Update
https://hi.servicenow.com/kb_view.do?sysparm_article=KB0547245
6/12
9/1/2016
ServiceNowKB:Upgradebestpractices(KB0547245)
://
http
title
System
),
Scheduler
the Upgrade and Check Upgrade Script scheduled jobs execute the upgrade process across all nodes of an
instance
It is imperative that you verify that the two scheduled jobs are set properly for upgrading
:
.
Upgrade
new
runs every
60
. ,
war file
:
.
war file
If
https://hi.servicenow.com/kb_view.do?sysparm_article=KB0547245
7/12
9/1/2016
ServiceNowKB:Upgradebestpractices(KB0547245)
1.
2.
3.
>
>
Scheduled Jobs
Scheduled Jobs
View the Next action column to determine when the job next runs
For example
11:10:00,
11:10:00
60
and then at
10
minutes
).
minutes
To verify that the Upgrade scheduled job is set properly for upgrading
1.
2.
3.
4.
Open Upgrade
>
>
Scheduled Jobs
Scheduled Jobs
.
.
To verify that the Check Upgrade Script scheduled job is set properly for upgrading
1.
2.
3.
>
>
Scheduled Jobs
Scheduled Jobs
the system only runs scheduled jobs that are set as Upgrade safe
All other
The
high level steps in your implementation plan could be based on the steps listed in this best practices page
Any details about the step that would be helpful in the future
Proper preparation and testing on sub production instances can help ensure an accurate and successful upgrade
Because the production instance is the final destination for any new ServiceNow release
it is important that testing be done on a system that reflects the production instance as closely as possible
://
http
Note
title
System
Clone
Users should perform a full clone by clearing Exclude Audit and Log Data and Exclude Large
Attachment data when performing a clone from prod to subprod to do their upgrade testing
https://hi.servicenow.com/kb_view.do?sysparm_article=KB0547245
8/12
9/1/2016
ServiceNowKB:Upgradebestpractices(KB0547245)
record is modified
title
Upgrade
#
.
-
History
Reverting
Customizations
://
http
Once a
is a manual process
on a sandbox instance
actions
UI pages
UI macros
such as global UI
.
comment all changes and clearly
at a later date
.
(/).
0541128).
Request an upgrade using the ServiceNow Customer Support system named HI at hi service now com
more information
60
which is every
minutes
10-15
(/
kb
view do
article
KB
This allows the upgrade request to update HI before the Upgrade scheduled job runs
For information about how to determine when the Upgrade scheduled job runs
'
sysparm
For
see the
'
."
for Upgrading
The size of the company database determines how long the upgrade process takes to complete
The amount of
time it takes to upgrade a sub production instance that is a clone of your production instance is a good indicator
title
Upgrade
is Complete
Monitor
Running
application
://
http
orFailed
://
http
title
Upgrade
first confirm that the upgrade is in progress and then confirm that the process completed
History
module to
Upgrade History
://
http
to the instance
made
Immediately a
title
Upgrade
History
View the upgrade record to determine what was modified and where the changes were
Upgrade History also lists updates that were skipped because of customizations on your instance
Work with the testing team to run all test cases against the newly upgraded sub production instance
Closely compare the test results to the data gathered during the pre upgrade testing
Any defects or
The
resulting update sets hold the cumulative fixes that should be applied to the production instance
https://hi.servicenow.com/kb_view.do?sysparm_article=KB0547245
9/12
9/1/2016
ServiceNowKB:Upgradebestpractices(KB0547245)
Use a simple and descriptive naming convention for all update sets
items
,
, Upgrade Remediation 03/15/13 for Eureka Patch 1.
.
project name
example
task name
date
version
revision
(/
submit an incident
kb
view do
sysparm
article
0547260)
KB
to
test
Obtain confirmation from IT and management that all sub production instance defects have been fixed
validated
.
.
Use the change management process established by your organization to track the upgrade
ectively with your user community regarding changes, new features, and process
Communicate e
(/
kb
view do
sysparm
article
For example
KB
0541128)
15 20
er hours
to minimize
you should have a good indicator for how long it will take to
Allow time in your change window to run all test cases and validate that all integrations
functionality
key business
Add a time bu
er the upgrade
https://hi.servicenow.com/kb_view.do?sysparm_article=KB0547245
10/12
9/1/2016
ServiceNowKB:Upgradebestpractices(KB0547245)
.
(/).
0541128).
Request an upgrade using the ServiceNow Customer Support system named HI at hi service now com
more information
(/
kb
view do
sysparm
article
For
KB
1.
2.
3.
4.
>
>
Notifications
Click Update
The selected users now receive a notification when an upgrade completes successfully
https://hi.servicenow.com/kb_view.do?sysparm_article=KB0547245
11/12
9/1/2016
ServiceNowKB:Upgradebestpractices(KB0547245)
Confirm an upgrade
There are several methods of verifying that an instance has been upgraded to a recent feature release
>
Upgrade Log and locate the message Notifying HI that upgrade has
been completed
>
System Upgrades
>
Article Information
:2016-08-22 16:26:12
:2016-08-22
Last Updated
Published
https://hi.servicenow.com/kb_view.do?sysparm_article=KB0547245
12/12