netcool configuration manager version 6 release 3 itncm - compliance database utilities 103 about...

162
Netcool Configuration Manager Version 6 Release 3 Administration Guide R2E15

Upload: vuxuyen

Post on 16-Mar-2018

247 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Netcool Configuration ManagerVersion 6 Release 3

Administration GuideR2E15

���

Page 2: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,
Page 3: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Netcool Configuration ManagerVersion 6 Release 3

Administration GuideR2E15

���

Page 4: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

NoteBefore using this information and the product it supports, read the information in “Notices” on page 137.

This edition applies to version 6, release 3 of IBM Tivoli Netcool Configuration Manager (product number 5725-F56)and to all subsequent releases and modifications until otherwise indicated in new editions.

© Copyright IBM Corporation 2010, 2014.US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contractwith IBM Corp.

Page 5: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Contents

About this publication . . . . . . . . vIntended audience . . . . . . . . . . . . vWhat this publication contains . . . . . . . . vWhat's new in this release . . . . . . . . . . vPublications . . . . . . . . . . . . . . xiAccessibility . . . . . . . . . . . . . . xvTivoli technical training . . . . . . . . . . xvSupport information . . . . . . . . . . . xvConventions used in this publication . . . . . . xv

Chapter 1. User administration . . . . . 1Administering users . . . . . . . . . . . . 1

Group permissions . . . . . . . . . . . 1Administering user groups . . . . . . . . . 4

Creating groups . . . . . . . . . . . . 5Creating administrator groups . . . . . . . 7Modifying groups . . . . . . . . . . . 8Removing groups. . . . . . . . . . . . 8

Account Management UI . . . . . . . . . . 9Creating users . . . . . . . . . . . . . 9Modifying users . . . . . . . . . . . . 10Removing users . . . . . . . . . . . . 11

Chapter 2. System administration . . . 13System properties . . . . . . . . . . . . 13rseries.properties . . . . . . . . . . . . 20Modifying system properties . . . . . . . . 23Enabling or disabling automatic validation . . . . 23Changing server pool sizes . . . . . . . . . 24Modifying LTPA timeout . . . . . . . . . . 24

Chapter 3. Setting user systempreferences. . . . . . . . . . . . . 25Setting Archive Manager preferences . . . . . . 26Setting Configuration Editor preferences. . . . . 27Setting Detail tabs preferences . . . . . . . . 27Setting General Application preferences . . . . . 28Setting Paging preferences . . . . . . . . . 28Setting Queue Manager preferences . . . . . . 28Setting Resource Browser preferences. . . . . . 29Setting Systems Manager preferences . . . . . . 31Setting user information . . . . . . . . . . 32Setting user password . . . . . . . . . . . 32Setting Wizard Panels preferences . . . . . . . 33Setting Work Notifications preferences . . . . . 34

Chapter 4. Device communication . . . 35About device communication . . . . . . . . 35Device authentication . . . . . . . . . . . 35Worker Server GRs . . . . . . . . . . . . 36Source-based routing . . . . . . . . . . . 37

Setting up the Resource Access Doc . . . . . 37Resource Access Doc . . . . . . . . . . . 38

Specifying RAD access order . . . . . . . 39

Setting RAD Rollback . . . . . . . . . . 39Access types . . . . . . . . . . . . . 42Device scripts . . . . . . . . . . . . 45Editing the RAD. . . . . . . . . . . . 49Editing the resource access doc with XML . . . 57

File transfer . . . . . . . . . . . . . . 58

Chapter 5. Custom Drivers . . . . . . 61Device characteristics . . . . . . . . . . . 61Versioning and optimality . . . . . . . . . 61VTMOS & Supported Model/OS . . . . . . . 62Resource Access Document . . . . . . . . . 62Device Scripts . . . . . . . . . . . . . 63Driver lifecycle . . . . . . . . . . . . . 63

Creating a custom driver . . . . . . . . . 64Editing a custom driver . . . . . . . . . 66Move a custom driver to production . . . . . 66Delete a custom driver . . . . . . . . . 67Importing a custom driver . . . . . . . . 67Exporting a custom driver . . . . . . . . 68Exporting a driver/server to CSV file. . . . . 68Set custom driver to active . . . . . . . . 68Set custom driver to inactive . . . . . . . 69Driver Reload . . . . . . . . . . . . 69

Troubleshooting drivers . . . . . . . . . . 70Custom driver may add leading 0x0a topassword when communicating with devices . . 70

Chapter 6. Housekeeping . . . . . . . 71About housekeeping . . . . . . . . . . . 71Configuring the removal of records . . . . . . 73Removing records using the GUI . . . . . . . 74Viewing the compliance event log . . . . . . . 75

Chapter 7. Scripts . . . . . . . . . . 77About scripts . . . . . . . . . . . . . . 77System scripts . . . . . . . . . . . . . 77

Managing device drivers (driverTools.sh) . . . 78Performing operations on the ITNCM - Baseserver (itncm.sh). . . . . . . . . . . . 79

IDT scripts . . . . . . . . . . . . . . 80Logging scripts . . . . . . . . . . . . . 80

Modifying logging related files (loggerAdmin.sh) 80Performing housekeeping on log files(logCleaner.sh) . . . . . . . . . . . . 82

ITNCM - Base application utilities . . . . . . . 82About ITNCM - Compliance database utilities . . 83Populating the database with generalizedresources (ResourceUtility) . . . . . . . . 85

ITNCM-Compliance application scripts . . . . . 102ITNCM - Compliance application utilities . . . . 103

About ITNCM - Compliance database utilities 103About ITNCM - Compliance application policyutilities . . . . . . . . . . . . . . 106

© Copyright IBM Corp. 2010, 2014 iii

Page 6: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Chapter 8. Security . . . . . . . . . 109TACACS+ authentication . . . . . . . . . 109

Configuring the TACACS server . . . . . . 109Error messages . . . . . . . . . . . . 110AUTH.XML . . . . . . . . . . . . . 110

Active Directory . . . . . . . . . . . . 111Backing up and restoring WebSphere securityconfiguration . . . . . . . . . . . . 111Configuring Netcool Configuration Manager touse Active Directory authentication . . . . . 113

Netcool Configuration Manager - Compliancesecurity . . . . . . . . . . . . . . . 116

Additional group permissions . . . . . . . 117Change Netcool Configuration Manager -Compliance user names and passwords from theCLI . . . . . . . . . . . . . . . . . 118Insufficient security . . . . . . . . . . . 119

Chapter 9. OS Manager . . . . . . . 121About OS Manager . . . . . . . . . . . 121OS registry . . . . . . . . . . . . . . 122

Creating an OS registry . . . . . . . . . 122Editing an OS registry . . . . . . . . . 122

OS specification . . . . . . . . . . . . 124Creating an OS specification . . . . . . . 124Editing an OS specification . . . . . . . . 126

Creating an OS upgrade device script . . . . . 127Submitting an OS upgrade request . . . . . . 129Modeling OS manager per device . . . . . . 131Creating and editing an FTP Resource . . . . . 132

Chapter 10. OOBC software . . . . . 133Starting and stopping the OOBC daemon . . . . 133Resetting the password in the oobc.properties.xmlfile . . . . . . . . . . . . . . . . . 133OOBC Syslog files . . . . . . . . . . . . 134

Notices . . . . . . . . . . . . . . 137Trademarks . . . . . . . . . . . . . . 139

Index . . . . . . . . . . . . . . . 141

iv IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 7: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

About this publication

IBM Tivoli Netcool Configuration Manager provides network management andconfiguration capabilities. Netcool Configuration Manager - Base provides theconfiguration management capabilities for network devices, and NetcoolConfiguration Manager - Compliance provides extensive configuration policythresholding capabilities.

The IBM Tivoli Netcool Configuration Manager Administration Guide guide describesadministration tasks for IBM Tivoli Netcool Configuration Manager, such as howto set up user accounts, create and manage the OS registry, administer databaseand policy exports and imports, and perform housekeeping and security tasks.

Intended audienceThis publication is for administrators who are responsible for the maintenance andavailability of IBM Tivoli Netcool Configuration Manager.

What this publication containsThis publication contains the following sections:v Chapter 1, “User administration,” on page 1v Chapter 2, “System administration,” on page 13v Chapter 4, “Device communication,” on page 35v Chapter 6, “Housekeeping,” on page 71v Chapter 7, “Scripts,” on page 77v Chapter 8, “Security,” on page 109v Chapter 9, “OS Manager,” on page 121v Chapter 10, “OOBC software,” on page 133

What's new in this releaseIBM Tivoli Netcool Configuration Manager 6.3 provides greater alignment with theIBM Tivoli portfolio, specifically with Tivoli Netcool/OMNIbus and NetworkManager IP Edition. Netcool Configuration Manager 6.3 also provides the ability torun on a variety of operating systems and databases, including AIX and DB2.

Summary of new features

Netcool Configuration Manager 6.3.0 offers the following new categories offeatures:

New TIP-based functionalityAvailable only if Netcool Configuration Manager has been integrated withNetwork Manager and Tivoli Netcool/OMNIbus. This functionality isinstalled into the Network Manager instance of the Tivoli Integrated Portal.

Activity ViewerThe Activity Viewer presents information about configuration andcompliance events recorded against network devices in a sequentialtimeline view. This data is extracted from historical and audit logs.

© Copyright IBM Corp. 2010, 2014 v

Page 8: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

You can launch the wizards, some reports, as well as some of thethick-client interfaces from the Activity Viewer.

You access the Activity Viewer from the context menus in NetworkManager IP Edition or Tivoli Netcool/OMNIbus.

TIP-based wizardsThe wizards allow you to perform many of the standard NetcoolConfiguration Manager configuration and compliance activities.

You access the wizards from the context menus in NetworkManager IP Edition or Tivoli Netcool/OMNIbus, and from theActivity Viewer.

Thick-client launch portalThe Netcool Configuration Manager thick-client UIs can belaunched from a new portal in TIP, which simplifies access toNetcool Configuration Manager from the integrated TIPenvironment.

You access the thick-client launch portal from the Tivoli IntegratedPortal navigation bar.

Context launchYou can access the Netcool Configuration Manager Activity Viewer,wizards, Tivoli Common Reporting reports, as well as some of thethick-client interfaces, in the context of selected devices or eventsfrom within appropriate Network Manager and TivoliNetcool/OMNIbus interfaces.

For more information, see Using the TIP portletsthe IBM Tivoli NetcoolConfiguration Manager User Guide, which is available as part of the NetcoolConfiguration Manager PDF documentation set.

Single sign on integration with TIPThe single sign-on (SSO) capability in Tivoli® products means that you canlog on to one Tivoli application and then launch to other Tivoli Web-basedor Web-enabled applications without having to re-enter your usercredentials. Single sign-on can be achieved between applications deployedto Tivoli Integrated Portal servers on multiple machines.

For more information on Single sign on integration with TIP, seeConfiguring single sign-onthe IBM Tivoli Netcool Configuration ManagerIntegration Guide, which is available as part of the Netcool ConfigurationManager PDF documentation set.

Support for head end devicesHead end devices are another type of resource on which NetcoolConfiguration Manager operates. Specifically, Netcool ConfigurationManager provides a framework that makes it easier to administer and usehead end devices. A head end device is a central control device requiredby some networks (for example, Local Area Networks (LANs) orMetropolitan Area Networks (MANs)). Head end devices providecentralized functions such as re-modulation, re-timing, messageaccountability, contention control, diagnostic control, and access to agateway. A head end device can also refer to a central control devicewithin CATV systems that provides centralized functions such asre-modulation.

vi IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 9: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

For more information on head end devices, see About head end devicestheIBM Tivoli Netcool Configuration Manager User Guide, which is available aspart of the Netcool Configuration Manager PDF documentation set.

Support for DB2In addition to Oracle databases, Netcool Configuration Manager 6.3 nowalso supports DB2 versions 9.5 and 9.7.

For more prerequisite, installation and configuration information for DB2,see Software requirements and Preparing the DB2 databasethe IBM TivoliNetcool Configuration Manager Installation and Configuration Guide, which isavailable as part of the Netcool Configuration Manager PDFdocumentation set.

Support for AIXIn addition to Linux and Solaris platforms, Netcool Configuration Manager6.3 now also supports AIX platforms versions 6.1 and 7.1 (32 and 64 Bitversions).

For more prerequisite, installation and configuration information for AIX,see Software requirements and Preparing an AIX installationthe IBM TivoliNetcool Configuration Manager Installation and Configuration Guide, which isavailable as part of the Netcool Configuration Manager PDFdocumentation set.

Support for FIPS 140-2 complianceUsers can configure Netcool Configuration Manager to use FederalInformation Processing Standard Java Secure Socket Extension files.

For more information on support for FIPS 140-2 compliance, see FIPS 140-2requirements and Enabling and disabling FIPS 140-2 modethe IBM TivoliNetcool Configuration Manager Installation and Configuration Guide, which isavailable as part of the Netcool Configuration Manager PDFdocumentation set.

JReports replaced with Tivoli Common ReportingThe integration of JReports within Netcool Configuration Manager wasremoved. Now, Netcool Configuration Manager reports are provided byTivoli Common Reporting and are accessed via the Tivoli Integrated Portal.You can access them from the TCR/COGNOS portlet or via NetcoolConfiguration Manager Network View.

For more information on installing, configuring and viewing reports, seeSoftware requirements, Installing the Tivoli Integrated Portal components,and Viewing reportsthe IBM Tivoli Netcool Configuration Manager UserGuide, which is available as part of the Netcool Configuration ManagerPDF documentation set.

Streamlined integrationIntegration with Network Manager and Tivoli Netcool/OMNIbus has beensimplified by the application of a tarball, which is applied to NetworkManager TIP servers, and which automates some of the processes thatwere manual in 6.2.

For more information on integration, see Integrating with NetworkManager and Tivoli Netcool/OMNIbusthe IBM Tivoli Netcool ConfigurationManager Integration Guide, which is available as part of the NetcoolConfiguration ManagerPDF documentation set.

About this publication vii

Page 10: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Installation processThe Netcool Configuration Manager installation process has beenstreamlined for both integrated and non-integrated scenarios.

The base and compliance installers have been consolidated into oneinstaller.

Non-integrated scenariosIf Netcool Configuration Manager is not being integrated withNetwork Manager and Tivoli Netcool/OMNIbus, the installer alsoinstalls Tivoli Common Reporting and the new reports togetherwith Tivoli Integrated Portal.

Integrated scenariosIf Netcool Configuration Manager is being integrated withNetwork Manager and Tivoli Netcool/OMNIbus, the installer doesnot install Tivoli Common Reporting and the new reports.

Instead, when performing integration tasks, an additional TIPinstaller deploys the Tivoli Common Reporting reports togetherwith the Activity Viewer, the wizards and the thick-client launchportals into the existing Network Manager Tivoli Integrated Portaland Tivoli Common Reporting environment.

Additionally, an integration tarball is applied to Network Managerservers to facilitate a more streamlined integration.

For more information on installation, see Installingthe IBM TivoliNetcool Configuration Manager Installation and Configuration Guide,which is available as part of the Netcool ConfigurationManagerPDF documentation set.

For more information on integration, see Integrating with NetworkManager and Tivoli Netcool/OMNIbusthe IBM Tivoli NetcoolConfiguration Manager Integration Guide, which is available as partof the Netcool Configuration ManagerPDF documentation set.

Upgrading to Netcool Configuration Manager 6.3The procedures for upgrading from Netcool Configuration Managerversion 6.2.x to version 6.3 have changed to accommodate the newinstallation procedures and functionality.

For more information on upgrading to Netcool Configuration Manager 6.3,see Upgrading the productthe IBM Tivoli Netcool Configuration ManagerInstallation and Configuration Guide, which is available as part of the NetcoolConfiguration Manager PDF documentation set.

Important: To upgrade to Netcool Configuration Manager 6.3 fromversions 6.1 and older, you first migrate to version 6.2, before upgrading toversion 6.3.For more information on migrating to Netcool Configuration Manager 6.2from earlier versions, see Migratingthe IBM Tivoli Netcool ConfigurationManager Installation and Configuration Guide, which is available as part ofthe Netcool Configuration Manager PDF documentation set.

SMI APIThe SMI API provides a framework that makes it easier to add servicemanagement capabilities to Netcool Configuration Manager. Using thisframework, application developers write SMI client applications that makeURL requests to execute HTTP GET, POST, PUT, and DELETE operationson SMI resources (for example, command set, device, realm, and so forth).

viii IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 11: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

For more information on the SMI API, see Service Management InterfaceAPI referencethe IBM Tivoli Netcool Configuration Manager SMI API Guide,which is available as part of the Netcool Configuration Manager PDFdocumentation set.

Information Center changes

The documentation is now single sourced into PDF books and an Eclipse XHMTL“plugin” that reside on the Information Center. In keeping with the other IBMTivoli products, such as Tivoli Netcool/OMNIbus and Network Manager, theNetcool Configuration Manager Information Center is organized as follows:v Product overviewv Planningv Installingv Upgrading and migratingv Configuringv Integratingv Discovering network devicesv Configuring network devicesv Managing network compliancev Using the TIP portletsv Viewing reportsv Administeringv Uninstallingv Troubleshootingv Referencev Release notes (HTML version)

For more information see, http://publib.boulder.ibm.com/infocenter/tivihelp/v8r1/topic/com.ibm.netcool_configurationmgr.doc_6.3.0/ncm/wip/welcome/welcome.html

New guides for Netcool Configuration Manager 6.3

The following table identifies the new guides for Netcool Configuration Manager6.3:

New guide Description

IBM Tivoli Netcool Configuration ManagerInstallation and Configuration Guide

v Contains all of the installation andconfiguration information that wascontained in the seven Intelliden legacyinstallation and configuration guides.

v Updated to reflect the NetcoolConfiguration Manager 6.3 installationand configuration.

Note: Information that was previouslycontained in the Migration Guide and theUpgrade Guide will now be part of theInstallation and Configuration Guide.

About this publication ix

Page 12: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

New guide Description

IBM Tivoli Netcool Configuration Manager UserGuide

v Contains all of the user information thatwas contained in the five Intelliden legacyuser guides.

v Updated to reflect the NetcoolConfiguration Manager 6.3 userinformation.

IBM Tivoli Netcool Configuration ManagerAdministration Guide

v Contains all of the administrationinformation that was contained in thethree Intelliden legacy administrationguides.

v Updated to reflect the NetcoolConfiguration Manager 6.3 administrationinformation.

IBM Tivoli Netcool Configuration ManagerReference Guide

v Includes reference information on portnumbering scheme.

v Will be adding reference topics insubsequent releases.

IBM Tivoli Netcool Configuration Manager SMIAPI Guide

v Describes the Service ManagementInterface (SMI) API.

v SMI provides the framework to make iteasier to develop SMI client and controllerapplications.

Updated guides for Netcool Configuration Manager 6.3

The following table identifies the updated guides for Netcool ConfigurationManager 6.3:

New guide Description

IBM Tivoli Netcool Configuration Manager APIGuide

v Updated to reflect changes in NetcoolConfiguration Manager 6.3.

IBM Tivoli Netcool Configuration ManagerIntegration Guide

v Describes how to integrate NetcoolConfiguration Manager with NetworkManager and Tivoli Netcool/OMNIbus.

v Extended the guide with morescenario-based information.

v Integration with Network Managermoving from Perl scripts to an API.

Quick Start Guide v Provides a two-page overview of theinstallation process for NetcoolConfiguration Manager, with links tomore detailed information.

Release Notes v Summarizes the new features,prerequisites, and critical installationissues for Netcool Configuration Manager.

v Links are also provided to the technotesknowledge base for known issues.

x IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 13: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

New Eclipse Help

The FrameMaker WebWorks help system has been replaced with the Eclipse Helpthat adheres to the IBM corporate standard and is single sourced from DITA XML.

Retiring part numbers

To reduce documentation process overhead, we are replacing part numbers(SCXX-XXXX-01) on the title page with a revision/edition scheme. Therevision/edition scheme:v Contains an R2E1 revision/edition number on the title page.v Uses R2 to indicate documentation for a live product.v Increments the E number each time an update to a guide is made. For example,

R2E2 indicates that the document was revised once after publication (the firstpublished version would have been R2E1).

v Makes it easier for support and customers to identify editions of the guides.v Can be used in APARs to identify the specific edition of the guide where an

issue has been found.v Can be used to corroborate new edition of the guide when posted to the

InfoCenter.

PublicationsThis section lists publications in the Netcool Configuration Manager PDFdocument set. The prerequisite publications in the IBM Tivoli Network Manager IPEdition and IBM Tivoli Netcool/OMNIbus library are also listed here. The sectionalso describes how to access Tivoli publications online and how to order Tivolipublications.

Netcool Configuration Manager PDF document set

The following documents are available in the Netcool Configuration Managerlibrary:v IBM Tivoli Netcool Configuration Manager Installation and Configuration Guide

Describes how to install IBM Tivoli Netcool Configuration Manager. It alsodescribes necessary and optional post-installation configuration tasks. Thispublication is for administrators who need to install and set up IBM TivoliNetcool Configuration Manager.

v IBM Tivoli Netcool Configuration Manager User Guide

Describes user tasks for IBM Tivoli Netcool Configuration Manager, such as howto access reports, use devices, and execute the different utilities to maintain andsupport Auto-Discovery. This publication is for users working with IBM TivoliNetcool Configuration Manager.

v IBM Tivoli Netcool Configuration Manager Administration Guide

Describes administration tasks for IBM Tivoli Netcool Configuration Manager,such as how to set up user accounts, create and manage the OS registry,administer database and policy exports and imports, and perform housekeepingand security tasks. This publication is for administrators who are responsible forthe maintenance and availability of IBM Tivoli Netcool Configuration Manager.

v IBM Tivoli Netcool Configuration Manager Reference Guide

Contains reference information about IBM Tivoli Netcool ConfigurationManager.

About this publication xi

Page 14: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

v IBM Tivoli Netcool Configuration Manager API Guide

Provides information about how to use the Java API to programmatically accessNCM.

v IBM Tivoli Netcool Configuration Manager SMI API Guide

Describes the Service Management Interface API.v IBM Tivoli Netcool Configuration Manager Integration Guide

Describes how to integrate Netcool Configuration Manager with TivoliNetcool/OMNIbus and Network Manager.

v IBM Tivoli Netcool Configuration Manager Quick Start Guide

Gets you started with a typical installation for IBM Tivoli Netcool ConfigurationManager.

v IBM Tivoli Netcool Configuration Manager Release NotesProvide information on work carried out in respect of the current version ofNetcool Configuration Manager.

Prerequisite publications: IBM Tivoli Network Manager IP Edition

To use the information in this publication effectively, you must have someprerequisite knowledge, which you can obtain from the following NetworkManager publications:v IBM Tivoli Network Manager IP Edition Release Notes, GI11-9354-00

Gives important and late-breaking information about IBM Tivoli NetworkManager IP Edition. This publication is for deployers and administrators, andshould be read first.

v IBM Tivoli Network Manager Getting Started Guide, GI11-9353-00Describes Describes how to set up IBM Tivoli Network Manager IP Edition afteryou have installed the product. This guide describes how to start the product,make sure it is running correctly, and discover the network. Getting a goodnetwork discovery is central to using Network Manager IP Edition successfully.This guide describes how to configure and monitor a first discovery, verify theresults of the discovery, configure a production discovery, and how to keep thenetwork topology up to date. Once you have an up-to-date network topology,this guide describes how to make the network topology available to NetworkOperators, and how to monitor the network. The essential tasks are covered inthis short guide, with references to the more detailed, optional, or advancedtasks and reference material in the rest of the documentation set.

v IBM Tivoli Network Manager IP Edition Product Overview, GC27-2759-00Gives an overview of IBM Tivoli Network Manager IP Edition. It describes theproduct architecture, components and functionality. This publication is foranyone interested in IBM Tivoli Network Manager IP Edition.

v IBM Tivoli Network Manager IP Edition Installation and Configuration Guide,SC27-2760-00Describes how to install IBM Tivoli Network Manager IP Edition. It alsodescribes necessary and optional post-installation configuration tasks. Thispublication is for administrators who need to install and set up IBM TivoliNetwork Manager IP Edition.

v IBM Tivoli Network Manager IP Edition Administration Guide, SC27-2761-00Describes administration tasks for IBM Tivoli Network Manager IP Edition, suchas how to administer processes, query databases and start and stop the product.This publication is for administrators who are responsible for the maintenanceand availability of IBM Tivoli Network Manager IP Edition.

xii IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 15: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

v IBM Tivoli Network Manager IP Edition Discovery Guide, SC27-2762-00Describes how to use IBM Tivoli Network Manager IP Edition to discover yournetwork. This publication is for administrators who are responsible forconfiguring and running network discovery.

v IBM Tivoli Network Manager IP Edition Event Management Guide, SC27-2763-00Describes how to use IBM Tivoli Network Manager IP Edition to poll networkdevices, to configure the enrichment of events from network devices, and tomanage plug-ins to the Tivoli Netcool/OMNIbus Event Gateway, includingconfiguration of the RCA plug-in for root-cause analysis purposes. Thispublication is for administrators who are responsible for configuring andrunning network polling, event enrichment, root-cause analysis, and EventGateway plug-ins.

v IBM Tivoli Network Manager IP Edition Network Troubleshooting Guide,GC27-2765-00Describes how to use IBM Tivoli Network Manager IP Edition to troubleshootnetwork problems identified by the product. This publication is for networkoperators who are responsible for identifying or resolving network problems.

v IBM Tivoli Network Manager IP Edition Network Visualization Setup Guide,SC27-2764-00Describes how to configure the IBM Tivoli Network Manager IP Edition networkvisualization tools to give your network operators a customized workingenvironment. This publication is for product administrators or team leaders whoare responsible for facilitating the work of network operators.

v IBM Tivoli Network Manager IP Edition Management Database Reference,SC27-2767-00Describes the schemas of the component databases in IBM Tivoli NetworkManager IP Edition. This publication is for advanced users who need to querythe component databases directly.

v IBM Tivoli Network Manager IP Edition Topology Database Reference, SC27-2766-00Describes the schemas of the database used for storing topology data in IBMTivoli Network Manager IP Edition. This publication is for advanced users whoneed to query the topology database directly.

v IBM Tivoli Network Manager IP Edition Language Reference, SC27-2768-00Describes the system languages used by IBM Tivoli Network Manager IPEdition, such as the Stitcher language, and the Object Query Language. Thispublication is for advanced users who need to customize the operation of IBMTivoli Network Manager IP Edition.

v IBM Tivoli Network Manager IP Edition Perl API Guide, SC27-2769-00Describes the Perl modules that allow developers to write custom applicationsthat interact with the IBM Tivoli Network Manager IP Edition. Examples ofcustom applications that developers can write include Polling and DiscoveryAgents. This publication is for advanced Perl developers who need to write suchcustom applications.

v IBM Tivoli Monitoring for Tivoli Network Manager IP User's Guide, SC27-2770-00Provides information about installing and using IBM Tivoli Monitoring for IBMTivoli Network Manager IP Edition. This publication is for systemadministrators who install and use IBM Tivoli Monitoring for IBM TivoliNetwork Manager IP Edition to monitor and manage IBM Tivoli NetworkManager IP Edition resources.

About this publication xiii

Page 16: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Prerequisite publications: IBM Tivoli Netcool/OMNIbus

To use the information in this publication effectively, you must have someprerequisite knowledge, which you can obtain from the following TivoliNetcool/OMNIbus publications:v IBM Tivoli Netcool/OMNIbus Installation and Deployment Guide, SC23-9680

Includes installation and upgrade procedures for Tivoli Netcool/OMNIbus, anddescribes how to configure security and component communications. Thepublication also includes examples of Tivoli Netcool/OMNIbus architectures anddescribes how to implement them.

v IBM Tivoli Netcool/OMNIbus User's Guide, SC23-9683Provides an overview of the desktop tools and describes the operator tasksrelated to event management using these tools.

v IBM Tivoli Netcool/OMNIbus Administration Guide, SC23-9681Describes how to perform administrative tasks using the TivoliNetcool/OMNIbus Administrator GUI, command-line tools, and process control.The publication also contains descriptions and examples of ObjectServer SQLsyntax and automations.

v IBM Tivoli Netcool/OMNIbus Probe and Gateway Guide, SC23-9684Contains introductory and reference information about probes and gateways,including probe rules file syntax and gateway commands.

v IBM Tivoli Netcool/OMNIbus Web GUI Administration and User's Guide SC23-9682Describes how to perform administrative and event visualization tasks using theTivoli Netcool/OMNIbus Web GUI.

Accessing terminology online

The IBM Terminology website consolidates the terminology from IBM productlibraries in one convenient location. You can access the Terminology website at thefollowing Web address:

http://www.ibm.com/software/globalization/terminology

Accessing publications online

IBM posts publications for this and all other Tivoli products, as they becomeavailable and whenever they are updated, to the Tivoli Information Center websiteat:

http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp

Note: If you print PDF documents on other than letter-sized paper, set the optionin the File > Print window that allows Adobe Reader to print letter-sized pages onyour local paper.

Ordering publications

You can order many Tivoli publications online at the following website:

http://www.elink.ibmlink.ibm.com/publications/servlet/pbi.wss

You can also order by telephone by calling one of these numbers:v In the United States: 800-879-2755

xiv IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 17: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

v In Canada: 800-426-4968

In other countries, contact your software account representative to order Tivolipublications. To locate the telephone number of your local representative, performthe following steps:1. Go to the following website:

http://www.elink.ibmlink.ibm.com/publications/servlet/pbi.wss2. Select your country from the list and click Go. The Welcome to the IBM

Publications Center page is displayed for your country.3. On the left side of the page, click About this site to see an information page

that includes the telephone number of your local representative.

AccessibilityAccessibility features help users with a physical disability, such as restrictedmobility or limited vision, to use software products successfully.

With this product, you can use assistive technologies to hear and navigate theinterface. You can also use the keyboard instead of the mouse to operate allfeatures of the graphical user interface.

Tivoli technical training

For Tivoli technical training information, refer to the following IBM TivoliEducation website:

http://www.ibm.com/software/tivoli/education

Support informationIf you have a problem with your IBM software, you want to resolve it quickly. IBMprovides the following ways for you to obtain the support you need:

OnlineGo to the IBM Software Support site at http://www.ibm.com/software/support/probsub.html and follow the instructions.

IBM Support AssistantThe IBM Support Assistant (ISA) is a free local software serviceabilityworkbench that helps you resolve questions and problems with IBMsoftware products. The ISA provides quick access to support-relatedinformation and serviceability tools for problem determination. To installthe ISA software, go to http://www.ibm.com/software/support/isa

Conventions used in this publicationThis publication uses several conventions for special terms and actions andoperating system-dependent commands and paths.

Typeface conventions

This publication uses the following typeface conventions:

Bold

About this publication xv

Page 18: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

v Lowercase commands and mixed case commands that are otherwisedifficult to distinguish from surrounding text

v Interface controls (check boxes, push buttons, radio buttons, spinbuttons, fields, folders, icons, list boxes, items inside list boxes,multicolumn lists, containers, menu choices, menu names, tabs, propertysheets), labels (such as Tip: and Operating system considerations:)

v Keywords and parameters in text

Italic

v Citations (examples: titles of publications, diskettes, and CDs)v Words defined in text (example: a nonswitched line is called a

point-to-point line)v Emphasis of words and letters (words as words example: "Use the word

that to introduce a restrictive clause."; letters as letters example: "TheLUN address must start with the letter L.")

v New terms in text (except in a definition list): a view is a frame in aworkspace that contains data

v Variables and values you must provide: ... where myname represents....

Monospace

v Examples and code examplesv File names, programming keywords, and other elements that are difficult

to distinguish from surrounding textv Message text and prompts addressed to the userv Text that the user must typev Values for arguments or command options

Operating system-dependent variables and paths

This publication uses the UNIX convention for specifying environment variablesand for directory notation.

When using the Windows command line, replace $variable with %variable% forenvironment variables, and replace each forward slash (/) with a backslash (\) indirectory paths. For example, on UNIX systems, the $NCHOME environmentvariable specifies the directory where the Network Manager core components areinstalled. On Windows systems, the same environment variable is %NCHOME%.The names of environment variables are not always the same in the Windows andUNIX environments. For example, %TEMP% in Windows environments isequivalent to $TMPDIR in UNIX environments.

If you are using the bash shell on a Windows system, you can use the UNIXconventions.

xvi IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 19: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Chapter 1. User administration

Use this information to administer Netcool Configuration Manager users.Related reference:“Change Netcool Configuration Manager - Compliance user names and passwordsfrom the CLI” on page 118

Administering usersITNCM - Base access is managed using the Account Management Web Interface.Account Management consists of ‘Groups' and ‘Users', which are used to provideaccess privileges. This is an important security feature, because you can limit theability of users and groups to perform certain actions by assigning rights andpermissions. User IDs and passwords needed for system logins are created throughthe Account Management web interface.

There are three pre-defined default users and groups in ITNCM - Base, these are:the administrator, operator and observer. Each of these default users and groupshave different group permissions associated with them.v administrator - All group activities are assigned to the administrator.v operator - The following group activities are assigned to the operator: Execute

Configuration Synchronization, Execute Configuration Change, Execute DirectCommands, Execute Import, View All Work, IDT Allow Manual Login, IDTenable Mode, IDT Access, View Native Commands, Apply Native CommandSets and Execute Compliance Policy.

v observer - The following group activities are assigned to the observer: IDTAllow Manual Login, IDT Access and View Native Commands.

User accounts must be created for access to ITNCM - Base, and group membershipenhances the level of functionality available to users. Users' authorization foraccess, scope and functionality are all determined by the groups to which theybelong.

In order to add groups and users, you need to have the appropriate permissions,the Manage Accounts activity, as well as Modify rights for the realm in which youare adding the group. If you intend to add security sets to a group, you also need“Add” rights for resources in that realm. A user's rights to realms and resourceswithin realms are inherited from any group to which they belong. If a user belongsto several groups with different levels of security, the most lenient security settingsapply.

Group permissionsGroup permissions (known as activities) are defined in the profile for each group.These functional access rights allow the users in the group to perform a number ofpredefined activities.

Activities

The following table identifies the valid permission activities along with adescription that summarizes the allowable activity.

© Copyright IBM Corp. 2010, 2014 1

Page 20: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Permission activity Description

Apply Native Command Sets This activity is required to permit the usersin a group to apply Native Command Sets.However, a user will still be allowed toapply a modelled Command Set withoutthis activity.

Apply Wizard Preferences This activity provides the users in a groupwith the ability to make changes to the UoWSubmission wizard settings in UserPreferences.

Execute Compliance Policy This activity is required to be able to executecompliance policy.

Execute Configuration Change Permits the users in a group to applyConfiguration UOW.

Execute Configuration Synchronization Permits the users in a group to performconfiguration synchronizations on one ormore resources.

Execute Direct Commands Permits a user of the API to call a functionon irm\ResourceManagerSB to submit acommand directly to a network resource.This permission is also required to createnative command sets.

Execute Imports Permits the users in a group to import newresources into ITNCM - Base. Users can alsomake changes to a configuration, but theycannot submit the changes.

Housekeeping Permits the users in a group to clean upcompleted UOWs and versionedconfigurations using the WorkHousekeeping and ConfigurationHousekeeping utilities.

IDT Access This activity provides access to IDT throughthe Tools menu. IDT Access is only requiredfor login to a device via IDT. The user doesnot require any activities to view their ownlogs. They do however require IDTAdministration to view other users' logs.

IDT Administration Allows users to view active sessions anddevice logs for all other users.

IDT Allow Auto Login Allows groups with this activity to useautomatic login for a device. Must also haveIDT Access permission.

IDT Allow Manual Login Allows groups with this activity to usemanual login only to gain access to thedevice. Must also have IDT Accesspermission.

IDT Enable Mode Allows IDT to gain access to Enable Modeon a device if a device script is used. EitherAuto Login or Manual Login mode mustalso be chosen.

2 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 21: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Permission activity Description

Manage Accounts Permits the users in a group to add, modify,and delete users and groups from thesystem. Modifications can include changesto the data scope and changes inpermissions of any group.

Manage Archive Permits the users in a group to run theArchive housekeeping utility in icosutil fromthe command line.

Manage Compliance Policy Permits the users in a group to create, edit,and delete compliance entities.

Manage Policy Remedial Work Permits the users in a group to approveremedial work in the compliance remedialqueue.

Manage System Permits the users in a group to pause orrestart ITNCM - Base. Users can also denotea realm as a system realm.

Manage Work Permits the users in a group to approve,reject, or dequeue/cancel any UOWssubmitted through the user interface or API.Users can dequeue their own UOW without"Manage Work" permissions, as long as theyhave rights to view the realm and resourcethat UOW affects. However, in order todequeue another user's UOW "ManageWork" rights must be granted. If thispermission is disabled, the user cannotoverride the default Pre-EmptiveCompliance settings for the other threePre-Emptive activities.

Pre-Emptive Compliance(Block on Failure) Will block an Apply Commandset or SubmitConfig from completing if any Compliancefailure exists against the projected config.

Pre-Emptive Compliance(Block on newfailure)

Will block an Apply Commandset or SubmitConfig from completing if any compliancefailure exists against the projectedconfiguration and where the currentconfiguration is compliant. Basically, thechanges being applied are causing thecompliance failure rather than anypre-existing failure.

Pre-Emptive Compliance(Report Only) Will only report status of pre-compliance inthe audit log. Changes to the device will stillbe made.

Service Definition Management Allows the user to use the POST, PUT andDELETE methods for service definitions onthe Service Management Interface. It alsoallows the user to use all the GET methods.

Service Management Allows the user to use the POST, PUT andDELETE methods for services on the ServiceManagement Interface. It also allows theuser to use all the GET methods.

OS Upgrade Permits the users in a group to run OSUpgrades.

Chapter 1. User administration 3

Page 22: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Permission activity Description

View All Work Permits the users in a group to see all thework that has been submitted on the systemby all users. If the user does not have thisactivity, they shall only have the ability toview work from other users with whomthey share a group.

View Archive Permits the users in a group to view theArchive Manager in the user interface.

View Native Commands Permits the users in a group to view NativeCommands on a network resource.

View System Permits the users in a group to view theSystems Manager in the user interface.

Administering user groupsYou can perform tasks that help you manage groups.

Before you begin

You use the Account Management Web interface to perform tasks related tomanaging groups. These tasks include creating groups, modifying groups, andremoving groups. By default the Superuser account – which was specified duringITNCM - Base installation has “Manage Accounts” permissions. This privilege isrequired for any user to create other ITNCM - Base user accounts.

The following steps describe how to invoke the Account Management Webinterface.

Procedure1. Type the following syntax:

http://IP of server ITNCM - Base installed on:port

Where:v IP of server ITNCM - Base installed on — Specifies the IP address of the server

on which ITNCM - Base is installed.v port — Specifies the port number.

2. Log into the Account Management Web interface using the appropriatecredentials.

3. Select the Account Management option.The Account Administration screen displays.

Example

Here is an example of how to invoke the Account Management Web interfaceusing the syntax described in Step 1.http://192.168.30.133:7001/

What to do next

You can now manage groups.

4 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 23: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Creating groupsCreate groups by using the Account Administration screen associated with theAccount Management Web interface.

Before you begin

You must display the Account Administration screen by invoking and logging intothe Account Management Web interface, and then selecting the AccountManagement option.

Follow these steps to create new groups.

Procedure1. Select the New icon next to Groups in the Account Administration screen.2. The New Group setup screen displays. This screen provides the following tabs

used to collect information about the new group.v General

v Activities

v Users

v Workflow

v Security

3. In the General tab, enter a Group Name (53 characters maximum) andDescription (256 characters maximum) to identify the new group.

4. Click the Activities tab. The Activities listing shows all available accessprivileges. Using the arrow keys in the middle of the screen, transfer theactivities required into the “Authorized To” listing. For further information onpermission activities, see “Group permissions” on page 1.

5. Click the Users tab. Use the arrow keys in the middle of the screen, to ensurethat all users who require membership to this group are moved to the“Assigned To” listing.

6. Click the Workflow tab. Use the following table to understand the optionspresented in the Workflow tab.

Option Description

Option Description

Realm Select the correct realm level for the newgroup. Make sure to select a realm at thesame level, or higher than anyrealm/resources that have been givensecurity rights in the Security tab.

Policy Set Select a policy set from the drop downmenu. The selected policy affects thenumber of approvals required forconfiguration changes submitted by thisgroup. A Policy Set of 0 does not require anyapprovals. Policy Sets of 1, 2, and 3 require1, 2, and 3 approvals respectively.

7. Click the Security tab. The Realm, Resource, and Content Security options aredisplayed.a. The Realm security options give you the ability to specify whether a group

can view the realm, add subrealms to the realm, change the name of the

Chapter 1. User administration 5

Page 24: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

realm, or delete the realm. Permissions assigned to a realm are inherited byits sub-realms. The following table explains the Realm security options.

Realm security option Description

View Allows users in the group to view the realm.

Add Allows users in the group to add sub-realmsunder the realm.

Modify Allows users in the group tomodify/rename the realm. If the group hasbeen granted “Manage Accounts” rights,you must also select this box to enable usersin the group to create new groups in thisrealm.

Delete Allows users in the group to delete therealm.

All Selects all of the above rights for this realm.

DANGER

In order to move a realm, that user musthave Delete privileges in the realmbeing moved and Add privileges in therealm to which the sub-realm is beingmoved.

b. Click the Resource link above the current form. The Resource Security formis displayed. Resource security determines if group members can work withresources (network resources, security sets, command sets) within a givenrealm. For each realm, you can specify that the group can view resources,add resources, modify resources, delete resources, or apply command sets toresources. Assign the group rights to resources in each realm, using thedescriptions in the following table. Any right that you assign to a realm isinherited by each sub-realm, but can be overridden. The following tableexplains the Resource security options.

Resource security option Description

View Allows users in the group to view allnetwork resources, configurations, commandsets, and security sets within this realm.

Add Allows users in the group to create networkresources in this realm and to importconfigurations into those resources. Userscan also add command sets and security setsto this realm, and can associate security setswith groups.

Modify Allows users in the group to change currentor draft configurations, command sets, andsecurity sets within this realm. Users canalso rename current or draft configurations,network resources, command sets, andsecurity sets.

6 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 25: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Resource security option Description

Delete Allows users in the group to deleteresources, draft or versioned configurations,security sets, and command sets.

Execute Allows users in the group to applycommand sets to resources in this realm.

All Automatically selects all rights for thisrealm.

c. Click the Content link above the form. The Content Security form isdisplayed. Content security determines if group members can work withcommand filtering within a given realm. Choose a realm and then a securityset from the drop down lists for each realm to which you wish to apply asecurity set. Next, choose a command filter that you wish to apply to therealm you have specified. Note: Both the security sets and the commandfilters must be created via the thick client before they are applied to the usergroup. Use the Add button to assign each Realm/Security Set/CommandFilter relationship.

8. Click the Create button to complete the creation of the group. The new groupshould now be displayed in the Group tree on the left side of the screen.Regardless of what right is inherited from a parent realm, you can click the boxto override the inherited value.

What to do next

You can create administrator groups, modify user groups, and remove user groups.

Creating administrator groupsITNCM - Base is installed with a single super user account designed to be usedsolely for creating the administration groups. This system-installed group/useraccount cannot be used to work with resources, and cannot be used to delete ormodify the group/user. Therefore, it is recommended to use this user account toestablish one or more administrator groups. These administrator groups can thenbe used to set up the remaining user accounts.

The following steps outline how to set up an administrator group.

Procedure1. Using the ITNCM - Base superuser account, create a group called “Admin”.2. Assign the Admin group the appropriate permissions, the Manage Accounts

activity, as well as Modify rights for the realm in which the Admin users willbe adding groups/users.

3. Using the Admin account, create groups and users with various levels ofaccess.

Chapter 1. User administration 7

Page 26: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Modifying groupsModify groups by using the Account Administration screen associated with theAccount Management Web interface.

Before you begin

You must display the Account Administration screen by invoking and logging intothe Account Management Web interface, and then selecting the AccountManagement option. To modify groups, the group must exist and the “ManageAccounts” permission activity is required. A user is unable to modify their ownaccount. For more information on permission activities, see “Group permissions”on page 1.

Follow these steps to modify an existing group.

Procedure1. Click on an existing group that displays under Groups in the Account

Administration screen.2. Choose the appropriate tab, and modify the values as required - including

adding or removing users.3. Click Save when finished making changes.

What to do next

You can create administrator groups, create user groups, and remove user groups.

Removing groupsRemove groups by using the Account Administration screen associated with theAccount Management Web interface.

Before you begin

You must display the Account Administration screen by invoking and logging intothe Account Management Web interface, and then selecting the AccountManagement option. To remove groups, the group must exist and the “ManageAccounts” permission activity is required. For more information on permissionactivities, see “Group permissions” on page 1.

Note: If a group is being removed, those users who have membership to thatgroup may have to be assigned to a new group.

Follow these steps to remove an existing group.

Procedure1. Click on an existing group that displays under Groups in the Account

Administration screen.2. Select Remove. A dialog displays to confirm that you want to remove the

group.3. Select OK to continue with the removal of the specified group.

What to do next

You can create administrator groups, create user groups, and modify user groups.

8 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 27: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Account Management UIYou can perform tasks that help you manage users.

Before you begin

You use the Account Management Web interface to perform tasks related tomanaging users. These tasks include creating users, modifying users, and removingusers. By default the Superuser account – which was specified during ITNCM -Base installation has “Manage Accounts” permissions. This privilege is required forany user to create other ITNCM - Base user accounts.

The following steps describe how to invoke the Account Management Webinterface.

Procedure1. Type the following syntax:

http://IP of server ITNCM - Base installed on:port

Where:v IP of server ITNCM - Base installed on — Specifies the IP address of the server

on which ITNCM - Base is installed.v port — Specifies the port number.

2. Log into the Account Management Web interface using the appropriatecredentials.

3. Select the Account Management option.The Account Administration screen displays.

Example

Here is an example of how to invoke the Account Management Web interfaceusing the syntax described in Step 1.http://192.168.30.133:7001/

What to do next

You can now manage users.

Creating usersCreate users by using the Account Administration screen associated with theAccount Management Web interface.

Before you begin

You must display the Account Administration screen by invoking and logging intothe Account Management Web interface, and then selecting the AccountManagement option.

Follow these steps to create new users.

Procedure1. Select the New icon next to Users in the Account Administration screen.2. The New User setup screen displays. This screen provides the following tabs

used to collect information about the new user.

Chapter 1. User administration 9

Page 28: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

v General

v Groups

3. In the General tab, specify the following information about the new user:

Note: The combined character length for the First Name, Middle Initial andLast Name fields must not exceed 64 characters. An error warning is received ifthe total character length for these fields exceeds 64 characters.

New User field Description

User Name Enter a name (64 characters maximum) forthe new user. Due to system restrictions, thefollowing words are reserved and cannot beused as user names: “ITNCM - Base”, “ftp”,“system”, “guest”, and “everyone” .

Password fields Enter the password (64 charactersmaximum) for the new user, and then enterit again for verification. The password fieldis case-sensitive.

First Name Enter the first name of the new user. (Seethe previous note.)

Middle Initial Enter the middle initial of the new user. (Seethe previous note.)

Last Name Enter the last name of the new user. (See theprevious note.)

E-mail Enter the e-mail address (100 charactersmaximum) for the new user.

Telephone # Enter the telephone number (32 charactersmaximum) for the new user.

Identification Enter the identification (32 charactersmaximum) for the new user.

4. Click the Groups tab. The Groups selection box shows all available Groupscurrently on that ITNCM - Base Server. Using the arrow keys in the middle ofthe screen, move the groups required into the “Member Of” listing. A usermust be a member of at least one group in order to gain access to ITNCM -Base.

5. Click the Create button to complete the creation of the user.

What to do next

You can create another user, modify an existing user, and remove an existing user.

Modifying usersModify users by using the Account Administration screen associated with theAccount Management Web interface.

Before you begin

You must display the Account Administration screen by invoking and logging intothe Account Management Web interface, and then selecting the AccountManagement option. To modify users, the user must exist and the “ManageAccounts” permission activity is required. A user is unable to modify their own

10 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 29: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

account. For more information on permission activities, see “Group permissions”on page 1.

Follow these steps to modify an existing user.

Procedure1. Click on an existing user that displays under Users in the Account

Administration screen.2. The Modify User page is displayed, showing the current values for the user.

Make the modifications as necessary. Click the Groups tab to change GroupMembership for the user.

3. Select Save to accept the changes.

What to do next

You can create a user, modify another existing user, and remove an existing user.

Removing usersRemove users by using the Account Administration screen associated with theAccount Management Web interface.

Before you begin

You must display the Account Administration screen by invoking and logging intothe Account Management Web interface, and then selecting the AccountManagement option. To remove users, the user must exist and the “ManageAccounts” permission activity is required. For more information on permissionactivities, see “Group permissions” on page 1. User removals from ITNCM - Baseare checked for dependencies; if the user has any work pending you may beunable to delete them. A user cannot remove themselves from ITNCM - Base.

Follow these steps to remove an existing user.

Procedure1. Click on an existing user that displays under Users in the Account

Administration screen.2. Select Remove. A dialog displays to confirm that you want to remove the user.3. Select OK to continue with the removal of the specified user.

What to do next

You can create a new user or modify an existing user.

Chapter 1. User administration 11

Page 30: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

12 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 31: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Chapter 2. System administration

Use this information to administer Netcool Configuration Manager systemproperties.

System propertiesThe System Properties screen displays all of the Netcool Configuration Manager -Base configurable properties that a user with appropriate privileges can modify.

Description of system properties

The System Manager section is only accessible if the user is a member of a groupwith the View System activity. Any user wanting to make changes to SystemManager or System Properties, must belong to a group with the Manage Systemactivity. System Properties is a listing of all ITNCM - Base configurable properties,which a user with the appropriate privileges has the ability to modify.

To access System Properties from the Systems Manager, select Tools | SystemProperties.

The System Properties screen is displayed.

The System Properties screen shows the following:v Property namev Short description of the propertyv Field typev Current value associated with the property

The following table describes the configurable properties within System Properties.

Property name Description

Activate Device Type Validation onCommand Sets

Validate the Device type (T of VTMOS)when applying a command set. Defaultsetting does not validate device type.

Allow Password Save If selected, this populates the check box onthe Login GUI for a "Password Save". IsFalse by default.

Apply CommandSet - allow stale config Overrides that allow Command Set to beexecuted against a stale config.

Apply NativeCommandSet - allow staleconfig

Overrides that allow a Native Command Setto be executed against a stale config.

Apply Search Set - allow stale config Overrides that allow a Search Set to beexecuted against a stale config.

Approve own work If this is set to true, the user is allowed toapprove their own work.

© Copyright IBM Corp. 2010, 2014 13

Page 32: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Property name Description

Compliance Policy Event Registration Allows the administrator to turn off theCompliance Policy Event, so it is not writtento the database. Compliance Policy Eventsare all events related to ITNCM -Compliance.

Config Editor Title Changes the name of the ConfigurationEditor title bar.

Configuration Change - allow stale config(Draft)

Overrides that allow a configuration changeto be executed against a stale config (draft).

Configuration Change - allow stale config(Versioned)

Overrides that allow a configuration changeto be executed against a stale config(versioned).

Connect on Driver Update If this is set to true, ITNCM - Base willconnect to the device during the driverupdate to confirm the VTMOS.

ConnectRetrydelaySeconds Number of seconds after which a failedconnection will retry.

ConnectTimeoutSeconds Number of seconds after which a failedconnection will timeout.

Custom Resource Browser label 1-10 Additional labels for resources. RestartITNCM - Base client for changes to takeeffect. There is also a type setting whichallows the value to be requested from acheckbox rather than a textbox.

Custom Resource Browser label state 1-10 User can choose if the Custom Resourcelabel should be: Not Visible, API, Optionalor Mandatory.

v Optional means that when a device iscreated the user does not have to supply avalue for the label.

v Mandatory means that the user mustsupply a value.

v Not visible means that the user cannotsee the label.

v API means that a value can only becreated or modified by using the NetcoolConfiguration Manager Java API.

Restart ITNCM - Base client for changes totake effect.

Custom UOW label 1-3 Additional labels for UOWs. Restart ITNCM- Base client for changes to take effect.

Custom UOW label state 1-3 User can choose if the Custom UOW labelshould be: Not Visible, Optional orMandatory. Restart ITNCM - Base client forchanges to take effect.

Default Device Enable Password Default Enable password is used for devicelogin. Restart ITNCM - Base for changes totake effect.

Default Device Password Default Password is used for device login.Restart ITNCM - Base for changes to takeeffect.

14 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 33: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Property name Description

Default Device Username Default Username is used for device login.Restart ITNCM - Base for changes to takeeffect.

Error Word Delimiter Regex used to look for errors in deviceresponses.

Event Polling Interval Interval between polling for new JMSmessages (for example, UOW changes).

FIPS Operating Mode Indicates that the server is configured withFIPS compliant ciphers. (Read only)

Force Password Change Forces the user to change password whenthey first login after creation or modificationof the account. False by default.

FTP Password Password used for accessing the FTP server.Default is that specified during installation.

FTP username Username used for accessing the FTP server.Default is that specified during installation.

GUI Inactivity Timeout State Activates the GUI inactivity timer.

GUI Inactivity Timeout Value Inactivity time - after which the GUI willexit.

GUI Inactivity Warning Value Time before exiting that the GUI will displaya warning.

GUI Name Suffix Sets the GUI suffix.

GUI Title Changes the name of the application on themain title.

Hierarchial Account Security Mode Show group hierarchies during accountmanagement. Default is False.

IDT Allow connections from Presentation Allow IDT to connect to devices fromPresentation server.

IDT Buffer Size Maximum size of scrollback buffer in IDTTerminal. This can be used to configure thenumber of lines which are viewed whenusing the scroll function.

IDT Connection View User may choose the view they want to seewhen connecting to a device. For example,they may see a logon script, an animation, acombination of the two, or nothing.

IDT Default UOW Description This is the default description that is usedwhen IDT submits a UOW.

IDT Device Output Limit Limits number of characters logged for anydevice output. A limit of zero will return alloutput.

IDT Display UOW Confirmation Displays a confirmation and UOW ID whenthe UOW has been submitted successfully.

IDT Inactivity Timeout Period Number of minutes a session will stayconnected during user inactivity. The defaultis 15 minutes. However, any timeout set onthe device will override this property.

Chapter 2. System administration 15

Page 34: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Property name Description

IDT Regex Match String Regex commands may be entered andsearched upon before forcingsynchronization. This is only valid if the"IDT Synchronization Disconnect Action" isset to "Regex Match Synchronization".

IDT Synchronisation Disconnect Action The Synchronization action to perform oncea user has disconnected from a device canbe chosen. The options are PromptSynchronization, Force synchronization oruse Regex match synchronization.

IDT Terminal Throttle This configures the maximum number ofterminal sessions that each client can berunning at any given time.

IDT UOW Conflict Connection Action to take when connecting to a device.

IDT Use Main Server For Connection If you want device connections to befacilitated by the master presentation server,set this option to "True" on all presentationservers.

IDT Use Default Device Credentials Configures auto login IDT credentials. Bydefault it is set to true, which means IDTwill attempt to connect using the defaultdevice credentials. If set to false, IDT willnot use the default device credentials toconnect unless no other username/passwordenable prompts are retrieved from a relevantauthentication GR. The default devicecredentials can be configured using theproperties listed earlier in this table: DefaultDevice Enable Password, Default DevicePassword and Default Device Username.

Instance Identifier A unique name should be provided for thisparticular instance of NCM, for example,ITNCM.

Internal Housekeeping - Interval Frequency that Internal Housekeeping isperformed.

Internal Housekeeping - JMS Message KeepTime

Configure the number of days to store JMSmessages.

Internal Housekeeping - UOW InformationKeep Time

Configure the number of days to storeinternal UOW information.

ITNCM Help URL Default URL to access ITNCM help.

ITNCM - Base WebStart Server Hostname/IP Address for WebStartDownload.

Logon Message Configure the content of a Logon Message.This appears when the user has enteredITNCM - Base login credentials, and selectedthe Login button; appears before ITNCM -Base is invoked. Message will be displayedonly when the Logon Message Display is setto True.

Logon Message Display If True is selected, the properties specified inthe Logon Message and Logon Message Titlewill be displayed. False by default.

16 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 35: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Property name Description

Logon Message Title Configure a title for the Logon Message.

Maximum Client Memory Maximum Java Heap Setting for WebStartclient.

MaxResponseTimeoutSeconds Maximum time for device to send backcomplete response.

Memory Manager - Best Effort Allocation IBM Tivoli Use Only*

Memory Manager - Debug Enabled Logs all allocations and deallocations toserver.out .

Memory Manager - Default Driver Memory Minimum memory reserved for eachtranslation operation.

Memory Manager - Default Task Memory Amount of memory that is allocated to atask.

Note: The drivers can request that a largeramount of task memory is allocated.Currently only ERX does this. It reserves200% of the default task memory

Memory Manager - Driver Memory ScaleFactor

IBM Tivoli Use Only*

Memory Manager - Enabled Enables the Memory Manager

Memory Manager - Maximum Wait Time IBM Tivoli Use Only*

Memory Manager - Memory Reserved ForDrivers

IBM Tivoli Use Only*

Memory Manager - Memory Reserved ForReallocation

IBM Tivoli Use Only*

Memory Manager - Memory Reserved ForTasks

IBM Tivoli Use Only*

Memory Manager -Percent Free MemoryAllocatable

IBM Tivoli Use Only*

Memory Manager - Schema Scale Factor IBM Tivoli Use Only*

Minimum Client Memory Minimum Java Heap Setting for WebStartclient. Default is 32MB.

Network Resource Event Registration Allows the administrator to turn off theNetwork Resource Event, so it is not writtento the database. Network Resource Eventsare those affecting network resources such ascommand sets being applied, configurationsynchronization and import, and so forth.

Page Size for Native Commands Number of lines per page for aConfiguration's native source. Default is10000. Please note any change to this settingwill only take effect when the device isre-imported.

Resource Event Registration Allows the administrator to turn off theResource Event, so it is not written to thedatabase. Resource Events are those affectingthe movement of all resources in the ITNCMsystem. Create, move, rename and delete ofresources are all covered by these events.

Chapter 2. System administration 17

Page 36: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Property name Description

Show modelled hardware When set to True, this property displaysModelled Hardware in the Hardware tab.When set to True, Native Hardware will bedisplayed.

Server Timeout Number of seconds after which a failedconnection to server will timeout.

SNMP Local Engine ID Allows configuration of the SNMP engine ID

SNMP Trap Flood Prevention The minimum time, in milliseconds (ms),that the system waits after sending a trapbefore sending another trap. For example, ifthis property is set to the value 3, the systemwill send no more than one trap every 3 ms.

SNMP Trap Recipients Specifies a list of servers to which the SNMPtrap messages are sent. The value shouldtake the following form:hostname:port:optional community string,e.g. 192.168.20.138:162. If there are multipleSNMP trap recipients specified, they shouldbe separated by commas.

SNMP Trap Retries The maximum number of times the systemwill attempt to resend unacknowledgedtraps.

SNMP Trap Timeout The maximum time, in milliseconds (ms),that the system waits for a trapacknowledgement before resending the data.

SocketConnectTimeoutSeconds Timeout for connecting to the socket.

Synch from ITNCM - Base to Device - allowstale config

Determines whether a stale config can besynched to a device.

tipserver url URL of Integrated ITNM-TIP Server/LocalTCR Server.

tip wizard - disaster recovery Disaster recovery option for the SubmitConfiguration TIP wizard. When applying aversioned configuration if a device isunmanageable enabling disaster recoverywill push the entire versioned configurationto the device using the native CLIcommands.

tip wizard - execution order Determines the execution order of commandsets in the Apply Modelled Command Setand Apply Native Command Set TIPwizards. Options are Apply device at a timeand Apply command set at a time.

tip wizard - FAILURE OPTION % ERRORS Determines the total percentage of errorsallowed before failure for a UOW submittedvia an Apply Modelled Command Set orApply Native Command Set TIP wizards.Only applicable if the 'TIP Wizard - FailureOption Type' system property has been setto 'Fail After Percentage Errors'.

18 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 37: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Property name Description

tip wizard - failure option total errors Determines the total number of errorsallowed before failure for a UOW submittedvia an Apply Modelled Command Set orApply Native Command Set TIP wizards.Only applicable if the 'TIP Wizard - FailureOption Type' system property has been setto 'Fail After Total Errors'.

tip wizard - failure option type Failure options when dealing with multipledevices and/or multiple command sets inthe Apply Modelled Command Set andApply Native Command Set TIP wizards.Options are Ignore All Errors, Fail AfterTotal Errors, and Fail After PercentageErrors.

tip wizard - pre-emptive compliance Pre-Emptive Compliance options for ApplyModelled Command Set, Apply NativeCommand Set, and Submit ConfigurationTIP wizards. Options are No Pre-emptiveCompliance, Report Compliance FailuresOnly, Block Configuration Change On NewCompliance Failures, and BlockConfiguration Change On Any ComplianceFailures.

tip wizard - rollback mode Determines the rollback mode for the ApplyModelled Command Set and Apply NativeCommand Set TIP wizards. Options areNone, Rollback Failed Network Resources,and Rollback All Command Sets.

tip wizard - rollback options Determines the rollback options for theApply Modelled Command Set and ApplyNative Command Set TIP wizards. Optionsare No Rollback, Modelled Rollback, RebootDevice, and Modelled Rollback and RebootDevice.

tip wizard - rollback verification Determines whether rollbacks should beverified for the Apply Modelled CommandSet and Apply Native Command Set TIPwizards.

Truncate Logs Truncate reduces the UOW log size.

Welcome Message Configure the content of a Welcomemessage. This appears when the user hassuccessfully logged on to ITNCM - Base.Message will be displayed only when theWelcome Message Display is set to True.

Welcome Message Display If True is selected, the properties specified inthe Welcome Message and WelcomeMessage Title will be displayed. False bydefault.

Welcome Message Title Configure a title for the Welcome Messageas above.

Wizard * <screen name> Visibility configuration for all screensinvolved in the UOW submit wizard.

Chapter 2. System administration 19

Page 38: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Property name Description

Work Event Registration Allows the administrator to turn off theWork Event, so it is not written to thedatabase. Work Events are those whichchange the state of UOWs.

Worker Server Control Update Period Controls how often the Worker ServerControl State is updated. If changes aremade to a Worker Server, this propertydictates how often the updates shall run andtherefore how quickly any modifications areapplied. Default is 30 seconds.

Write Verified Changes When set to True, it performs a finalcompare between the new running configand the old current config to show changes.It then writes the diffs out to the UOW log.The workflows affected are Apply Config(submit), Apply Command Set, ApplyNative Command Set.

Default Device Loader Realm This specifies the realm where devices fromNCM shall be placed by default. The valueshould be in the following format: .

<Default device loader realm>/<ITNM Domain name>/

For example: MyServer/domains.

Note: IBM Tivoli Use Only* — These properties should not be tampered with.Please note any configuration of the Memory Management parameters will have animpact on performance. Please contact your IBM Tivoli representative for furtherassistance.

Note: If Netcool Configuration Manager - Base is connected to ITNM/OMNIbus,be aware of the number of events that are generated and passed toITNM/OMNIbus. It is recommended that you periodically clear down any failedor informational events (for example, create new device).

rseries.propertiesThe rseries.properties file contains properties that the system uses duringruntime. You may need to edit some of these runtime properties depending onyour system architecture and server configuration.

Description of properties

The rseries.properties file can be found in the following location:/opt/IBM/tivoli/netcool/ncm/config/properties

The following table describes the configurable properties withinrseries.properties:

Note: Properties marked INTERNAL/SUPPORT should only be changed by anIBM Level Two support engineer.

20 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 39: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Property name Description

AdminManager/ServerName The unique name given to the server atinstall time and is shown under SystemsManager|Servers.

auditLogger/dbWriteQueueSize The maximum number of unit of work(UoW) messages that can be in the internalqueue for writing UoW messages to thedatabase (INTERNAL/ SUPPORT).

Core/smtpServer The smtp server entered at install time thatwill be used to send emails if notificationsare turned on under User Preferences File|P references | Work Notifications.

Core/useCachedAuthCredential If this property is set to true then ITNCMwill cache the user name and password fromauthentication that was used to successfullylog into the device in the database. The nexttime a UoW is executed against that device,the cached credentials will be tried first fromthe list of credentials in the autentication.

Core/workerServerUpdatePeriod Sets the interval, in seconds, at which theworker refreshes its view of the ResourceBrowser in order for it to determine whatwork it can pick up.

The default is 30 seconds.

jpa/connectionURI The connection uri to the database.

For example: jdbc:oracle:thin:@<db ipaddress>:<port>:<oracle sid>

jpa/mediumMinIdle The minimum number of idle connections tothe database (INTERNAL/SUPPORT).

On startup the server creates the specifiednumber of idle connections. The value canbe tweaked depending on the number ofworker servers and processes that you haveset up on the database.

jpa/mediumMaxIdle The maximum number of idle connections tothe database (INTERNAL/ SUPPORT).

The value can be tweaked depending on thenumber of worker servers and processes thatyou have set up on the database.

deviceConstants/FTP_HOST The ftp server that will be used to transferconfigurations from devices if the streamingflag(s) are unselected in the resource accessdocument of the device. Typically, this is thecurrent server IP address/hostname.

Chapter 2. System administration 21

Page 40: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Property name Description

IDT/mainserver Either True or False.

If this is set to True and the "IDT Use MainServer For Connection" system property isset to True as well, then IDT will connectthrough the presentation server that ismarked as the main IDT server.

If set to False, the connection will be madethrough the current presentation server.

IDT/useHostname Either True or False.

Controls whether IDT uses the hostname forthe IDT daemon or the IP address. Whenstarting up and shutting down, it creates anentry in the database in the IDT_DAEMONSshowing the status of the daemon. IDT alsorecords the IP address/hostname dependingon what is selected in this property.

IDT/Hostname Can be used to override the hostname of thepresentation server used for IDT sessions ifyou do not want to use the default resolvedhostname of the server.

This setting is only used ifIDT/useHostname is set to true. Forexample, if the hostname of the server [email protected] and you setIDT/useHostname = TRUE, then thehostname used will be [email protected]. Ifyou then set IDT/Hostname = test.com, thehostname used will be test.com.

Truncate\ Logs=false Valid Levels are: OFF, ALL, TRACE,DEBUG, INFO, WARN, ERROR and FATAL.

If True, long log messages (for example,configs) will be truncated, meaning that<truncated - last N lines shown> will berecorded in the UoW log in the UI, while thelong message will be sent to Intelliden.log.

If False, long log messages will befragmented over many lines. For example, inthe case of a config each line of the configwill be added as a separate line in the UoWlog instead of as one line.

22 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 41: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Modifying system propertiesThe default system property value can be modified to meet requirements.

This procedure describes how to modify system properties.

Procedure1. To modify any of the System Properties, simply select the Property from the

upper pane of the System Properties screen.2. The Current value held in the particular property chosen populates into the

Property Edit pane in the bottom half of the screen.3. This can be modified manually, and then the Update button chosen to apply

the changes.4. To revert the Value to the original default value, simply select the Default

button followed by the Update button to apply.5. The Close button is used to exit from the System Properties window.

Enabling or disabling automatic validationEnable or disable the automatic validation parameter setting by using the Optionsdialog. When enabled, the automatic validation parameter permits automatedevents to trigger compliance processes. When disabled, the automatic validationparameter does not permit automated events to trigger compliance processes.

Before you begin

The Options dialog is available within the Admin menu. The Options dialogprovides the Automatic Validation Trigger setting used to enable or disable theautomatic validation parameter. By default, the automatic validation parameter isset to Disabled. The Automatic Validation Trigger setting is a system wide setting.

Automated events are associated with changes in ITNCM - Base (that is, changesin realms, devices, command sets, and native command sets) that triggercompliance processes.

To enable or disable automatic validation, follow these steps.

Procedure1. From the Admin menu, display the Options dialog. The following table

describes each of the fields in the Options dialog.

Option Description

Option Description

Automatic Validation Trigger Setting Specifies the name of this dialog.

Automatic Validation Parameter Specifies the parameter to be enabled ordisabled.

Automatic Validation Trigger: Specifies the drop down selection box toenable or disable the automatic validationparameter.

Cancel Cancels the operation.

Apply Applies the selection: either enable ordisable the automatic validation parameter.

Chapter 2. System administration 23

Page 42: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

2. Using the drop down selection box adjacent to the Automatic Validation Triggerdialog item, select Enable or Disabled.

3. Click Apply.

Changing server pool sizesThe default worker server pool sizes can be configured to meet the systemrequirements. This task addresses an issue where a UOW may remain stuck in theWork Currently Executing queue.

This procedure describes how to modify the default worker server pool sizes.

Procedure1. To modify the worker server pool sizes, right click on the worker server and

choose Change pool settings from the pop-up menu.2. The Change Server Pool Sizes screen is displayed. The max normal pool size

can be configured to address the number of threads set on a worker server.This needs to be optimized based on device real estate, but generally a valuebetween 20 and 40 threads is applicable. The range will be affected by theamount of heap available to the JVM and to the number of database connectionavailable.

3. Click OK to save changes to the server pool size.

Modifying LTPA timeoutThe default Lightweight Third-Party Authentication (LTPA) timeout value can bemodified to meet requirements.

Before you begin

LTPA timeout value is a WebSphere Application Server global security setting. Tochange it, you require access to the WebSphere Application Server IntegratedSolutions Console. Only an admin user can change this setting.

The LTPA timeout value default is 480 minutes (eight hours), after which theauthentication token that enables the single-signon across Netcool ConfigurationManager interfaces expires. This means, for example, that GUIs that have beenopen for over eight hours, or have been left open over night, are closedautomatically. You can change this value to suit your requirements.

Procedure1. Access the Integrated Solutions Console on the server on which the Tivoli

Integrated Portal is installed. Use the following URL:https://<server ip>:18101/ibm/consolewhere server ip is the IP address of the TIP server.

2. Log onto the console as the superuser.3. Select Global Security under Security on the left hand side. The Global

Security window is displayed.4. In the Authentication section, click LTPA. The Global Security>LTPA window is

displayed.5. Adjust the value in the LTPA timeout text field as required.6. Click OK to save your changes.

24 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 43: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Chapter 3. Setting user system preferences

Use this information to set user preferences for the Netcool Configuration Managerinterfaces. Changed preferences take effect the next time you access the interface.

You access the Preferences window from the Netcool Configuration Manager GUI.You can set user preferences for the following interfaces:

Archive ManagerSelect this option to make changes to Archive Manager including queuetable, work logs, the display of detail dialogs, and refresh options

Configuration EditorSelect this option to select your list view options for roll-up lists.

These settings are stored in the user's home directory. If more than oneperson uses the same machine, they can have their own settings stored andused as long as each user logs into Netcool Configuration Manager with aunique account. Configuration Editor preferences will follow the useracross machines if the user's home directory is shared across machines.

Detail TabsSelect this option to configure the refresh options on the information tabsin the Queue Manager, Archive Manager and Resource Browser.

General ApplicationSelect this option to choose general application settings such as theshowing of confirmation dialogs.

PagingSelect this option to control the page sizes available for selection in thePaging panels.

Queue ManagerSelect this option to make changes to Queue Manager including queuetable, work logs, the display of detail dialogs, and refresh options.

Queue Manager settings are stored in the user's home directory. If morethan one person uses the same machine, they can have their own settingsstored and used as long as each user logs into Netcool ConfigurationManager with a unique account. Queue Manager preferences will followthe user across machines if the user's home directory is shared acrossmachines.

Resource BrowserSelect this option to change views and refresh options within the resourcebrowser.

Systems ManagerSelect this option to change refresh and view options for the SystemsManager.

User InformationThis preference enables you to enter user information including email,telephone, and other identification information.

User Information settings are stored on the server, which means that theclient machine can be shared between users.

© Copyright IBM Corp. 2010, 2014 25

Page 44: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

User PasswordThis preference enables you to change the user password.

Wizard PanelsThis preference enables the user to remove steps from the UoW submissionwizards.

Work NotificationsThis preference enables you to change Work Notifications and who will benotified, and at what level.

Work Notifications settings are stored on the server, which means that theclient machine can be shared between users.

Setting Archive Manager preferencesThe Archive Manager preferences enable you to customize the default view andconfigure the default behavior of the Archive Manager.

Procedure1. To access the Preferences window, click User Preferences, or click File >

Preferences from the main dialog.2. Select Archive Manager on the navigation tree. The Archive Manager

Preferences dialog is displayed.3. Set the following preferences.

Default RefreshSelect the desired refresh rate. Regardless of what value you select, youcan manually refresh the Queue Manager at any time.

Column Resize ModeSelect the option for how you want the columns to behave when youresize the queue manager table.

No resizing (Scroll Horizontally)When you resize a column, all other columns stay the samesize, and a scroll bar is added to the bottom.

Resize the Next ColumnWhen you resize a column, only the next column changes tocompensate.

Resize Subsequent ColumnsWhen you resize a column, all the columns to the right changeto compensate.

Resize Last ColumnWhen you resize a column, only the last column is changed tocompensate.

Resize All ColumnsWhen you resize a column, all the other columns are changedto compensate.

Refresh

Automatically refresh UOW List when actions finishSelect this check box to enable automatic refresh of the UOWlist when actions complete.

4. Click Apply to save the settings, or click OK to save the settings and exit thePreferences window.

26 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 45: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Setting Configuration Editor preferencesThe Configuration Editor preferences enable you to customize the default view andconfigure the default behavior of the Archive Manager. You can speed up theConfiguration Editor by specifying that it only show a certain number of lines at atime.

Procedure1. To access the Preferences window, click User Preferences, or click File >

Preferences from the main dialog.2. Select Configuration Editor on the navigation tree. The Configuration Editor

Preferences dialog is displayed.3. Set the following preferences.

Number of lines to trigger list viewSelect the minimum number of list commands you want displayed inlist mode.

Number of lines shown in list viewSelect the number of lines you want shown, without having to scroll,when list commands are in list mode. This setting will not affect listcommands having less commands than the number you entered in theprevious field.

4. Click Apply to save the settings, or click OK to save the settings and exit thePreferences window.

Setting Detail tabs preferencesThe Detail tabs preferences customize the refresh options of the tabs in the QueueManager, Resource Browser and Archive Manager.

Procedure1. To access the Preferences window, click User Preferences, or click File >

Preferences from the main dialog.2. Select Detail Tabs on the navigation tree. The Detail Tabs Preferences dialog is

displayed.3. Set the following preferences.

Refresh Tabs On SelectionSelect Always to ensure that the tab will be refreshed each time it isopened.

Select If Resource has Changed to ensure that the tab will only berefreshed if the resource selected in the main Netcool ConfigurationManager table has changed since the last time it was selected.

Refresh Tabs After ActionSelect Automatically refresh Tab Table when modify actions finish toensure that the tab table is refreshed after each action completes.

4. Click Apply to save the settings, or click OK to save the settings and exit thePreferences window.

Chapter 3. Setting user system preferences 27

Page 46: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Setting General Application preferencesGeneral Application preferences enable you to control if you want to viewverification dialogs when you close the application.

Procedure1. To access the Preferences window, click User Preferences, or click File >

Preferences from the main dialog.2. Select General Application on the navigation tree. The General Application

Preferences dialog is displayed.3. Select Show confirmation when closing the application to ensure that a

confirmation dialog is displayed when you close the application.4. Click Apply to save the settings, or click OK to save the settings and exit the

Preferences window.

Setting Paging preferencesPaging preferences customize the page sizes that are available for selection in thepaging panels in the Queue Manager, Archive Manager and Resource Browser.

Procedure1. To access the Preferences window, click User Preferences, or click File >

Preferences from the main dialog.2. Select Paging on the navigation tree. The Paging Preferences dialog is

displayed.3. Set the following preferences.

Page sizesAdd or remove entries from the page size drop-down list.

Restriction: The system performs error checking when you add a newentry, ensuring that it is a whole number between 1 and 100,000.

Refresh OptionsSelect Disable paging options during refresh to improve refreshperformance.

4. Click Apply to save the settings, or click OK to save the settings and exit thePreferences window.

Setting Queue Manager preferencesThe Queue Manager preferences enable you to customize the default view andconfigure the default behavior of the Queue Manager.

Procedure1. To access the Preferences window, click User Preferences, or click File >

Preferences from the main dialog.2. Select Queue Manager on the navigation tree. The Queue Manager Preferences

dialog is displayed.3. Set the following Queue table preferences.

Default RefreshSelect the desired refresh rate. Regardless of what value you select, youcan manually refresh the Queue Manager at any time.

28 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 47: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Column Resize Mode

No resizing (Scroll Horizontally)When you resize a Queue Manager table column, all othercolumns stay the same size, and a scroll bar is added to thebottom.

Resize the Next ColumnWhen you resize a column, only the next column changes tocompensate.

Resize Subsequent ColumnsWhen you resize a column, all the columns to the right changeto compensate.

Resize Last ColumnWhen you resize a column, only the last column is changed tocompensate.

Resize All ColumnsWhen you resize a column, all the other columns are changedto compensate.

4. Select Automatically refresh Queue Table when modify actions finish toenable automatic refresh of the queue table when actions complete.

5. Click Apply to save the settings, or click OK to save the settings and exit thePreferences window.

Setting Resource Browser preferencesResource Browser preferences enable you to customize the default view andconfigure the default behavior of the Resource Browser.

The Resource Browser allows you to view and work with all types of resourcesused by Netcool Configuration Manager. You can specify settings for the ResourceBrowser that limit what you can view. For example, if you never work with acertain type of resource, you can remove that type of resources from your view.

Procedure1. To access the Preferences window, click User Preferences, or click File >

Preferences from the main dialog.2. Select Resource Browser on the navigation tree. The Resource Browser

Preferences dialog is displayed.3. Set the following Visibility preferences.

Show Hidden RealmsSelect this option if you want hidden realms to be shown in thebrowser.

Show System RealmsSelect this option if you want system realms to be shown in thebrowser. The default is to not show System realms.

Restriction: You won't be able to change this option unless you haveManage System rights.

4. Set the Double Click Action preferences to determine the action to beperformed on a resource when it is double-clicked.Select one of the following options from the Actions drop-down list:

Chapter 3. Setting user system preferences 29

Page 48: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

View Configuration (Modelled)Opens the Configuration Editor with the device's current configurationin read-only mode.

View Configuration (Native)Opens the Native Commands dialog with the device's currentconfiguration.

Edit Configuration (Modelled)Opens the Configuration Editor with the device's current configurationin edit mode

IDT Manual LaunchInitiates a manual IDT session with the device.

5. Set the Columns preferences to determine how you want the columns tobehave when you resize the Resource Manager table.Select one of the following Column Resize Mode options:

No resizing (Scroll Horizontally)When you resize a Resource Manager table column, all other columnsstay the same size, and a scroll bar is added to the bottom.

Resize the Next ColumnWhen you resize a column, only the next column changes tocompensate.

Resize Subsequent ColumnsWhen you resize a column, all the columns to the right change tocompensate.

Resize Last ColumnWhen you resize a column, only the last column is changed tocompensate.

Resize All ColumnsWhen you resize a column, all the other columns are changed tocompensate.

6. Select Show Update Flags to display the red and orange indicator flags whichappear if device drivers need to be updated.

7. Select Automatically refresh Resource List when modify actions finish toenable automatic refresh of the resource list when actions complete.

8. Under Show the Following Resource Types, select the resources to be displayedin the Resource Browser.

Tip: Excluded resource types can still be accessed through the search function.9. Click Apply to save the settings, or click OK to save the settings and exit the

Preferences window.

30 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 49: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Setting Systems Manager preferencesSystems Manager preferences enable you to customize the default view andconfigure the default behavior of the Systems Manager.

Procedure1. To access the Preferences window, click User Preferences, or click File >

Preferences from the main dialog.2. Select Systems Manager on the navigation tree. The Systems Manager

Preferences dialog is displayed.3. Set the following Visibility preferences.

Show Active ServersSelect this option if you want to display all active servers on yournetwork.

Show Inactive ServersSelect this option if you want to display all inactive servers on yournetwork.

4. Set the Columns preferences to determine how you want the columns tobehave when you resize the Systems Manager table.Select one of the following Column Resize Mode options:

No resizing (Scroll Horizontally)When you resize a Systems Manager table column, all other columnsstay the same size, and a scroll bar is added to the bottom.

Resize the Next ColumnWhen you resize a column, only the next column changes tocompensate.

Resize Subsequent ColumnsWhen you resize a column, all the columns to the right change tocompensate.

Resize Last ColumnWhen you resize a column, only the last column is changed tocompensate.

Resize All ColumnsWhen you resize a column, all the other columns are changed tocompensate.

5. Select Automatically refresh Systems List when modify actions finish toenable automatic refresh of the systems list when actions complete.

6. Click Apply to save the settings, or click OK to save the settings and exit thePreferences window.

Chapter 3. Setting user system preferences 31

Page 50: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Setting user informationEdit your personal information using the User Information dialog.

Procedure1. To access the Preferences window, click User Preferences, or click File >

Preferences from the main dialog.2. Select User Information on the navigation tree. The User Information dialog is

displayed.3. Type the following information:

Name FieldsEdit your name as necessary. Any changes you make will not affect thelogin name that is displayed for any work you submit.

E-Mail AddressIf you are going to sign up for work notifications, you must enter avalid email address in this field.

Telephone NumberEnter a phone number for contact purposes.

Note: This field is not used by Netcool Configuration Manager.

IdentificationUse this field for any other identification that your company requires.

Note: This field is not used by Netcool Configuration Manager.

Group MembershipThis field shows the groups of which you are a member.

Time ZoneThis field shows the time zone where your member status resides.

Tip: For display purposes, it is recommended that you set the systemtime zone appropriate to your location. When set, all times shown inthe application will be converted to your timezone with the exceptionof the times shown in the UOW log, which will remain in GMT. Whenthe timezone is set, it only applies against the username that was usedto set the timezone.

4. Click Apply to save the settings, or click OK to save the settings and exit thePreferences window.

Setting user passwordYou can change the Netcool Configuration Manager password defined by yoursystem administrator.

Before you begin

Ensure you are aware of the minimum password requirements you must adhere tobefore changing your password.

Procedure1. To access the Preferences window, click User Preferences, or click File >

Preferences from the main dialog.

32 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 51: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

2. Select User Password on the navigation tree. The Password Change dialog isdisplayed.

3. Type the following information:

Current PasswordType your current password.

New PasswordType the new password you want to assign to yourself.

Confirm PasswordType the new password again.

4. Click Apply to save the settings, or click OK to save the settings and exit thePreferences window.

Setting Wizard Panels preferencesWizard Panels preferences customize the unit of work (UOW) submission wizard.You can hide specific screens from the display sequence, and use the default valuefor those screens instead.

Before you begin

Ensure you are aware of the minimum password requirements you must adhere tobefore changing your password.

Procedure1. To access the Preferences window, click User Preferences, or click File >

Preferences from the main dialog.2. Select Wizard Panels on the navigation tree.

The Wizard Preferences dialog is displayed. All possible wizard screens that aredisplayed during any type of UoW submission are listed. The default value setfor each screen in System Properties is indicated in parenthesis after the screenname.

3. For each of the wizard screens listed, you can apply from the followingoptions:

DefaultSelect this option to ensure the wizard screen applies the default valueas specified in System Properties

HiddenSelect this option to ensure that this wizard screen is not displayed aspart of the UOW Submission wizard screen sequence.

VisibleSelect this option to ensure that this wizard screen is displayed as partof the UOW Submission wizard screen sequence.

4. Click Apply to save the settings, or click OK to save the settings and exit thePreferences window.

Chapter 3. Setting user system preferences 33

Page 52: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Setting Work Notifications preferencesWork Notifications allow you keep track of a UOW's progress without having tolog in. Instead, you receive emails when the work changes states.

Before you begin

In order to receive work notifications, you must ensure that you have a valid emailaddress entered in the system.

You can be notified when a UOW changes to one or more specific state. UOWs canbe those submitted by you, or by a member of your group, or they can be UOWsfor which you are an approver.

Procedure1. To access the Preferences window, click User Preferences, or click File >

Preferences from the main dialog.2. Select Work Notifications on the navigation tree.

The Work Notifications dialog is displayed and all work states are listed.3. columns next to the work states for each association (user, group, approver).4. For each of the listed UOW states, select one or more of the following options:

Note: To be notified of all state changes, select All.

User Select the User checkbox against a specific state in order to be notifiedwhen a UOW you submitted enters that state.

Group Select the Group checkbox against a specific state in order to benotified when a UOW that was submitted by someone in your usergroup enters that state.

ApproverSelect the Approver checkbox against a specific state in order to benotified when a UOW for which you are an approver enters that state.

Restriction: Selecting the Approver checkbox against a specific statewill only have an effect if you have 'Manager Work' permissions.

5. Click Apply to save the settings, or click OK to save the settings and exit thePreferences window.

Results

You will start to receive emails as soon as a UOW enters a state for which yousigned up.

34 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 53: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Chapter 4. Device communication

Use this information about Netcool Configuration Manager to administercommunication for your devices.

About device communicationITNCM - Base uses a number of objects that affect communication wheninteracting with devices. These objects — Resource Access Docs (RAD),Authentication, File Transfer, Device scripts, and ITNCM - Base Source AddressDefinition — interact with ITNCM - Base code to control communication withdevices.

The following sections describe how to format the information associated withthese objects to manage devices in ITNCM - Base.

Device authenticationWhen ITNCM - Base sets up the communication between itself and a device, itbuilds a list of credentials to use when authenticating.

The application starts at the first credential set and continues to the last set or untilsuccess is achieved. The recommended method of supplying usernames andpasswords is the Authentication GR. A default Authentication GR is created in theResource Browser at install time. The end user that is submitting the UOW canenter the username, password, and enable-password.

If the user has set the Core/useCachedAuthCredential in rseries.properties toTRUE, and ITNCM - Base successfully connects to a device using the credentialsfrom the AuthenticationGR, these credentials are cached. The next time ITNCM -Base attempts to connect to that device, it will try to use the cached credentials forthat device before looping through the full list in the AuthenticationGR. This willreduce the time taken for ITNCM - Base to connect to devices.

An Authentication GR allows users to specify user login credentials, as well asSNMP device login community string credentials. To edit the defaultAuthentication GR, you must locate it in the Resource Browser, then perform aright-click operation, and select edit. The user has the ability to configure the set oflogin credentials for that Authentication GR.

The user has the ability to configure the SNMP security using Community Strings.To edit the community string credentials, double click on the required row.Alternatively - the right-click operation may be performed to add, edit or deletecommunity strings. Please note the “Private” community string is a popularReadWrite community string. Ignore should be set to “False” to make theparticular community string useable in the authentication.

© Copyright IBM Corp. 2010, 2014 35

Page 54: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Worker Server GRsWorker Server GRs contain a series of rules that control which work is permittedto run on which servers.

Worker Server GRs are defined in these terms:

PositionHas no effect in a worker server GR (Position is used by AuthenticationGRs only)

Server IDIndicates which server this rule applies to.

The Server ID can be retrieved from Systems Manager/Servers panel bystripping :WORKER suffix

Delay SecondsTime in seconds that a server will wait before picking up available work

ExcludePrevents this server from executing work

Ignore Ignore this rule (used to 'comment out' rules)

Worker Server Algorithm

Each Netcool Configuration Manager worker server builds a cache of what workerservers can execute against each realm. This is calculated every 30 seconds bydefault, but can be changed in rseries.properties (Core/workerServerUpdatePeriod=30). It is not recommended setting theworkerServerUpdatePeriod to less than 30 seconds. If a new worker server isadded to a realm it may be up to 30 seconds before it becomes active.

When the Netcool Configuration Manager worker server grabs a task it firstlychecks if it exists in the worker server cache for the realm that the device belongsto. If it does, it then checks which of these worker server GR's VTMOS is a matchfor the device. The process does not attempt to identify the best VTMOS match;every GR is either a match or is not, and all that are a match are equally valid. Theprocess then inspects the worker server rules defined in the matching GRs thatrelate to the executing worker server based on the Server ID.v If the executing worker server has been 'excluded', then the task will not be

executed by this worker.v If the executing worker server has been included, then once the appropriate

delay (which could also be zero) has elapsed, the work is executed.

Note: If there are more than one worker server in the deployment and more thanone worker is applicable to pick up the work then its the first worker to pick upthe work that executes it even if the worker is in a parent realm in the hierarchy.There is no preference given to worker server in the same realm as the device.

36 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 55: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Source-based routingThe ITNCM - Base Source Address Definition feature enables an ITNCM - Basedefined IP address to be forced as the source address on an IP packet. This controlspacket creation, and allows the user to dictate how each packet is handled by wayof the source address.

The ITNCM - Base Source Address Definition feature has been implemented toenable source based routing, external to ITNCM - Base, for overlapping IP addressspaces. By allowing ITNCM - Base to specify the source IP address, a downstreamrouter can route the packet based on that IP address. This enables networkresources in ITNCM - Base to have the same IP address. By segregating theseresources by the source IP address, multiple systems with identical IP addressescan be managed by the ITNCM - Base software.

Setting up the Resource Access DocFor source based routing to work, the IP address must be put into the ResourceAccess Document (RAD) for the device on which it has been set up. The sourceaddress XML tag (<sourceAddress>) within the RAD must be specified with thecorrect IP address.

Before you begin

You must have previously followed the procedure to enable all network routing togo through the default route.

The following procedure explains how to edit the <sourceAddress> XML tag tospecify the correct IP address that will enable all network routing to go throughthe default route. You also need to ensure that the <lbl-mode-flag-forncs> XMLtag is set to the value true in order for the RAD to work properly.

To edit the RAD, follow these steps.

Procedure1. Go the directory where the RAD is located.2. Using a text or XML editor, open the RAD for the specified device. The

following example opens a RAD called device1.xmlthat has implementedsource based routing. This device has an access type of ssh.v vi device1.xml

3. Search for the <sourceAddress> XML tag and specify the IP address used toenable all network routing to go through the default route. The followingexample shows an IP address of 111.111.111.111.v <sourceAddress>111.111.111.111</sourceAddress>

4. Search for the <lbl-mode-flag-forncs> XML tag and ensure that its value is setto true, as in the following example:v <lbl-mode-flag-forncs>true</lbl-mode-flagforncs>

Example

The following example shows the <sourceAddress> and <lbl-mode-flag-forncs>XML tags in the context of the other XML tags that can reside in a RAD.<access-types>

<access-type name="ssh"><script-id>ssh</script-id>

Chapter 4. Device communication 37

Page 56: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

<ssh-type>ssh1</ssh-type>

<sourceAddress>111.111.111.111</sourceAddress><streaming-put-flag>false</streaming-put-flag><streaming-get-flag>true</streaming-get-flag>

<native-compare-flag>false</native-compareflag>

<import-prewrite-flag>true</import-prewriteflag>

<sync-prewrite-flag>true</sync-prewrite-flag>

<import-report-diffs-flag>false</import-reportdiffs-flag>

<configDataType>CLI</configDataType>

<reboot-on-config-load>true</reboot-on-configload>

<import-char-streaming-flag>false</import-charstreaming-flag><import-char-streaming-time-interval>0</import-charstreaming-time-interval>

<lbl-mode-flag-forncs>true</lbl-mode-flagforncs><user /><password /><enable-password /><prev-user /><alt-user /><prev-password /><alt-password /><prev-enable-password /><alt-enable-password /><hostname /><port>22</port><ssh1><cipher>des</cipher></ssh1><ssh2><cipher>blowfish</cipher></ssh2></access-type>

Resource Access DocThe Resource Access Doc (RAD) is an XML document that ITNCM - Base uses tocommunicate with devices on the network. The RAD has all the informationrequired to communicate with the device. The RAD controls the device connectionfor IDT and UOWs. ITNCM - Base locates just one RAD when setting up thecommunication.

ITNCM - Base performs the following tasks when setting up communication for adevice:1. Checks first to see if a custom RAD has been set on the device. A user views a

custom RAD by right clicking on a device, and then proceeding to theProperties | Access Tab.

2. If no RAD is located, ITNCM - Base checks the realm that the device is incurrently to see if a RAD is available for that device.

3. ITNCM - Base then checks all realms, moving upwards in the hierarchicalstructure until it reaches the top realm.

4. If there is still no match, ITNCM - Base accesses the vendor tree from thedatabase and gets the default RAD for this vendor type.

38 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 57: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

ITNCM - Base will either match the VTMOS information of the device with theone specified when creating a new RAD, or it will just match Vendor and Typewhen using the default.

Note: If a RAD GR is created, and custom changes are made, the RAD GUI on theactual device will reflect the changes made.

A RAD consists of four sections: access order, rollback, access types, and scripts.

Specifying RAD access orderUse the access order section of a RAD to specify the names of and the order inwhich the ITNCM - Base code should access specific network protocols.

XML tags example

The following example shows the XML tags used in the access order section of aRAD:<access-order><name>ssh</name><name>telnet</name><name>alt-telnet</name></access-order>

XML tags description

The following table describes each of the XML tags used in the access order sectionof a RAD:

XML tag Description

<access-order> Specifies the access order section of a RAD.The <access-order> XML tag is typicallyfollowed by one or more <name> XML tags.

<name> Specifies the name of a network protocolthat the ITNCM - Base code should use.Valid values are as follows:

v ssh — Specifies the Secure Shell (SSH)protocol.

v TELNET — Specifies the TELNET protocol.

The order in which the ITNCM - Base codeuses is as specified in a RAD file. So, in thisexample the ITNCM - Base code would startwith SSH, then TELNET, and so forth.

Setting RAD RollbackUse the rollback section of a RAD to set criteria for subsequent device changes.

Syntax

The following example shows the XML elements used in the rollback section of aRAD. This rollback is for the TELNET protocol that is specified in the access ordersection of a RAD.<access-order><name>telnet</name></access-order>

Chapter 4. Device communication 39

Page 58: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

<rollback-options>

<option name="NO_ROLLBACK"><description>No rollback</description><required>false</required><recommended>false</recommended></option>

<option name="MODELLED_ROLLBACK"><description>Use modelled rollback</description><required>false</required><recommended>true</recommended></option>

<option name="REBOOT_ROLLBACK"><description>Reload the configuration and reboot thedevice.</description><required>false</required><recommended>false</recommended></option>

</rollback-options>

Description

The rollback XML elements define which options are available for devices usingthis RAD. The options apply for all access types. Therefore, there is no need to setone for each access type. That is, you do not need to set one rollback for TELNET,another rollback for SSH, and so forth.

The options define what to do in case of an error while applying a CommandSetor NativeCommandSet. If the configuration was partially changed, ITNCM - Baseneeds to know what action to take in order to restore the device.

The following table describes each of the XML elements used in the rollbacksection of a RAD.

XML element Description

<rollback-options> Specifies the rollback section of a RAD. The<rollback-options> XML tag is typicallyfollowed by one or more <option name>XML tags.

40 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 59: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

XML element Description

<option name> Specifies the name of a rollback option.Specify one of the following values:

v NO_ROLLBACK — Leave as is.

v MODELLED_ROLLBACK — Use XML models todetermine how to restore the device.

v SPECIAL_ROLLBACK — Use XML models todetermine how to restore Juniper devicesthat run with XM.

v REBOOT_ROLLBACK — Pushes the originalconfiguration to the box and reboots thedevice.

Each <option name> tag has three optionsthat are specified with the following XMLtags:

v <description>

v <required>

v <recommended>

<description> Specifies the text that is displayed in theGUI.

<required> Specifies that the option is forced selected.Specify the value true to force select theoption. Otherwise, specify the value false.

<recommended> Specifies that the option is selected bydefault, but the user may deselect. Specifythe value true to select the option bydefault. Otherwise, specify the value false.

Notes

For a Command Set or Native Command Set change, the GUI queries the server toget the rollback options allowed for the device. If the user selects more than onedevice with different VTMOS, the options at the VT level are selected. This allowsthe GUI to display more options than a particular device supports. Despite whatthe user selects from the GUI, ITNCM - Base applies only the options allowed for aparticular device, in the order specified by the RAD.

ITNCM - Base attempts the rollback options in the order specified, until onesucceeds, or it runs out of options. After the RADs have been completed, the usercan specify how far back to rollback the device using the GUI. ITNCM - Base caneither rollback to the starting config, or rollback to after the last successfulcommand set.

See the ITNCM User Guide for additional information on the help text forinformation on applying Command Sets or Native Command Sets.

Chapter 4. Device communication 41

Page 60: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Access typesUse the access types section of a RAD to describe the communication that is usedbetween the network resource and ITNCM - Base.

Syntax

The following example shows the XML elements used in the access types section ofa RAD. The access type specified in the example is the TELNET protocol.<!-- Begin access types section of a RAD --><access-types>

<!-- Begin access type definition for TELNET protocol --><access-type name="telnet">

<script-id>default</script-id><ssh-type>none</ssh-type>

<streaming-put-flag>false</streaming-put-flag><streaming-get-flag>true</streaming-get-flag>

<native-compare-flag>false</native-compare-flag><import-prewrite-flag>true</import-prewrite-flag>

<sync-prewrite-flag>true</sync-prewrite-flag><import-report-diffs-flag>false</import-report-diffsflag>

<user/><password/><enable-password/><prev-user/><alt-user/><prev-password/><alt-password/>

<prev-enable-password/><alt-enable-password/>

<hostname/><port>23</port>

<ssh1><cipher>des</cipher></ssh1>

<ssh2><cipher>blowfish</cipher></ssh2>

<!-- End access type definition for TELNET protocol --></access-type>

<!-- End access types section of a RAD --></access-types>

Description

The following table describes each of the XML elements used in the access typessection of a RAD. These XML elements map to characteristics that describe howITNCM - Base communicates with a device.

Note: Not all of the XML elements described in the table appear in the previousexample of the access types section of a RAD.

42 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 61: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

XML element Description

<additional-errors> Enables additional device error tokens to becreated. These error tokens are appended tothe values in default.errors in the devicescript.

<alt-enable-password> Specifies a flag used for authentication.

<alt-password> Specifies a flag used for authentication.

<alt-enable-password> Specifies a flag used for authentication.

<alt-user> Specifies a flag used for authentication.

<configDataType> Specifies the type of data that ITNCM - Baseshould get from the device. This optiontakes one of the following values:

v CLI

v BIN

v CLIandBIN

<configEditPrompt> Sets the prompt used by a device in configedit mode.

<ConnectResponseTimeout> Specifies the timeout for the connection tobe established and the user to successfullylogin.

<ConnectRetryDelay> Specifies the time between each connectionretry, only if the option to use a retry hasbeen selected.

<ConnectionTimeout> Specifies the timeout used when sending theconnect prompt to a device. This is used todetermine if there is still have an activeconnection.

<enable-password> Specifies a flag used for authentication.

<enablePrompt> Sets the prompt that a device uses in enablemode.

<hostname> Specifies an override for the hostnameassociated with this device. This option isalso used when setting up out of bandmanagement.

<import-char-streaming-flag> Specifies a flag that instructs ITNCM - Baseto send one character at a time whilelogging into a device.

<import-char-streaming-time-interval> Specifies how fast to stream the character.

<import-prewrite-flag> Specifies a flag that instructs ITNCM - Baseto write the running config to the storedconfig on a Device before the device is readin.

<import-report-diffs-flag> Specifies a flag that instructs ITNCM - Baseto perform a deep compare and report thedifferences on an import.

<lbl-mode-flag-forncs> Specifies a flag that enables or disables lineby line mode when applying a nativecommand set. Specify the value true toenable line by line mode. Otherwise, specifythe value false to disable line by line mode.

Chapter 4. Device communication 43

Page 62: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

XML element Description

<MaxResponseTimeout> Specifies the maximum time to wait for aresponse from a device.

<native-compare-flag> Specifies a flag that instructs ITNCM - Baseto do a raw CLI compare first. If the configsare the same then it is done. If not, then theCLI is converted to XML and a deepcompare is done. Before the raw CLIcompare is done, any lines that are knownto be different are removed.

<password> Specifies a flag used for authentication.

<port> Specifies the port number used forcommunication with the device.

<prev-enable-password> Specifies a flag used for authentication.

<prev-password> Specifies a flag used for authentication.

<prev-user> Specifies a flag used for authentication.

<Prompt> Specifies an option to enable the prompt onthe device after login.

Note: This option is future functionality.

<reboot-on-config-load> Specifies a flag that instructs ITNCM - Baseto reboot the system after a config load.Specify the value true to instruct ITNCM -Base to reboot the system after a config load.Otherwise, specify the value false toprevent ITNCM - Base from rebooting thesystem after a config load.

The default for this flag is false.

<ResponseTimeout> Specifies the time waited for a single waitstatement. This is continually reset withreading the buffer and receiving the token.The maximum response timeout willoverride this if it is affected while retrievingdata. Some devices keep sending data andkeep resetting the response timeout, so themaximum response time out is used tooverride this and prevent an infinite loop.

<script-id> Specifies the name of the device script touse. ITNCM - Base supplies two defaultvalues: default and ssh. The user can createas many scripts as required. If the usercreates additional scripts, they will show upin the script section at the bottom of theRAD.

<socketConnectTimeout> Specifies, in milliseconds, the connecttimeout. Use this option to control the socketconnection timeout for auto discovery.

<sourceAddress> Specifies an address used for source routingwhen you want to send a different addressthan the server.

<ssh1> Specifies a flag used for the encryptionmethod for SSH 1 type connections.

44 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 63: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

XML element Description

<ssh2> Specifies a flag used for the encryptionmethod for SSH 2 type connections.

<ssh-type> Specifies the type of SSH connection (or noSSH connection) to set up. This option takesone of the following values:

v SSH — Set up an SSH 1 connection type.

v SSH2 — Set up an SSH 2 connection type.

v none — Do not set up an SSH connectiontype.

<streaming-get-flag> Specifies a flag that instructs ITNCM - Baseas to which communication method to use.For devices, streaming TELNET is used.

<streaming-put-flag> Specifies a flag that instructs ITNCM - Baseto stream all the changes to the devicethrough streaming TELNET. If the flag is setto false, then ftp/tftp is used to apply thechanges. For devices, streaming TELNET isused.

<sync-prewrite-flag> Specifies a flag that instructs ITNCM - Baseto write the running config to the storedconfig on a Device before a device is read infor a sync.

<Timeout> Specifies the timeout used for sending acharacter at a time. If you select theCharacter check box, then this optionapplies. Some devices require ITNCM - Baseto send one character at a time whenlogging in.

<update-Resource-InfoOn-Config-Change> Each time a config change occurs, thisretrieves the data for all model and devicespecific data. By default this only happens atimport.

<update-Resource-ConfigOn-Config-Change> Each time a config change occurs, thisretrieves the data for all configurationspecific data.

<user> Specifies a flag used for authentication.

Device scriptsITNCM - Base uses device scripts to determine the work on which to proceed.

A device script consists of the following items:v Device script sections — The required section of the device script performs the

functions needed. For example, the default.error section lists string errors. Eachsection of the device script specifies the commands in the order that they will beexecuted. If a special command (if then else) is in the section at the correct time,this will be constructed and the data will be checked against them.

v Device script variables — Each device script makes use of variables, forexample, $connect_username$, $alt_username$, $connect_password$, and soforth.

Chapter 4. Device communication 45

Page 64: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

v Device script commands — Each device script contains a list of the showcommands that will be sent to the device. The various show commands are usedto determine the hardware makeup of the device.

Note: A device script is in a loop.

The <script-id> element, specified in the RAD, identifies the device script thatITNCM - Base uses. Multiple device scripts (each with their own name) may beincluded within the RAD. However, only the one being referenced will be used. Byconvention, specifying the name default within the <script-id> element meansthe default device script stored in the database for that device (based on VTMOS)will be used.

The following briefly describes how ITNCM - Base interacts with a device script:v The commHandler sends a command and then waits to determine if something

comes back. As the information is coming back it is received in packets andplaced in a buffer. (The packet may or may not contain all the data, so manypackets could come in.)

v Each time a packet is received, ITNCM - Base reads the data and checks to see ifthere are more packets. ITNCM - Base will do this a number of times, and thenstop to check for errors in the buffer.

v If no errors are found, ITNCM - Base will look for the required token. If thetoken is not found, then ITNCM - Base checks to see if further processing isrequired (the if then else).

v If this processing is required, ITNCM - Base will carry this out before it returnsto reading the packets. ITNCM - Base will continue to read the packets until thetoken is found, an error occurs, or a predefined timer is hit.

v Once a token is found then the special commands are taken down. It isimportant to realize that ITNCM - Base can go through a section many timesuntil the token is found. This can cause ITNCM - Base to execute the same ifthen else command many times depending on the script.

Device script sectionsEach device script consists of sections that perform specific tasks as required.

Section names and descriptions

The following table provides the names and descriptions of the device scriptsections.

Section name Description

name of script Lists the name of the script. The defaultscript uses:

v ssh

v ssh-end

v name=

default.prompt The prompt in device enable mode used toshow a good connect.

default.error Lists string errors.

connect Shows connection type.

diag Provides the ability to list any deviceinformation required, such as hardwaretype, and so forth.

46 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 65: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Section name Description

model Gives the model information.

copyRunning Copies configs to startup config and ensuressynchronization.

fileRunning Gets running config off of device in fileformat.

fileStored Gets stored config off of device in fileformat.

config.running Gets running config via streaming.

config.stored Gets stored config via streaming.

config.version Gets the version of the config

config.start Gets the start of the config.

config.end Gets the end of the config.

disconnect Provides for anything disconnecting from adevice.

ftp Used for copying new configs or snippets toa device.

streamFile Enables down streaming.

fileFtpToStartUp Pushes config to startup (used for disasterrecovery).

fileStreamToStartUp Streams config to startup.

notify Netcool Configuration Manager sendsdevice terminal broadcast messages, such as"Pulling configuration to store in ITNCM",which are configured in the RAD scripts thatare used to communicate with devices.

To stop these messages, comment out the'notify' section of the appropriate RAD usingthe hash (#) character.

dir Lists directories.

del Used for deleting a file.

cd Used for changing a directory.

squeeze Used for squeezing a file system.

copyDown Enables copying down to the system.

erase Erases a file system.

download Enables downloading using a router'sdefault capabilities.

reload Enables reloading to the box.

Chapter 4. Device communication 47

Page 66: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Device script variablesEach device script makes use of variables.

Variables

The following table provides the names of the variables that device scripts can use.

Variables

$connect_username$

$alt_username$

$connect_password$

$alt_password$

$ftp_filename$

$ftp_hostname$

$ftp_username$

$ftp_password$

$ftp_althostname$

$ftp_altusername$

$ftp_altpassword$

$message$

$enable_password$

$alt_enable_password$

$action$

$stream_input$

$copy_input1$

$copy_input2$

$del_input$

$dir_input$

$cd_input$

$squeeze_input$

$erase_input$

$down_load_input$

$prompt$

$enablePrompt$

$configEditPrompt$

$binaryDataFileName$

$ctrlA$

$ctrlB$

$ctrlC$

$ctrlD$

$ctrlE$

$ctrlF$

$ctrlN$

$ctrlO$

48 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 67: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Variables

$ctrlP$

$ctrlU$

$ctrlV$

$ctrlW$

$ctrlX$

$ctrlY$

$ctrl[$

$ctrlSLASH$

$ctrl-$

$ctrl@$

$ctrlZ$

$ctrl]$

$ctrl^$

Device script commandsEach device script makes use of commands.

Commands

The following table provides the names of the commands that device scripts canuse.

Commands

send=some string

wait=some string

modelMaxSize=integer

sleep=time milsec

responseTimeout=time milsec

ignoreErrors=true/false

if-then-else

Editing the RADEdit the RAD by using the GUI or XML.

In most cases, it is preferable to create a standalone RAD per VTM (Vendor, Type,Model) rather than a device level RAD due to the maintenance cost. This isbecause if the RAD were to be edited, every single device would have to beamended instead of just one realm.

Chapter 4. Device communication 49

Page 68: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Editing the resource access doc with the GUIUse the GUI to edit the resource access doc (RAD).

Before you begin

Consider creating a stand-alone RAD for each VTM (Vendor, Type, Model) ratherthan a device level RAD due to the maintenance cost.

To edit a RAD for a specific device, you need to display the Resource Access Datadialog. The following steps describe how to display the Resource Access Datadialog.

Procedure1. Select Resource Browser from the navigation tree. The resources are displayed

in the pane on the right hand side.2. Select or Search for a device. See the ITNCM User Guide for information on

searching within ITNCM - Base.3. Right click the Device, and Select Resource Access. The Resource Access Doc is

displayed.4. Click Edit to make changes to the document. The Resource Access Data dialog

is displayed.

What to do next

From the Resource Access Data dialog, you can perform these tasks:v Set up access typesv Set up transport informationv Set up SSH optionsv Set up authenticationv Set up command line informationv Set up configuration informationv Set up scriptsv Set up rollback options

Setting up access types:

Set up access types by selecting the Access Types tab from the Resource AccessData dialog.

Before you begin

You must have followed the steps to display the Resource Access dialog.

The access type determines how to communicate with a device. From the AccessTypes tab, a list of access types for the chosen device is presented in the pane onthe left hand side. The following steps describe how to set up access types.

Procedure

1. Select the Access Types tab from the Resource Access Data dialog.2. Select an access type from the pane on the left hand side. The name of the

access type selected is populated in the Type Name field.3. Select the Enabled check box to enable the selected access type.

50 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 69: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

4. There are a number of configurable aspects to the creation of a RAD, whichmust be set up. These are shown as sub-tabs displayed in a vertical fashion.

What to do next

There are a number of set up tasks associated with the creation and editing of aRAD. The set up tasks are shown as sub-tabs displayed in a vertical fashion. Makethe appropriate selection according to the following table:

Set up task Selection tab

Set up transport information Select the Transport sub-tab.

Set up SSH options Select the SSH Options sub-tab.

Set up authentication Select the Authentication sub-tab.

Set up command line information Select the Command Line sub-tab.

Set up configuration information Select the Configuration sub-tab.

Setting up transport information:

Set up transport information by selecting the Transport sub-tab from the ResourceAccess Data dialog.

Before you begin

You must have followed the steps to display the Resource Access dialog and thento select an access type from the Access Types tab.

The following steps describe how to set up transport information.

Procedure

1. Select the Transport sub-tab from the Resource Access Data dialog.2. The transport-related fields display on the dialog. Use the information in the

following table to specify appropriate values for these fields.

Option Description

Transport field Description

Hostname Type the hostname for the device beingaccessed.

Port Type the port for the device being accessed.

Source Address Type the source address for the device.

Connection Timeout This timeout is used when sending theconnect prompt to a device. This is used tosee if you still have an active connection.

Streaming Select the type of streaming you require.

Character This is used for sending a character at atime.

Timeout If you select the 'Character' checkbox thenthis will apply. Some devices require ITNCM- Base to send one character at a time whenlogging in.

Chapter 4. Device communication 51

Page 70: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Option Description

Connect Response Timeout This is the timeout for the connection to beestablished and the user to successfullylogin.

Connect Retry Delay This is the time between each connectionretry, only if the option to use a retry hasbeen selected.

Max Response Timeout This is maximum time that a response willbe waited for from a device.

Response Timeout This is the time waited for a single waitstatement. This is continually reset whenreading the buffer and receiving the token.The maximum response timeout willoverride this if it is affected while retrievingdata. Some devices keep sending data andwe keep resetting the response time out, sothe maximum response time out is used tooverride this and prevent an infinite loop.

3. Click the Save icon, to save any changes made.

What to do next

Make the appropriate selection according to the following table:

Set up task Selection tab

Set up SSH options Select the SSH Options tab.

Set up authentication Select the Authentication tab.

Set up command line information Select the Command Line tab.

Set up configuration information Select the Configuration tab.

Setting up SSH options:

Set up SSH options by selecting the SSH Options sub-tab from the ResourceAccess Data dialog.

Before you begin

You must have followed the steps to display the Resource Access dialog and thento select an access type from the Access Types tab.

The following steps describe how to set up SSH options.

Procedure

1. Select the SSH Options sub-tab from the Resource Access Data dialog.2. The SSH-related fields display on the dialog. Use the information in the

following table to specify appropriate values for these fields.

Option Description

SSH Option Description

52 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 71: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Option Description

SSH Type Select from the available SSH types. Pleasenote if a device has been set up with SSH1,ITNCM - Base will perform an auto-detectoperation to determine if the devicesupports SSH2. If the device does supportSSH2, it will use SSH2 instead of SSH1.

SSH1 Cipher Select from the available SSH1 ciphers.

SSH2 Cipher Select from the available SSH2 ciphers.

3. Click the Save icon, to save any changes made.

What to do next

Make the appropriate selection according to the following table:

Set up task Selection tab

Set up authentication Select the Authentication tab.

Set up command line information Select the Command Line tab.

Set up configuration information Select the Configuration tab.

Setting up authentication:

Set up authentication by selecting the Authentication sub-tab from the ResourceAccess Data dialog.

Before you begin

You must have followed the steps to display the Resource Access dialog and thento select and access type from the Access Types tab.

The following steps describe how to set up authentication.

Procedure

1. Select the Authentication sub-tab from the Resource Access Data dialog.2. The authentication-related fields display on the dialog. Use the information in

the following table to specify appropriate values for these fields.

Option Description

Authentication field Description

Current This provides the authentication informationfor the current config.

Username Type the required username to access thedevice.

Password Type the required password to access thedevice.

Enable Password Type the enable password to access thedevice.

Previous This provides the authentication informationfor the previous config.

Chapter 4. Device communication 53

Page 72: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Option Description

Username Type the required username to access thedevice.

Password Type the required password to access thedevice.

Enable Password Type the enable password to access thedevice.

Alternate This provides alternate authenticationinformation.

Username Type the required username to access thedevice.

Password Type the required password to access thedevice.

Enable Password Type the enable password to access thedevice.

3. Click the Save icon, to save any changes made.

What to do next

Make the appropriate selection according to the following table:

Set up task Selection tab

Set up command line information Select the Command Line tab.

Set up configuration information Select the Configuration tab.

Setting up command line information:

Set up command line information by selecting the Command Line sub-tab fromthe Resource Access Data dialog.

Before you begin

You must have followed the steps to display the Resource Access dialog and thento select an access type from the Access Types tab.

The following steps describe how to set up authentication.

Procedure

1. Select the Command Line sub-tab from the Resource Access Data dialog.2. The command line-related fields display on the dialog. Use the information in

the following table to specify appropriate values for these fields.

Option Description

Command line field Description

Script Select your required script from the availabledrop-down.

Prompt Type in the required prompt.

Enable Prompt Type in the required enable prompt.

Configuration Edit Prompt Type in the required edit prompt.

54 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 73: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

3. Click the Save icon, to save any changes made.

What to do next

Make the appropriate selection according to the following table:

Set up task Selection tab

Set up configuration information Select the Configuration sub-tab.

Setting up configuration information:

The configuration page controls how UOWs are executed for devices that resolvethis RAD. These configurations only affect the access type you are working on. Setup configuration information by selecting the Configuration sub-tab from theResource Access Data dialog.

Before you begin

You must have followed the steps to display the Resource Access dialog and thento select an access type from the Access Types tab.

The following steps describe how to set up configuration information.

Procedure

1. Select the Configuration sub-tab from the Resource Access Data dialog.2. The configuration-related fields display on the dialog. Use the information in

the following table to specify appropriate values for these fields.

Option Description

Native Compare This enables a comparison of all nativecommands. It is useful when dealing withlarge configurations (over 50,000 lines), andsaves time because there is no initialconversion to XML.

Reboot on Config Load This enables the device to reboot afterloading the new config. This determines thebehaviour when disaster recovery UOW, orcertain rollback options are selected.

Allow Line by Line for Native CommandSet

When enabled, this flag allows line by linemode to be enabled when applying a nativecommand set.

Line by line mode checks the buffer forerrors between each command submissionand will disable FTP processes.

Compare Device and ITNCM This compares the device's runningconfiguration with what is stored in theNetcool Configuration Manager database. Ifdifferences are found, they are reported andthe change to the device does not take place.

Multiple Config Compare This causes the running and storedconfigurations to be retrieved and compared.If differences are found, they are reportedand the change to the device does not takeplace.

Chapter 4. Device communication 55

Page 74: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Option Description

Disable Config Checks on Changes This in conjunction with System Propertiesoptions causes Netcool ConfigurationManager to bypass any checks fordifferences in the running and storedconfigurations as well as the device runningconfig and the Netcool ConfigurationManager stored config.

Prewrite This causes a copy of the running config tobe copied to the startup config prior to animport sync (or both, based on yourselection).

Report Diffs This enables reporting of differencesbetween the stored and runningconfigurations. The prewrite option, ifenabled, is performed after the retrieval ofthe configurations.

Update on Change This enables the update on changes of info,configuration or both.

Config Data Type This lists the available config data types. Forexample, CLI, BIN, CLIandBIN.

3. Click the Save icon, to save any changes made.

What to do next

Make the appropriate selection according to the following table:

Set up task Selection tab

Set up scripts Select the Scripts tab.

Setting up scripts:

Set up scripts by selecting the Scripts tab from the Resource Access Data dialog.

Before you begin

You must have followed the steps to display the Resource Access dialog.

The following steps describe how to set up scripts.

Procedure

1. Select the Scripts tab from the Resource Access Data dialog. The script editor isdisplayed.

2. Make changes as required.

What to do next

Make the appropriate selection according to the following table:

Set up task Selection tab

Set up rollback options Select the Rollback Options tab.

56 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 75: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Setting up rollback options:

Set up rollback options by selecting the Rollback Options tab from the ResourceAccess Data dialog.

Before you begin

You must have followed the steps to display the Resource Access dialog.

The following steps describe how to set up rollback options.

Procedure

1. Select the Rollback Options tab from the Resource Access Data dialog.2. The Rollback screen is displayed. Use the information in the following table to

specify appropriate values for these fields.

Option Description

Rollback option Description

NO_ROLLBACK Leave as is.

MODELLED_ROLLBACK Use XML models to determine how torestore the device.

SPECIAL_ROLLBACK This is used for Juniper devices that runwith XML.

REBOOT_ROLLBACK This pushes the original config to the startupconfig on the device prior to a device restart.

3. Select either the Recommended or Required check box as a rollback status.4. Click the Save icon once changes have been made.

Editing the resource access doc with XMLUse XML to edit the resource access doc (RAD).

Before you begin

Consider creating a stand-alone RAD for each VTM (Vendor, Type, Model) ratherthan a device level RAD due to the maintenance cost.

The following steps describe how to edit the RAD using XML.

Procedure1. Access the RAD dialog.2. Click XML in the upper right corner of the dialog. The XML form is displayed.3. Make changes to the XML as required, for example modifying the device

<sourceAddress>.4. Click File | Save, or click on the Save icon.

Chapter 4. Device communication 57

Page 76: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

File transferWhen ITNCM - Base is working with a device, it can be setup to use streaming toget information from the device, and to make changes to the device.

FTP or TFTP can be used by setting the different flags in the RAD. ITNCM - Basewill allow the set up of almost any type of configuration that is required.

The following is an example of how FTP mode works.1. Log into a device and send commands to the device to send information to, or

get information from ITNCM - Base. The FileTransfer GR is used forinformation about what ftp/tftp server to use. The server can reside on thesame system as ITNCM - Base or not.

2. ITNCM - Base locates the FileTransfer GR by looking into the same realm asthe device, then moving up the tree until the top realm is reached.

3. If a FileTransfer GR is not found then ITNCM - Base retrieves the requiredinformation from the database.

4. If the FTP server is a different server ITNCM - Base moves the file as needed toget the information from ITNCM - Base to the ftp server and then to thedevice.

The following is an example of a FileTransfer GR.<?xml version="1.0" encoding="UTF-8"?><ftp encrypted="false"><!--<entry><name>ftpInfo</name><host>ftphost.example.com</host><username>icosuser</username><password value="current">foo</password><password value="previous">bar</password><password value="alt">foo</password><path>/pub/change.me</path><mode>active</mode></entry>--><!--<entry><name>altFtpInfo</name><host>ftphost.example.net</host><username>icosuser</username><password value="current">foo</password><mode>active</mode></entry>-->

Note: ftpInfo and altFtpInfo are the only two names that can be given to an FTPresource. The GUI may accept other names, but they will not function correctly.

Write access FTP files

In order for a device to put a file via TFTP on a server, there must already be awritable file of the same name on the server. To create this file, put the file thereusing FTP. However, since most FTP servers make the files users put therereadable but not writable, the FTP server configuration must be changed asfollows.

58 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 77: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Operating system platform Steps to change FTP server configuration

Solaris 1. Add the following line to/etc/ftpd/ftpaccess to change theunmask used by the FTP server.

defumask 000

2. Restart the FTP daemon or have inetdreload its configuration.

Linux 1. Add the following line to/etc/vsftpd.conf.

2. local_umask=000

3. Restart the FTP daemon or have xinetdreload its configuration.

Chapter 4. Device communication 59

Page 78: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

60 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 79: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Chapter 5. Custom Drivers

Netcool Configuration Manager drivers encapsulate all vendor-specific operationsand provide a layer of abstraction that allows Netcool Configuration Manager toremain vendor agnostic. For example, drivers enable Netcool ConfigurationManager to communicate with the different devices used within your network,retrieve configuration, make configuration changes and so on.

Netcool Configuration Manager supports the following types of drivers:v SmartModel Driver — Specifies a driver that IBM creates and delivers to

customers that provides a full modelling of a specific device.v Standard Mode Driver — Specifies a driver that IBM creates and delivers to

customers that provides a limited set of features for manipulating only nativeconfigurations.

v Custom Driver — Specifies a driver that a customer creates on site from asupplied IBM template.

Related concepts:“Custom driver may add leading 0x0a to password when communicating withdevices” on page 70

Device characteristicsA device that is a good candidate for support via custom drivers will fit one of thefollowing patterns:v Created using command line interface via Telnet or SSH.v Will have relatively short commands of no more than a few hundred characters

per line.v Symmetry of configuration commands, that is the configuration retrieved from

the device is itself a list of commands that can be returned to the device.

OR

v or a TL1-based interface

Versioning and optimalityNew drivers are automatically versioned. After creating new custom drivers,existing devices are marked to indicate a newer version of the driver has beencreated.

Devices which had been using the old driver configuration will have thenon-optimal yellow arrow icon against them, which indicates that they need adriver update. This is performed in the driver management screens. The driverupdate moves the device to the latest optimal version. The UOW log also containsinformation to indicate if the current driver is non-optimal.

If more than one driver is created with the same VTMOS, the earlier one isoverriden and upversioned. The one with highest version is always searched for,and used.

The optimality check is performed when assigning a driver to a device at importtime.

© Copyright IBM Corp. 2010, 2014 61

Page 80: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Custom drivers provide the ability to support new kinds of network device withStandard level functionality. A new custom driver is created using an existingcustom or IBM driver as a template. When creating a custom driver you mustspecify:1. VTMOS and supported model/OS2. RAD3. Device Script

VTMOS & Supported Model/OS

The Vendor/Type/Model/OS (VTMOS), e.g. Cisco/Router/3745/12* for thecustom driver is a label that indicates which kinds of device this driver supports ina human-readable fashion. It is specified during the creation of the custom driver.In addition, you must also specify the Supported Models and OSs.

The Supported Models and OSs are used to identity the specific models and OSsthat are supported by this driver. Supported models and OSs are globs that arepattern matched against the actual model and OS reported by the device. A driveris only deemed to be applicable to a device if the supported and actual model/OSmatch.

The following shows the device section responsible for retrieving the actual Model:# Modelmodel.modelMaxSize=3000model.send=show chassis\rmodel.end=#model.FIND-BEGIN=Type :model.FIND-END=\r

The following shows the device section responsible for retrieving the actual OS(a.k.a “config version”):# Versionconfig.version.send=show version\rconfig.version.end=#config.version.FIND-BEGIN=TiMOS-config.version.FIND-END=

You must ensure that the device script is configured such that the actual modeland OS strings retrieved from the device correspond to supported Models and OSsspecified in the driver. This relationship between actual model/OS and supportedmodel/OS is necessary to allow Netcool Configuration Manager to determine thata given driver is compatible with a given device.

Resource Access DocumentThe Resource Access Doc (RAD) sets up the communication information betweenthe Worker server and actual devices on the network. It defines the protocol andall the connections to be used.

Editing a RAD allows you to change the protocol used for communication,individual protocol detail, such as SSH cipher, as well as the access order for theprotocols. The ports, timeouts chosen and other Netcool Configuration Managerspecifics, e.g. if the configuration is streamed are editable in the RAD.

62 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 81: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Device ScriptsDevice scripts are fundamental in communicating with the custom driver. Devicescripts are used to manage the commands sent to the device, and retrieve theresponse.

A device script consists of the following items:v Device script commands — Each device script contains a list of the commands

that will be sent to the device to determine actual model/OS, retrieve or sendconfigurations.

v Device script sections — The required section of the device script performs thefunctions needed. For example, the default.error section lists string errors. Eachsection of the device script specifies the commands in the order that they will beexecuted.

v Device script variables — Each device script makes use of variables, e.g,$connect_username$, $alt_username$, $connect_password$, and so forth.

The <script-id> element, specified in the RAD, identifies the device script thatNetcool Configuration Manager uses. Multiple device scripts (each with their ownname) may be included within the RAD. However, only the one being referencedwill be used. By convention, specifying the name default within the <script-id>element, means the default device script stored in the database for that device(based on VTMOS) will be used.

The driver device script is available in either text or form based. This is selected atthe top right-hand corner when the driver device script is open.

For more information on the RAD and device script, see the IBM Tivoli NetcoolConfiguration Manager Administration Guide .

Driver lifecycleYou can use the Systems Manager to access, manage, and control multiple serversand drivers. Your window displays only those system resources for which youhave authorization for display or control.

Before you begin

The Systems Manager is only accessible if the user is a member of a group withthe View System activity. Any user wishing to make changes to System Managermust belong to a group with the Manage System activity.

Use this procedure to access the Drivers component within Systems Manager.

Procedure1. Select the Systems Manager in the navigation tree.2. The Systems Manager displays.3. Navigate to the Drivers component.4. All drivers available on the system display.5. Use the following table as a guide to understand the information displayed:

Field Name Description

UUID Unique ID to identify the driver.

Chapter 5. Custom Drivers 63

Page 82: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Field Name Description

Vendor/Type/Model/OS VTMOS of the device associated with thedriver.

Version Driver versions are date based

In Use Those drivers "In Use" will be denoted by agreen checkmark. This indicates that it hasbeen created, or imported.

Status Indicates the state of the driver. Options are:active and inactive.

Created Date Date the driver was created.

Custom Driver Used to differentiate between IBM driversand custom drivers. Values available are:True and False.

Display name Alias.

Related concepts:“Custom driver may add leading 0x0a to password when communicating withdevices” on page 70

Creating a custom driverCustom drivers provide the ability to support new kinds of network device withStandard level functionality. A new custom driver is created using an existingcustom or IBM driver as a template. The VTMOS, RAD and device script may thenbe customized as required. Newly created custom drivers are automaticallydistributed to all presentation and worker servers.

Before you begin

The user must be a member of a group who has the "View System" activity. Thisenables the user to see the Systems Manager in the UI.

Use this procedure to create a new custom driver.

Procedure1. Navigate to the Systems Manager, and select the Drivers component.2. From the menu bar, select Tools > New Driver

3. The Choose Template window displays. Using the following table as a guide,please select a row in the table to act as the template from which the newcustom driver is created. Optionally, the filter drop downs can be used tonarrow the number of rows visible in the table. Select Next to proceed.

Table 1. Select base driver

Selection Description

Driver Type You will be asked to choose which type ofdriver you wish to use as the base driver(template): custom driver or IBM driver.

Custom Drivers Choose this option if you wish to use anexisting custom driver you have created toact as a base. These are drivers that you willhave already created on site.

64 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 83: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Table 1. Select base driver (continued)

Selection Description

IBM Drivers Choose this option if you wish to use anexisting IBM driver to act as a base. Thesedrivers have been supplied by IBM, and canbe standard or SmartModel

Choose an IBM Template You will be asked to select which protocolyou wish to use, e.g CLI-based viaTelnet/SSH, SNMP, TL1. The protocolsavailable to you will be listed.

Note: On the first occasion you create a new custom driver, the custom drivertype will be greyed out. This is because you will not have already created acustom driver. In this instance, the IBM driver type is automatically selected.

4. The Driver Details window displays. Using the following table as a guide,please enter the appropriate information requested. When the driver detailshave been specified, select Next to proceed.

Note: Use the arrows in the centre of the screen to copy values across from thepreviously selected base driver. These values can then be modified to suit thenew custom driver.

Table 2. Driver Details

Selection Description

Vendor/Type/Model/OS These values have been copied from thebase drivers selection.

Supported Models/Supported OSs A list of the Models and OSs supported bythe base driver chosen.

5. The Default Driver Device Script window displays. This can be modified ifnecessary, or a new device script can be loaded. Select Next to proceed.

6. The Default Driver RAD window displays. This can be modified if necessary.Select Next to proceed.

7. The Description window displays. You should provide a description for thenew custom driver. Select Finish to complete the new custom driver creation.

8. A summary screen will be displayed. This reports all details of the customdriver you have just created, including: UUID, Vendor, Type, Model, OS anddisplay name.

9. When the custom driver is saved, it is written into the following files in thedrivers section of the filesystem: /opt/IBM/tivoli/netcool/ncm/drivers/locators/drivers/<newdriveruuid>.xml, /opt/IBM/tivoli/netcool/ncm/drivers/metadata/<newdriveruuid>/devicescript.txt and/opt/IBM/tivoli/netcool/ncm/drivers/metadata/<newdriveruuid>/rad.xml.Your changes will be automatically applied to all presentation and workerservers.

Chapter 5. Custom Drivers 65

Page 84: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Editing a custom driverOnce custom drivers have been created they can be edited to meet changingrequirements. Edited custom drivers are automatically distributed to allpresentation and worker servers.

Before you begin

The user must be a member of a group who has the "View System" activity. Thisenables the user to see the Systems Manager in the UI.

Use this procedure to edit a custom driver.

Procedure1. Navigate to the Systems Manager, and select the Drivers component.2. From the menu bar, select Tools > Edit Driver

3. The Choose existing custom driver window displays, allowing you to choose adriver to edit. Select the driver you wish to edit from the list provided. Thefields available in this window are: vendor, type, model, OS, UUID andversion. Optionally, the filter drop downs can be used to narrow the number ofrows visible in the table. Select Next to proceed.

Note: Editable drivers are drivers which are not in production.4. The Driver Details window displays. Use the arrows in the centre of the screen

to copy values across from the selected driver. The existing values can bemodified as required. When the modified driver details have been specified,select Next to proceed.

5. The Default Driver Device Script window displays. This can be modified ifnecessary, or a new device script can be loaded. Select Next to proceed.

6. The Default Driver RAD window displays. This can be modified if necessary,using the form or XML view. Select Next to proceed.

7. The Description window displays. You should provide a description for theedited custom driver. Select Finish to complete the modifications to the customdriver.

8. A summary screen will be displayed. This reports all details of the customdriver you have just edited, including: UUID, Vendor, Type, Model, OS,version, display name, and state. Your changes will be automatically applied toall presentation and worker servers.

Move a custom driver to productionNetcool Configuration Manager allows you to move a custom driver intoproduction. A custom driver which is in production can be used as the basis forthe creation of a new custom driver. Custom drivers in production provide morepredictable behaviour, as they are non-editable.

Before you begin

The user must be a member of a group who has the "View System" activity. Thisenables the user to see the Systems Manager in the UI.

Use this procedure to move a custom driver to production.

66 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 85: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Procedure1. Navigate to the Systems Manager, and select the Drivers component.2. From the menu bar, select Tools > Move Driver to Production

3. The Move driver to production window displays. Select a row in the table tochoose the custom driver to move into production. Optionally, the filter dropdowns can be used to narrow the number of rows visible in the table. SelectMove to Production to proceed.

4. A summary screen will be displayed. This reports all details of the customdriver you have just moved into production, including: UUID, Vendor, Type,Model, OS, display name and driver state.

Note: A driver that has been moved to production cannot be edited, but it maybe deleted.

Delete a custom driverNetcool Configuration Manager allows you to delete either a single driver, ormultiple drivers which can be deleted concurrently. A driver can only be deleted ifit has an inactive status.

Before you begin

A driver can only be deleted if it has an inactive status.

Use this procedure to delete a custom driver.

Procedure1. Navigate to the Systems Manager, and select the Drivers component.2. Highlight the driver(s) that you wish to delete, then right click and select

Delete Driver.3. The driver will be removed from the drivers table.

Importing a custom driverNetcool Configuration Manager provides the ability to import custom driversexported from other Netcool Configuration Manager systems. The imported driverwill contain driver details, the device script and the RAD. Imported custom driversare automatically distributed to all presentation and worker servers.

Before you begin

The user must be a member of a group who has the "View System" activity. Thisenables the user to see the Systems Manager in the UI.

Use this procedure to import a custom driver.

Procedure1. Navigate to the Systems Manager, and select the Drivers component.2. From the menu bar, select Tools > Import Driver

3. The Import driver ZIP file window displays.4. Navigate to the directory from which you wish to import the custom driver.

Select the file, and then select Open to proceed.5. A dialog will inform when a successful import has been made. Your changes

will be automatically applied to all presentation and worker servers.

Chapter 5. Custom Drivers 67

Page 86: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Exporting a custom driverNetcool Configuration Manager provides the ability export a single custom driverto a user defined location in a zip file format. The exported driver will containdriver details, the device script and the RAD.

Before you begin

The user must be a member of a group who has the "View System" activity. Thisenables the user to see the Systems Manager in the UI.

Use this procedure to export a custom driver.

Procedure1. Navigate to the Systems Manager, and select the Drivers component.2. From the menu bar, select Tools > Export Driver.3. The Export driver dialog window displays. Select a row in the table to choose

the custom driver to export. Optionally, the filter drop downs can be used tonarrow the number of rows visible in the table. Select Export to proceed.

4. A Save window displays. Navigate to the directory where you wish to exportthe custom driver. Select Save to proceed.

5. A dialog will inform when a successful export has been saved.6. The exported zip file consists of three files: deviceScript.txt, driver.xml and

rad.xml.

Exporting a driver/server to CSV fileNetcool Configuration Manager provides the ability export drivers and servers to auser defined location in a CSV file format.

Use this procedure to export either drivers or servers to a CSV or txt format.

Procedure1. Navigate to the Systems Manager. Depending if you wish to export drivers or

servers, choose the appropriate component.2. Choose the items you wish to export.3. A Save window displays. Navigate to the directory where you wish to export

to, and choose the file type required. Select Save to proceed.4. A dialog will inform when a successful export has been saved.

Set custom driver to activeNetcool Configuration Manager allows you to set drivers to an active or inactivestate. This can be used to control the set of installed drivers that are applicable tothe devices on your system. Multiple drivers can be activated concurrently. When adriver is set to active, it is loaded by devices, command sets and configurations,and it is eligible for optimality.

Before you begin

The driver status must be inactive, so that the menu option to Set Driver Active isavailable.

Use this procedure to activate a custom driver.

68 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 87: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Procedure1. Navigate to the Systems Manager, and select the Drivers component.2. Highlight the driver(s) that you wish to activate, then right click and select Set

Driver Active.3. The driver status will update to Active, and the driver details appear in green

text.

Set custom driver to inactiveWhen a driver is set to inactive, it is no longer loaded by devices, command setsand configurations, and it is not eligible for optimality. Drivers that are "In Use"can be set to inactive. Inactive drivers appear as Incompatible in the ResourceBrowser search.

Before you begin

The driver status must be active, so that the menu option to Set Driver Inactive isavailable.

Note: Whilst drivers that are "In Use" can be set to inactive, an error message willbe generated to ensure that you wish to continue. Setting an "In Use" driver toinactive affects command sets, command set groups, extractions and extractiongroups, configurations, compliance definitions and extractions.

Use this procedure to set a custom driver to inactive.

Procedure1. Navigate to the Systems Manager, and select the Drivers component.2. Highlight the driver(s) that you wish to set to inactive, then right click and

select Set Driver Inctive.3. The driver status will update to Inactive, and the driver details appear in red

text.

Driver ReloadNetcool Configuration Manager provides the ability to dynamically load newdrivers, so that drivers become available without the need to restart the server.

Newly created drivers will be detected and reloaded automatically. Drivers willalso be reloaded when new custom drivers are created through the GUI or thecommand line. Users can trigger a driver reload manually using the Tools>ReloadDrivers menu option. Typically this manual step will be taken after running theSmartModelUpgrade tool.

To enable dynamic reloading each JVM (worker or presentation) caches it's owncopy of all driver jars and all third party dependencies. They are cached in adirectory called ncm/drivers/lib_legacy_cache_<server_name>.

There are some instances where a restart will be required. If the jars stored in thecache change when a driver is installed, then a restart will be required. Also, if thedriver interface jar is patched by the driver installer, a restart will be required. If arestart is required, the Driver Reload State column in the Server table will indicatethis as "Restart Required". When the driver reload has been successful, the DriverReload State column in the Server table will report this as "Reloaded".

Chapter 5. Custom Drivers 69

Page 88: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Troubleshooting driversUse this section to view drivers troubleshooting information.

Custom driver may add leading 0x0a to password whencommunicating with devices

If Netcool Configuration Manager appends a leading 0x0A to the password,thereby causing connectivity issues, edit he deviceComInterface.txt as described inthis workaround.

Workaround

Change com.intelliden.icos.util.handlers.TelnetComHandler tocom.intelliden.drivers.util.handlers.SocketComHandler in thedeviceComInterface.txt file. SocketComHandler is a raw connection and will ignoreall the hand shake information and will just send and receive the data that NetcoolConfiguration Manager and the device are giving it.

Follow these steps to determine the location of deviceComInterface.txt used:1. Run ./driverTools.sh -show-details <arg>

where <arg> can be UUID, VTMOS or network resource name.Example output:[icosuser@klxv0803:/opt/IBM/tivoli/netcool/ncm/bin/utils]08:08:37> ./driverTools.sh -show-details Riverbed_20131204Loading driver information from database...----------------------------------------------------------------UUID : IBM-fc43b18e-805b-4554-befc-40ffc5bf53eeVendor : RiverbedType : wanModel : steelhead-xx50OS : 8.xSupported Models : 550,1050,2050,6050,7050Supported Oss : 8.*Display Name : riverbed_wan_steelhead-xx50_8.x_v20131203.083318Version : 20131203.83318Description :

---------------------------------------------------Type : SmartModelDriver Class : com.ibm.tivoli.ncm.drivers.riverbed.RiverbedDriverJar File : Jar-b63a722b-34ba-482a-9eaa-3bebda2a1e09.jarMetadata : Metadata-24902fdb-01d7-4a61-afa2-1af6f054795eMetadata : Metadata-03e0700f-e390-4f42-ad53-906af4f81f3eMetadata : Metadata-7354e070-d920-444b-997f-55c7361ca768Metadata : Metadata-b5f684ab-ee2e-4cf7-a9e8-bf91274e628eMaster Schema Version : 201311290917Schema Object Version : BL_ITNCM_CONTENT_19_20131129_0854Definition Doc. Att. : "8.x, 1311282011"

----------------------------------------------------------------

2. Check the list of metadata folders for the deviceComInterface.txt location.Example deviceComInterface.txt location: /opt/IBM/tivoli/netcool/ncm/drivers/metadata/Metadata-03e0700f-e390-4f42-ad53-906af4f81f3e

3. Change the deviceComInterface.txt file as follows:telnet:com.intelliden.drivers.util.handlers.SocketComHandler:ssh:com.intelliden.icos.util.handlers.SSHComHandler:

4. Restart the servers.Related tasks:“Driver lifecycle” on page 63Related information:Chapter 5, “Custom Drivers,” on page 61

70 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 89: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Chapter 6. Housekeeping

Use this information about Netcool Configuration Manager to understand how toconfigure housekeeping and how record removal affects the database.

About housekeepingHousekeeping refers to the tasks associated with freeing up storage space andimproving run-time performance.

As increasing numbers of network resources and configurations per resource areadded onto the Netcool Configuration Manager - Compliance application,housekeeping duties become particularly important to free up storage space and tomaximize run time performance. This section promotes an understanding of thehousekeeping functionality.

Record removal

Housekeeping tasks such as removing records from the database causes theremoval of the following:v Record results from the results database tablesv All result associationsv Policy validationv Remedial queue

Thus, once a record is removed from the database, there is no trace of the recordsleft in the database tables, and they cannot be retrieved. Each record removalrequest takes on average 90 seconds to complete. However, depending on thenumber of records to be deleted, this removal request may take longer. Beforeremoving records from the database, consider the following:

Aging periodsRecord deletion is configurable using the parameters that the housekeepingutility provides. One parameter is how long records have been on thesystem. Valid values are weekly, monthly, quarterly, twice a year, andyearly. For example, if monthly is chosen, the housekeeping utility removesall records associated with the specified process results that are a monthold or older.

Number of resultsAnother record deletion parameter is the number of records between twoand ten to keep in the process results. The minimum number of records istwo in order to ensure that there is always at least two results left forcomparison reasons. This means that all records associated with thespecified process results will be deleted, except the most recent x records.

However, some process results have immunity to this rule. For example, auser may specify that at least four records associated with the specifiedprocess results be retained for each process. After the house keeping utilityhas been run, there may be seven results remaining. The reason being thatthree of the results may have a state of Pending Approval, Ready ToExecute, and Pending on ITNCM - Base. Process results with any of thesestates are excluded from the housekeeping operation.

© Copyright IBM Corp. 2010, 2014 71

Page 90: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Database tables used in housekeepingThe key database tables used by the housekeeping utility are summarizedin the following table:

Table 3. List of key housekeeping database tables

Database table name Description

SystemOptions Details of when processResults should be deleted. In the case ofnormal processes, also details the minimum number of resultsthat should be left in the database.

ProcessResult Details the start time of a process result, the process state(Finished, scheduled, and so forth), and the execution type(Unscheduled, OOB, AdHoc, and so forth).

CurrentDevicePolicyResult

Details of all current device policies, used to determine if theresults can be removed. Please refer to removal criteria.

RemedialQueue Once the current results are checked, the remedial queue will beexamined.

Removal criteriaThere are a number of removal criteria that determine if the recordsassociated with the specified process results can be deleted. The followinglist identifies instances where a record associated with a specified processresult will NOT be deleted from the database tables:v If the process result finishes AFTER the deletion time indicated. For

example, the process result has a state of Scheduled when thehousekeeping takes place.

v If the process result does not have a Finished or Error state. Forexample, the process result has a status of Queued for execution.

v If the process result ck is in the CurrentDevicePolicyResult table.v If the process result is in the remedialQueue table with the status of

Pending Approval, Ready to Execute, or Pending on ITNCM - Base.v If the number of process results left in the database after the deletion

would leave the results below the number required by the user (notapplicable for adhoc or OOB processes). In this case, the most recentprocess results that fulfil the deletion criteria will be saved until theamount left is adequate.

If the process result fulfils the deletion criteria, all its results will be deletedfrom the following tables:v processResultv processResultToPolicyResultv policyResultv policyResultToRuleResultv ruleResultv ruleResultToDefResultv ruleResultToCorractResultv defResultv correctiveActionResultv defResultToEvalResultv EvaluationResultv policyValidationSummaryv remedialQueue

72 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 91: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Methods to run the housekeeping utilityThe housekeeping administrator can configure housekeeping in theWorkFlowManager.properties file, or alternatively run the housekeepingutility through the User Interface or by setting up a cron job.

Setting the DB2 page size

The following configuration settings are recommended for Netcool ConfigurationManager housekeeping:db2 update db cfg using logfilsiz 5000db2 update db cfg for itncm using logprimary 200db2 update db cfg for itncm using logsecondary 50

Note: Use the following information to set the transaction log file size:v To clear 50000 UOWs during housekeeping, set the transaction log file size to

approximately 5000.v To clear 100000 UOWs during housekeeping, set the transaction log file size to

approximately 16384

Tip: You can use the db2autoconfigure utility to auto-configure a number of DB2configuration settings, such as the DB2 transaction log file size.

Tip: You can use the DB2 Activity Monitor wizard to help you determine thelevels to increase it to. For more information, see the DB2 documentation.

The following configuration step is recommended to reduce errors in complianceexecution:update db cfg for your_itncm using LOCKLIST8192

Set the DB2 page size to 32768.

For example (database creation example):db2 create database itncm automatic storage yes pagesize 32768dft_extent_sz 32

Configuring the removal of recordsUsers can configure the housekeeping options using theWorkFlowManager.properties file.

Before you begin

You must be familiar with the command line and a text editor such as vi toperform this task.

To configure housekeeping using the WorkFlowManager.properties file, follow thesesteps.

Procedure1. Log onto the ITNCM-Compliance server as the specified ICOSUSER.2. Access this directory: /opt/IBM/tivoli/netcool/ncm/compliance/config/

properties.3. Use a text editor such as vi to edit the WorkFlowManager.properties file.

Chapter 6. Housekeeping 73

Page 92: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

4. The two configurable properties relating to housekeepingarehouseKeepingEnabled and houseKeepingStartHour

5. To enable housekeeping, the houseKeepingEnabled property must be set to true.Additionally, the time at which housekeeping is run is configured using thehouseKeepingStartHour property. The houseKeepingStartHour property is set to5 by default.

6. Save the changes made to the properties file, and exit.

Example

houseKeepingStartHour=9 will execute housekeeping at 9am each day.

What to do next

You can also remove records from the results database tables by using the HouseKeeping Options screen.

Removing records using the GUIRemove records from the results database tables by using the House Keepingutility. Access the House Keeping utility by using the House Keeping Optionsscreen.

Before you begin

You can only perform this task if you are the ITNCM-Compliance ApplicationAdministrator. See the ITNCM User Guide for more information.

To remove records from the results database tables, follow these steps.

Procedure1. From the User Interface, select Admin | House Keeping options. The House

Keeping Options screen is displayed. The following table describes each of thefields in the screen.

Option Description

Screen item Description

Process Results: Specifies that all records associated with thespecified process results be deleted from theresults database tables. The process itselfwill not be deleted.

Adhoc Process Results: Specifies that all records associated with thespecified adhoc process results be deletedfrom the results database tables. The adhocprocess itself will not be deleted.

Automated Process Results: Specifies that all records associated with thespecified auto-initiated process results bedeleted from the results database tables. Theauto-initiated process itself will not bedeleted.

2. From each of the drop down lists (Process Results:, Adhoc Process Results:,Automated Process Results:, and Adhoc Process Results:) select the frequencyof record deletion: Weekly, Monthly, Quarterly, Twice a year, or Yearly.

74 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 93: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

3. From the Keep at least: drop down list, select the number of records to keep(from two to ten) in the process results.

4. Click Apply to accept the specified options. Or, click Cancel to cancel thespecified options.

What to do next

You can also remove records from the results database tables by configuringhousekeeping in the WorkFlowManager.properties.

Viewing the compliance event logThe ITNCM-Compliance event log contains general information about theoperations that occur within the application. View the event log by accessing theUser Audit Trail from the User Interface.

To view the event log, follow these steps.

Procedure

From the User Interface, select Admin | User Audit Trail. The event log isdisplayed. The following table describes each of the fields in the event log.

Option Description

Screen item Description

Time Specifies the time in which the event tookplace. All times are server side.

Description Provides a description of the event.

User Specifies the username of the person whotriggered the event.

Example

The following shows examples of events in the event log:Time Description User

07-Jul-2011 User admin has logged in admin07-Jul-2011 User admin has logged out admin

Chapter 6. Housekeeping 75

Page 94: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

76 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 95: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Chapter 7. Scripts

Use the supplied ITNCM - Base application scripts to perform systemadministration tasks.

About scriptsThe ITNCM - Base application provides scripts to use in system administrationtasks. These scripts provide the user with the ability to undertake a broad range ofroles. The scripts are configurable, and therefore provide the user with flexibility.

Specifically, the ITNCM - Base application provides the following categories ofscripts:v System scripts — These scripts perform such system administration tasks as

restarting ITNCM - Base, collecting and storing in an archive data that resides inthe ITNCM - Base install directory, and so forth.

v IDT scripts — These scripts perform system administration tasks related to IDT.v Logging scripts — These scripts control logging activities.

System scriptsThe system scripts reside in the utils directory, which can be located using thefollowing path: /opt/IBM/tivoli/netcool/ncm/bin/utils.

Summary descriptions of system scripts

The following table provides descriptions of each system script:

Script name Description

createAutoStart.sh In the event that the server is rebooted, thisscript will automatically restart ITNCM -Base.

dataCollector.sh Requests base ITNCM - Base installdirectory, all relevant data located here iscollected and stored in an archive.

driverTools.sh Provides the user with the ability to managedevice drivers using the command line.

logcleaner.sh Used to clear down the logs.

truncateDrivers.sh Removes content from the drivers table, butdoes not remove the schema.

itncm.sh Starts the ITNCM - Base server.

© Copyright IBM Corp. 2010, 2014 77

Page 96: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Managing device drivers (driverTools.sh)Use the driverTools.sh system script to manage device drivers from the commandline.

SyntaxdriverTools.sh -status -show-details args -list-unused -delete-unused-delete driver -purge driver -create-standard-create-standard-tl1 -install-mibs zipfile -help

Parameters

-status Displays the status of the Driver installation on each Worker Server. Thestatus returned will be one of two values. A status of "Consistent(Max=<Isd Number>)" means that the Drivers are acceptable. Conversely astatus of "Inconsistency found! See Server.out in <installdir>/logsfor details" indicates there is an entry in the drivers table for a driver,but there are no matching drivers files on the filesystem for that WorkerServer. This could occur if the files were accidentally deleted, and there isstill an entry in the database for the driver. A driver consistency check isperformed each time the server is restarted. During this check it will checkthe database against the file system on the server. If inconsistencies arefound an error message is displayed in the Server.out file.v Consistent (Max=<Isd Number>) — Specifies that the Drivers are

acceptable.v "Inconsistency found! See Server.out in <installdir>/logs for

details". — Specifies that there is an entry in the drivers table for adriver, but there are no matching drivers files on the filesystem for thatWorker Server. This could occur if the files were accidentally deleted,and there is still an entry in the database for the driver.

A driver consistency check is performed each time the server is restarted.During this check it will check the database against the file system on theserver. If inconsistencies are found an error message is displayed in theServer.out file.

-show-details argsShows detailed information about a specific driver:

-list-unusedLists installed Drivers that are not currently in use.

-delete-unusedDeletes the installed Drivers that are not currently used.

-delete driverDeletes the specified Driver.

-purge driverPermits a reinstall of the specified deleted Driver.

-create-standardCreates a new standard Driver.

-create-standard-tl1Creates a new standard tl1 Driver.

-help Displays an overview of available options.

78 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 97: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Samples

The following sample shows information by Isd Number from the UoW Log:driverTools.sh -show-details Isd0000012345

The following sample shows information by device name in the UI:driverTools.sh -show-details 10.1.2.3

The following sample shows information by by VTMOS: driverTools.sh-show-details Cisco Router 2600 12.3

See also

“Modifying logging related files (loggerAdmin.sh)” on page 80

Performing operations on the ITNCM - Base server (itncm.sh)Use the itncm.sh system script to perform start, stop, and restart the ITNCM -Base server. You can also use itncm.sh to get current status information on theITNCM - Base server.

Syntaxitncm.sh {start|stop|restart|status}

Description

There are a number of different tasks that can be performed on the ITNCM - Baseserver. For example, the server can be started, stopped, restarted or the currentstatus checked. The following steps describe how to execute the itncm.sh systemscript:1. Access the directory containing the installer. The default location is

/opt/IBM/tivoli/netcool/ncm/bin.2. To use the example of starting the ITNCM - Base server, execute the start server

command:$./itncm.sh start

When executing the ITNCM - Base stop server command, the superuser usernameand password are prompted for as follows:Stopping GUI ServerRealm/Cell Name: <default>Username: SuperuserPassword: ****

Parameters

start

Starts the ITNCM - Base server.

stopStarts the ITNCM - Base server.

restartRestarts the ITNCM - Base server.

statusDisplays current status information for the ITNCM - Base server.

Chapter 7. Scripts 79

Page 98: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

IDT scriptsThe IDT scripting utilities may be found using the path: /opt/IBM/tivoli/netcool/ncm/bin/utils/idt.

The following table provides a descriptions of the IDT script.

Table 4. IDT scripts

Script name Description

changeIDTDaemon.sh This script is used to convert 'presentation server' SSH Daemon to'mainserver' or 'server' mode.

Usage changeIDTDaemon.sh <mode>

where mode can be mainserver or server.

Use 'mainserver' if you want one presentation server to bethe dedicated route for all IDT sessions.

Use 'server' if you want IDT sessions to go through thepresentation server the user is connected to.

Logging scriptsThe logging scripts perform logging operations on ITNCM - Base.

Summary descriptions of IDT scripts

The following table provides descriptions of each logging script:

Script name Description

loggerAdmin.sh Controls logging operations for ITNCM -Base Core and User Interface.

logCleaner.sh Performs housekeeping operations on thelogs.

Modifying logging related files (loggerAdmin.sh)Use the loggerAdmin.sh script to modify logging related files. Logging for theITNCM - Base Core and User Interface is controlled by the loggerAdmin.sh scriptwhich is located in /opt/icos/bin. Logging information is configurable, and theloggerAdmin.sh script may be used to indicate what is required.

SyntaxloggerAdmin.sh log level [port] |refresh | off classname | on classname |maxline x | maxsize x | status

Parameters

log level

Specifies in order of increasing details (FATAL, ERROR, WARN, INFO,DEBUG). If a port number is provided, this will be used to update all ITNCM- Base servers instead of the default port number set at installation.

port

Specifies an optional parameter that specifies the port number.

80 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 99: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

refreshRefreshes the current platform logging details, if the database properties havebeen changed manually.

restartRestarts the ITNCM - Base server.

offclassnameTurns logging off for a particular class.

onclassnameTurns logging on for a particular class.

maxlinexSets the maximum characters per line to x (minimum is 1)

maxsizexsets the maximum size to x that the log can reach before its rolled over(minimum is 1).

Note: When any of the above logging features have been changed using theloggerAdmin.sh script, the current platform and ALL other GUI/Worker Serversconnected to the database instance are also updated automatically. ITNCM - Basedoes not need to be restarted for these changes to take effect.

System auditing

ITNCM - Base logging consists of various text files written to the ITNCM - BaseWorker server that log user and system activities with a date and time stamp.

By default, all log files are written to the /opt/IBM/tivoli/netcool/ncm/logsdirectory.

The following list identifies the main log files associated with ITNCM - Base:v Intelliden.log

v WebSphere.err

v WebSphere.out

v Server.out

However, logging information is also available in the following files as well:v drivers.log

v contentDB.log

v dropDB.log

v loadDB.log

Server.out error message.

A driver consistency check will check the database against the file system on theserver. If inconsistencies are found between the database and the file system itoutputs a message in Server.out similar to the following:- ERROR! Driver Isd0000101155 is present in the DB but notinstalled on this machine!

To resolve this error message run the-delete-unused option on the drivertools.shscript to correct any redundant database entries. For example:./driverTools.sh -delete-unused

Chapter 7. Scripts 81

Page 100: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

This should only be executed on the main presentation server. Then each serverthat had reported inconsistencies should be restarted.

Driver logging

For low-level driver logging, that is, logging the sending and receiving of buffers,the configuration is set using the log4j properties, which resides in/opt/IBM/tivoli/netcool/ncm/config/properties/driverlog.properties.

The logging level may be set by changing the rootLogger value and restartingITNCM - Base.

See alsov “Managing device drivers (driverTools.sh)” on page 78v “Performing housekeeping on log files (logCleaner.sh)”

Performing housekeeping on log files (logCleaner.sh)Use the logCleaner.sh script to perform housekeeping on log files.

Syntax./logcleaner.sh compress-after(days) [delete after (days)]

Parameters

compress-afterdays

Compress the contents of the log after the number of days specified in days.

delete-afterdays

Delete the contents of the log after the number of days specified in days.

Description

The logCleaner.sh script executes on logs to remove old, unwanted logginginformation. This utility is useful to free up storage space and maximizeperformance. Logging for the ITNCM - Base Core and User Interface is controlledby the loggerAdmin.sh script which is located in /opt/icos/bin. Logginginformation is configurable, and the loggerAdmin.sh script may be used to indicatewhat is required.

The logCleaner.sh script resides in /opt/IBM/tivoli/netcool/ncm/bin/utils. Thisscript is run as a cron job.

This should only be executed on the main presentation server. Then each serverthat had reported inconsistencies should be restarted.

See alsov “Managing device drivers (driverTools.sh)” on page 78v “Modifying logging related files (loggerAdmin.sh)” on page 80

ITNCM - Base application utilitiesUse the supplied ITNCM - Base application utilities to perform a broad range ofsystem administration tasks, including changing super user and databasepasswords and encrypting passwords.

82 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 101: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

About ITNCM - Compliance database utilitiesThe ITNCM - Compliance application provides the dbExport and dbImport utilitiesused to perform system administration tasks associated with the database.

The icosadmin utilityThe icosadmin utility performs such tasks as changing super user and databasepasswords.

The icosadmin utility uses the following syntax:

./icosadmin admin_task admin_task_options

Where:v ./icosadmin — Invokes the icosadmin utility.v admin_task — Specifies the keyword associated with a system administration

task. The following table maps the keyword to its associated task:

icosadmin Keyword Description

ChangeSuPassword Changes the ITNCM - Base super userpassword.

ChangeDbPassword Changes the Oracle or DB2 databasepassword.

LoggerAdmin Modifies logging-related files.

v admin_task_options — Specifies the options associated with the keyword specifiedin admin_task.

Note: ITNCM - Base should be restarted after the execution of the icosadminutility with any of these keywords.

Changing the super user password (ChangeSuPassword)To change the ITNCM - Base application super user password, specify theChangeSuPassword keyword when executing the icosadmin utility.

Syntax./icosadmin ChangeSuPassword ITNCM username Current Superuser passwordITNCM Server ITNCM Port New Superuser password

Parameters

ChangeSuPasswordSpecifies the keyword that instructs the icosadmin utility to change the ITNCM- Base super user password.

ITNCM usernameSpecifies the name of the ITNCM - Base user whose associated super passwordis to be changed.

Current Superuser passwordSpecifies the current super user password that is to be changed.

ITNCM ServerSpecifies the name of the server on which ITNCM - Base is running.

ITNCM PortSpecifies the port number.

Chapter 7. Scripts 83

Page 102: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

New Superuser passwordSpecifies the new super user password to be associated with the user specifiedin ITNCM username.

Changing the database password (ChangeDbPassword)To change the password on the Oracle database, specify the ChangeDbPasswordkeyword when executing the icosadmin utility. The icosadmin utility, whenspecified with the ChangeDbPassword keyword, changes the Oracle databasepassword only when ITNCM - Base tries to log into the database.

Syntax./icosadmin ChangeDbPassword Database username Current database passwordNew database password

Parameters

ChangeDbPasswordSpecifies the keyword that instructs the icosadmin utility to change the Oracledatabase password.

Database usernameSpecifies the name of the Oracle database user whose associated password is tobe changed.

Current database passwordSpecifies the current Oracle database password that is to be changed.

New database passwordSpecifies the new Oracle database password to be associated with the userspecified in Database username.

Modifying logging-related files (LoggerAdmin)To modify logging-related files, specify the LoggerAdmin keyword when executingthe icosadmin utility.

Syntax./icosadmin LoggerAdmin log-level [port]refresh off classname on classnamemaxline x maxsize x status

Parameters

LoggerAdminSpecifies the keyword that instructs the icosadmin utility to modifylogging-related files.

log-levelSpecifies one of the following log levels. The log levels are provided in orderof increasing detail.v FATALv ERRORv WARNv INFOv DEBUG

Note: ITNCM - Base does not need to be restarted for these changes to takeeffect.

84 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 103: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

portSpecifies the port number. This is an optional parameter

Populating the database with generalized resources(ResourceUtility)

To populate the database with generalized resources created by users, execute theResourceUtility utility. The ResourceUtility loads these generalized resources(based on the parameters that you provide) from the local file system into theITNCM - Base database.

Syntaxjava -Xmx128m com.intelliden.icos.api.tools.ResourceUtility {required parameters}[optional parameters]

Parameters

-server*Specify the name or IP address of the ITNCM - Base server to which you areconnecting.

-port*Specify the port number to use. The default port number for the ITNCM - Baseserver is 80, but this can be changed at installation time.

-l*Specify a valid ITNCM - Base username. This user must belong to a groupwith add rights to the realm in which you are adding the generalized resource,as well as add rights to resources in that realm.

-p*Specify the password associated with the ITNCM - Base username you areusing. This should be clear text.

-c*Specify the type of resource to add. Can be one of the following:v SecuritySetv Realmv CommandSetv NativeCommandSetv Authenticationv FileTransferv ResourceAccDocv OSRegistryv OSUpdatev SearchSetv Shortcut

-f*Specify the path and file name of the XML file containing the generalizedresource information.

-r*Specify the realm in which to put the new resource.

Chapter 7. Scripts 85

Page 104: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

-n*Specify the resource name. This will be the name that is displayed in thedrop-down lists within the user interface.

-vtmos*Specify the VTMOS that this generalized resource controls. Use the followingformat:

Vendor/Type/Model/OS

No validation is performed, so be sure you enter the VTMOS correctly.

--helpProvides usage information about the ResourceUtility.

The icosutil utilityThe icosutil utility performs such tasks as encrypting passwords and importingquantities of network resources into the database.

The icosutil utility uses the following syntax:

./icosutil admin_task admin_task_options

Where:v ./icosutil — Invokes the icosutil utility.v admin_task — Specifies the keyword associated with a system administration

task. The following table maps the keyword to its associated task:

icosutil Keyword Description

Encrypt Encrypts the specified password.

IDTArchive Archives IDT session logs from ITNCM -Base network resources.

ConfigHousekeeping Deletes versioned configuration informationfrom the database.

WorkHousekeeping Deletes completed UOWs from the database.

Archive Archives the UOW.

ArchiveRestore Reverses the archive process by restoringUOW and UOW logs from the specifiedarchive.

ArciveDelete Clears the archive.

BulkLoader Imports quantities of network resources intothe database.

CmdSetMigration Used to update Command Sets whose driveris now out of date.

v admin_task_options — Specifies the options associated with the keyword specifiedin admin_task.

86 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 105: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Encrypting a password (Encrypt):

To encrypt a specified ITNCM - Base password, specify the Encrypt keyword whenexecuting the icosutil utility.

Syntax./icosutil Encrypt -u password

Parameters

EncryptSpecifies the keyword that instructs the icosutil utility to encrypt thepassword specified in the password parameter.

-u Specifies a required option when using the Encrypt keyword.

passwordSpecifies the password to be encrypted.

Sample

The following example specifies a sample password called password:./icosutil Encrypt -u password

The icosutil utility would return the following:Encrypted string is f4b37ba1e629

Importing network resources into the database (BulkLoader):

To import network resources into the database, use the BulkLoader utility. Youexecute the BulkLoader utility by specifying the BulkLoader keyword whenexecuting the icosutil utility.

BulkLoader utility overview

The BulkLoader utility populates the database with a set of resources, so thatnormal configuration management tasks can begin in ITNCM - Base.

The BulkLoader utility reads a CSV file that contains a list of network resources toimport. It then uses the API to create placeholders for each resource and importsthe current configuration of each. See the ITNCM API Guide for information abouthow the API creates resources and imports configurations.

Note: When using the BulkLoader and SSH, the Resource Access Document (RAD)needs to be predefined at the realm level.

Note: Use the BulkLoader utility only when ITNCM - Base is stand alone. Do notuse the BulkLoader utility when integrated with ITNM.

Update Sequence

When invoked, the BulkLoader utility selects a record from the specified CSV fileand reads the database, matches on the host name and VTMOS, and if found,updates the access method(s). If the host name is not found in the database, theBulkLoader utility attempts to match on realm. If the realm is not found it isadded, only if the -cr parameter is specified. Next the BulkLoader utility adds theresource to the database and then attempts to import the resource.

Chapter 7. Scripts 87

Page 106: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

The significance of this sequence (update if present and add if not present) meansyou can use the BulkLoader utility to make security access changes to multipledevices that are already present in the database.

Data file formatting rules

The accepted format for the file is CSV, in which each row provides resourceinformation. The data file imported by the BulkLoader utility must comply withthe following format:NCMrealm,10.219.1.34,Cisco,Router,26*,12.2-*,"telnet,none,true,testuser1,password1,enable1,none,23","ssh,sshtype1,true,testuser1,password1,enable1,2600e,22"NCMrealm,10.219.1.35,Cisco,Router,26*,12.2-*,"telnet,none,true,testuser2,password2,enable2,none,23","ssh,sshtype2,true,testuser2,password2,enable2,2600d,22"NCMrealm,10.219.1.36,Cisco,Router,26*,12.2-*,"telnet,none,true,testuser3,password3,enable3,none,23","ssh,sshtype3,true,testuser3,password3,enable3,2600c,22"

To import multiple network devices the 'range' keyword must be used. In thefollowing example all host names between 10.219.34.1 and 10.219.34.21 arespecified:NCMrealm,range:10.219.34.1-10.219.34.21,Cisco,Router,26*,12.2-*,"telnet,none,true,testuser,password,enable,none,23","ssh,sshtype,true,testuser,password,enable,2600e,22"

Or alternatively, the range can be specified using a subnet suffix:NCMrealm,range:10.219.34.1/24,Cisco,Router,26*,12.2-*,"telnet,none,true,testuser,password,enable,none,23","ssh,sshtype,true,testuser,password,enable,2600e,22"

It is critical that the VTMOS be properly defined for the BulkLoader entry to matchthe support list for that device. Otherwise, you will invoke autodiscovery and nodevice-level RAD will be created. The following list provides the rules forspecifying VTMOS:v If a specific device is given you must have values for VTMOS.v If a range of IP addresses is used you can use an ’*’ to specify VTMOS.

The following list provides the rules for access data:v The date file for the import must follow the format specified.v Optional: If the access type is not specified, the default access type is used.v No access type specification is required for importing with a range of IP

addresses.

Note: The field in the RAD socketConnectTimeout provides the connect timeout inmilliseconds. This is used to control the socket connection timeout forAuto-Discovery.

CSV file description

ITNCM - Base supports fallback methods to communicate with each resource, aswell as different user names and passwords on a per resource basis. All remainingdata in this table are optional.

If login credentials are not included for a particular device, the BulkLoader utilitywill use authentication or RAD objects already present. The utility will also defaultto using telnet as the communication protocol with no fallback access method.

88 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 107: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

ITNCM - Base provides three access methods: TELNET, SSH, and alt-telnet orconsole. The order of the attempts is defined on a left to right basis within the datafile.

The following table describes the information that must be contained within theCSV file:

Column Description

realm Specifies the location where the resource willreside in the database. The realm is definedby creating a path name that would existunder the main realm that was createdduring the ITNCM - Base installationprocess. This is a required field.

host name Specifies the name of the resource beingimported. This name must be resolved by aDNS server or it must be logged in the hostfile for the server. ITNCM - Base will use thehost name for device communication. This isa required field.

vendor Specifies the vendor name for the resource.This is a required field.

Note: For the VTMOS fields, the systemvalidates that you have provided supportedvalues, but you still must be sure that thevalues are accurate for the resource you areimporting.

type Specifies the type of resource (router, switch,or firewall). This is a required field.

model Specifies the model number of the resource.This is a required field.

OS Specifies the version of OS running on theresource. This is a required field.

access-type Specifies a title for the access method; it isjust a descriptor placed in the access scriptthat is defined for the resource. If theaccess-type defined in the data file is not thesame as the default access script, theresource will use the new method.

ssh-type Specifies a flag that determines the methodused to access the resource. Select one of thefollowing options:

v none — Uses TELNET.

v ssh1 — Uses the des cipher, which isacceptable for CISCO resources.

v ssh2 — Uses blowfish cipher, which isacceptable for Juniper resources.

streaming Specifies a flag that indicates whetherstreaming data will be used. Select one ofthe following options:

v True — Streaming data will be used.

v False — ftp and/or tftp will be used.

Chapter 7. Scripts 89

Page 108: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Column Description

username Specifies the username that will be used tolog onto the resource. This username needsto belong to a group with appropriateprivileges to modify the resource.

password Specifies the password associated with theusername from the previous column.

enable password Used for resources to allow modifications tothe resource.

alt-hostname Specifies an optional parameter that is usedfor access to the device through a consoleserver.

port Specifies the port that will be used tocommunicate with the resource.

Each column must be separated by a comma. Values can be enclosed in single ordouble quotes. All values that are not quoted must be composed of letters (loweror uppercase), numbers, dollar signs ($), periods (.), parentheses, dashes (-), andunderlines (_). Comment lines begin with a # (pound sign).

The text file may use any other characters, but the entire value that includes thenon-supported character must be enclosed in single or double quotes.

The last eight security access information values (starting with com-type) may berepeated, which is indicated by the double quote marks in the header row. Beingrepeatable means that access information for both SSH and telnet can be enteredwithin the same record.

If a value does not exist for one of the fields, make sure to use a space between thecommas. When viewed in a spreadsheet, each set of eight repeating values willoccupy a single cell, as shown in the following example:com-type,ssh-type,streaming,username,password,enable-password,alt-hostname,porttelnet,none,true,go,go,go, ,23telnet,none,true,go,go,go, ,23telnet,none,true,go,go,go, ,23telnet,none,true,go,go,go, ,23telnet,none,true,go,go,go, ,23telnet,none,true,go,go,go, ,23

Client setup

To run the BulkLoader utility from a client machine, the client setup procedures asdescribed in the ITNCM Installation Guide must be performed for the operatingsystem that is running on the client machine.

Syntaxicosutil BulkLoader {required parameters) (optional parameters}

Parameters

BulkLoaderSpecifies the keyword that instructs the icosutil utility to run the BulkLoaderutility.

-u Specifies a required option when using the Encrypt keyword.

90 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 109: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

required parametersSpecifies one of the following required parameters:

Required parameter Description

-l Specifies a valid username.

-p Specifies the password associated with theusername being used. This should be cleartext.

-f Specifies the path and file name of the datafile containing the list of resources to import.

optional parametersSpecifies one of the following optional parameters:

Required parameter Description

-server Specifies the hostname or IP address of theITNCM - Base server to which you areconnecting.

-cu[realm] Specifies a command that enables networkresources to be created where the VTMOS =unknown/unknown/unknown/unknown.This is in the event that the import fails. Bydefault it will create the network resource inthe realm specified in the CSV for theimport. If a realm is specified, the unknownNetwork Resource will instead be created inthe realm.

-port Specifies the port number to use. 7001 is thedefault port for the ITNCM - Base server,but this can be changed at installation time.This user must belong to a group with addrights to the realm in which you are addingthe resources, as well as add rights toresources in that realm.

-cr Specifies that you want to create the realm ifthe realm you are importing to does notalready exist.

-poll Specifies import status polling

–help Specifies usage information about theBulkLoader utility.

-update Updates the existing RAD.

Sample

The following example specifies a sample command line for the BulkLoader utility:icosutil BulkLoader -server 1.2.3.4 -port 80 -l name -p pwd -f /home/icosuser/list.csv -cr

The icosutil utility would return the following:

Chapter 7. Scripts 91

Page 110: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Auto discovery

The BulkLoader utility provides an autodiscovery function that loads devices evenwhen you are not entirely sure what is on your network. The utility “discovers”the Vendor, Type, Model, and Operating System (VTMOS) of each host and loads itinto ITNCM - Base.

The following example shows how to use the autodiscovery function that theBulkLoader utility provides:

A B C D E F G H

1 #Realm Hostname Vendor Type Model OS Access Method 1(optional)

Access Method 2(optional)

2 IPX01-customer-A

sales_lab_2600-2

Cisco Router 26* *12.2* telnet,none,true,goo,go,go,none,23

telnet,none,true,cisco,cisco,cisco,none,23

3 IPX01-customer-A

sales_lab-7 Cisco Router 26* *12.2*

4 IPX04-customer-B

range:10.217.200.1/24

* * * *

5 IPX04-customer-B

range:10.219.34.10-10.219.34.20

* * * *

The following list describes the example:v Sales_lab_2600-2 will be imported as a Cisco/Router/26* regardless of its true

type. It uses custom primary and secondary access methods.v Sales_lab-7 will be discovered using standard authentication resource with

values for VTMOS. Primary and secondary access methods are not required.v The 10.217.200.1 subnet will be discovered using standard authentication

resource and VTMOS as ‘*'. Primary and secondary access methods are notrequired.

v Hosts 10.219.34.10 through 10.219.34.215 will be discovered using standardauthentication methods. The system will find the access method for each deviceit attempts to import.

Results of the BulkLoader utility

After you invoke the utility, the program parses the text input file you are passingin. If any syntax errors are found, the program will return the input line in whichthe error was found. It then continues processing the records from the data file.

The following example shows the results of a syntax error. In this case, the Vendorname is incorrect.Invalid Vendor, Type, Model or OS: 2600f/Cico/Router/26*/12.2-* - On line 3

If a realm name from the text file can&apos;t be found, that realm will be createdas long as you specified the -cr attribute when invoking the command. If the realmdoes no exist and you did not use the -cr option, the BulkLoader utility returns thefollowing error:Realm core/east not found skipping: 2600e/Cisco/Router/26*/12.2-* - On line 2

If the resource being imported already exists in the ITNCM - Base database, theresource is updated with the VTMOS information from the data file.

92 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 111: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Updating: 2600b/Cisco/Router/26*/12.2-* - On line 4

If the input file is in the correct format, a unit of work (UOW) consisting of animport is submitted for each line of the text file, meaning each resource isimported as a separate UOW. Each UOW will automatically begin processingunless approvals are required first. If approvals are required, you won&apos;t bereturned to the command prompt until after each UOW has been approved.

When finished, the utility shows a summary that includes the number of sucessfuland failed import submittals.Importing: 2600c/Cisco/Router/26*/12.2-* - On line 2Updating: 2600k/Cisco/Router/26*/12.2-* - On line 3Updating: 2600h/Cisco/Router/26*/12.2-* - On line 4Imported: 2600c/Cisco/Router/26*/12.2-* : Result - SUCCESS

Archiving IDT session logs (IDTArchive):

To archive IDT session logs from ITNCM - Base network resources, specify theIDTArchive keyword when executing the icosutil utility. This keyword executesthe IDTArchive utility with the options specified on the command line. One ofthese options is a properties file that allows you to specify the criteria to use whenarchiving IDT session logs.

Syntax./icosutil IDTArchive -f /opt/IBM/tivoli/netcool/ncm/config/properties/IDTSessionArchivingUtility.properties

Description

The IDTArchive utility archives IDT session logs from ITNCM - Base networkresources based on criteria specified in theIDTSessionArchivingUtility.properties file. By default, theIDTSessionArchivingUtility.properties file resides in the /opt/IBM/tivoli/netcool/ncm/config/properties directory.

The IDTArchive utility can retain or delete IDT session logs based on the followingcriteria:v firstNEntries

v lastNEntries

v startDate

v endDate

v startDateFromCurrentDateUnits

v startDateFromCurrentDateUnitOfTime

v endDateFromCurrentDateUnits

v endDateFromCurrentDateUnitOfTime

Examples of usage are available in the IDTArchive utility.

Upon completion, the IDTArchive utility creates an XML file and a text file in thedefault directory /opt/IBM/tivoli/netcool/ncm/bin. The IDTArchive utility usesthe following naming scheme:IDT_TIMESTAMP.xml

IDT_<TIMESTAMP>.txt

Chapter 7. Scripts 93

Page 112: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Where: TIMESTAMP specifies the date and time in which the IDTArchive utilitycreated the files.

Parameters

IDTArchiveSpecifies the keyword that instructs the icosutil utility to execute theIDTArchive utility. The IDTArchive utility proceeds to archive IDT session logsfrom ITNCM - Base network resources based on criteria specified in theIDTSessionArchivingUtility.properties file.

-f Specifies an option when using the IDTArchive keyword.

IDTSessionArchivingUtility.propertiesSpecifies the IDTSessionArchivingUtility.properties file that defines thecriteria that the IDTArchive utility uses to archive IDT session logs fromITNCM - Base network resources. TheIDTSessionArchivingUtility.properties file allows you to define thefollowing criteria:v Server hostnamev Port numberv Login credentials for the server on which IDT is installedv Configurable parameters to use when archiving IDT session logs

Multiple selection criteria may be used for determining which session logs tokeep or delete.

Deleting versioned configurations from the database (ConfigHousekeeping):

To delete versioned configurations from the database, specify theConfigHousekeeping keyword when executing the icosutil utility. This keywordexecutes the ConfigHousekeeping utility with the options specified on the commandline. One of these options is a properties file that allows you to specify whichversioned configurations to delete from the database.

Syntax./icosutil ConfigHousekeeping -f /opt/IBM/tivoli/netcool/ncm/config/properties/configurationHousekeepingUtility.properties

Description

The ConfigHousekeeping utility deletes versioned configurations from the databasebased on criteria specified in the configurationHousekeepingUtility.propertiesfile. By default, the configurationHousekeepingUtility.properties file resides inthe /opt/IBM/tivoli/netcool/ncm/config/properties directory.

The ConfigHousekeeping utility is used to manage filtered versions ofconfigurations, and does not work with configurations which are current or draft.When this option is executed, a text file is produced in the running directory.

The ConfigHousekeeping utility can retain or delete versioned configurations basedon the following criteria:v SelectedConfigurationAction

v lastNEntries

v endDateFromCurrentDateUnits

v endDateFromCurrentDateUnitsOfTime

94 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 113: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Upon completion, the ConfigHousekeeping utility creates a text file in the runningdirectory. The ConfigHousekeeping utility uses the following naming scheme:ConfigHouseKeeping_<TIMESTAMP>.txt

Where: TIMESTAMP specifies the date and time in which the ConfigHousekeepingutility created the files.

Parameters

ConfigHousekeepingSpecifies the keyword that instructs the icosutil utility to execute theConfigHousekeeping utility. The ConfigHousekeeping utility proceeds to deleteversioned configurations from the database based on criteria specified in theconfigurationHousekeepingUtility.properties file.

-f Specifies an option when using the ConfigHousekeeping keyword.

configurationHousekeepingUtility.propertiesSpecifies the configurationHousekeepingUtility.properties file that definesthe criteria that the ConfigHousekeeping utility uses to delete versionedconfigurations from the database.

Notes

As increasing numbers of network resources and configurations per resource areadded to ITNCM - Base, housekeeping duties become particularly important tofree up storage space and maximize run time performance. The following utilitiesperform these housekeeping duties:v ConfigHousekeeping — Deletes versioned configurations from the database.v WorkHousekeeping — Deletes completed UOWs from the database.

For more information, see “Deleting completed UOWs from the database(WorkHousekeeping)” on page 96.

v Archive — Archives the UOW.For more information, see “Archiving a UOW (Archive)” on page 99.

Note: In order to perform Housekeeping duties using the previously listedutilities, the user must belong to a group with the Housekeeping activity.

To delete a versioned configuration, the user must also have delete rights forcontents of the realm containing the configuration.

Using the ConfigHousekeeping utility

The ConfigHousekeeping utility can be run concurrently with other units of work.Other UOW types will not encounter work conflict warnings, or device alreadylocked errors. This is because the config housekeeping process is runningsimultaneously.

Follow these steps to delete versioned configurations from the database:1. Edit the sample configurationHousekeepingUtility.properties file distributed

with the ITNCM - Base software. This sample properties file demonstrates howthe ConfigHousekeeping utility works, and comes complete with examples. TheconfigurationHousekeepingUtility.properties file can be configured to runwith your system.

2. Run the ConfigHousekeeping utility using the following command:

Chapter 7. Scripts 95

Page 114: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

./icosutil ConfigHousekeeping -f /opt/IBM/tivoli/netcool/ncm/config/properties/configurationHousekeepingUtility.properties [-Xms] [-Xmx]

Where:v -Xms — Sets the minimum size of the memory allocation pool (minimum

heap size). Set this value to a multiple of 1024 that is greater than 1 MB. As ageneral rule, set minimum heap size (-Xms) equal to the maximum heap size(-Xmx).

v -Xmx — Sets the maximum Java heap size. Set this value to a multiple of 1024that is greater than 1 MB.

3. Depending on whether the utility is being run with the Report-Only flag set totrue or false, the utility will generate a list of the configurations to be deleted,or it actually removes the selected configurations. Either way, the report isgenerated.

4. Review the report produced to verify that all expected configurations weredeleted.

Results

A ReportOnly option is available in theconfigurationHousekeepingUtility.properties file. If running with theReportOnly option set to False, all versioned configurations that meet the selectioncriteria will be deleted completely from the database, Queue Manager, Resourcestab, and the Reports tab.

If a configuration selected for deletion cannot be deleted due to insufficientsecurity rights, the utility will cease to run. The utility can only work if the userhas housekeeping privileges.

If running with the ReportOnly option set to True, a report will be generated thatshows the number of configurations that will be deleted.

This flag specifies whether or not the utility is being executed in ReportOnly mode.If the value is true, the configuration housekeeping utility report will show howmany configurations would have been deleted based upon the criteria, but theconfigs will not actually be deleted (this is useful for testing new criteria settings).If the value is false, the report is generated and the configs are permanentlydeleted from ITNCM - Base. The ReportOnly default value is true.

Deleting completed UOWs from the database (WorkHousekeeping):

To delete completed UOWs from the database, specify the WorkHousekeepingkeyword when executing the icosutil utility. This keyword executes theWorkHousekeeping utility with the options specified on the command line. One ofthese options is a properties file that allows you to specify which completed UOWsto delete from the database.

Syntax./icosutil WorkHousekeeping -f /opt/IBM/tivoli/netcool/ncm/config/properties/workHousekeepingUtility.properties

96 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 115: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Description

The WorkHousekeeping utility deletes completed UOWs from the database based oncriteria specified in the workHousekeepingUtility.properties file. By default, theworkHousekeepingUtility.properties file resides in the /opt/IBM/tivoli/netcool/ncm/config/properties directory.

For each UOW that is deleted, the WorkHousekeeping utility also deletes thecorresponding native command files stored on the server. When this option isexecuted, a text file is produced in the running directory.

The WorkHousekeeping utility can retain or delete completed UOWs based on thefollowing criteria:v firstNEntries

v lastNEntries

v startdate

v enddate

Upon completion, the WorkHousekeeping utility creates a text file in the runningdirectory. The WorkHousekeeping utility uses the following naming scheme:WorkHouseKeeping_<TIMESTAMP>.txt

Where: TIMESTAMP specifies the date and time in which the WorkHousekeepingutility created the files.

Parameters

WorkHousekeepingSpecifies the keyword that instructs the icosutil utility to execute theWorkHousekeeping utility. The WorkHousekeeping utility proceeds to deletecompleted UOWs from the database based on criteria specified in theworkHousekeepingUtility.properties file.

-f Specifies an option when using the WorkHousekeeping keyword.

workHousekeepingUtility.propertiesSpecifies the workHousekeepingUtility.properties file that defines the criteriathat the WorkHousekeeping utility uses to delete completed UOWs from thedatabase.

Notes

As increasing numbers of network resources and configurations per resource areadded to ITNCM - Base, housekeeping duties become particularly important tofree up storage space and maximize run time performance. The following utilitiesperform these housekeeping duties:v ConfigHousekeeping — Deletes versioned configurations from the database.

For more information, see “Deleting versioned configurations from the database(ConfigHousekeeping)” on page 94.

v WorkHousekeeping — Deletes completed UOWs from the database.v Archive — Archives the UOW.

For more information, see “Archiving a UOW (Archive)” on page 99.

Chapter 7. Scripts 97

Page 116: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Note: In order to perform Housekeeping duties using the previously listedutilities, the user must belong to a group with the appropriate Housekeepingactivity.

Table 5. Group activity required per housekeeping task

Housekeeping task Group activity required

Configurations Housekeeping

UOW Housekeeping and View All Work

UOW Archiving Manage Archive

IDT Archiving IDT Administration

Using the WorkHousekeeping utility

The WorkHousekeeping utility can be run concurrently with other units of work.Other UOW types will not encounter work conflict warnings, or device alreadylocked errors. This is because the config housekeeping process is runningsimultaneously.

Follow these steps to delete versioned configurations from the database:1. Edit the sample workHousekeepingUtility.properties file distributed with the

ITNCM - Base software. This sample properties file demonstrates how theWorkHousekeeping utility works, and comes complete with examples. TheworkHousekeepingUtility.properties file can be configured to run with yoursystem.

2. Run the WorkHousekeeping utility using the following command:./icosutil WorkHousekeeping -f /opt/IBM/tivoli/netcool/ncm/config/properties/workHousekeepingUtility.properties [-Xms] [-Xmx]

Where:v -Xms — Sets the minimum size of the memory allocation pool (minimum

heap size). Set this value to a multiple of 1024 that is greater than 1 MB. As ageneral rule, set minimum heap size (-Xms) equal to the maximum heap size(-Xmx).

v -Xmx — Sets the maximum Java heap size. Set this value to a multiple of 1024that is greater than 1 MB.

3. Depending on whether the utility is being run with the Report-Only flag set totrue or false, the utility will generate a list of the UOWs to be deleted, or itactually removes the selected UOWs. Either way, the report is generated.

4. Review the report produced to verify that all expected UOWs were deleted.

Results

A ReportOnly option is available in the workHousekeepingUtility.properties file.If running with the ReportOnly option set to False, all completed UOWs that meetthe selection criteria will be deleted completely from the database, Queue Manager,Resources tab, and the Reports tab.

If a UOW selected for deletion cannot be deleted due to insufficient security rights,the utility will cease to run. The utility can only work if the user has housekeepingprivileges.

If running with the ReportOnly option set to True, a report will be generated thatshows the number of completed UOWs that will be deleted.

98 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 117: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

This flag specifies whether or not the utility is being executed in ReportOnly mode.If the value is true, the work housekeeping utility report will show how manyUOWs would have been deleted based upon the criteria, but the UOWs will notactually be deleted (this is useful for testing new criteria settings). If the value isfalse, the report is generated and the UOWs are permanently deleted from ITNCM- Base. The ReportOnly default value is true.

Archiving a UOW (Archive)To archive a UOW, specify the Archive keyword when executing the icosutilutility. This keyword executes the Archive utility with the options specified on thecommand line. One of these options is a properties file that allows you to specifywhich UOWs to archive.

Syntax./icosutil Archive -f /opt/IBM/tivoli/netcool/ncm/config/properties/workArchivingUtility.properties

Description

The Archive utility archives UOWs from ITNCM - Base, based on criteria specifiedin the workArchivingUtility.properties file. By default, theworkArchivingUtility.properties file resides in the /opt/IBM/tivoli/netcool/ncm/config/properties directory.

The Archive utility can archive UOWs based on the following criteria:v firstNEntries

v lastNEntries

v startdate

v enddate

Note: The Archive utility does not delete the UOWs.

Upon completion, the Archive utility creates an XML file and a text file in therunning directory. This XML file is used for restoring the archive. The XML file isan XML representation of the UOW table and related tables, and is used in archiverestore if required to enter the data in again.

The text file produced is a report that lists total number of UOW archived and theoriginal criteria for archiving.

Parameters

ArchiveSpecifies the keyword that instructs the icosutil utility to execute the Archiveutility. The Archive utility proceeds to archive UOWs based on criteriaspecified in the workArchivingUtility.properties file.

-f Specifies an option when using the Archive keyword.

workArchivingUtility.propertiesSpecifies the workArchivingUtility.properties file that defines the criteria thatthe Archive utility uses to archive UOWs from ITNCM - Base networkresources.

Chapter 7. Scripts 99

Page 118: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Notes

As increasing numbers of network resources and configurations per resource areadded to ITNCM - Base, housekeeping duties become particularly important tofree up storage space and maximize run time performance. The following utilitiesperform these housekeeping duties:v ConfigHousekeeping — Deletes versioned configurations from the database.

For more information, see “Deleting versioned configurations from the database(ConfigHousekeeping)” on page 94.

v WorkHousekeeping — Deletes completed UOWs from the database.For more information, see “Deleting completed UOWs from the database(WorkHousekeeping)” on page 96.

v Archive — Archives the UOW.

Note: In order to perform Housekeeping duties using the previously listedutilities, the user must belong to a group with the Housekeeping activity.

To delete a versioned configuration, the user must also have delete rights forcontents of the realm containing the configuration.

Restore a UOW from an archive (Restore)To restore a UOW from an archive, specify the Restore keyword when executingthe icosutil utility. This keyword executes the Restore utility with the optionsspecified on the command line. One of these options is a properties file that allowsyou to specify which UOWs to restore from an archive.

Syntax./icosutil Restore -f /opt/IBM/tivoli/netcool/ncm/config/properties/workArchivingUtility.properties -archiveName xmlfilename

Description

The Restore utility restores the specified UOW and UOW logs from an archive.The Restore utility pulls the required information from the XML file specified inxmlfilename and restores the UOW based on criteria specified in theworkArchivingUtility.properties file. By default, theworkArchivingUtility.properties file resides in the /opt/IBM/tivoli/netcool/ncm/config/properties directory.

Parameters

RestoreSpecifies the keyword that instructs the icosutil utility to execute the Restoreutility. The Restore utility proceeds to restore the specified UOWs based oncriteria specified in the workArchivingUtility.properties file.

-f Specifies an option when using the Restore keyword.

workArchivingUtility.propertiesSpecifies the workArchivingUtility.properties file that defines the criteria thatthe Restore utility uses to restore UOWs from an archive.

-archiveNameSpecifies the name of the archive that contains the UOW that you want torestore.

100 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 119: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

xmlfilenameSpecifies the name of the XML file that the Restore utility uses to pull therequired information.

Clearing an archive (ArchiveDelete)To clear an archive, specify the ArchiveDelete keyword when executing theicosutil utility. This keyword executes the ArchiveDelete utility.

Command Set Migration (CmdSetMigration)To update Command Sets whose driver is now out of date, use theCmdSetMigration utility. You execute the CmdSetMigration utility by specifying theCmdSetMigration keyword when executing the icosutil utility. This keywordexecutes the CmdSetMigration utility with the options specified on the commandline.

Syntax./icosutil CmdSetMigration -f /opt/IBM/tivoli/netcool/ncm/config/properties/cmdSetMigration.properties

Description

The CmdSetMigration utility update Command Sets whose driver is now out ofdate, based on criteria specified in the cmdSetMigration.properties file. By default,the cmdSetMigration.properties file resides in the /opt/IBM/tivoli/netcool/ncm/config/properties directory.

The Command Set Migration tool should be used after the Drivers are updated.The tool checks for Command Sets created with a driver that has since beenupdated, and verifies that the Command Set is still valid to use with the latestdriver schema. It validates the Command Set XML against the latest schema. If theCommand Set XML is no longer valid then the problematic nodes will be reportedon the command line, and that Command Set will be marked as Incompatible inthe GUI. Command Sets marked this way will need to be recreated. If theCommand Set XML is still valid then the tool migrates the Command Set to usethe latest version of the driver/schema when being opened or edited in the future.

The CmdSetMigration utility can update Command Sets based on the followingcriteria:v realm

v subrealmsFlag

v realmCmdSetnameFilter

v realmVendorFilter

v realmTypeFilter

v realmModelFilter

v realmOsFilter

v reportOnlyFlag

v performOldSchemaComparisons

Parameters

CmdSetMigrationSpecifies the keyword that instructs the icosutil utility to execute the

Chapter 7. Scripts 101

Page 120: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

CmdSetMigration utility. The CmdSetMigration utility proceeds to updateCommand Sets based on criteria specified in the cmdSetMigration.propertiesfile.

-f Specifies a file option when using the CmdSetMigration keyword.

cmdSetMigration.propertiesSpecifies the cmdSetMigration.properties file that defines the criteria that theCmdSetMigration utility uses to update Command Sets whose driver is out ofdate.

cmdSetMigration.properties can be updated to run against Command Sets in aparticular realm, those with a particular VTMOS, or a Command Set with aspecific name. The performOldSchemaComparisonsflag in this file can be used tocheck for nodes whose descriptions have changed. If the user does not want thisscenario to fail the validation of the Command Set then leave this flag set to false.

Below are two examples of errors you may encounter when running the tool:

1.ERROR: Xpath "configuration||interfaces||interface_20sp-||unit||service-domain||inside" not found in schema

This means that this node no longer exists in the new schema. The node may havebeen renamed, moved, or removed completely from the new schema.

2.ERROR: Invalid value "64000" found for element at xpath "configuration||logging||buffered||ARG.002" with description "0-7 - Logging severity level"

This means the value in this node is no longer valid in the new schema, newvalidation may have been added or the existing validation may have been changed

Some users may find some of their Command Sets are very large and cause thetool to run out of memory, if this is the case then the memory can be increased forthe tool by editing: /opt/IBM/tivoli/netcool/ncm/bin/icosutil and changingMAXHEAP to a larger value, e.g.: Change MAXHEAP=-Xmx1024m to MAXHEAP=-Xmx1750m.

ITNCM-Compliance application scriptsThe ITNCM-Compliance application provides scripts used in systemadministration tasks.

Purpose

The ITNCM-Compliance application scripts provide the user with the ability toundertake a broad range of roles. The scripts are configurable, and thereforeprovide the user with flexibility. The utils directory can be found using thefollowing path:

/opt/IBM/tivoli/netcool/ncm/compliance/bin/utils

Note: Restart the ITNCM-Compliance Server if the system date or time is changed,as this may affect the execution of scheduled processes.

102 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 121: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Parameters

The following table provides the information about the compliance scripts thatreside in the utils directory. Specifically, the table provides the following:v Script namev Description of the script

Script name Description

createAutoStart.sh Automatically restarts theITNCM-Compliance application in the eventthat the server is rebooted.

dbExport.sh Extracts entire tables from the database.

dbImport.sh Imports XML dataset into the databasespecified in the Database Properties file.

deviceSchemaLoader.sh Loads device content intoITNCM-Compliance.

houseKeeping.sh Deletes old, unwanted process results

intellidenRmUser.sh Resets the ITNCM-Compliance System usersand passwords. You will need to supply theadministrator alias, the administrator username and the administrator password.

logcleaner.sh Used to perform house keeping operationson logs. Depending on the parameterspassed, logs may be compressed or deleted.

policyExport.sh Extracts all Policy data from the database.

policyImport.sh Imports all previously exported Policy databack into the database.

RefreshSecurityTables.sh Synchronizes security privileges fromITNCM - Base into ITNCM-Compliance.

setDebug.sh Sets the level of debug information. Thethree levels are normal, fine, and off. Thedefault is off.

updateModelledDefinitions.sh Updates Modelled Definitions that weredefined using the incorrect VTMOScombination.

upgradeDB.sh Upgrades database schema.

ITNCM - Compliance application utilitiesUse the supplied ITNCM - Compliance application database utilities to import andexport policies to and from the ITNCM - Compliance database. Use the suppliedITNCM - Compliance application policy utilities to import and export policies toand from the ITNCM - Compliance database.

About ITNCM - Compliance database utilitiesThe ITNCM - Compliance application provides the dbExport and dbImport utilitiesused to perform system administration tasks associated with the database.

Chapter 7. Scripts 103

Page 122: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

dbExportThe dbExport utility extracts all policies from the database.

Purpose

The dbExport utility extracts all policies from the database, and places the extracteddata in flat XML files. The utility creates only one XML file for each table extractedfrom the database.

Syntax

To invoke the dbExport utility, use the following syntax:

./dbExport

Tables exported

By default, the dbExport utility extracts the following tables from the database:v POLICYv POLICYTOALARMACTIONv POLICYTOEMAILACTIONv POLICYTORULEv RULEv RULEBLOBv RULETODEFINITIONv RULETOCOMMANDSETACTIONv DEFINITIONv EVALUATIONv COMMANDSETACTIONv EMAILACTIONv ALARMACTIONv GLOBALPARAMETERv EXTRACTIONv PARAMETER-GROUPv PARAMETERGROUPVALUE

Output

The dbExport utility creates exported XML files in the install directory, and can befound using the following path:$(INSTALL_HOME)/db/export/tables/<tablename>.xml

Where <tablename> specifies the name of the extracted database table.

104 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 123: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

dbImportThe dbImport utility imports policies into the database.

Purpose

The dbImport utility imports policies into the database. The utility creates the XMLdata sets as a result of previously running the dbExport utility.

The data that the dbImport utility imports must be placed in the following installdirectory:$(INSTALL_HOME)/db/export/tables

This is the same location where the dbExport utility creates the exported XML files.

Syntax

To invoke the dbImport utility, use the following syntax:

./dbImport

Tables exported

By default, the dbImport utility imports the following tables into the database:v POLICYv POLICYTOALARMACTIONv POLICYTOEMAILACTIONv POLICYTORULEv RULEv RULEBLOBv RULETODEFINITIONv RULETOCOMMANDSETACTIONv DEFINITIONv EVALUATIONv COMMANDSETACTIONv EMAILACTIONv ALARMACTIONv GLOBALPARAMETERv EXTRACTIONv PARAMETER-GROUPv PARAMETERGROUPVALUE

Output

The dbImport utility imports the data sets to the database tables as specified.

Security on imports

The imported tables are automatically created in the realm listing under the RealmAccess Control Tab in Compliance Security Administration. By default, there is norealm security. Users do not have the ability to view realms. To enable view accessand execution of the imported policies within the realms, security permissions

Chapter 7. Scripts 105

Page 124: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

must be applied. For further information on applying security in RealmManagement, see the ITNCM User Guide.

About ITNCM - Compliance application policy utilities

The ITNCM - Compliance application provides policy import and export utilities.Use these utilities to import the data of a previously exported policy back into thedatabase or extract a single policy from the database.

policyExportThe policyExport utility extracts a single policy from the database.

Purpose

The policyExport utility requests the Policy name and Revision number touniquely identify a Policy. The utility uses this information as parameters in theextraction process. This process entails the export of all data associated with aPolicy, including rules, definitions, actions, and evaluations.

Syntax

To invoke the policyExport utility, use the following syntax:

./policyExport <policy name> <Revision number>

The following example demonstrates how this syntax is specified:./policyExport newPolicy 1

Output

Exported data sets are created in the install directory, at the following path:$(INSTALL_HOME)/db/export/policies

The policyExport utility creates one XML file for each policy extraction. Thefollowing shows the syntax for the name of a policy extraction XML file: in theinstall directory, and can be found using the following path:Policy_<policyname>-<policyrevision>.xml

Where <policyname> specifies the name of and <policyrevision> specifies the revisionof the extracted policy. For example: Policy_newPolicy-1.xml.

policyImportThe policyImport utility imports the data of a previously exported Policy back intothe database.

Purpose

The policyImport utility reads in the filename of a previously exported Policydataset as the parameter, and imports the data contained therein to the specifieddatabase. The XML extensions should not be specified when runningthepolicyImport utility.

If there are spaces in the policy name, the policy name must be enclosed in quoteson the command line. The following examples show a policy name with no spaceand a policy name with spaces:

106 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 125: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

/policyImport.sh "PolicyNameWithNoSpace"

/policyImport.sh "PolicyName WithSpace"

Note: The policyImport utility overwrites policies already existing in theITNCM-Compliance database with the same name as the policy that is beingimported.

Note: If the user imports the table data as any user other than the one whoexported the data, the user will see the following error message:

When importing policy_db.dmp:

Warning: the objects were exported by user, not by you.

Import terminated successfully without warnings.

When importing policyresult_db.dmp:

Warning: the objects were exported by user, not by you.

Import terminated unsuccessfully. The customer should ignore these messages.

Syntax

Consider that the following data set exists:$(INSTALL_HOME)/db/export/policies/Policy_approval-1.xml

The extensions for the data set should not be specified. Thus, to invoke thepolicyImport utility for the previous example, use the following syntax:

./policyImport Policy_approval-1

Output

The policyImport utility imports the data sets to the database tables as specified.

Security on imports

The imported tables are automatically created in the realm listing under the RealmAccess Control Tab in Compliance Security Administration. By default, there is norealm security. Users do not have the ability to view realms. To enable view accessand execution of the imported policies within the realms, security permissionsmust be applied. For further information on applying security in RealmManagement, see the ITNCM User Guide.

Chapter 7. Scripts 107

Page 126: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

108 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 127: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Chapter 8. Security

Use this information about Netcool Configuration Manager to understand systemsecurity.

TACACS+ authenticationITNCM - Base has an external authentication capability to pass the username andpassword supplied at login GUI (or through the API) to an external custom classfor authentication. The external authentication mechanism used is TACACS+.

TACACS+ is a remote authentication protocol, which allows a remote access serverto communicate with an authentication server to validate user access onto thenetwork. TACACS+ allows a client to accept a username and password, and pass aquery to a TACACS+ authentication server. Login to ITNCM - Base isauthenticated using the TACACS+ server instead of authentication locally.

There are significant benefits to be achieved from the implementation of externalauthentication:v Improved Security — login authentication is more secure, as the ITNCM - Base

user passwords are not held on a local database, instead it is managed andstored on a remote machine.

v Central Storage of Passwords — leverage existing password checkinginfrastructure. No need to duplicate account.

v Password Ageing — TACACS+ caters for password ageing, and notifies the userwhen the account has expired, and when it is about to expire.

Configuring the TACACS serverThe TACACS server must first be configured on a different machine than theserver running ITNCM - Base.

When a new user is created, or an existing user modified, there is an option toselect "Remote User" within the user details. The Remote user checkbox whenchecked, describes the ability to use TACACS authentication to login for thatparticular user. When checked, both the Password and Validate Password fields aredisabled, as this information must be configured within TACACS. The New UserScreen has the following fields:v *User Name:v Remote User:v *Passwordv *Validate Password:v First Name:v Middle Initial:v *Last Name:v *E-mail:v Telephone #:v Identification:

© Copyright IBM Corp. 2010, 2014 109

Page 128: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Note: If the remote user option is left unticked, the password and validatepasswords must be completed and the user will be saved locally.

Error messagesThere are error messages associated with TACACS+ authentication.

Error Message Description

This Password will soon expire. Pleasecontact System Administrator for assistance.

The password set for the user on theTACACS+ Server is about to expire. Thisonly works with ACSII authentication.

Either the user login password isexpired/disabled, the login credentials arenot correct or the TACACS+ Server isincorrectly configured. Please contact SystemAdministrator for assistance.

The password set on TACACS+ Server hasexpired or been disabled, login details areincorrect or TACACS+ Server has beenincorrectly configured.

There is a problem with the Host name.Check the auth.xml file to make sure thevalues are correct.

The host name of the TACACS+ server isincorrect, or has been incorrectly enteredinto the auth.xml file.

Problem found establishing a validconnection to the remote ACS Server. Eitherthe values in the auth.xml file are incorrector the TACACS+ server has not beenconfigured correctly.

Incorrect values have been entered into theauth.xml file, and authentication fails. Theauth.xml file must be checked to ensure thatall details are correct. For example, if theauth.xml file contained details of aredundant TACACS+ server, authenticationwould fail.

There is a problem with authenticatingTACACS+. Either the values in the auth.xmlfile are incorrect or the TACACS+ server hasnot been configured correctly.

Incorrect values have been entered into theauth.xml file, and authentication fails. Theauth.xml file must be checked to ensure thatall details are correct. For example, if a validconnection to the TACACS+ server isestablished, but the user has an incorrectsecret key in their auth.xml file,authentication would fail.

AUTH.XMLThe auth.xml file is configurable, and should be used to adjust settings for theTACACS server being used. For the purposes of TACACS authentication, theinformation within the <tacacsPlus> and <backupTacacsServer> XML tags, MUSTbe configured to modify TACACS server name, password, port number, clientname, client port and authorization type.

Sample auth.xml file

The following example of an auth.xml file shows the required structure.<tacacsPlus><name>TACACS Server name/IP Address</name><secret>Password</secret><port>Port number</port><client>Client Server name</client><clientPort>Client port number</clientPort><authType>Authorization Type, for example, ASCII</authType></tacacsPlus><backupTacacsServer><backupName>TACACS Server name/IP Address</backupName><backupSecret>Password</backupSecret><backupPort>Port number</backupPort>

110 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 129: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

<backupClient>Client Server name</backupClient><backupClientPort>Client port number</backupClientPort><backupAuthType>Authorization Type, for example, ASCII</backupAuthType></backupTacacsServer>...<protocolorder>

<radius/><intelliden/>--><tacacsPlus/>

</protocolorder>

Note: The <authType> XML tag supports all of the leading authenticationprotocols: ASCII, PAP, CHAP, ARAP, and MSCHAP.

Note: The <protocolorder> XML tag is used to list the order that theauthentication types should be tried. The three options are: radius, intelliden andtacacsPlus.

Active DirectoryNetcool Configuration Manager has an Active Directory authentication capability.Effectively, this works by using the LDAP settings in the existing company setup.

Login to Netcool Configuration Manager is authenticated using the ActiveDirectory settings instead of authentication locally. There are significant benefits tobe achieved from the implementation of Active Directory authentication:v Improved Security - login authentication is more secure, as the Netcool

Configuration Manager user passwords are not held on a local database, insteadit is managed and stored on a remote machine.

v Central Storage of Passwords - leverage existing password checkinginfrastructure. No need to duplicate account.

Backing up and restoring WebSphere security configurationBefore configuring Netcool Configuration Manager, you can back up WebSpheresecurity configuration. This allows you to restore the WebSphere securityconfiguration if the need arises, for example if the configuring of the ActiveDirectory authentication has to be reversed.Related tasks:“Configuring Netcool Configuration Manager to use Active Directoryauthentication” on page 113

Backing up Websphere security configurationTo back up the original Websphere security configuration, you perform thefollowing procedure.

Procedure1. Open a command line terminal on the Netcool Configuration Manager

Presentation server:cd <itncm_install_dir>/eWAS/bin

2. Issue the following command using the Intelliden user password:backupConfig.sh Typical system output following successful backup willresemble the following example:ADMU0116I: Tool information is being logged in file

/opt/IBM/tivoli/netcool/ncm/eWAS/profiles/RSeries/logs/backupConfig.logADMU0128I: Starting tool with the RSeries profileADMU5001I: Backing up config directory

Chapter 8. Security 111

Page 130: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

/opt/IBM/tivoli/netcool/ncm/eWAS/profiles/RSeries/config to file/opt/IBM/tivoli/netcool/ncm/eWAS/bin/WebSphereConfig_2012-12-21.zip

ADMU0505I: Servers found in configuration:ADMU0506I: Server name: server1ADMU2010I: Stopping all server processes for node dfltNodeRealm/Cell Name: <default>Username: IntellidenPassword:ADMU0510I: Server server1 is now STOPPED............................................................................................................................................................................................ADMU5002I: 558 files successfully backed up

3. Restart Netcool Configuration Manager:<itncm_install_dir>/bin/./itncm.sh restart

Restoring Websphere security configurationTo restore the original Websphere security configuration, you perform thefollowing procedure.

Procedure1. Open a command line terminal on the Netcool Configuration Manager

Presentation server:cd <itncm_install_dir>/eWAS/bin

2. Issue the restoreConfig.sh command using the Intelliden user password and thename of the backup file, for example:restoreConfig.sh WebSphereConfig_2012-12-21.zip Typical system outputfollowing successful restoration of the original Websphere securityconfiguration will resemble the following example:ADMU0116I: Tool information is being logged in file

/opt/IBM/tivoli/netcool/ncm/eWAS/profiles/RSeries/logs/restoreConfig.logADMU0128I: Starting tool with the RSeries profileADMU0505I: Servers found in configuration:ADMU0506I: Server name: server1ADMU2010I: Stopping all server processes for node dfltNodeRealm/Cell Name: <default>Username: IntellidenPassword:ADMU0510I: Server server1 is now STOPPEDADMU5502I: The directory

/opt/IBM/tivoli/netcool/ncm/eWAS/profiles/RSeries/config alreadyexists; renaming to/opt/IBM/tivoli/netcool/ncm/eWAS/profiles/RSeries/config.old_2

ADMU5504I: Restore location successfully renamedADMU5505I: Restoring file WebSphereConfig_2012-12-21.zip to location

/opt/IBM/tivoli/netcool/ncm/eWAS/profiles/RSeries/config............................................................................................................................................................................................ADMU5506I: 558 files successfully restoredADMU6001I: Begin App Preparation -ADMU6009I: Processing complete.ADMU6002I: Begin Asset Preparation -ADMU6009I: Processing complete.

3. Restart Netcool Configuration Manager:<itncm_install_dir>/bin/./itncm.sh restart

112 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 131: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Configuring Netcool Configuration Manager to use ActiveDirectory authentication

There are two stages in the following process to configure Netcool ConfigurationManager to use Active Directory for authentication. The first stage on the ActiveDirectory platform involves creating users and groups organization units. Thesecond stage is the configuration of Netcool Configuration Manager. Beforeproceeding, however, ensure you have backed up the original WebSphere securityconfiguration.Related tasks:“Backing up and restoring WebSphere security configuration” on page 111

Creating organization unitsThis task describes how to create users and groups organization units (OUs).

Before you begin

Before proceeding, please ensure the Netcool Configuration Manager server isrunning, and that you have backed up the original WebSphere securityconfiguration.

Netcool Configuration Manager resources that are deployed within WebSphere areprotected by specifying security roles in the Netcool Configuration Managerapplication descriptor files. Netcool Configuration Manager also installs arole-to-groups mapping within WebSphere. The following two groups are mappedto roles:v IntellidenUserv IntellidenAdminUser

During a user login Netcool Configuration Manager custom authenticator informsWebSphere which of these groups a user belongs to. When Active Directory is usedas an authenticator, Active Directory must inform WebSphere of the groups that auser belongs to. To achieve this, both groups must be created in Active Directoryand users must be added to the groups as follows:v For a user to have access to all resources including the Account Management

application, the user must belong to the IntellidenUser and IntellidenAdminUsergroups.

v For a user to have access to all resources except the Account Managementapplication, the user must belong to the IntellidenUser group.

If the Active Directory administrator is not permitted to create groups namedIntellidenUser and IntelldenAdminUser, then names that are permitted must beused to create the groups, for example:v SEC-Group ITNCM Userv SEC-Group ITNCM Admin User

In this case, the groups must be mapped to Netcool Configuration Manager rolesby using WebSphere's wsadmin utility. Active Directory users must be added tothe groups as previously described.

Note: There is no relationship between the groups created in Active Directory andgroups created by the Netcool Configuration Manager Account Managementapplication. The former are used by WebSphere to control access to NetcoolConfiguration Manager resources, whereas the latter are used by NetcoolConfiguration Manager to enforce security within its applications.

Chapter 8. Security 113

Page 132: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Important: You must create users in both Active Directory and the NetcoolConfiguration Manager database.The example values used in the procedure are to be used as a guide. The valuesassume that an example domain named itncm.local has been created in ActiveDirectory

Procedure1. Create a groups OU, for example itncmgroups, under itncm.local

2. Under this OU, create the following groups (or create two groups whose namesare permitted):v IntellidenUserv IntellidenAdminUser

3. Create a users OU, for example itncmusers, under itncm.local

4. Under this OU, create the Intelliden user. The password you provide will beused in later steps.

5. Add the Intelliden user to the two groups you created in step 2.

Configuring Netcool Configuration ManagerThis task describes how to configure Netcool Configuration Manager to use ActiveDirectory authentication.

Procedure1. Launch the WebSphere Administrative Console:

http://<ncmserver-hostname-ip>:18100/ibm/console

2. Log in using the Netcool Configuration Manager superuser name ('Intelliden')and password that was specified during installation.

3. Click Security > Global security

4. In the User account repository section, select Federated repositories from theAvailable realm definitions menu, and click Configure.

5. Enter a name in the Realm Name field.

Note: You can use the default value (defaultWIMFileBasedRealm).6. Enter Intelliden in the Primary administrative user name field, and click

Apply.7. Enter the Intelliden user password created in step 4 of “Creating organization

units” on page 113 in the Password and Confirm password fields, click OK,and then click Save directly to the master configuration.

8. Select Manage Repositories and click Add.9. Select Microsoft Windows Active Directory from the Directory type menu,

and define the following details:

Repository identifierEnter a value, for example AD

Primary host nameEnter the host name of the Active Directory server.

Port Enter the port number of the Active Directory server.

Bind distinguished nameEnter the bind distinguished name, for example:cn=Intelliden,ou=itncmusers,dc=itncm,dc=local

114 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 133: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Bind passwordEnter the bind password. If the Intelliden user is the bind user, use thepassword created in step 4 of “Creating organization units” on page113.

10. Click Apply, then click Save directly to the master configuration.11. Click Security > Global security.12. In the User account repository section, select Federated repositories from the

Available realm definitions menu, and click Configure.13. Click Add Base entry to Realm, and then select the Active Directory

repository identifier from the Repository menu.14. Define the following distinguished names:

Base entry that uniquely identifies this set of entries in the realm fieldEnter the distinguished name, for example:dc=itncm,dc=local

Base entry in this repository fieldEnter the distinguished name, for example:dc=itncm,dc=local

15. Click Apply, then click Save directly to the master configuration.16. Click Security > Global security.17. In the User account repository section, select Federated repositories from the

Available realm definitions menu, and click Configure.18. In the Repositories in the realm table, select the repository whose identifier is

InternalFileRepository.19. Click Remove, then click Save directly to the master configuration.20. Click Security > Global security.21. In the User account repository section, select Federated repositories from the

Available realm definitions menu, and click Set as current.22. Click Apply, then click Save directly to the master configuration.23. If the Active Directory groups were named IntellidenUser and

IntellidenAdminUser, go to step 24, otherwise proceed to “ConfiguringNetcool Configuration Manager roles” on page 116.

24. Log out of the WebSphere Administrative Console, and restart NetcoolConfiguration Manager:<itncm_install_dir>/bin/./itncm.sh restart

Note: Use the Intelliden user password that was specified during installation.

What to do next

Once Netcool Configuration Manager has restarted, the Intelliden user passwordwill become what you provided for the Intelliden user in Active Directory.

Remember: Existing Netcool Configuration Manager users must be created inActive Directory. New users must be created in both Netcool ConfigurationManager and Active Directory. In all cases the user password is the password thatis provided in Active Directory.

Chapter 8. Security 115

Page 134: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Configuring Netcool Configuration Manager rolesUse this procedure if the Active Directory groups are not named IntellidenUserand IntellidenAdminUser.

Before you begin

Before proceeding, please ensure the Netcool Configuration Manager server isrunning.

The group names used in the procedure, SEC-Group ITNCM User and SEC-GroupITNCM Admin User, are examples and must be replaced with the actual values.Replace all occurrences of <password> in the procedure with the Intelliden userpassword. If Active Directory is being used to authenticate the user, use thepassword that is stored in Active directory, otherwise use the password that wasspecified during the Netcool Configuration Manager installation.

Procedure1. Open a command line terminal on the Netcool Configuration Manager

Presentation server:cd <itncm_install_dir>/eWAS/bin

2. Issue the following command:./wsadmin.sh -connType SOAP -user Intelliden -password <password> -c’$AdminApp edit "Intelliden R-Series" {-MapRolesToUsers{{"IntellidenUser" no no "" "SEC-Group ITNCM User" }} }’

3. Issue the following command:./wsadmin.sh -connType SOAP -user Intelliden -password <password> -c’$AdminApp edit "Intelliden R-Series" {-MapRolesToUsers{{"IntellidenAdminUser" no no "" "SEC-Group ITNCM Admin User" }} }’

4. Issue the following command:./wsadmin.sh -connType SOAP -user Intelliden -password <password> -c’$AdminApp edit "Intelliden R-Series" {-MapRolesToUsers {{"Intelliden"no no "" "SEC-Group ITNCM User" }} }’

5. Issue the following command:./wsadmin.sh -connType SOAP -user Intelliden -password <password> -c’$AdminApp edit "PBCM" {-MapRolesToUsers {{"IntellidenUser" no no """SEC-Group ITNCM User" }} }’

6. Log out of the WebSphere Administrative Console, and restart NetcoolConfiguration Manager:<itncm_install_dir>/bin/./itncm.sh restart

Netcool Configuration Manager - Compliance securityAccess management, device security, levels of user permission and securityadministration are explained. Instructions are also provided for the configurationof all functionality

User authentication

In Netcool Configuration Manager - Compliance management the termauthentication refers to the means by which the system positively identifies eachuser. The compliance security subcomponent leverages the authenticationframework used in the main Netcool Configuration Manager security componentto authenticate users.

116 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 135: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Device security

Netcool Configuration Manager - Compliance functionality leverages the resource(realm, device) access that can be set up in Netcool Configuration Manager.

Scope A user's data scope is defined in terms of the group's realms andsub-realms as defined in Netcool Configuration Manager.

Remember: Realms are predefined hierarchies of network resourcesorganized physically or logically.Network resources defined in a particular realm that is within a group'sdata scope are accessible by that groups' users. For further informationabout the use of realms, see the IBM Tivoli Netcool Configuration ManagerUser Guide.

SecurityThe ability to act on particular realms and the contents of the realms iscontrolled using the security tab within the Netcool Configuration ManagerAccount Management Group window. Users' rights to realm and resourceswithin these realms are inherited from any group to which they belong.

User privileges for device security within the Netcool ConfigurationManager - Compliance UI are firstly applied in Netcool ConfigurationManager. The privileges may be applied so that users may only selectdevices on the network to which they have the appropriate access as perdevice access defined in the main Netcool Configuration Manager securitycomponent.

Compliance Validation Users can therefore only view device realms anddevices to which they have also been granted access in the main NetcoolConfiguration Manager security component.

Additional group permissionsThe groups listed here are reflective of the Netcool Configuration ManagerAccount Management group account administration area. This is a convenientmethod for checking group-user membership.

Procedure1. In the Netcool Configuration Manager - Compliance UI, click Admin > User

Security Options on the menu bar. The Netcool Configuration Manager -Compliance Security Administration window is displayed.

2. Optional: On the Group Permissions tab, select a group and then select theShow Users button to display a list of user IDs with membership of that group.

3. On the Group Permissions tab, select a group and then select the GroupOptions button. The Options for group dialog is displayed.

4. Select one or more of the following group options:

Table 6. Netcool Configuration Manager - Compliance Security Administration window,Group Permissions tab, Group Options dialog options

Option Type Description

Use login credentialswhen submittinginterrogation

Checkbox When executing a policy that contains a native command, itsubmits an interrogation UOW. When unchecked, the defaultauto approval user's credentials are used to submit theinterrogation UOW. When checked, the current user credentialsare used.

Chapter 8. Security 117

Page 136: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Table 6. Netcool Configuration Manager - Compliance Security Administration window,Group Permissions tab, Group Options dialog options (continued)

Option Type Description

Use login credentialswhen submittingremedial action

Checkbox In the event that a remedial action UOW is submitted. Whenunchecked, the default remedial action user's credentials areused to submit the remedial action UOW. When checked, thecurrent user credentials are used.

Automatic submissionof remedial actions

Checkbox When checked, this setting enables automatic approval ofremedial actions without the need for manual intervention in theQueue Manager Results pane.

Device logincredentials override

Drop-downmenu

The Override Credentials step will appear in the creation of aprocess or in the execution of a policy only if the user is amember of a group with this option set to either Optional orRequired.

Hidden The default device credentials will be used.

OptionalDefault credentials, or own credentials supplied.

RequiredOwn credentials must be supplied.

5. Click the Users tab. Use the following table to understand the informationdisplayed on the Users tab:

Table 7. Netcool Configuration Manager - Compliance Security Administration window,Users tab

Field name Description

Login Full name or description attached to the user login

User ID User ID used for authentication

Email Email address of user

6. Click the Realm Access Control tab. Existing realms are listed along the lefthand side of the tab, resembling folders. When you select a realm, the groupspermitted to view that particular realm are displayed in the 'Allowed Groups'section on the right hand side of the screen.

7. Perform one or more of the following actions:v Add or remove groups from any realm.v Create new realms.v Edit existing realms.v Delete realms.

Change Netcool Configuration Manager - Compliance user names andpasswords from the CLI

Use the CLI to change user names and passwords.

Purpose

Use the CLI to change the following categories of users:v Automatic approval userv Remedial userv Automated processes user

118 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 137: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Parameters

The following table provides the information required to change user names andpasswords. Specifically, the table provides the following:v Category of userv Location to navigate to execute the commandv Syntax of the command to change the user name and/or password

Note: All user names and passwords are encrypted on Netcool ConfigurationManager - Compliance.

User Location Command Syntax

Automatic approval user /opt/IBM/tivoli/netcool/ncm/compliance/bin/utils

./intellidenRMUser --setcmuser <new user> <newpassword>

Remedial user /opt/IBM/tivoli/netcool/ncm/compliance/bin/utils

./intellidenRMUser --setrmuser <new user> <newpassword>

Automated processes user /opt/IBM/tivoli/netcool/ncm/compliance/bin/utils

./intellidenRMUser --setautomateduser <new user><new password>

Related information:Chapter 1, “User administration,” on page 1

Insufficient securityWithin the ITNCM-Compliance application, users are bound by ITNCM - Basebased permissions, such as the corrective actions they can trigger from thecompliance violation queue.

As a requirement, ITNCM-Compliance needs to have at least one user with fullapproval rights. This means they must have access to the "Manage Work" activityin the ITNCM - Base account administration (this activity allows a UOW to beprocessed automatically). The reason for this is auto-approval of command sets,and the procedure for sending show commands. It is deemed acceptable forRemedial command set work to be queued up, however show command workmay not be.

There are problems associated with having insufficient security to execute remedialcommand sets. If a user does not have access to the "execute direct commands"activity in the ITNCM - Base account administration (this activity is used forrunning command sets), ITNCM-Compliance shall pass the command set intoITNCM - Base, where it will sit in the approval queue as a UOW until someonewho has the appropriate access approves it. The command set will receive acorresponding UOW ID in ITNCMCompliance, which will be used to identify it,and used also to listen for the UOW to return.

See the ITNCM User Guide for more information about the functioning of theapproval queue.

Chapter 8. Security 119

Page 138: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

120 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 139: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Chapter 9. OS Manager

Use this information about Netcool Configuration Manager to understand the OSManager.

About OS ManagerOS Manager is a powerful tool that has the ability to update hundreds of networkdevices simultaneously. The operating systems of these network resources can beeasily upgraded using the OS Manager user interface. Individual resources may bespecified for an upgrade, or all resources of a given VTMOS may be updated.

The Network Specialist is responsible for creating and maintaining the OS Registryin ITNCM - Base. Typically, a new OS would be downloaded from the hardwarevendor's support web site. For devices not currently on the ITNCM - Base OSUpgrade supported list, new support can be added by creating a new OS upgradedevice script. The OS Upgrade utility allows the user to define their own“user-defined” parsers using Regex. The user must ensure they only includesupported operating systems in the OS Registry XML file.

When a new OS has been applied against a network resource, the user not onlyhas to upgrade to the new OS, but they must also execute a configuration changeand reboot the resource in order to move the new OS to “running”. A config syncis then also required to get the database copy of the configuration in sync with therunning and current configs on the resource. The OS Upgrade utility includesoptions to perform these other necessary steps.

Security rights

In order to update the OS on a network resource, any user must belong to anNetcool Configuration Manager - Base security group with the followingpermissions:v OS Upgradev Execute Direct Commandsv Manage Workv Execute Configuration Synchronization activities

The groups must also have view and modify rights on the appropriate realms.

High-level procedure

The following steps provide the high-level procedure required to upgrade the OSon one or more network resources. The remainder of this chapter describes thespecifics of each step.1. Create FTP Resource. See the Netcool Configuration Manager - Base User

Guide for further information.2. Create an OS Registry.3. Create an OS Specification Resource.4. (Optional) Create a command set to be run during the Upgrade.5. Select the Resources to upgrade.

© Copyright IBM Corp. 2010, 2014 121

Page 140: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

6. Schedule the OS Upgrade UOW.

OS registryThe OS registry is a database of compatible operating system image files that havebeen approved by a qualified network specialist for upgrade on a particularVTMOS. The OS Registry may be added to, removed from, and edited.

Note: Best practice for Juniper upgrade: Juniper recommends the target file systembe /var/tmp. Problems may occur if this practice is not adopted. For example, ifTACACS+ is used for accessing the device, and the user is neither a Superuser norin a group, the user directory will fill up with data making it difficult to managefree space on the flash system. The group must be assigned most, if not all rights.If there is no group then the user must be provided with read/write permissions.

Creating an OS registryCreate a new OS Registry by filling in the fields presented by the New OS Registrydialog.

Before you begin

Before creating a new OS Registry, ensure that a qualified network specialist hasapproved the associated operating system image files for upgrade on a particularVTMOS.

This task creates a new OS Registry.

Procedure1. From the ITNCM - Base Resource Browser, select File > New OS Registry.

Alternatively, right-click within the Resource Browser, and choose New > OSRegistry.

2. The New OS Registry dialog is displayed.a. Specify an OS Registry name, for example, Cisco OS Reg.b. Specify the vendor, for example, Cisco.c. Specify the type of the OS Registry, for example, Firewall.d. Specify the Model, for example, 5*.e. Specify the operating system.

3. Click OK to create the specified OS Registry. The OS Registry will be created inthe Resource Browser.

What to do next

To configure the OS Registry, you must edit it.

Editing an OS registryConfigure an OS Registry by using the Edit OS Registry tabbed dialog.

Before you begin

You must have previously created the OS Registry by filling in the menu itemsdisplayed on the New OS Registry dialog.

To edit (configure) an OS Registry, follow these steps.

122 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 141: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Procedure1. Highlight the OS Registry resource, and select File | Edit from the toolbar.

Alternatively you may right click within the Resource Browser, and chooseEdit.

2. The Edit OS Registry tabbed dialog is displayed. Use this dialog to configureand maintain the OS Registry. The dialog has two tabs: OS Registry and Editin XML Format. In the OS Registry tab, you have the ability to add/removefile system types, connect to an FTP Server to download new OS images, andthe ability to add/update/remove OS. Use the following table to understandthe items available with the Edit OS Registry dialog:

Option Description

Dialog item Description

File System Type Not all devices make use of flash, disk orslot, but will use other types of data storagestyles. For example, Juniper makes use of aUnix based file structure, which would looklike /var/tmp.

Important: If the image file is in asubdirectory on the device, you must createa File System Type with the full path of thesubdirectory. For example:flash:/newdir

OS Name Identifies the version of OS. This is what theuser will see when building the OSSpecification and the wizard prompts for theOS version.

OS Image This is the file name including extensiontype. If this file is named incorrectly, or doesnot match a file on the ftp/tftp server, theUOW will fail with a message saying the filecould not be found.

Memory (MB) Minimal amount of memory needed to runthe OS on the device. This information isprovided from the OS Vendor. If this valueis lower than the actual available memoryon the device identified by the parser, theUOW will fail due to not enough memory.

Image Size Actual size of the OS file being copied to thedevice. Size can be obtained by issuing a ls-d or dir depending on the OS hosting theftp/tftp server. If this value is higher thanthe value identified via the hardware parser,the OS upgrade will fail due to not enoughmemory.

Comment Narrative entered here will be seen in theOS Specification when the user chooses theOS required.

3. If you decide to connect to an FTP Server, the FTP Connection screen isdisplayed. Select an FTP resource by clicking on one of the FTP resource entriesdisplayed in Select FTP Device and then click the Load button. The details forthe FTP resource display in FTP Server Details. This screen gives you theability to choose an FTP resource, and load the FTP Server details into thescreen. Use the Connect button to provide login credentials, establish a

Chapter 9. OS Manager 123

Page 142: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

connection to the FTP Server, and retrieve a listing of OS images from an FTPserver. Use the following table to understand the items available with the FTPConnection screen:

Option Description

Screen Item Description

Server Name: Displays the name of the selected FTPserver. For example, 10.216.1.171.

User Name: Displays the name of the user who hasaccess to the selected FTP server.

User Password: Displays the encrypted password for theuser who has access to the selected FTPserver.

FTP Server Path: Displays the path to the selected FTP server.

4. The existing OS images in the OS Registry may also be updated from the OSRegistry tab, if the Update button is chosen. The details on this screen may beamended if necessary. Note that if the RAM requirements are not known, thisshould be checked on the vendors website.

5. When maintenance on the OS Registry is complete, click Save or Exit.6. If you wish to edit the XML directly, click the Edit in XML Format tab. You can

manually add a list of OS Image files in the XML Format tab, using the<image>, </image> tags. This is helpful if you want to bypass the connection tothe ftp server to retrieve a list of images. This same editing window is used forediting security sets, access properties, authentication resources, OS Registries,and so forth.

7. If you have made changes, click Save.

What to do next

You can now create an OS specification resource.

OS specificationAn OS specification provides details about a device's operating system.

You create an OS specification by following the steps that the Select VTMOS dialogprovides. You edit an OS specification by using the Edit OS Registry tabbed dialog.

Creating an OS specificationCreate an OS specification by using the Select VTMOS screen.

To create a new OS specification, follow these steps.

Procedure1. From the ITNCM - Base Resource Browser, select FileNew > OS Specification.

Alternatively, right-click within the Resource Browser, and choose New > OSSpecification. The Select VTMOS screen is displayed. Note that the 1. SelectVTMOS item is highlighted. Supply a name for the OS specification resourceand the VTMOS for the device to be updated. Then click Next to continue. Thefollowing table describes each of the fields in the screen.

124 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 143: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Option Description

Screen item Description

Name: Specifies the name for this OS specificationresource. For example, NewOS_Spec.

Vendor: Specifies the vendor that corresponds to thevendor of the device to be updated. Forexample, Cisco.

Type: Specifies the type that corresponds to thedevice to be updated. For example,Firewall.

Model: Specifies the model that corresponds to thedevice to be updated. For example, 5*.

OS: Specifies the operating system thatcorresponds to the device to be updated. Forexample, *.

2. The Select OS Registry screen is displayed. Note that the 2. Select VTMOSitem is highlighted. Select the correct OS Registry for use with the upgrade.Then click Next to continue.

3. The OS Version to Upgrade to screen is displayed. Note that the 3. Select OSVersion to Upgrade To item is highlighted. From the Target OS drop downmenu, select the version to upgrade to. When the selection has been made, thiswill populate the OS Details information into the lower section of the screen.Click Next to continue.

4. Because many network resources lack the disk space needed to load a new OS,the utility provides the opportunity to specify files to delete in order to free upspace. The Select Files to be Removed screen is displayed. Note that the 4.Select Files to be Removed item is highlighted. To specify the files to delete:a. In Image Destination, select the target file system.

Note: If the image file is in a subdirectory on the device, you will havecreated a File System Type with the full path of the subdirectory previously.You select that file system.CAUTION:The Erase All checkbox option when checked will erase the entire filesystem using the download section of the device script.

b. To erase specific file systems, remove the check mark in the Erase Allcheckbox. In this case, the copydown section of the device script is used toerase the specified file system. If updating the device with the same OSimage, the original image will automatically be removed and replaced bythe selected target image.

c. The Make Room On Destination option allows you to make additionalroom on the destination. In order to upload a new OS image to a networkresource, it is sometimes necessary to clear up disk space. You can identifyspecific files to delete. Or, you can specify a wildcard (for example, *.bin)that recursively removes all files with a .bin extension.

d. Click Next to continue.5. (Optional) The Select Boot Command Set screen is displayed. Note that the 5.

Select Boot Command Set item is highlighted. It may be necessary to create amodelled command set to update the value of the configuration register on thedevice. Subsequently, a user can select this Command Set to modify bootparameters prior to reloading the new OS. Click Next to continue.

Chapter 9. OS Manager 125

Page 144: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

6. The Select Parser screen is displayed. Note that the 6. Select Parser item ishighlighted. Specify the parser to use for file system and memory checks. Thereare two choices: Device Content Parser (Default) and User Defined Parser(Advanced). The Device Content Parser is the ITNCM - Base parser installedwith a driver. Alternatively, you can specify a user defined parser for uniquecases where the ITNCM - Base parser does not work. The user defined parsercan be manipulated using Regex.

7. If you choose the User Defined Parser, the User Defined Parser screen isactivated. Note that the 7. User Defined Parser item is highlighted. The UserDefined Parser screen shows six keys for which a value must be returned. Thekeys for the OS Upgrade are: findcurrentOsImageName, findMemoryTotal,findfilesystemMemoryTotal, findSystemMemoryFree, findfilelist, andfindfilesize. Each key of information can be retrieved by performing therelevant show command on a device. For example, the findMemoryTotal valuecan be returned on a CISCO device using the show version command andusing this regular expression to extract the value ’(\d+)K\/\d+K bytes ofmemory’. After updating any keys displayed in the User Defined Parser screen,click Next to continue.

8. The Describe Work screen is displayed. Note that the 8. Describe Work item ishighlighted. Use this screen to describe the OS Specification Resource, or toprovide any comments.

Example

The following is an example of the download section of the device script (usedwhen erasing an entire file system).downLoad.01.send=copy tftp $copy_input2$\r

The following is an example of the copydown section of the device script (usedwhen erasing a specific file system).copyDown.01.send=copy ftp://$ftp_altusername$:$ftp_altpassword$@$ftp_althostname$/$ftp_altpath$/$copy_input1$ $copy_input2$\r

What to do next

To edit an OS specification, use the Edit OS Registry tabbed dialog.

Editing an OS specificationEdit an OS specification by using the Edit OS Registry tabbed dialog.

To edit an OS specification, follow these steps.

Procedure1. Highlight the OS Specification resource, and select File > Edit from the toolbar.

Alternatively, you may right click within the Resource Browser, and chooseEdit.

2. The Edit OS Registry tabbed dialog is displayed. This Edit OS Registry dialogreplicates all the screens configured in the creation of an OS specification, andallows you to make amendments to the previous choices made when creatingthe OS specification. Note that when performing the actual OS Upgrade,ITNCM - Base uses the information entered into the OS Registry resource todecide if there is enough room for the new image. It is important to correctlyspecify the size and memory requirements of the new OS image. When you

126 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 145: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

have completed all edits to the OS specification, click Save. A message isdisplayed indicating that the OS Specification resource has been saved.

What to do next

You still need to submit and schedule the OS upgrade. For more information, see“Submitting an OS upgrade request” on page 129.

Creating an OS upgrade device scriptThe OS Upgrade device script is a resource that allows a user to makemodifications to a device script, and will be used only for OS Upgrades. You createan OS Upgrade device script by using the OS Device Script screen.

To create an OS Upgrade device script, follow these steps.

Procedure1. Right click in the Resource Browser and select New > OS Upgrade device

script. The New OS Device Script screen is displayed.2. Specify the name and VTMOS of the new OS upgrade device script and click

OK. This action creates the OS device upgrade script in the Resource Browserunder the current realm. The following table describes and provides examplesfor each of the fields in the screen.

Option Description

Screen item Description

Name: Specifies the name for this OS upgradedevice script. For example, Cisco OS REG.

Vendor: Specifies the vendor that corresponds to thevendor of the device for which you aresupplying an OS upgrade device script. Forexample, Cisco.

Type: Specifies the type that corresponds to thedevice for which you are supplying an OSupgrade device script. For example,Firewall.

Model: Specifies the model that corresponds to thedevice for which you are supplying an OSupgrade device script. For example, 5*.

OS: Specifies the operating system thatcorresponds to the device for which you aresupplying an OS upgrade device script. Forexample, *.

3. You can edit the newly created OS upgrade device script at any time by rightclicking on the resource and selecting Edit.

4. The sections of the device script that the OS Manager tool uses uniquely are:del, squeeze directory, erase, copydown, download, and reload. Each of these sectionshas variables to pass down the relevant arguments to the device CLI duringexecution of the upgrade. The following table describes each of the relevantvariables:

Option Description

Relevant variable Description

Chapter 9. OS Manager 127

Page 146: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Option Description

$del_input$ Specifies the filename to be deleted on thedevice. Populated according to userpreference in the OS Specification, that is,dynamically by specifying wildcard *.bin toremove all bin files or by specifyingindividual files.

$squeeze_input$ Contains the file system name to besqueezed, for example, flash. Populatedaccording to the file system defined by theuser in the OS Specification.

$ftp_altusername$ Specifies the username to connect to an FTPserver. Populated from the file transferresource section altFtpInfo.

$ftp_altpassword$ Specifies the password to connect to an FTPserver. Populated from the file transferresource section altFtpInfo.

$ftp_althostname$ Specifies the hostname of the FTP server toconnect to. Populated from the file transferresource section altFtpInfo.

$copy_input1$ Contains the name of the file to transferfrom the TFTP/FTP server. This variable isused in the copydown section and ispopulated from the selection that a usermakes in the OS Specification.

$copy_input2$ Contains the name of the file system on thedevice to which the OS image file will bedownloaded, for example, flash or bootflash. The user specifies the name of the filesystem in the OS Specification.

$erase_input$ Specifies the name of the file system to beerased. This variable is used if the user hasspecified in the OS Specification to erase anentire file system.

5. If the image file is in a subdirectory on the device, you must replace colonswith backslashes, because devices do not use colons in paths for subdirectories.For example, you change $cd_input$: to $cd_input$/ wherever the file target isspecified.

What to do next

You submit an upgrade request by following the instructions in “Submitting an OSupgrade request” on page 129.

128 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 147: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Submitting an OS upgrade requestThere are different ways to submit an OS upgrade request. An OS Specificationresource may be selected and applied to one or more network resources, or one ormore network resources may be selected and an OS Specification resource thenapplied.

An OS Upgrade may also be applied to a realm. When applying to a realm, aVTMOS combination is specified and all resources in the realm with the specifiedVTMOS will have the new OS loaded. When applying to a realm, the user can alsospecify whether sub-realms should also be included.

Note: The vsftpd daemon that is installed by default on Red Hat systems will notwork with OS Upgrades when using the FTP protocol. It is recommended to usethe proftpd daemon.

To submit and OS upgrade request, follow these steps.

Procedure1. From the ITNCM - Base Resource Browser, choose the required network

resources. Select Tools| OS Upgrade. Alternatively, you may right click withinthe Resource Browser, and choose Tools | OS Upgrade.

2. The Select OS Specification dialog is displayed. Note that the 1. Select OSSpecification item is highlighted. Choose the OS Specification resource to beapplied, and then click Next.

3. The Select the Scope of Application (Page 1 of 2) dialog is displayed. You needto choose whether the selected OS specification will be applied to specificnetwork resources or to network resources within a realm. The three choicesare: Apply OS Specification to network resources in a realm, Apply OSSpecification to specific Network Resources, or Apply OS Specification to theNetwork Resources retrieved from a realm. Make the selection, and click Next.

4. The Select the Scope of Application (Page 2 of 2) dialog is displayed. Notethat the 2. Select the Scope of Application item is highlighted. Using thenavigation tree in the Device Pane, select the necessary devices or realms thatare required to submit an OS upgrade against. Then click Next.

5. The Configure Execution Options wizard page is displayed. Note that the 3.Configure Execution Options item is highlighted.a. Use the following table as a guide to entering the appropriate information

for the Execution Mode section of the Configure Execution Options wizardpage.

Table 8. Execution Options

Exection Mode item Description

Execute Mode (may possibly change allselected Network Resources)

Select this item to apply an OS Upgrade toselected Network Resources.

Report Only Mode (does not change anyNetwork Resources)

Select this item to produce a report thatdetails the changes that would be made tothose resources if in Execute Mode. Thisitem does not change resources. The OSUpgrade will perform a check to confirmthere is enough RAM and file systemmemory on the device for the new OS. TheOS Upgrade also confirms if the image fileexists on the FTP server.

Chapter 9. OS Manager 129

Page 148: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

b. Use the following table as a guide to entering the appropriate informationfor the Failure Options section of the Configure Execution Options wizardpage.

Table 9. Failure Options

Failure Options item Description

Ignore All Errors Indicates that the UOW will continueprocessing, regardless of any failures thatoccur. If each command set is to be appliedto each resource regardless of any errors,select the Override flag as well.

Fail After X Total Errors This item allows a user to select how manyerrors can occur before total failure of theprocess.

Fail After X Percent Errors This item allows a user to select themaximum percentage of failures that canoccur before the UOW stops processing.

c. Click Next to continue.6. (Optional) The Password Override screen is displayed. Note that the 4.

Password Override item is highlighted. This is an optional step, in the eventthe user wishes to override the ITNCM - Base Authentication.

7. The Schedule Work screen is displayed. Note that the 5. Schedule Work itemis highlighted. Use the following table as a guide to entering the appropriateinformation for the Schedule Work section of the Schedule Work screen. ClickNext when you are finished.

Option Description

Schedule Work item Description

Single Schedule Select Immediate if you want anunscheduled process.

Select Scheduled if you want to schedule arecurring execution of the process.

Scheduled Start If you selected a recurring execution of theprocess, specify a time and date for whenthe execution of the process should start.

Scheduled End If you selected a recurring execution of theprocess, specify a time and date for whenthe execution of the process should end.

8. The Execution Priority dialog is displayed. Note that the 6. Execution Priorityitem is highlighted. By default, all UOWs are submitted with a priority ofMedium. Use this dialog to change the priority from Medium to somethingmore appropriate. Click Next to continue.

9. The Work Conflicts screen is displayed. This screen is displayed in the eventthat there are any conflicts in the UOW running against the chosen networkresources. The user has the choice to Override Conflicts to continue with thesubmission, or they may Remove Resources to remove the conflictingresources. Click Next to continue.

10. The Select Workflow Options screen is displayed. Note that the 8. SelectWorkflow Options item is highlighted. Use the following table as a guide toentering the appropriate information for the Select Workflow Options screen.Click Next when you are finished.

130 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 149: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Option Description

Workflow Option Description

Synchronize device pre OS Upgrade By default the device will be synchronizedbefore the OS Upgrade is run.

Resource Check pre OS Upgrade Select this item if you want to run checks onthe RAM/flash memory.

Employ user defined file system andmemory parsers

Select this item if you want to performRAM/flash memory check using UserDefined Parsing.

Delete file or erase the file system, thendownload the image to the device

Select this item if you want to delete filesand then transfer the image.

Reload device Select this item if you want to reboot thedevice after the OS upgrade has beenperformed.

Synchronize device post OS Upgrade Select this item if you want to synchronizethe device after the OS upgrade has beenperformed.

11. The Describe Work screen is displayed. Note that the 9. Describe Work item ishighlighted. Enter a description to identify the UOW, and click Finish tocomplete the OS upgrade submission request.

What to do next

You can choose to model an OS manager.

Modeling OS manager per deviceYou can model an OS manager per device.

To model an OS manager per device follow these steps.

Procedure1. Visit the Vendor's web site and identify the device OS Upgrade commands that

should be used, and determine best practices for upgrading. It is advised youshould test the commands manually on the device to understand the OSupgrade process.

2. Update the device script of the device for which the support is needed with theappropriate commands. The sections of the device script that the OS Managertool uses uniquely are: del, squeeze directory, erase, copydown, and reload. Forinformation on device scripts, see “Creating an OS upgrade device script” onpage 127.

3. Check whether the ITNCM - Base parser is already available for the device.Cross check that the system memory and file system memory is retrievedcorrectly.

4. If the parser does not exist, a user defined parser must be created in the OSSpecification resource. For information on how to create the OS Specification,see “Creating an OS specification” on page 124.

Chapter 9. OS Manager 131

Page 150: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Creating and editing an FTP ResourceYou set up an FTP Resource to work with OS Manager.

Instead of FTP, you can define another transfer protocol to be used, such as TFTPor SCP.

Procedure1. In the Resource Browser, select the realm where you would like to create the

FTP Resource. Typically, this is the same realm as the device that is to beupgraded.

2. Click File > New > File Transfer. The New File Transfer resource is displayed3. Enter a Name for the new FTP resource, and provide applicable VTMOS data, as

required.4. Click OK to create the FTP Resource. The resource is created and displayed in

the Resource Browser.5. Highlight the FTP Resource, and select File > Edit from the toolbar.

Alternatively, right-click within the Resource Browser, and choose Edit.6. Click Add to create a default entry, and provide the following details:

Name Enter altFtpInfo

Host Enter the hostname of your FTP server.

UsernameEnter the username of your FTP Server.

PasswordEnter the password for your FTP Server username.

Path Specify the path on the FTP Server where OS images are locatedrelative to FTP user home directory.

If OS images are in the FTP user home directory, enter /

Passive modeIf passive mode is required, select the check box.

If not selected, Active Mode is used (this is the default).7. Click Save.8. Optional: If TFTP or SCP protocols are required instead of the default FTP,

perform the following action:a. Highlight the FTP Resource, and select File > Edit from the toolbar.b. Select the XML option on the toolbar.c. Locate the uncommented altFtpInfo entry.d. For TFTP, add, <type>tftp<type>, or for SCP, add <type>scp<type>.

9. The FTP Resource supports using a fully qualified path to the OS images. Inthe XML, add the following xml to your altFtpInfo entry, and provide a fullpath to the OS images:<fqpath>/home/icosftp<fqpath>

132 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 151: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Chapter 10. OOBC software

Use this information about Netcool Configuration Manager to administer theOOBC software.

Starting and stopping the OOBC daemonStart and stop the OOBC daemon by using the start and start argumentsassociated with the oobc.sh script.

Before you begin

For the Unix platform, there is the oobc.sh script which follows typical Unixdaemon conventions in that it can be invoked with one of three arguments: start,stop, and restart. The installation script will have created symbolic links from the/etc/rc2.d directory with the names of S55OOBCDaemon and K55OOBCDaemon.Therefore, the OOBC daemon will start and stop when the Unix operating systemis booted and shutdown.

This task explains how to start and stop the OOBC daemon by executing theoobc.sh script with the appropriate argument.

Procedure

Change the path to the desired directory. There is no recommendation for this, itcan be placed anywhere.1. To start the OOBC daemon, execute the oobc.sh script and specify the start

argument:# ./oobc.sh start

2. To stop the OOBC daemon, execute the oobc.sh script and specify the stopargument:# ./oobc.sh stop

Resetting the password in the oobc.properties.xml fileReset the password in the oobc.properties.xml file whenever the NetcoolConfiguration Manager - Basepassword changes for the OOBC user.

Before you begin

The oobc.properties.xml file resides in the product installation directory.However, since the password is always stored in an encrypted format, you mustuse a command line utility to encrypt the password.

Note: This utility will not change the password within Netcool ConfigurationManager - Base. It is only a mechanism to take a clear text password, the newpassword within Netcool Configuration Manager - Base, and encrypt it for use bythe OOBC daemon.

This task explains how to reset the password in the oobc.properties.xml file.

© Copyright IBM Corp. 2010, 2014 133

Page 152: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Procedure1. Change directory to the product install directory:

/OutOfBandChange/install

2. Run the password encryption utility and enter the password that is current forthe user within Netcool Configuration Manager - Base. For example:# ./install.sh gen-passEnter clear text password:secretPasswordEncrypted password is 6ff959c25fca02b600510808d86f852bEdit the oobc.properties.xml file and update the password field.BUILD SUCCESSFULTotal time: 5 seconds

3. Edit the oobc.properties.xml file in the product install directory and replacethe old <password> value with the newly encrypted password output from thepassword encryption utility.

OOBC Syslog filesUse this information to set the syslogMessageSaverFile, and to understand therollover strategy for syslog files.

Description

You can specify a location to which the syslog files should be saved to. The syslogfilepath is determined by the syslogMessageSaverFile parameter in theoobc.properties.xml property file. You should enter an appropriate filepath forthis parameter, e.g./opt/IBM/tivoli/netcool/ncm/. This will be the location whereall syslog files will be saved to.

The OutOfBandChange daemon will always parse the syslog file specified in theoobc.properties.xml property file. If, as can happen in a Unix environment, thesyslog file is rolled over by an administrative utility, then the OutOfBandChangedaemon will also attempt to rollover to the new syslog file.

This rollover is predicated on the fact that typical syslog administrative scripts willfollow a standard procedure:1. Remove the oldest syslog file.2. From oldest to newest, rename the files to a file name with a larger sequence

number.3. Open the new syslog file.

If, however, the OutOfBandChange daemon has the current syslog file open forreading while the syslog rollover occurs, there is no indication that this hasoccurred and therefore the OutOfBandChange daemon will be reading the now oldsyslog file.

Because of this scenario, the OutOfBandChange daemon will close its syslog fileafter a certain amount of time has expired with no new updates written to the logfile. Then, it will open the syslog file again and wait again for the specifiedamount of time for updates written to the log file. If no updates occur within thattime frame the file is closed and reopened again. This will repeat forever as long asthere are no updates to the syslog file within the specified time frame and as longas the OutOfBandChange daemon is running.

134 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 153: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

If, however, a syslog file was rolled over from saylocal6.log to local6.1.log anda new local6.log file was created, the daemon will still have the old file open forread operations. Since nothing new is being written to the local6.1.log file, it willeventually be closed by the daemon. The daemon will then attempt to open uplocal6.log again, this time picking up the newly created (rolled) log file, andcontinue parsing.

Chapter 10. OOBC software 135

Page 154: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

136 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 155: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Notices

This information was developed for products and services offered in the U.S.A.

IBM® may not offer the products, services, or features discussed in this documentin other countries. Consult your local IBM representative for information on theproducts and services currently available in your area. Any reference to an IBMproduct, program, or service is not intended to state or imply that only that IBMproduct, program, or service may be used. Any functionally equivalent product,program, or service that does not infringe any IBM intellectual property right maybe used instead. However, it is the user's responsibility to evaluate and verify theoperation of any non-IBM product, program, or service.

IBM may have patents or pending patent applications covering subject matterdescribed in this document. The furnishing of this document does not grant youany license to these patents. You can send license inquiries, in writing, to:

IBM Director of LicensingIBM CorporationNorth Castle DriveArmonk, NY 10504-1785U.S.A.

For license inquiries regarding double-byte (DBCS) information, contact the IBMIntellectual Property Department in your country or send inquiries, in writing, to:

Intellectual Property LicensingLegal and Intellectual Property LawIBM Japan Ltd.1623-14, Shimotsuruma, Yamato-shiKanagawa 242-8502 Japan

The following paragraph does not apply to the United Kingdom or any othercountry where such provisions are inconsistent with local law: INTERNATIONALBUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS"WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFNON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULARPURPOSE. Some states do not allow disclaimer of express or implied warranties incertain transactions, therefore, this statement may not apply to you.

This information could include technical inaccuracies or typographical errors.Changes are periodically made to the information herein; these changes will beincorporated in new editions of the publication. IBM may make improvementsand/or changes in the product(s) and/or the program(s) described in thispublication at any time without notice.

Any references in this information to non-IBM Web sites are provided forconvenience only and do not in any manner serve as an endorsement of those Websites. The materials at those Web sites are not part of the materials for this IBMproduct and use of those Web sites is at your own risk.

© Copyright IBM Corp. 2010, 2014 137

Page 156: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

IBM may use or distribute any of the information you supply in any way itbelieves appropriate without incurring any obligation to you.

Licensees of this program who wish to have information about it for the purposeof enabling: (i) the exchange of information between independently createdprograms and other programs (including this one) and (ii) the mutual use of theinformation which has been exchanged, should contact:

IBM Corporation958/NH04IBM Centre, St Leonards601 Pacific HwySt Leonards, NSW, 2069Australia

IBM Corporation896471/H128B76 Upper GroundLondon SE1 9PZUnited Kingdom

IBM CorporationJBF1/SOM1294 Route 100Somers, NY, 10589-0100United States of America

Such information may be available, subject to appropriate terms and conditions,including in some cases, payment of a fee.

The licensed program described in this document and all licensed materialavailable for it are provided by IBM under terms of the IBM Customer Agreement,IBM International Program License Agreement or any equivalent agreementbetween us.

Any performance data contained herein was determined in a controlledenvironment. Therefore, the results obtained in other operating environments mayvary significantly. Some measurements may have been made on development-levelsystems and there is no guarantee that these measurements will be the same ongenerally available systems. Furthermore, some measurements may have beenestimated through extrapolation. Actual results may vary. Users of this documentshould verify the applicable data for their specific environment.

Information concerning non-IBM products was obtained from the suppliers ofthose products, their published announcements or other publicly available sources.IBM has not tested those products and cannot confirm the accuracy ofperformance, compatibility or any other claims related to non-IBM products.Questions on the capabilities of non-IBM products should be addressed to thesuppliers of those products.

All statements regarding IBM's future direction or intent are subject to change orwithdrawal without notice, and represent goals and objectives only.

This information contains examples of data and reports used in daily businessoperations. To illustrate them as completely as possible, the examples include the

138 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 157: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

names of individuals, companies, brands, and products. All of these names arefictitious and any similarity to the names and addresses used by an actual businessenterprise is entirely coincidental.

COPYRIGHT LICENSE:

This information contains sample application programs in source language, whichillustrate programming techniques on various operating platforms. You may copy,modify, and distribute these sample programs in any form without payment toIBM, for the purposes of developing, using, marketing or distributing applicationprograms conforming to the application programming interface for the operatingplatform for which the sample programs are written. These examples have notbeen thoroughly tested under all conditions. IBM, therefore, cannot guarantee orimply reliability, serviceability, or function of these programs. The sampleprograms are provided "AS IS", without warranty of any kind. IBM shall not beliable for any damages arising out of your use of the sample programs.

If you are viewing this information softcopy, the photographs and colorillustrations may not appear.

TrademarksIBM, the IBM logo, ibm.com®, Netcool®, Passport Advantage®, Tivoli®, the Tivolilogo and WebSphere are trademarks or registered trademarks of InternationalBusiness Machines Corp., registered in many jurisdictions worldwide. Otherproduct and service names might be trademarks of IBM or other companies. Acurrent list of IBM trademarks is available on the Web at “Copyright andtrademark information” at www.ibm.com/legal/copytrade.shtml.

Adobe, Acrobat, Portable Document Format (PDF), PostScript, and all Adobe-basedtrademarks are either registered trademarks or trademarks of Adobe SystemsIncorporated in the United States, other countries, or both.

Java™ and all Java-based trademarks and logos are trademarks orregistered trademarks of Sun Microsystems, Inc. in the United States,other countries, or both.

Linux is a registered trademark of Linus Torvalds in the United States, othercountries, or both.

Microsoft, Windows, Windows NT, and the Windows logo are trademarks ofMicrosoft Corporation in the United States, other countries, or both.

UNIX is a registered trademark of The Open Group in the United States and othercountries.

Other company, product, or service names may be trademarks or service marks ofothers.

Notices 139

Page 158: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

140 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 159: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

Index

Aaccessibility xv

Cconventions, typeface xv

Ddevice scripts

sections 46device terminal messages

stop notification 46drivers

troubleshooting 70

Eeducation

see Tivoli technical training xvenvironment variables, notation xv

Mmanuals xi

Nnotify

stop device terminal messages 46

Oonline publications xiordering publications xi

Ppublications xi

Ssupport information xv

TTivoli software information center xiTivoli technical training xvtraining, Tivoli technical xvtroubleshooting

drivers 70typeface conventions xv

Vvariables, notation for xv

© Copyright IBM Corp. 2010, 2014 141

Page 160: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

142 IBM Tivoli Netcool Configuration Manager: Administration Guide

Page 161: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,
Page 162: Netcool Configuration Manager Version 6 Release 3 ITNCM - Compliance database utilities 103 About ITNCM - Compliance application policy utilities ... NCM.,,,, >).") $ %% /\)in: 3:,

����

Printed in the Republic of Ireland