Versions Compared

Key

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

...

For example, up.sh 3 starts 3 VMs. 3 seems to be a good number with 16GB of RAM without taxing the system too much.
With the default Vagrantfile, you can specify up to 10 (if your computer can handle it; you can even add more).
VMs will have the FQDN <os-code>[01-10].ambari.apache.org, where <os-code> is c59 (CentOS 5.9), c64 (CentOS 6.4), etc.
E.g., c5901.ambari.apache.org, c6401.ambari.apache.org, etc.
VMs will have the IP address 192.168.<os-subnet>.1[01-10], where <os-subnet> is 59 for CentOS 5.9, 64 for CentOS 6.4, etc.
E.g., 192.168.59.101, 192.168.64.101, etc.
Note that up.sh 3 command is equivalent to doing something like: vagrant up /c6401-3/

Testing Ambari

If it is your first time running a vagrant command, run:

Code Block
vagrant init

Log into the VM:

Code Block
vagrant ssh c6401

...

Code Block
wget http://public-repo-1.hortonworks.com/ambari/centos6/1.x/updates/1.6.0/ambari.repo (to test latest public release)
OR
wget http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/1.x/updates/1.6.1.dev/ambari.repo (to test latest trunk code for 1.6.1)
OR
wget http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/1.x/updates/1.7.0.trunk/ambari.repo (to test the latest trunk code in developmentfor 1.7.0)
cp ambari.repo /etc/yum.repos.d
yum install ambari-server -y
ambari-server setup -s
ambari-server start

...