Database Reference
In-Depth Information
2. Create a new folder:
c:\ambari-scom
.
3. Extract the
server.zip
file from the original downloaded zip file into
the
c:\ambari-scom\
folder. There are three packages in this file that
we will install.
4. Extract the
ambari-scom-server-version-lib.zip
contents
locally.
5. Extract the
ambari-scom-server-version-conf.zip
contents
locally.
6. Open the
Ambari.properties
file within the configuration folder you
just extracted in step 4. Update the server, databasename, user, and
password to the information for your SQL Server hosting the
HadoopMetrics database.
7. Open a command prompt and run the
org.apache.ambari.scom.AmbariServer
class to start the
Ambari SCOM Server.
You may need to make a few changes to the following code based on
where you have installed components. You may want to type it in
Notepad first, before cutting and pasting it into the cmd prompt:
java -server -XX:NewRatio=3 -XX:+UseConcMarkSweepGC
-XX:-UseGCOverheadLimit
-XX:CMSInitiatingOccupancyFraction=60
-Xms512m -Xmx2048m -cp
"C:\Users\Administrator\Downloads\hdp-1.3.0.0-GA\hdp-1.3.0.0-GA;
c:\ambari-scom\server\conf;c:\ambari\sqljdbc4.jar;
c:\ambari-scom\server\ambari-scom-server-1.2.5.0.9.0.0-60.jar;
c:\ambari-scom\server\lib\*"
org.apache.ambari.scom.AmbariServer
8. Verify that the Server API is working by entering this site from the
Ambari SCOM server:
http://localhost:8080/api/v1/
clusters
.
You should receive back a page like
Figure 16.5
.
If you are
receiving any error messages, stop here and pay close attention to your
paths in step 7.