DataStax: Setting Your Database Management on Autopilot with OpsCenter
How-To Configure ODBC in OpsCenter-1
-
Upload
carlos-alberto -
Category
Documents
-
view
285 -
download
20
Transcript of How-To Configure ODBC in OpsCenter-1
OpsCenter Analytics
How-To Configure an ODBC
Connection
PRESENTED BY: Product Management
April 29, 2010
This document contains information proprietary to Symantec Corporation. No portion of this document shall be duplicated, transmitted, used, or otherwise disclosed to any party to which it is submitted, and then only for the purpose
of evaluating this document.
2
2
Overview OpsCenter uses a SQL Anywhere database from Sybase. You can download the ODBC drivers for it at ftp://ftp.veritas.com/pub/opscenter/odbc/sqlanywhere_11_odbc.zip
Installation Unzip the ODBC drivers into a directory where you’d like to keep them permanently. Open up a command prompt and change the directory to the expanded folder and run the install.bat script
Note: The installation process writes the location of the odbc drivers into the system registry and moving the files or renaming the folder after the installation will cause the ODBC drivers and any DSN you’ve setup to stop functioning. If you ever have to move the directory containing the ODBC drivers, simply run install.bat again from the new location. The script will update the registry with the new location.
This document contains information proprietary to Symantec Corporation. No portion of this document shall be duplicated, transmitted, used, or otherwise disclosed to any party to which it is submitted, and then only for the purpose
of evaluating this document.
3
3
Configure the ODBC Driver Allow Remote Connections to OpsCenter Database By default, the OpsCenter Database will only allow access from within the OpsCenter Server. If you need to create an ODBC connection from a separate host, such as your desktop, you will first need to disable this restriction. On the OpsCenter Server open up the database configuration file located at INSTALL_DIR\Server\db\conf\server.conf where INSTALL_DIR is the directory you’ve installed OpsCenter to and is by default at C:\Program Files\Symantec\OpsCenter Modify this text configuration file via notepad and notice the LocalOnly=YES; option.
Remove that option and the semicolon right after it so that the –x flag becomes -x tcpip(ServerPort=13786) Save and exit the file. Restart the “Symantec OpsCenter Database Server” service for the change to take place. Restarting the database server will also restart the “Symantec OpsCenter Server” and “Symantec OpsCenter WebServer” services
This document contains information proprietary to Symantec Corporation. No portion of this document shall be duplicated, transmitted, used, or otherwise disclosed to any party to which it is submitted, and then only for the purpose
of evaluating this document.
4
4
Create A Data Source Name (DSN)
If you do not have access to Administrative Tools, click on Start->Run and type in odbcad32.exe and click OK. This will start the ODBC Data Source Administrator.
This document contains information proprietary to Symantec Corporation. No portion of this document shall be duplicated, transmitted, used, or otherwise disclosed to any party to which it is submitted, and then only for the purpose
of evaluating this document.
5
5
Create A Data Source Name (DSN)
1) Click on Add.
2) Choose OPSCENTER SQL Anywhere
This document contains information proprietary to Symantec Corporation. No portion of this document shall be duplicated, transmitted, used, or otherwise disclosed to any party to which it is submitted, and then only for the purpose
of evaluating this document.
6
6
3) Supply a UserID “DBA” and Password “SQL”
4) On the “Database” tab enter “opscenter_<hostname>”. Substitute the actual hostname. If your hostname was BUROPS123, then the database name is “opscenter_burops123”.
This document contains information proprietary to Symantec Corporation. No portion of this document shall be duplicated, transmitted, used, or otherwise disclosed to any party to which it is submitted, and then only for the purpose
of evaluating this document.
7
7
5) Uncheck Shared Memory. Check TCP/IP. Enter host=IP ADDRESS;PORT=13786. Substitute the actual IP address of the OpsCenterserver in this field. Click the ODBC tab and click “Test Connection”. You may be prompted the with a dialog asking you if you need to keep the database running after the test. Choose Yes, otherwise OpsCenter database may shut off.
This document contains information proprietary to Symantec Corporation. No portion of this document shall be duplicated, transmitted, used, or otherwise disclosed to any party to which it is submitted, and then only for the purpose
of evaluating this document.
8
8
Congratulations! Your DSN is properly configured. Click on OK. If the connection is not successful, please go back and review all of the steps for setting up the DSN.