Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NOTE: INSTALL_DIR will have to be replaced with the actual path in the config file.

$ cd ambari-server-*
$ export AMBARI_PASSPHRASE="tmp"
$ java -cp lib/*: org.apache.ambari.server.controller.AmbariServer

...

Edit facter_home in AmbariConfig.py to the directory where facter is installed. The agent executes the script facter_home/bin/facter to get all the node information and also uses df to get the mount point information.

To run the agent:
$ export AMBARI_PASSPHRASE="tmp"
$ python2.6 main.py

The Server currently doesnt implement the apis needed for the agent, so the agent will just try connecting to the server and do nothing. Take a look at

...