IBM 5.5 manual Creating the MySQL schema

Page 41

Creating the MySQL schema

To create the MySQL database schema, you must first run the ncim.sql and leap_schema.sql scripts located in the

<netcool_install_dir>/etc/precisiontn/sql/mysql directory.

To create the schema:

1.Ensure that you have followed the steps in "Configuring Netcool/Precision TN" on page 26.

2.You must log in as an appropriate user with the permissions needed to create new tables in the database. See your MySQL documentation for MySQL user information.

Run MySQL to load the schema by entering:

cat <netcool_install_dir>/etc/precisiontn/sql/mysql/ncim.sql mysql --user=<username>--password=<password> <databasename>

cat <netcool_install_dir>/etc/precisiontn/sql/mysql/leap_schema.sql mysql --user=<username>--password=<password> <databasename>

Note: If you are already running Netcool/Precision TN with Netcool/Precision IP or Netcool for Asset Management which are already using the NCIM schema, do not execute the ncim.sql file.

3.If the tables have been successfully created in the MySQL database, you will see output similar to:

SQL> @<netcool_install_dir>/etc/precisiontn/sql/mysql/ leap_schema.sql;

Table created. Table created. Table created. Table created. Table created. Table created. Table created. Table created. Table created.

Commit complete. SQL>

Chapter 2. Installing Netcool/Precision TN

27

Image 41
Contents Netcool/Precision for Transmission Networks Administration GuideFirst Edition December 1 Contents Page Tables Page Figures Page About this guide PrefaceTypographical notation AudienceExample Description Syntax Syntax and sample subheadingsOperating system considerations Associated publicationsHow to send your comments Introduction to Netcool/Precision TN IntroductionHow Netcool/Precision TN works Deep discovery NETypesDiscovering and resolving network topology Discovering the contents of an NEDiscovering the existence of an NE Network circuit Network circuitsNetcool/Precision TN product components After discovery alarm correlationAfter discovery maintaining a real-time view of the network Scales to large networksNetwork Pilot client Netcool/Precision TN serverNetcool Installer modes Overview of the Netcool InstallerGUI mode Changing the Netcool suite installation directoryConsole mode Silent modeNew relational database Prerequisites Installing Netcool/Precision TNDatabase requirements Solaris system requirementsBrowser requirements Obtaining the software Installing Netcool/Precision TNNetcool Installer Welcome window Running the installation in GUI modeClick Next to go to the Setup Type window Netcool Installer Setup Type window Netcool Installer Feature Selection window Netcool Installer Installation Progress window Running the installation in console mode Running the Installation Program Running the installation in silent modeViewing the installation log Viewing installed packages Setting up an Oracle databaseConfiguring advanced Oracle features Creating the Oracle schemaConnection concentration PrerequisitesOracle RAC Configuring your version of MySQL Setting up a MySQL databaseUsing an existing copy of MySQL Configuring Netcool/Precision TN Creating the MySQL schema Netcool/Precision TN executables Netcool/Precision TN directory structureThird-party and Open Source software Xerces-J XML APIs XP XML Parser for Java Starting the product components Running Netcool/Precision TNDownloading NETypes Starting Network Pilot Starting the databaseStarting the Netcool/Precision TN server Shutting the server down from Network Pilot Invoking the shutdown script from the command lineShutting down the server Page Introduction to visualization Integrating with Netcool/OMNIbusAdding fields to the ObjectServer and migrating data Configuring the Netcool/OMNIbus ObjectServer versionConfiguring the Netcool/OMNIbus ObjectServer versions 7.0 Adding fields to the ObjectServer Connecting to an ObjectServer that is not named NcomsConnecting to an ObjectServer Configuring Netcool/OMNIbus probes TL1 data collection / TL1-TSM Snmp Data Collection / Multi-Threaded Trapd probeAdding the menu to the Netcool/OMNIbus desktop Creating the visualization menu optionStarting the components Visualizing alerts in a desktopAdding the menu to the Netcool/Webtop desktop Starting the ObjectServer Opening an event listStarting the database Starting the Netcool/Precision TN server for visualizationMonitor box window Event list window Using the visualization menuPopulated event list window Visualize menu Network Pilot window Page Configuring failover Setting configuration optionsImplementation overview Shows an overview of the network in this configurationHow the heartbeat mechanism is implemented Configuring Oracle for use with failoverHow the semaphore mechanism is implemented Switching the state of a server Configuring the Netcool/Precision TN serversStopping servers running in failover configuration Running failoverDiscovering Cisco WAN Manager NEs Using Netcool/Precision TN with Cisco WAN ManagerPolling CWM SubNetwork Connections SNCs Polling CWM topological connectionsProperty Property Description Configurable properties in CiscoWanManagerExtensionDisabling use of Netcool/OMNIbus Configuring Netcool/OMNIbus process controlSyntax Configuring connections to known devicesPackaging and configuration See for details of each parameter RulesConfiguring on-demand connectivity to devices Dependencies Configuring remote load balancingPrecisiontn.xml properties file Appendix A. ReferenceSample Properties in the precisiontn.xml file Appendix A. Reference Defines the initial interval in seconds Table A2 describes the precisiontn command line options Netcool/Precision TN command line optionsEmbedded nameserver. By doing this, the nameserver Appendix B. Notices JBFA/SOM1 AIX AIX 5L Trademarks and Acknowledgements