Install Guide

Scripts for installation, upgrade and uninstallation
This topic provides details and its usage on the scripts used for installation, upgrade and uninstallation
Installation Script
Script used: installation_permissions.js
1. Ensure to provide read, create, update, and delete permission to the table sysauto_script and
cmdb_ci_outofband_device
2. Ensure to provide create and update permission to the table em_alert_management_rule in case where event
management plugin is installed.
3. Ensure to provide read permission to the table sysevent
4. Ensure to provide create, delete and update permissions to sys_report_color and pa_chart_color_schemes tables.
5. Ensure to activate the identifier entry with ip_address attributes under criterion attribute for the hardware rule cmdb
identifier.
Background script
Background script is performed when user activates event management plugin later to use ServiceNow Out Of Box solution for
event management. Following are the steps to run background script.
Script used: BackgroundScriptToCreateAlertManagementRules.js
1. Ensure to provide create and update access to the table em_alert_management_rule
2. Create alert management rules Create Incident on Critical Alerts , Create Incident on Warning Alerts
Upgrade Script
Scripts used: upgrade_permission_1.1-1.2.js upgrade_permission_1.0_afterinstall_1.2_updateset.js
Upgrade_records_1.1-1.2.js Upgrade_records_1.0-1.2.js
1. These scripts help in upgrading to the next available version of ServiceNow along with new updates.
2. upgrade_permissions_1.1-1.2.js provides read, create, update, delete permissions to the table for the upgrade
from 1.1 to 1.2.
3. upgrade_permission_1.0_afterinstall_1.2_updateset.js is used after the installation of 1.2 application's
updateset.
4. upgrade_records_1.0-1.2.js helps migrate all the server, connection profile and properties records from 1.2 version
to the 1.2 version.
5. upgrade_records_1.1-1.2.js helps migrate all the server, connection profile and properties records from 1.1 version
to the 1.2 version.
Uninstallation script
Scripts used: uninstall_deletePermissionScript.js uninstall_deleteAllrecords.js
uninstall_DeleteRecords.js uninstall_backout.js stop_jobs.js uninstall_SelectAction.js
1. Before uninstalling the serviceNow, ensure to delete jar files, CI's, assignment rules, log files and the related records. Later
stop the scheduled jobs and delete the Update set using uninstall_backout.js script.
2. uninstall_deletePermissionScript.js gives permission to delete the records from the table.
3. uninstall_deleteallrecords.js and uninstall_DeleteRecords.js deletes all the records from the table.
4. stop_jobs.js helps to de-activate the scheduled jobs.
5. uninstall_backout.js deletes the system update xml from the ServiceNow instance.
6. uninstall_SelectAction.jshelps the user to select keep current as action when user faces issue while selecting an
option for multiple back out problems.
10
Installing OpenManage Integration with ServiceNow