IBM 5.5 manual Setting up a MySQL database, Using an existing copy of MySQL

Page 39

Setting up a MySQL database

The MySQL server and JDBC client software is not included in this version of the Netcool/Precision TN software. Download the latest MySQL server software and JDBC driver from:

http://www.mysql.com

Once downloaded, the JDBC driver should be placed in

<netcool_install_dir>/precisiontn/platform/java/lib/3rdparty. The filename must be in mysql-connector-java-X.Y.Z.jar format, where X.Y.Z is the version number. Netcool/Precision TN will automatically select this driver and add it to the bootstrap classloaders.

Using an existing copy of MySQL

You can use your existing copy of MySQL with Netcool/Precision TN if it is version 5.0 or later. To do this, you must manually configure both your version of MySQL and your Netcool/Precision TN installation.

Configuring your version of MySQL

To configure your version of MySQL to work with Netcool/Precision TN:

1.Change directory to the location where your version of MySQL is installed.

2.Check that MySQL is running.

3.Create the Netcool/Precision TN databases by entering:

mysqladmin create precisiontn mysqladmin create demo

4.Verify that a database has been created, by entering:

mysql precisiontn mysql> show tables;

The result is similar to: Empty Set (0.00 sec)

Grant permissions on the databases to the user you want to use (if it is other than the root user), by entering:

mysql> grant all on precisiontn.* to username; mysql> flush privileges;

Chapter 2. Installing Netcool/Precision TN

25

Image 39
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 the contents of an NE Discovering the existence of an NEDiscovering and resolving network topology Network circuit Network circuitsScales to large networks After discovery alarm correlationNetcool/Precision TN product components After discovery maintaining a real-time view of the networkNetwork Pilot client Netcool/Precision TN serverNetcool Installer modes Overview of the Netcool InstallerSilent mode Changing the Netcool suite installation directoryGUI mode Console modeNew relational database Prerequisites Installing Netcool/Precision TNSolaris system requirements Browser requirementsDatabase 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 schemaPrerequisites Oracle RACConnection concentration Setting up a MySQL database Using an existing copy of MySQLConfiguring your version 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 Running Netcool/Precision TN Downloading NETypesStarting the product components Starting the database Starting the Netcool/Precision TN serverStarting Network Pilot Invoking the shutdown script from the command line Shutting down the serverShutting the server down from Network Pilot 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 optionVisualizing alerts in a desktop Adding the menu to the Netcool/Webtop desktopStarting the components Starting the Netcool/Precision TN server for visualization Opening an event listStarting the ObjectServer Starting the databaseMonitor 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 configurationConfiguring Oracle for use with failover How the semaphore mechanism is implementedHow the heartbeat mechanism is implemented Running failover Configuring the Netcool/Precision TN serversSwitching the state of a server Stopping servers running in failover configurationDiscovering 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 controlConfiguring connections to known devices Packaging and configurationSyntax 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