HP Systems Insight Manager 5.2 Installation and Configuration Guide for Linux

mxoracleconfig
You will be prompted for individual information for your Oracle database.
Host: Enter the IP address or host name of the Oracle server.
Port [1521]: Enter the same port number, then press Enter.
Database name: Enter your database name.
Username: Enter the username of your database.
Password: Enter the password of your database.
Oracle driver jar file: Enter the full location of the Oracle jar file.
Force [N]: Press Enter.
Or
You can use the mxoracleconfig command with all parameters as shown below:
mxoracleconfig h hostname [-n port number] d database name u username
p password [j driver jar file location] [-f ]
h Hostname
Full DNS name or IP address of the Oracle server.
-n Port number
Port number to be used to connect to the oracle instance. Default port is 1521.
d Database name
Name of database instance.
u Username
Database user name.
p Password
Database password for the corresponding user name.
j Driver file location
Full path to thin driver .jar file. This is not required if the .jar file is already in the class path for HP
Systems Insight Manager and JBoss. Mxoracleconfig reports an error if the driver class cannot be loaded.
Mxoracleconfig will not copy over a .jar file if it already exists in the classpath for HP Systems Insight
Manager and JBoss.
NOTE: By default, the ojdbc14.jar file is not shipped with HP SIM.
f Force flag to force a re-run.
Typically, this command is run only once. This flag is provided if a re-run is required because of some
type of user error such as specifying the wrong Oracle server or database instance.
Note: Execute the mxoracleconfig command before the mxinitconfig command so that
mxinitconfig will use Oracle as the database.
3. Test the prerequisites by executing the following command:
/opt/mx/bin/mxinitconfig -l
This utility should report that all server components are OK and that it completed all tasks successfully.
Note: HP recommends resolving any warnings before continuing with the initializing and configuring
HP Systems Insight Manager process.
4. Initialize and configure HP Systems Insight Manager by executing the following command:
/opt/mx/bin/mxinitconfig -a
Note: The initialization of the upgrade is done in the background, which takes several minutes. To verify
if the upgrade is 100% complete, view the file by executing the following command:
more /var/opt/mx/logs/initconfig.log
Installing and configuring the software 25