Skip to content

Instantly share code, notes, and snippets.

@trentster
Last active December 10, 2015 22:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trentster/4505797 to your computer and use it in GitHub Desktop.
Save trentster/4505797 to your computer and use it in GitHub Desktop.
imgadm update
imgadm import fdea06b0-3f24-11e2-ac50-0b645575ce9d
imgadm list | grep fdea
vi setupfifo.json
vmadm create -f setupfifo.json
## In FiFo Zone ##
zlogin fifo
echo "http://release.project-fifo.net/pkg/dev/" >>/opt/local/etc/pkgin/repositories.conf
pkgin -fy up
pkgin install snarl sniffle howl wiggle jingles haproxy
cp /opt/local/jingles/config/nginx.conf /opt/local/etc/nginx/nginx.conf
cp /opt/local/jingles/config/haproxy.cfg /opt/local/etc/haproxy.cfg
svcs epmd snarl sniffle howl wiggle nginx haproxy
svcadm enable epmd snarl sniffle howl wiggle nginx haproxy
/opt/local/snarl/bin/snarl-admin users add admin
/opt/local/snarl/bin/snarl-admin users grant admin ...
/opt/local/snarl/bin/snarl-admin users passwd admin admin
reboot
## In GZ for each compute node ##
cd /opt && curl -O http://release.project-fifo.net/chunter/dev/chunter-latest.gz && gunzip chunter-latest.gz
sh chunter-latest
svcs chunter
svcadm enable chunter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment