naveen_kumarhr
ServiceNow Employee
ServiceNow Employee

Pattern Migration

Log in to your instance

If you have not done so already, log into your lab instance using the admin credentials provided at instance registration.

Validate the Mid Server

Here you will go through the process of validating your windows midserver. You will use this mid as your testing host.

  1. In the application search bar look for Mid Server

  2. Select the windows_mid record

 

 

  1. Select Validate

 

 

  1. Accept all critera, click save

 

 

  1. Take note of your MidServers IP Address for discovery

 

 

Enter credentials to discover your windows Mid

  1. In the application search bar, type in 'credentials'

  2. Select Credentials under the discovery application

 

 

  1. Select New

  2. Choose Windows Credentials

 

 

  1. Create your credential
  • Name: Windows Cred
  • User name: Administrator

 

 

  • Password: use the value from your instance registration page. USE your value, not the one from the screenshot

 

 

  • Click Submit

 

 

Discover Your Midserver using probes and sensors

  • Note this build has been modified to use probes and Sensors for your midserver class (Windows Server 2012)
  1. In the application search bar look for Discovery Schedules

 

 

  1. Select Quick Discovery

 

 

  1. Enter in YOUR Mid's IP Address that you noted earlier

  2. The Windows Midserver should autopopulate, but choose it if it does not

 

 

  1. Click OK

  2. Review your succesful Discovery

 

 

Configure for Patterns

  1. In the application seach bar, search Scripts - Background

 

 

  1. Type in the following value
var fix = new FixWindowsModelForPatterns();
fix.addMissingRelationsForWindows();

 

 

  • Then click Run Script at the bottom
  1. Review logs to ensure no errors

 

 

  1. In the Application Search bar, search for discovery definition
  • Select the Windows Classification Group
  • Select the Windows 2012 Server record

 

 

  1. Review the Triggers probe tab to see most exploration probes disabled and Horizontal Pattern enabled

It should look like this when all is said and done

 

 

  1. Rediscover your MID Server as you did in the previous steps

     

  2. Confirm a successful discovery

 

 

Version history
Last update:
‎07-05-2021 05:04 AM
Updated by: