Difference between revisions of "ITOM Quick Start Guide"

From Hornbill
Jump to navigation Jump to search
 
(235 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{bluebanner|[[Main_Page|Home]] > [[Administration]] > [[IT Operations Management|ITOM]] > Quick Start Guide|[[:Category:ITOM|Index]]}}
 
{{bluebanner|[[Main_Page|Home]] > [[Administration]] > [[IT Operations Management|ITOM]] > Quick Start Guide|[[:Category:ITOM|Index]]}}
 
{{IntroAndLinks|
 
{{IntroAndLinks|
Hornbills ITOM offering provides the tools required for you to efficiently manage your computing devices with the following features:
+
The following guide takes you through the steps required to get up and running with ITOM, including installing the Site Integration Service, discovering devices and package execution. 
 
+
<br>
* Device Discovery and Inventory management
+
<br>
* Packaged Job deployment and Scheduling
+
===Quick-Start Pre-requisites===
* Orchestration provided via the use of Runbooks
+
To follow this guide, you must have access to a Hornbill instance, with a user with the '''''ITOM Administrator''''' role added. A Windows computer with a membership to an Active Directory domain, for the installation of the SIS, is required.  You will also require access to a Windows Domain Administrator account in order to retrieve inventory details via WMI and deploy and execute Package operations.
* Dynamic Package Library, Custom Package Creation
 
  
 
|
 
|
 +
* [[ITOM Runbooks Quick Guide]]
 +
* [[ITOM Package Creator Quick Guide]]
 +
* [[ITOM Package Examples]]
 
* [[IT Operations Management]]
 
* [[IT Operations Management]]
 +
* [[ITOM Package Library]]
 
}}
 
}}
  
 
== Site integration Service (SIS) Installation ==
 
== Site integration Service (SIS) Installation ==
 +
{{#ev:youtube|Of4i1UOzt_g|400|right|<div align="center">'''Site Integration Service Installation'''</div>}}
 +
The SIS's role is to monitor the ITOM Job Queue, download any Jobs targeted to it for device discovery or package deployment and execution. The service is available for download via the Hornbill Instance and can be installed at any time; however, before you can use it, a Site connector must exist on your Hornbill Instance and the SIS paired with it.
  
The service is required to be installed on-premise and must have access to all devices that you wish to be managed. The role of SIS server service is to monitor the ITOM Job Queue and downloading any Jobs targeted for it. It will also handle the deploying of packages to remote devices and executing the payload.
+
=== Minimum requirements for the SIS ===
 
+
* OS: Windows Server (64bit) 2012, 2012 R2, 2016 or 2019
=== Minimum requirements ===
+
* RAM: 2GB
 
 
* OS: Windows Server 2012, 2012 R2, 2016 or 2019
 
 
 
* RAM: 4GB
 
 
 
 
* Free Disk: 10GB
 
* Free Disk: 10GB
  
=== Where to Install ===
+
The following set of steps will guide you through the process of getting your SIS up and running:
  
You can install the service on any existing Windows computer running one of the supported OS’s. The SIS is not processor intensive and will not require significant disk usage.
+
=== Adding an SIS Connector ===
 
+
First lets setup an SIS connector and generate the Authorisation key required for the pairing process.
We would recommend that the SIS is not installed on a Domain Controller or Desktop OS.
 
 
 
=== Create a Default SIS Group (Required) ===
 
 
 
# Select the Group Drop Down
 
# Select '''+Create Group'''
 
# Enter a name for the group
 
# Click Apply
 
 
 
=== Register a Site Integration Server ===
 
 
 
<blockquote>SIS Instances are grouped together to provide redundancy and performance benefits, at least one default group must be created.
 
</blockquote>
 
 
<ol style="list-style-type: decimal;">
 
<ol style="list-style-type: decimal;">
<li><blockquote><p>From the ITOM page select '''Site Integration Services'''</p></blockquote></li>
+
<li>From the ITOM page select '''Site Integration Services'''</li>
<li><blockquote><p>Click the “'''Add SIS connector'''” ('''+''') button</p></blockquote></li>
+
<li>Click the “'''Add SIS connector'''” [[File:NewPackageButton.png|23x22px]] button</li>
<li><blockquote><p>Enter your required details:</p></blockquote>
+
<li>Enter your required details:
 
<ol style="list-style-type: none;">
 
<ol style="list-style-type: none;">
<li><blockquote><p>Name - name used to identify the SIS server to the Hornbill Instance</p></blockquote></li>
+
<li>Name - Unique identifer for the SIS Connector</li>
<li><blockquote><p>Group - Should be a least one default group, others can be selected via drop down if created previously</p></blockquote></li></ol>
+
<li>Group - The default group can be used</li></ol>
 
</li>
 
</li>
<li><blockquote><p>Click the '''Create Site Integration Service''' button</p></blockquote></li></ol>
+
<li>Click the '''Create Site Integration Service''' button</li></ol>
 
<blockquote>[[File:SISAuthKey.png|350x79px|Image: 350 pixels]]</blockquote>
 
<blockquote>[[File:SISAuthKey.png|350x79px|Image: 350 pixels]]</blockquote>
 +
<ol style="list-style-type: none;">
 +
<li>Make a note of the Authorisation Key, required for later use during the pairing process</li></ol>
 
<ol start="5" style="list-style-type: decimal;">
 
<ol start="5" style="list-style-type: decimal;">
<li><blockquote><p>The Authorisation Key is displayed, and should be recorded for later use</p></blockquote></li>
+
<li>Return to the '''Site Integration Services''' list</li>
<li><blockquote><p>Return to the '''Site Integration Services''' list</p></blockquote></li>
+
<li>Select the '''Not Paired''' filter</li></ol>
<li><blockquote><p>Select the '''Not Paired''' filter</p></blockquote></li></ol>
 
<blockquote>'''HORNBILL HINT:''' The Authorisation Key is temporary and will expire after 1 hour AND the SIS record is removed and will need recreating.
 
</blockquote>
 
  
=== Download SIS and install on a server ===
+
{{infobox|The Authorisation Key is temporary and will expire after 1 hour, AND the SIS record will need recreating.}}
  
 +
=== Download and Installation of the SIS ===
 +
The installation software is downloaded from the SIS list within the Admin Portal, and should be executed on the server nominated to host the SIS.
 
<ol style="list-style-type: decimal;">
 
<ol style="list-style-type: decimal;">
<li><blockquote><p>From the '''Site Integration Services''' list, Click the '''Download Site Integration Server'''</p></blockquote></li>
+
<li>From the '''Site Integration Services''' list, Click the '''Download Site Integration Server''' button</li>
<li><blockquote><p>Locate and Execute the Downloaded executable</p></blockquote></li></ol>
+
<li>Locate and Execute the Downloaded executable</li></ol>
 
<blockquote>[[File:InstallerPage.png|328x200px]]</blockquote>
 
<blockquote>[[File:InstallerPage.png|328x200px]]</blockquote>
 
<ol start="3" style="list-style-type: decimal;">
 
<ol start="3" style="list-style-type: decimal;">
<li><blockquote><p>Click Install</p></blockquote></li>
+
<li>Click '''Install'''</li>
<li><blockquote><p>Click Ok to Confirm the Installation</p></blockquote></li>
+
<li>Click '''OK''' to Confirm the Installation</li>
<li><blockquote><p>Close the Install dialog</p></blockquote></li>
+
<li>Close the Install dialog</li>
<li><blockquote><p>Open the Services MMC Console</p></blockquote></li>
+
</ol>
<li><blockquote><p>Start the '''EspSisService'''</p></blockquote></li></ol>
+
<ol style="list-style-type: none;">
 +
The service will not be started automatically you must manually start the process or configure it to be automatically started.
 +
</ol>
 +
<ol start='6' style="list-style-type: decimal;">
 +
<li>Open the ''Services MMC'' Console</li>
 +
<li>Start the '''EspSisService'''</li></ol>
  
 
<blockquote>[[File:StartSisMmcService.png|411x141px]]
 
<blockquote>[[File:StartSisMmcService.png|411x141px]]
Line 75: Line 68:
  
 
=== Server Pairing ===
 
=== Server Pairing ===
 
+
Once the service has been started, the pairing process can be completed via the service web page, using the Authorisation Code generated when creating the SIS connector.  If you do not have the code or have forgotten it, you can view it from the SIS Connector properties in the Admin Portal.  If the code has expired, you will need to remove the existing connector and create a new one to generate a new code.
 
<ol style="list-style-type: decimal;">
 
<ol style="list-style-type: decimal;">
<li><blockquote><p>Switch back to the Browser and refresh the page (http://localhost :11117)</p></blockquote></li></ol>
+
<li>Switch back to the Browser and refresh the page (http://localhost:11117)</li></ol>
 
 
 
<blockquote>[[File:SISPairWithInstance.png|252x162px]]
 
<blockquote>[[File:SISPairWithInstance.png|252x162px]]
 
</blockquote>
 
</blockquote>
 
<ol start="2" style="list-style-type: decimal;">
 
<ol start="2" style="list-style-type: decimal;">
<li><blockquote><p>Enter the instance ID</p></blockquote></li>
+
<li>Enter the instance ID</li>
<li><blockquote><p>Enter the Authorization Code recorded earlier</p></blockquote></li>
+
<li>Enter the Authorization Code recorded earlier</li>
<li><blockquote><p>Click the '''Pair with Instance''' button</p></blockquote></li></ol>
+
<li>Click the '''Pair with Instance''' button</li></ol>
 
+
<blockquote>[[File:SISNewHomePage.png|479x297px]]
<blockquote>[[File:SISHomePage.png|479x297px]]
 
 
</blockquote>
 
</blockquote>
 +
After a successful pairing, the status page appears displaying information related to the SIS service, with additional details available via the '''Show more''' button.
  
= Hornbill ITOM Account Requirements  =
+
== ITOM Admin Account Requirements  ==
 
+
Before a successful Discovery or Automation can be actioned, one or more windows NT accounts will be required.  It is recommended that you create a new admin domain account for Windows NT computers and an account with root privileges for Linux / Unix environments.
== Windows NT Accounts ==
+
=== Windows NT Accounts ===
 
+
ITOM Admin Credentials will require a Windows NT Administrator account with the following additional rights to be applied:
NT Accounts used for the ITOM Admin Credentials will require the following additional rights to a be applied:
 
  
 
* Replace a process-level token. (SeAssignPrimaryTokenPrivilege)
 
* Replace a process-level token. (SeAssignPrimaryTokenPrivilege)
 
* Act as part of the operating system. (SeTcbPrivilege)
 
* Act as part of the operating system. (SeTcbPrivilege)
  
You should create a new account solely be used to deploy and execute ITOM packages. Along with the above additional privileges, the account will require relevant rights/permissions to access computers over the network.
+
Additional user accounts may also require creation; these are dependent on the package used and the context of security needed; further information is available within the ITOM package library documentation for each Package under the section '''KeySafe Configuration'''. (https://wiki.hornbill.com/index.php/ITOM_Package_Library)
  
Additional accounts requiring creation, are dependent on the package(s) used and the context to run as; further information is available within the ITOM package library documented for each package under the section '''KeySafe Configuration'''. (https://wiki.hornbill.com/index.php/ITOM_Package_Library)
+
=== Linux / Unix ===
 
+
ITOM  Admin Credentials will require an account with root user privileges when used for Linux or Unix devices; accounts that require the use of ''sudo'' cannot be used.
== Creating a Hornbill KeySafe entry ==
 
  
 +
=== Creating a Hornbill KeySafe entry ===
 +
Once you have created the OS Accounts with the required rights and permissions the account will need to be added to the Hornbill KeySafe in order for it to be used for discovery and IT Automations.  The following will guide you through the process of creating a Keysafe entry on your Hornbill Instance, and can be used for adding both Windows and Linux accounts that require username and password entry:
 
<ol style="list-style-type: decimal;">
 
<ol style="list-style-type: decimal;">
<li><blockquote><p>From the Hornbill Administration page Select System &gt; Security &gt; KeySafe</p></blockquote></li>
+
<li>From the Hornbill Administration page navigate to ('''Home > System > Security > KeySafe''')</li>
<li><blockquote><p>Click the '''Create New Key'''” ('''+''') button</p></blockquote></li>
+
<li>Click the '''Create New Key''' [[File:NewPackageButton.png|23x22px]] button</li>
<li><blockquote><p>Select Type as '''Username + Password'''</p></blockquote></li></ol>
+
<li>Select Type as '''Username + Password'''</li></ol>
 +
{{infobox|Ensure that the KeySafe type is '''Username + Password''' and not ''Username + Password + Pre-Shared Key'', as the entry will not be visible within ITOM.  '''SSH Private Key''' entry can also be used for devices that utilise ssh and public key authentication has been configured.}}
 
<ol style="list-style-type: none; margin-left: 8em;">
 
<ol style="list-style-type: none; margin-left: 8em;">
 
<li>[[File:KeySafeUserPasswordForm.png|228x158px]]</li>
 
<li>[[File:KeySafeUserPasswordForm.png|228x158px]]</li>
 
</ol>
 
</ol>
 
<ol start="4" style="list-style-type: decimal;">
 
<ol start="4" style="list-style-type: decimal;">
<li><blockquote><p>Enter the following details:</p></blockquote></li></ol>
+
<li>Enter the following details:</li></ol>
 
<ol style="list-style-type: none; margin-left: 8em;">
 
<ol style="list-style-type: none; margin-left: 8em;">
 
<li>Title: '''Network Admin'''</li>
 
<li>Title: '''Network Admin'''</li>
Line 119: Line 112:
 
</ol>
 
</ol>
 
<ol start="5" style="list-style-type: decimal;">
 
<ol start="5" style="list-style-type: decimal;">
<li><blockquote><p>Click '''Create Key'''</p></blockquote></li></ol>
+
<li>Click '''Create Key'''</li></ol>
 
 
= Configuring a Discover Job =
 
  
 +
== Configuring a Discover Job ==
 +
{{#ev:youtube|kVsPDKVqvH0|400|right|<div align="center">'''Configuring a Discovery Job'''</div>}}
 +
To view the properties of a device or to execute IT Automations on a device, it must exist within the Inventory.  The population of the inventory is undertaken by the execution of one or more discovery jobs. In this example, you will configure a discovery using ''Windows Active Directory'', connecting to devices via WinRM to retrieve the properties.
 
<ol style="list-style-type: decimal;">
 
<ol style="list-style-type: decimal;">
 
<li><p>Navigate to the ITOM Job Queue ('''''Home &gt; ITOM &gt; Job Queue''''')</p></li>
 
<li><p>Navigate to the ITOM Job Queue ('''''Home &gt; ITOM &gt; Job Queue''''')</p></li>
Line 128: Line 122:
 
<li><p>Enter the following details:</p>
 
<li><p>Enter the following details:</p>
 
<ol style="list-style-type: lower-alpha;">
 
<ol style="list-style-type: lower-alpha;">
<li><p>Name: '''AD Discovery using DCOM'''</p></li>
+
<li><p>Name: '''AD Discovery using WinRM'''</p></li>
<li><p>Site Target: ['''Server'''] '''SIS Demo'''</p></li>
+
<li><p>Site Target: '''SIS Demo'''</p></li>
<li><p>Protocol: '''DCOM'''</p></li>
+
<li><p>Protocol: '''WinRM'''</p></li>
 
<li><p>Discovery Mode: '''Active Directory'''</p></li>
 
<li><p>Discovery Mode: '''Active Directory'''</p></li>
<li><p>Container: train1. hornbill.edu</p></li>
+
<li><p>Container: ''<windows domain>'' (example:'''hornbill.qa''')</p></li>
<li><p>Admin Credentials: '''Network Admin'''</p></li>
+
<li><p>Admin Credentials: ''<your keysearch entry>''</p></li>
<li><p>Use Default Ping Check Settings</p></li></ol>
 
 
</li>
 
</li>
<li><p>Click '''Create''' button</p></li></ol>
+
<li><p>Click '''Create''' button</p></li></ol></ol>
  
<blockquote>[[File:ADDiscoveryMonitor.png|399x218px]]</blockquote>
+
<blockquote>[[File:ADDiscoveryMonitorWinRM.png|399x218px|link=https://wiki.hornbill.com/images/thumb/3/3e/ADDiscoveryMonitorWinRM.png/800px-ADDiscoveryMonitorWinRM.png]]</blockquote>
  
Review the '''Console''' output locate and confirm the following:
+
You can monitor the progress of the job via the monitor, and once the job has completed, the Console Output and Debug log are displayed.  These provide a view of the raw output from the process execution on the target device and the debug logging produced by the target device's running process.
<div display:inline-block; float:left; clear:both;">
+
<div>
 
'''Monitor:'''
 
'''Monitor:'''
 
<p style="color:white; background-color:black; display:block; clear:both; width:50%;">
 
<p style="color:white; background-color:black; display:block; clear:both; width:50%;">
 
Enumerating child OU<br>
 
Enumerating child OU<br>
  
Scan found X computers for detailed discovery
+
Scan found X computers for detailed discovery.
  
 
Performing WMI discovery of X computers
 
Performing WMI discovery of X computers
Line 169: Line 162:
 
'''Debug:'''
 
'''Debug:'''
 
<br/>
 
<br/>
Note any errors, success here implies that the Discovery process did not fail, and not that all devices were detected and were able to be accessed.<br/>
+
If errors are identified during the process execution, the log details will provide additional information to help diagnose the failure.
 +
success here implies that the Discovery process did not fail and not that all devices were detected and were able to be accessed.<br/>
 
</p>
 
</p>
 
</div>
 
</div>
  
= Inventory Viewer =
+
==Inventory Viewer==
 
+
{{#ev:youtube|4xIC0sutMNQ|400|right|<div align="center">'''Managing the Inventory'''</div>}}
 +
Allows you to Browse and Manage all discovered devices; from here, you can remove unwanted devices and modify a device's Managed status.  When a device is initially discovered, it will be classified as Un-Managed, and only basic properties will be visible.  IT Automations will not be able to be executed on these devices until it is classified as a Managed Device, allowing access to its full properties. 
 +
===Registering a Device as Managed===
 
<ol style="list-style-type: decimal;">
 
<ol style="list-style-type: decimal;">
<li><blockquote><p>Navigate to the ITOM Inventory ('''''Home &gt; ITOM &gt; Inventory Viewer''''')</p></blockquote></li>
+
<li>Navigate to the ITOM Inventory ('''''Home &gt; ITOM &gt; Inventory Viewer''''')</li>
<li><blockquote><p>Select '''All Un-Managed Inventory'''</p></blockquote></li></ol>
+
<li>Select '''All Un-Managed Inventory'''</li></ol>
 
 
 
<blockquote>[[File:InventoryShowMenu.png|341x134px]]</blockquote>
 
<blockquote>[[File:InventoryShowMenu.png|341x134px]]</blockquote>
 
<ol start="3" style="list-style-type: decimal;">
 
<ol start="3" style="list-style-type: decimal;">
<li><blockquote><p>Click check next to the heading '''Name''' to select '''All Discovered Devices'''</p></blockquote></li></ol>
+
<li>Click on the '''Name''' of an Un-Managed inventory Item</li></ol>
 +
<blockquote>
 +
Initially all discovered devices will appear as Un-Managed devices with only basic properties visible.<br>
 +
[[File:InventoryUn-ManagedProperties.png|341x134px|link=https://wiki.hornbill.com/images/d/dc/InventoryUn-ManagedProperties.png]]<br>
 +
{{infobox|Pressing the '''Set As Managed''' button links a subscription to the device, which is consumed for a minimum of 30 days; as stated in the message provided, once confirmed, the device's properties will become visible.}}
 +
</blockquote>
 +
<ol start="4" style="list-style-type: decimal;">
 +
<li>Use the Breadcrumbs to return to the Inventory Viewer</li>
 +
</ol>
  
<blockquote>[[File:InventorySelectAll.png|341x134px]]</blockquote>
+
===Registering Multiple Devices as Managed===
<ol start="4" style="list-style-type: decimal;">
+
Setting devices as Managed individually is not always desirable, a more efficient method is to set multiple devices at the same time.
<li><blockquote><p>Click the '''Register''' button</p></blockquote></li>
+
<ol style="list-style-type: decimal;">
<li><blockquote><p>Click '''Yes''' to confirm</p></blockquote></li>
+
<li>Click check next to the heading '''Name''' to select '''All Discovered Devices'''</li></ol>
<li><blockquote><p>Select '''All Managed Inventory'''</p></blockquote></li></ol>
+
<blockquote>[[File:InventorySelectAll.png|341x134px]]<br>
 +
Individual devices can be selected / deselected by clicking the check box adjacent to each entry.
 +
</blockquote>
 +
<ol start=2 style="list-style-type: decimal;">
 +
<li>Click the '''The Set As Managed''' [[File:SetAsManagedButton.png|23x22px]]  button on the toolbar</li>
 +
<li>Click '''Yes''' to confirm</li>
 +
<li>Select '''All Managed Inventory'''</li></ol>
 +
</ol>
  
== Inventory Properties ==
+
=== Inventory Properties ===
  
 
# Click on the '''Name''' of a Managed inventory Item
 
# Click on the '''Name''' of a Managed inventory Item
# Review the properties
+
#:[[File:InventoryManagedProperties.png|682x268px|link=https://wiki.hornbill.com/images/a/a1/InventoryManagedProperties.png]]
 
 
== Managed Lists ==
 
 
 
# Navigate to ('''''Home &gt; ITOM &gt; Inventory Viewer''''')
 
# From the Show filter Select '''+ Create List'''
 
# Enter a name for the List: '''Test Servers'''
 
# From the Inventory Viewer select two or more Windows Servers
 
# Click the '''Add to Managed List''' button
 
 
 
<blockquote>[[File:InventoryManagedList.png|175x64px]]</blockquote>
 
<ol start="6" style="list-style-type: decimal;">
 
<li><p>Select the '''Test Servers''' list and Click '''Apply''' button</p></li></ol>
 
 
 
= Installed Packages =
 
 
 
<blockquote>Navigate to (Home &gt; ITOM &gt; Installed Packages)
 
</blockquote>
 
== [[File:PackageLibraryButton.png|42x33px]] Package Library ==
 
  
# Click the '''Package Library''' button
+
== Installed Packages ==
 +
{{#ev:youtube|44fX9QyMRYw|400|right|<div align="center">'''Managing Installed Packages'''</div>}}
 +
Before any IT Automations can be configured, the required packages will need to be available and listed in the Installed Packages list.  There are few ways for Packages to be installed depending on your subscription, including manually uploading or creating your own package from scratch. The Package Library is a more convenient method and contains several packages produced and supported by Hornbill, from which you can install, update or remove.
 +
=== Package Library ===
 +
The packages that are available will depend on your subscription, all Windows Management packages will be available as standard.  The following steps will take you through the installation of the Active Directory and Windows Management packages, available to all subscription levels:
 +
# Navigate to ('''Home &gt; ITOM &gt; Installed Packages''')
 +
# Click the '''Package Library''' [[File:PackageLibraryButton.png|30x25px]] button
 
<blockquote>[[File:PackageLibraryList.png|497x150px]]</blockquote>
 
<blockquote>[[File:PackageLibraryList.png|497x150px]]</blockquote>
 
<ol start="2" style="list-style-type: decimal;">
 
<ol start="2" style="list-style-type: decimal;">
Line 219: Line 217:
 
<li><p>Click '''Close'''</p></li></ol>
 
<li><p>Click '''Close'''</p></li></ol>
  
== [[File:PacakgeUploadButton.png|43x32px]] Uploading Packages ==
+
== IT Automation Job ==
 
+
{{#ev:youtube|t4MiS0USsB4|400|right|<div align="center">'''IT Automation Job'''</div>}}
# Click the '''Package Upload''' button
+
Once packages have been installed, IT Automation jobs can execute specific actions on individual or multiple devices.  In the following examples, the steps will guide you through configuring an Automation on both a single device and across multiple devices.
# Select the provided package file: '''Demo.pkg'''
+
=== Single Computer ===
# Click '''Open'''
+
The following steps will guide you through the process of configuring and executing a IT Automation Job to execute an action from the Windows AD Managemnet package to create a new user within an Active Directory Domain. 
# Repeat for all other provided packages
 
 
 
<blockquote>[[File:PackageList.png|433x207px]]
 
</blockquote>
 
 
 
= IT Automation Job =
 
 
 
== Single Computer ==
 
 
 
 
# Navigate to ('''''Home &gt; ITOM &gt;'' Job Queue''')
 
# Navigate to ('''''Home &gt; ITOM &gt;'' Job Queue''')
 
# Click the '''Create New''' button, and select '''IT Automation'''
 
# Click the '''Create New''' button, and select '''IT Automation'''
# Enter Name: '''Harry Hornbill on Single Computer'''
+
# Enter Name: '''Create User: Andy Smith'''
 
# Click the '''Installed Packages''' button
 
# Click the '''Installed Packages''' button
# Select '''Training &gt; Demonstration &gt; Harry Hornbill – The Bird, The Legend'''
+
# Select '''private:hornbill &gt; Managing Active Directory &gt; Active Directory User Management'''
 
# Click '''Apply'''
 
# Click '''Apply'''
# Set Site Target to '''Server''' and select an ''Instance''
+
#:Operation should be defaulted to Create
# Set Target Device to '''Inventory''' and select a ''Device''
+
# Set Site Target to '''Server''' and select your SIS Connector
 +
# Set Target Device to '''Inventory''' and select your Domain Controller
 +
#:You can also select any discovered device that is running the Remote Server Administration Tools (RSAT)
 
# Set Admin Credentials to '''Network Admin'''
 
# Set Admin Credentials to '''Network Admin'''
 +
# Enter the following Details:
 +
#:Given Name      : '''Andy'''
 +
#:Surname        : '''Smith'''
 +
#:SamAccountName  : '''AndySmith'''
 +
#:AccountPassword : '''Passw0rd'''
 +
#:Display Name    : '''Andy Smith'''
 +
#:Name            : '''Andy Smith'''
 
# Click '''Create'''
 
# Click '''Create'''
  
'''Monitor:'''
+
[[File:JobMonitor-ADCreateUser.png|356x244px|right|link=https://wiki.hornbill.com/images/9/9f/JobMonitor-ADCreateUser.png]]
<blockquote>[[File:JobMonitor-HarryHornbill.png|356x244px]]</blockquote>
+
::The monitor tab shows the raw output from the job; you will see the last entry is '''"The job was executed successfully"'''. However, that only confirms that the process executed and not if the action successfully created the user. The information showing the outcome of the create operation will be within the block of text output in white and will vary depending on the package.  In this example, the text '''<nowiki>{{</nowiki>SISJobOutputParameterStart:outcome<nowiki>}}</nowiki>OK<nowiki>{{</nowiki>SISJobOutputParameterEnd}}''' shows that the outcome was successful and the action created the user.  In many cases, it may difficult to locate the relevant output parameters to identify the outcome. In these cases, the Package Details section provides a list of both input and output parameters in a user-friendly manner:
 
 
Confirm job executed Successfully
 
 
 
'''Console Output:'''<br\>
 
  
Displays the output as would be displayed if the package were manually executed from within a “cmd” console on the target device.
+
::::[[file:JobPackageDetails-ADCreateUser.png|350px|link=https://wiki.hornbill.com/images/thumb/8/8e/JobPackageDetails-ADCreateUser.png/605px-JobPackageDetails-ADCreateUser.png]]
  
'''Debug Log:'''
+
=== Multiple Computers ===
 
+
You can perform a package operation across several devices using a single Job when the target is specified using an Inventory List.  The list must already exist and populated with one or more devices; they are created and managed via the ITOM Inventory.  The following steps will guide you through the process of configuring an IT Automation that executes an action from the Windows Management package to restart the print service on multiple Windows devices.
Note any errors, success here implies that the package executed successfully, the output will be dependant on the package being executed.
 
 
 
== Multiple Computers ==
 
  
 
# Navigate to ('''''Home &gt; ITOM &gt;'' Job Queue''')
 
# Navigate to ('''''Home &gt; ITOM &gt;'' Job Queue''')
 
# Click the '''Create New''' button, and select '''IT Automation'''
 
# Click the '''Create New''' button, and select '''IT Automation'''
# Enter Name: '''Harry Hornbill on Multiple Computers'''
+
# Enter Name: '''Restart Print Spooler'''
 
# Click the '''Installed Packages''' button
 
# Click the '''Installed Packages''' button
# Select '''Training &gt; Demonstration &gt; Harry Hornbill – The Bird, The Legend'''
+
# Select '''provate:hornbill &gt; Managing Windows Devices &gt; Windows Management (...)'''
 
# Click '''Apply'''
 
# Click '''Apply'''
 +
# Set Operation to:  '''Service - Restart
 
# Set Site Target to '''Server''' and select an ''Instance''
 
# Set Site Target to '''Server''' and select an ''Instance''
# Set Target Device to '''Inventory''' and select a ''Device''
+
# Set Target Device to: '''Inventory''' and select a ''Device''
 
# Set Admin Credentials to '''Network Admin'''
 
# Set Admin Credentials to '''Network Admin'''
 
# Click '''Create'''
 
# Click '''Create'''
Line 279: Line 271:
 
</blockquote>
 
</blockquote>
  
= Job Scheduling =
+
== Job Scheduling ==
== Discovery ==
+
{{#ev:youtube|KeC5KNmQajg|400|right|<div align="center">'''Job Scheuling'''</div>}}
 +
The versatile Job scheduler allows you to configure an IT Automation, Discovery or Runbook Process to execute to a specified schedule. It is typically used for Jobs that require execution more than once at specific times and days, such as backups, maintenance, and reporting scripts.
 +
=== Discovery ===
 +
Device discovery is a good candidate for scheduled jobs, and is usually scheduled to execute daily, following steps will guide you through process of scheduling a Windows AD discovery Job.
 
# Navigate to ('''''Home &gt; ITOM &gt;'' Job Scheduling''')
 
# Navigate to ('''''Home &gt; ITOM &gt;'' Job Scheduling''')
 
# Click the '''Create New''' button, and Select '''Discovery Schedule'''
 
# Click the '''Create New''' button, and Select '''Discovery Schedule'''
Line 286: Line 281:
 
#* Name: '''AD Discover'''
 
#* Name: '''AD Discover'''
 
#* Schedule: '''Run Every Period'''
 
#* Schedule: '''Run Every Period'''
#* Every (n) Minutes: '''15'''
+
#* Every (n) Minutes: '''60'''
 
#* Description: '''Scheduled AD Discovery'''
 
#* Description: '''Scheduled AD Discovery'''
 
#* Site Target: '''Server''' | '''SIS Instance'''
 
#* Site Target: '''Server''' | '''SIS Instance'''
Line 303: Line 298:
 
<li><p>Click the '''Job History'''</p></li>
 
<li><p>Click the '''Job History'''</p></li>
 
<li><p>Click on the ''Scheduled AD Discover'' '''Name'''</p></li></ol>
 
<li><p>Click on the ''Scheduled AD Discover'' '''Name'''</p></li></ol>
== IT Automation ==
+
 
 +
=== IT Automation ===
 +
IT Automation jobs can be scheduled to execute any package operation and are most commonly used for tasks executed regularly to a specific schedule, such as maintenance type operations.
 +
====Windows Disk Cleanup====
 +
The Windows Disk Cleanup package is commonly used on a regular basis to clear down temporary files, unused system files and various other files from a Windows computer.  The following will guide you through the process of setting up a schedule to execute the package operation on a weekly basis.
 
# Navigate to ('''''Home &gt; ITOM &gt;'' Job Scheduling''')
 
# Navigate to ('''''Home &gt; ITOM &gt;'' Job Scheduling''')
 
# Click the '''Create New''' button, and Select '''IT Automation Schedule'''
 
# Click the '''Create New''' button, and Select '''IT Automation Schedule'''
Line 334: Line 333:
 
<li><p>Click on the Name of any Job entry in the list and review the Details</p></li>
 
<li><p>Click on the Name of any Job entry in the list and review the Details</p></li>
 
<li><p>To return to the parent Click the link shown in the '''Summary''' section</p></li></ol>
 
<li><p>To return to the parent Click the link shown in the '''Summary''' section</p></li></ol>
 
+
[[Category:ITOM]]
= Runbooks =
 
 
 
== Create a Runbook Process ==
 
 
 
# From the ITOM page, select '''Runbooks'''
 
# Click the And New Runbook('''+''') button
 
# Enter a '''Name'''
 
 
 
[[File:RunbookProcessView.png|450x182px]]
 
 
 
=== Build a Runbook Process ===
 
 
 
# Select the connection line between the '''Start''' and '''End''' nodes
 
# Right click on the selected line and select “'''Add node between connected nodes'''”
 
 
 
<blockquote>[[File:RunbookNodeMenu.png|183x166px]]</blockquote>
 
 
 
<ol start="3" style="list-style-type: decimal;">
 
<li><p>Select '''IT Automation'''</p></li></ol>
 
 
 
<blockquote>[[File:RunbookITAutomationNode.png|183x166px]]</blockquote>
 
 
 
<ol start="4" style="list-style-type: decimal;">
 
<li><p>Hover over the '''IT Automation''' node, and click on the '''Settings''' icon [[File:RunbookNodeSettingsButton.png]]</p></li></ol>
 
 
 
<blockquote>[[File:RunbookITAutomationNodeDisplaySettings.png|179×115px]]</blockquote>
 
 
 
<ol start="5" style="list-style-type: decimal;">
 
<li><p>Enter '''Run Harry''' as the Display name</p></li></ol>
 
<ol start="6" style="list-style-type: decimal;">
 
<li><p>Click the '''Add Package''' button</p></li></ol>
 
 
 
<blockquote>[[File:RunbookITAutomationNodeJobSettingsPackageSelection.png|273x142px]]
 
</blockquote>
 
<ol start="7" style="list-style-type: decimal;">
 
<li><p>Select '''Harry Hornbill'''</p></li>
 
<li><p>Confirm the Run Operation is set to '''Show Harry'''</p></li>
 
<li><p>Set Target Machine type to '''Machine''', and select a Computer</p></li>
 
<li><p>[[File:RunbookProcessSaveDraftButton.png|26x23px]]Click '''Save draft''' button</p></li></ol>
 
 
 
=== Publish a Runbook Process ===
 
 
 
# Click the '''Publishing Manager''' button [[File:RunbookProcessPublishManagerButton.png|30x25px]]
 
 
 
<blockquote>[[File:RunbookPublishActivationList.png|385x84px]]</blockquote>
 
 
 
<ol start="2" style="list-style-type: decimal;">
 
<li><p>Click the '''Publish''' button</p></li>
 
<li><p>Click '''Runbooks''' from the breadcrumbs at the top of the page</p></li></ol>
 
 
 
=== Manually Execute a Runbook Process ===
 
 
 
# Locate the Runbook Entry on the Runbooks list
 
# [[File:RunbookProcessListInvokeActionButton.png|17x17px]]Click the '''Invoke''' action button
 
# Click '''Invoke'''
 
 
 
=== Schedule a Runbook Process ===
 
 
 
<ol style="list-style-type: decimal;">
 
<li><p>Navigate to ('''''Home &gt; ITOM &gt;'' Job Scheduling''')</p></li>
 
<li><p>Click the '''Create New''' button, and Select '''Runbook Schedule'''</p></li>
 
<li><p>Enter the following Schedule details:</p>
 
<ol style="list-style-type: lower-alpha;">
 
<li><p>Name: '''Harry Hornbill'''</p></li>
 
<li><p>Schedule: '''Run Once'''</p></li>
 
<li><p>Runbook: '''Run Harry'''</p></li>
 
<li><p>Set the following Operation Parameters to '''True''':</p></li></ol>
 
</li>
 
<li><p>Click '''Enable Schedule'''</p></li>
 
<li><p>'''Navigate to (''Home &gt; ITOM &gt;'' Job Scheduling)'''</p></li>
 
<li><p>Wait for the Job schedule Time, and Click on the Job Name''': Harry Hornbill'''</p></li>
 
<li><p>Click '''Job History'''</p></li>
 
<li><p>Confirm the Status of the Job</p></li></ol>
 
 
 
= Service Manager Interaction  =
 
 
 
== Hornbill Business Process Manager ==
 
 
 
== Runbook Process ==
 
 
 
# Navigate to ('''''[https://betaadmin.hornbill.com/rickyf/ Home] &gt;  [https://betaadmin.hornbill.com/rickyf/app/ Applications] &gt; [https://betaadmin.hornbill.com/rickyf/app/com.hornbill.servicemanager/ Hornbill Service Manager] &gt; Business Processes''''')
 
# Locate '''EXAMPLE Hornbill Incident Process''' and click the '''Copy Process''' action button
 
# Enter the name '''Demo Business Process''', and click '''Apply'''
 
# Select the Connector between the '''Start''' and '''Set Status to New''' nodes
 
# Right Click and Select '''Runbook Process'''
 
# Double click on the new node
 
# Select '''Run Harry''' from the Runbook drop down
 
# Click Save
 
# Publish the Business Process ** Needs work ***
 
# Assign the new process to an Incident ** Needs work ***
 
# Raise an Incident
 
 
 
== IT Automation ==
 
 
 
# Navigate to ('''''[https://betaadmin.hornbill.com/rickyf/ Home] &gt;  [https://betaadmin.hornbill.com/rickyf/app/ Applications] &gt; [https://betaadmin.hornbill.com/rickyf/app/com.hornbill.servicemanager/ Hornbill Service Manager] &gt; Business Processes''''')
 
# Locate '''Demo Business Process''' and click the link under Workflow
 
# Right Click the '''Runbook Process''' node, and select '''Delete'''
 
# Add a new node by dragging the '''Arrow''' underneath the '''Start''' node to a blank area and releasing
 
# Select '''IT''' '''Automation'''
 
# Double click on the new node
 
# Select Run Package as '''Demonstration &gt; Harry Hornbill ...'''
 
# Click '''Apply'''
 
# Set Target Machine type to '''Machine''', and select a Computer
 
# Connect the New '''IT Automation''' node to the '''Set status to New''' node
 
# Click '''Save'''
 
# Publish the Business Process ** Needs work ***
 
# Raise an Incident
 
 
 
= Package Creator =
 
 
 
== Create a Simple Package ==
 
 
 
<ol style="list-style-type: decimal;">
 
<li><p>From the ITOM page select Package Creator</p></li>
 
<li><p>Click the New Pacakge button [[File:NewPackageButton.png|23x22px]]</p></li>
 
<li><p>Enter a Package name: '''TCP Utilities'''</p></li>
 
<li><p>Set Target OS to '''Windows Universal'''</p></li>
 
<li><p>Click '''Add Operation''' button</p></li>
 
<li><p>Enter the following details:</p>
 
<ol style="list-style-type: lower-alpha;">
 
<li><p>Operation: '''Ping'''</p></li>
 
<li><p>Description: '''Ping a device using the parameters -n, host'''</p></li>
 
<li><p>Command Type: '''Run Command'''</p></li>
 
<li><p>Command: '''cmd /c ping.exe'''</p></li>
 
<li><p>Timeout(secs): '''60'''</p></li>
 
<li><p>Options/Args: '''-n {param.count} {param.host}'''</p></li></ol>
 
</li>
 
<li><p>Click '''Add Parameter button'''</p></li>
 
<li><p>Set the following attributes:</p>
 
<ol style="list-style-type: lower-alpha;">
 
<li><p>'''Required'''</p></li>
 
<li><p>'''Number'''</p></li>
 
<li><p>Parameter Name: '''count'''</p></li>
 
<li><p>Default value: '''3'''</p></li>
 
<li><p>Hint: '''Number of echo requests to send.'''</p></li></ol>
 
</li>
 
<li><p>Click '''Add Parameter''' button</p></li>
 
<li><p>Set the following attributes:</p>
 
<ol style="list-style-type: lower-alpha;">
 
<li><p>'''Required'''</p></li>
 
<li><p>'''string'''</p></li>
 
<li><p>Parameter Name: '''host'''</p></li>
 
<li><p>Hint: '''Target device hostname.'''</p></li></ol>
 
</li>
 
<li><p>Click '''Apply'''</p></li>
 
<li><p>Click '''Baseline''' button</p></li>
 
<li><p>Select ''Version 1''' via the Drop Down Adjacent to the Baseline button'''</p></li>
 
<li><p>Click '''Package and Install''' drop down, and select '''Package and Install'''</p></li>
 
<li><p>Navigate to ('''Home &gt; ITOM &gt; Job Queue''')</p></li>
 
<li><p>Click Create '''New button''', and select '''IT Automation Job'''</p></li>
 
<li><p>Select Run Package: '''private:{''instance-name''} &gt; General Purpose &gt; TCP Utilities (Version 1)'''</p></li>
 
<li><p>Click '''Apply'''</p></li>
 
<li><p>Enter the following details:</p>
 
<ol style="list-style-type: lower-alpha;">
 
<li><p>Name: '''Ping Computer'''</p></li>
 
<li><p>Run Operation: '''ping'''</p></li>
 
<li><p>Site Target: '''Server | &lt;SIS Server&gt;'''</p></li>
 
<li><p>Target Machine: '''Inventory |&lt;target computer&gt;'''</p></li>
 
<li><p>Admin Credentials: '''Network Admin'''</p></li></ol>
 
</li>
 
<li><p>Click '''Create'''</p></li></ol>
 
 
 
== Windows Installer Package ==
 
 
 
# From the ITOM page select Package Creator
 
# Click the '''New Package''' [[File:NewPackageButton.png|23x22px]] button
 
# Enter a Package name: '''Software Installer'''
 
# Set Target OS to '''Windows Universal'''
 
# Click '''Upload File''' [[File:PacakgeUploadButton.png|25x20px]] button
 
# Select the following file:
 
 
 
<blockquote>'''C:\ Documents\ITOM\Packages\Demo.msi'''
 
</blockquote>
 
<ol start="7" style="list-style-type: decimal;">
 
<li><p>Click on '''Package Info'''</p></li>
 
<li><p>Click '''Add Operation''' button</p></li>
 
<li><p>Enter the following details:</p>
 
<ol style="list-style-type: lower-alpha;">
 
<li><p>Operation: '''Install'''</p></li>
 
<li><p>Description: '''Install Windows application'''</p></li>
 
<li><p>'''Command Type: Windows Installer'''</p></li>
 
<li><p>'''Package: Demo.msi'''</p></li>
 
<li><p>'''Action: Install Software'''</p></li></ol>
 
</li>
 
<li><p>'''Click Add'''</p></li>
 
<li><p>Click '''Add Operation''' button</p></li>
 
<li><p>Enter the following details:</p>
 
<ol style="list-style-type: lower-alpha;">
 
<li><p>Operation: '''Uninstall'''</p></li>
 
<li><p>Description: '''Uninstall Windows application'''</p></li>
 
<li><p>Command Type: '''Windows Installer'''</p></li>
 
<li><p>Package: '''Demo.msi'''</p></li>
 
<li><p>Action: '''Uninstall Software'''</p></li></ol>
 
</li>
 
<li><p>Click '''Add'''</p></li>
 
<li><p>Click '''Baseline button'''</p></li>
 
<li><p>Select '''Version 1 '''via the Drop Down Adjacent to the '''Baseline''' button</p></li>
 
<li><p>Click '''Package and Install''' drop down, and select '''Package and Install'''</p></li></ol>
 
 
 
=== Execute Installation Job  ===
 
 
 
# Navigate to '''(Home &gt; ITOM &gt; Job Queue)'''
 
# Click '''Create New''' button, and select '''IT Automation Job'''
 
# Select '''Package:'''
 
<blockquote>'''private:{''instance-name''} &gt; General Purpose &gt; Software Installer (Version 1)'''
 
</blockquote>
 
<ol start="4" style="list-style-type: decimal;">
 
<li><p>Click '''Apply'''</p></li>
 
<li><p>Enter the following details:</p>
 
<ol style="list-style-type: lower-alpha;">
 
<li><p>Name: '''Software Installation'''</p></li>
 
<li><p>Run Operation: '''Install'''</p></li>
 
<li><p>Site Target: '''Server | &lt;SIS Server&gt;'''</p></li>
 
<li><p>Target Machine: '''Inventory |&lt;target computer&gt;'''</p></li>
 
<li><p>Admin Credentials: ''''Network Admin'''</p></li></ol>
 
</li>
 
<li><p>Click '''Create'''</p></li>
 
<li><p>Verify that the following software exists on the target:</p></li></ol>
 
 
 
<blockquote>Name: '''Generic Business Application'''
 
 
 
Publisher: '''Acme Software Ltd'''
 
</blockquote>
 
 
 
=== Execute Uninstallation Job  ===
 
 
 
# Navigate to '''(Home &gt; ITOM &gt; Job Queue)'''
 
# Click '''Create New button''', and select '''IT Automation Job'''
 
# Select '''Package:'''
 
 
 
<blockquote>'''private:{''instance-name''} &gt; General Purpose &gt; Software Installer (Version 1)'''
 
</blockquote>
 
<ol start="4" style="list-style-type: decimal;">
 
<li><p>Click '''Apply'''</p></li>
 
<li><p>Enter the following details:</p>
 
<ol style="list-style-type: lower-alpha;">
 
<li><p>Name: '''Software Uninstallation'''</p></li>
 
<li><p>Run Operation: '''UniInstall'''</p></li>
 
<li><p>Site Target: '''Server | &lt;SIS Server&gt;'''</p></li>
 
<li><p>Target Machine: '''Inventory |&lt;target computer&gt;'''</p></li>
 
<li><p>Admin Credentials: '''Network Admin'''</p></li></ol>
 
</li>
 
<li><p>Click '''Create'''</p></li>
 
<li><p>Verify that the following the software no longer exists on the target:</p></li></ol>
 
 
 
<blockquote>'''Name: Generic Business Application'''
 
 
 
'''Publisher: Acme Software Ltd'''
 
</blockquote>
 
 
 
== Windows Executable ==
 
 
 
# From the ITOM page select Package Creator
 
# Click the New Package [[File:NewPackageButton.png|23x22px]] button
 
# Enter a Package name: '''Windows Executable'''
 
# Set Target OS to '''Windows Universal'''
 
# Click '''Upload File''' button
 
# Select the following file:
 
 
 
<blockquote>'''C:\ Documents\ITOM\Packages\ShowHarry.exe'''
 
</blockquote>
 
<ol start="7" style="list-style-type: decimal;">
 
<li><p>Click on '''Package Info'''</p></li>
 
<li><p>Click '''Add Operation''' button</p></li>
 
<li><p>Enter the following details:</p>
 
<ol style="list-style-type: lower-alpha;">
 
<li><p>Operation: '''Show Harry'''</p></li>
 
<li><p>Description: '''Windows Executable - Show Harry.exe'''</p></li>
 
<li><p>Command Type: '''Windows Executable'''</p></li>
 
<li><p>Run File: '''ShowHarry.exe'''</p></li></ol>
 
</li>
 
<li><p>Click '''Add'''</p></li>
 
<li><p>Click '''Baseline''' button</p></li>
 
<li><p>Select '''Version 1''' via the Drop Down Adjacent to the '''Baseline''' button</p></li>
 
<li><p>Click '''Package and Install''' drop down, and select '''Package and Install'''</p></li></ol>
 
 
 
=== Execute Job  ===
 
 
 
<ol style="list-style-type: decimal;">
 
<li><p>Navigate to '''(Home &gt; ITOM &gt; Job Queue)'''</p></li>
 
<li><p>Click '''Create New (+)''' button, and select IT Automation Job'''</p></li>
 
<li><p>Select Run Package: '''private:{''instance-name''} &gt; General Purpose &gt; Windows Executable (Version 1)'''</p></li>
 
<li><p>Click '''Apply'''</p></li>
 
<li><p>Enter the following details:</p>
 
<ol style="list-style-type: lower-alpha;">
 
<li><p>Name: '''Windows Executable'''</p></li>
 
<li><p>Run Operation: '''Show Harry'''</p></li>
 
<li><p>Site Target: '''Server | &lt;SIS Server&gt;'''</p></li>
 
<li><p>Target Machine: '''Inventory |&lt;target computer&gt;'''</p></li>
 
<li><p>Admin Credentials: '''Network Admin'''</p></li></ol>
 
</li>
 
<li><p>'''Click Create'''</p></li></ol>
 
 
 
== Batch Script ==
 
 
 
== PowerShell Script ==
 
 
 
= Trouble Shooting =
 
 
 
== Removing the SIS ==
 
 
 
# Open '''Windows Powershell''' console
 
# Enter '''Stop-Service ESPSisService'''
 
# Enter '''Sc delete EspSisService'''
 
# Delete folder: '''C:\Program Files\Hornbill\Site Integration Server'''
 
# Delete folder: '''%PROGRAMDATA%\Hornbill\ Site Integration Server'''
 
 
 
= Site Integration Server =
 
 
 
= Appendix A =
 
 
 
Required User Rights
 
 
 
Add these two rights to be able to Run AS
 
 
 
Missing privilege: Replace a process-level token. (SeAssignPrimaryTokenPrivilege)<br />
 
Missing privilege: Act as part of the operating system. (SeTcbPrivilege)
 
 
 
[[File:media/image34.png|601x180px]]
 
 
 
[[File:media/image35.png|601x73px]]
 

Latest revision as of 20:05, 11 April 2024

Home > Administration > ITOM > Quick Start Guide Index

Introduction

The following guide takes you through the steps required to get up and running with ITOM, including installing the Site Integration Service, discovering devices and package execution.

Quick-Start Pre-requisites

To follow this guide, you must have access to a Hornbill instance, with a user with the ITOM Administrator role added. A Windows computer with a membership to an Active Directory domain, for the installation of the SIS, is required. You will also require access to a Windows Domain Administrator account in order to retrieve inventory details via WMI and deploy and execute Package operations.


Related Articles

Site integration Service (SIS) Installation

Site Integration Service Installation

The SIS's role is to monitor the ITOM Job Queue, download any Jobs targeted to it for device discovery or package deployment and execution. The service is available for download via the Hornbill Instance and can be installed at any time; however, before you can use it, a Site connector must exist on your Hornbill Instance and the SIS paired with it.

Minimum requirements for the SIS

  • OS: Windows Server (64bit) 2012, 2012 R2, 2016 or 2019
  • RAM: 2GB
  • Free Disk: 10GB

The following set of steps will guide you through the process of getting your SIS up and running:

Adding an SIS Connector

First lets setup an SIS connector and generate the Authorisation key required for the pairing process.

  1. From the ITOM page select Site Integration Services
  2. Click the “Add SIS connectorNewPackageButton.png button
  3. Enter your required details:
    1. Name - Unique identifer for the SIS Connector
    2. Group - The default group can be used
  4. Click the Create Site Integration Service button

Image: 350 pixels

  1. Make a note of the Authorisation Key, required for later use during the pairing process
  1. Return to the Site Integration Services list
  2. Select the Not Paired filter
Information
The Authorisation Key is temporary and will expire after 1 hour, AND the SIS record will need recreating.

Download and Installation of the SIS

The installation software is downloaded from the SIS list within the Admin Portal, and should be executed on the server nominated to host the SIS.

  1. From the Site Integration Services list, Click the Download Site Integration Server button
  2. Locate and Execute the Downloaded executable

InstallerPage.png

  1. Click Install
  2. Click OK to Confirm the Installation
  3. Close the Install dialog
    The service will not be started automatically you must manually start the process or configure it to be automatically started.
  1. Open the Services MMC Console
  2. Start the EspSisService

StartSisMmcService.png

Server Pairing

Once the service has been started, the pairing process can be completed via the service web page, using the Authorisation Code generated when creating the SIS connector. If you do not have the code or have forgotten it, you can view it from the SIS Connector properties in the Admin Portal. If the code has expired, you will need to remove the existing connector and create a new one to generate a new code.

  1. Switch back to the Browser and refresh the page (http://localhost:11117)

SISPairWithInstance.png

  1. Enter the instance ID
  2. Enter the Authorization Code recorded earlier
  3. Click the Pair with Instance button

SISNewHomePage.png

After a successful pairing, the status page appears displaying information related to the SIS service, with additional details available via the Show more button.

ITOM Admin Account Requirements

Before a successful Discovery or Automation can be actioned, one or more windows NT accounts will be required. It is recommended that you create a new admin domain account for Windows NT computers and an account with root privileges for Linux / Unix environments.

Windows NT Accounts

ITOM Admin Credentials will require a Windows NT Administrator account with the following additional rights to be applied:

  • Replace a process-level token. (SeAssignPrimaryTokenPrivilege)
  • Act as part of the operating system. (SeTcbPrivilege)

Additional user accounts may also require creation; these are dependent on the package used and the context of security needed; further information is available within the ITOM package library documentation for each Package under the section KeySafe Configuration. (https://wiki.hornbill.com/index.php/ITOM_Package_Library)

Linux / Unix

ITOM Admin Credentials will require an account with root user privileges when used for Linux or Unix devices; accounts that require the use of sudo cannot be used.

Creating a Hornbill KeySafe entry

Once you have created the OS Accounts with the required rights and permissions the account will need to be added to the Hornbill KeySafe in order for it to be used for discovery and IT Automations. The following will guide you through the process of creating a Keysafe entry on your Hornbill Instance, and can be used for adding both Windows and Linux accounts that require username and password entry:

  1. From the Hornbill Administration page navigate to (Home > System > Security > KeySafe)
  2. Click the Create New Key NewPackageButton.png button
  3. Select Type as Username + Password
Information
Ensure that the KeySafe type is Username + Password and not Username + Password + Pre-Shared Key, as the entry will not be visible within ITOM. SSH Private Key entry can also be used for devices that utilise ssh and public key authentication has been configured.
  1. KeySafeUserPasswordForm.png
  1. Enter the following details:
  1. Title: Network Admin
  2. Domain Username: (example: DOMAIN\Username or username@domain)
  3. Password:
  1. Click Create Key

Configuring a Discover Job

Configuring a Discovery Job

To view the properties of a device or to execute IT Automations on a device, it must exist within the Inventory. The population of the inventory is undertaken by the execution of one or more discovery jobs. In this example, you will configure a discovery using Windows Active Directory, connecting to devices via WinRM to retrieve the properties.

  1. Navigate to the ITOM Job Queue (Home > ITOM > Job Queue)

  2. Click the Create New button and select Discovery Job

  3. Enter the following details:

    1. Name: AD Discovery using WinRM

    2. Site Target: SIS Demo

    3. Protocol: WinRM

    4. Discovery Mode: Active Directory

    5. Container: <windows domain> (example:hornbill.qa)

    6. Admin Credentials: <your keysearch entry>

    7. Click Create button

ADDiscoveryMonitorWinRM.png

You can monitor the progress of the job via the monitor, and once the job has completed, the Console Output and Debug log are displayed. These provide a view of the raw output from the process execution on the target device and the debug logging produced by the target device's running process.

Monitor:

Enumerating child OU
Scan found X computers for detailed discovery. Performing WMI discovery of X computers

Summary
=======
Successful Discovery
All Computers

The discovery was executed successfully. The results are now being imported.

10:11:26 Discovery import complete. Added:X Updated:X Skipped:X Missing:X Failed:X

Console Output:

Review Summary, confirming successful discovery, and noting any failures.

Debug:
If errors are identified during the process execution, the log details will provide additional information to help diagnose the failure. success here implies that the Discovery process did not fail and not that all devices were detected and were able to be accessed.

Inventory Viewer

Managing the Inventory

Allows you to Browse and Manage all discovered devices; from here, you can remove unwanted devices and modify a device's Managed status. When a device is initially discovered, it will be classified as Un-Managed, and only basic properties will be visible. IT Automations will not be able to be executed on these devices until it is classified as a Managed Device, allowing access to its full properties.

Registering a Device as Managed

  1. Navigate to the ITOM Inventory (Home > ITOM > Inventory Viewer)
  2. Select All Un-Managed Inventory

InventoryShowMenu.png

  1. Click on the Name of an Un-Managed inventory Item

Initially all discovered devices will appear as Un-Managed devices with only basic properties visible.
InventoryUn-ManagedProperties.png

Information
Pressing the Set As Managed button links a subscription to the device, which is consumed for a minimum of 30 days; as stated in the message provided, once confirmed, the device's properties will become visible.
  1. Use the Breadcrumbs to return to the Inventory Viewer

Registering Multiple Devices as Managed

Setting devices as Managed individually is not always desirable, a more efficient method is to set multiple devices at the same time.

  1. Click check next to the heading Name to select All Discovered Devices

InventorySelectAll.png

Individual devices can be selected / deselected by clicking the check box adjacent to each entry.

  1. Click the The Set As Managed SetAsManagedButton.png button on the toolbar
  2. Click Yes to confirm
  3. Select All Managed Inventory

Inventory Properties

  1. Click on the Name of a Managed inventory Item
    InventoryManagedProperties.png

Installed Packages

Managing Installed Packages

Before any IT Automations can be configured, the required packages will need to be available and listed in the Installed Packages list. There are few ways for Packages to be installed depending on your subscription, including manually uploading or creating your own package from scratch. The Package Library is a more convenient method and contains several packages produced and supported by Hornbill, from which you can install, update or remove.

Package Library

The packages that are available will depend on your subscription, all Windows Management packages will be available as standard. The following steps will take you through the installation of the Active Directory and Windows Management packages, available to all subscription levels:

  1. Navigate to (Home > ITOM > Installed Packages)
  2. Click the Package Library PackageLibraryButton.png button

PackageLibraryList.png

  1. Click Install on both the Active Directory Group and User Management packages

  2. Click Install on Windows Disk Cleanup

  3. Click Close

IT Automation Job

IT Automation Job

Once packages have been installed, IT Automation jobs can execute specific actions on individual or multiple devices. In the following examples, the steps will guide you through configuring an Automation on both a single device and across multiple devices.

Single Computer

The following steps will guide you through the process of configuring and executing a IT Automation Job to execute an action from the Windows AD Managemnet package to create a new user within an Active Directory Domain.

  1. Navigate to (Home > ITOM > Job Queue)
  2. Click the Create New button, and select IT Automation
  3. Enter Name: Create User: Andy Smith
  4. Click the Installed Packages button
  5. Select private:hornbill > Managing Active Directory > Active Directory User Management
  6. Click Apply
    Operation should be defaulted to Create
  7. Set Site Target to Server and select your SIS Connector
  8. Set Target Device to Inventory and select your Domain Controller
    You can also select any discovered device that is running the Remote Server Administration Tools (RSAT)
  9. Set Admin Credentials to Network Admin
  10. Enter the following Details:
    Given Name : Andy
    Surname : Smith
    SamAccountName : AndySmith
    AccountPassword : Passw0rd
    Display Name : Andy Smith
    Name : Andy Smith
  11. Click Create
JobMonitor-ADCreateUser.png
The monitor tab shows the raw output from the job; you will see the last entry is "The job was executed successfully". However, that only confirms that the process executed and not if the action successfully created the user. The information showing the outcome of the create operation will be within the block of text output in white and will vary depending on the package. In this example, the text {{SISJobOutputParameterStart:outcome}}OK{{SISJobOutputParameterEnd}} shows that the outcome was successful and the action created the user. In many cases, it may difficult to locate the relevant output parameters to identify the outcome. In these cases, the Package Details section provides a list of both input and output parameters in a user-friendly manner:
JobPackageDetails-ADCreateUser.png

Multiple Computers

You can perform a package operation across several devices using a single Job when the target is specified using an Inventory List. The list must already exist and populated with one or more devices; they are created and managed via the ITOM Inventory. The following steps will guide you through the process of configuring an IT Automation that executes an action from the Windows Management package to restart the print service on multiple Windows devices.

  1. Navigate to (Home > ITOM > Job Queue)
  2. Click the Create New button, and select IT Automation
  3. Enter Name: Restart Print Spooler
  4. Click the Installed Packages button
  5. Select provate:hornbill > Managing Windows Devices > Windows Management (...)
  6. Click Apply
  7. Set Operation to: Service - Restart
  8. Set Site Target to Server and select an Instance
  9. Set Target Device to: Inventory and select a Device
  10. Set Admin Credentials to Network Admin
  11. Click Create

JobQueueList.png

  1. Click on a Job Name to view the Individual Child Job

  2. Click Parent Link in the Summary to Return to Parent Job

JobPropertiesParentLink.png

Job Scheduling

Job Scheuling

The versatile Job scheduler allows you to configure an IT Automation, Discovery or Runbook Process to execute to a specified schedule. It is typically used for Jobs that require execution more than once at specific times and days, such as backups, maintenance, and reporting scripts.

Discovery

Device discovery is a good candidate for scheduled jobs, and is usually scheduled to execute daily, following steps will guide you through process of scheduling a Windows AD discovery Job.

  1. Navigate to (Home > ITOM > Job Scheduling)
  2. Click the Create New button, and Select Discovery Schedule
  3. Enter the following details:
    • Name: AD Discover
    • Schedule: Run Every Period
    • Every (n) Minutes: 60
    • Description: Scheduled AD Discovery
    • Site Target: Server | SIS Instance
    • Protocol: DCOM
    • Discovery Mode: Active Directory
    • Container: horbnbill.edu
    • Admin Credentials: Network Admin
  4. Ensure Next Scheduled Date and Time is set to a couple of minutes in the future
  5. Click Enable Schedule
  6. Navigate to (Home > ITOM > Job Scheduling)

ScheduledJobList.png

  1. Wait for the Job schedule Time, and Click on the AD Discovery Job Name

  2. Click the Job History

  3. Click on the Scheduled AD Discover Name

IT Automation

IT Automation jobs can be scheduled to execute any package operation and are most commonly used for tasks executed regularly to a specific schedule, such as maintenance type operations.

Windows Disk Cleanup

The Windows Disk Cleanup package is commonly used on a regular basis to clear down temporary files, unused system files and various other files from a Windows computer. The following will guide you through the process of setting up a schedule to execute the package operation on a weekly basis.

  1. Navigate to (Home > ITOM > Job Scheduling)
  2. Click the Create New button, and Select IT Automation Schedule
  3. Enter the following Schedule details:
    • Name: Windows Disk Cleanup
    • Schedule: Run daily
  4. Ent the following IT Automation Job Settings:
    • Package: private:hornbill > Disk Cleanup > Windows Disk Cleanup
    • Site Target: SIS Server
    • Target Device: List| Test Servers
    • Admin Credentials: Network Admin
    • Reference: Demo Job
    • Set the following Operation Parameters to True:

InternetCacheFiles, Recycle Bin, and Temporary Files

  1. Ensure Next Scheduled Date and Time is set to a couple of minutes in the future

  2. Click Enable Schedule

  3. Navigate to (Home > ITOM > Job Scheduling)

  4. Wait for the Job schedule Time, and Click on the Job Name: Windows Disk Cleanup

  5. Click Job History

ScheduledJobHistory.png

  1. Click on the Job Name: Windows Disk Cleanup (with the highest Job Id)

ScheduledJobPropertiesJobList.png

  1. Review the list of jobs, and confirm that all are successful

  2. Click on the Name of any Job entry in the list and review the Details

  3. To return to the parent Click the link shown in the Summary section