create new tag
view all tags

Setting up a new Shoal Server

Setup and Configure a target VM

First, create a Centos 6.x VM.

Log into the VM and replace the default root 'authorized_keys' so that root can login directly:

ssh -i key.pem centos@xx.xx.xx.xx

sudo rm /root/.ssh/authorized_keys

sudo cp .ssh/authorized_keys /root/.ssh/.

Next, disable SELINUX and reboot the VM:

sudo vi /etc/sysconfig/selinux

sudo reboot

Install Shoal Server using Ansible

On the deployment machine install Ansible. Using Ubuntu, issue the following command:

sudo apt-get install ansible

Create a 'hosts' file with the target machine's IP:

sudo vi /etc/ansible/hosts
      root@xx.xx.xx.xx ansible_ssh_private_key_file=key.pem

Go to directory where shoal repo will be cloned to and clone it:

git clone https://github.com/hep-gc/ansible-systems.git

Enter the Shoal Server directory and run the ansible playbook:

cd ansible-systems/shoal

ansible-playbook server.yaml

-- KevinCasteels - 2015-11-02

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | More topic actions
Topic revision: r2 - 2015-11-09 - kcasteels
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback