Difference: SetupShoalServer (1 vs. 2)

Revision 22015-11-09 - kcasteels

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Setting up a new Shoal Server

Changed:
<
<
-create centos 6.7 vm
>
>

Setup and Configure a target VM

 
Added:
>
>
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/.

Added:
>
>

Next, disable SELINUX and reboot the VM:

 
Added:
>
>
 sudo vi /etc/sysconfig/selinux
Changed:
<
<
-> SELINUX=disabled
>
>
-> SELINUX=disabled
  sudo reboot
Added:
>
>

Install Shoal Server using Ansible

 
Added:
>
>
On the deployment machine install Ansible. Using Ubuntu, issue the following command:
 
Added:
>
>
 sudo apt-get install ansible
Added:
>
>
 
Added:
>
>
Create a 'hosts' file with the target machine's IP:
 sudo vi /etc/ansible/hosts -> [shoal-server] root@xx.xx.xx.xx ansible_ssh_private_key_file=key.pem
Added:
>
>
 
Added:
>
>
Go to directory where shoal repo will be cloned to and clone it:
 
Changed:
<
<
Go to directory where shoal git repo will be cloned to, then:
>
>
 git clone https://github.com/hep-gc/ansible-systems.git
Added:
>
>

Enter the Shoal Server directory and run the ansible playbook:

 
Added:
>
>
 cd ansible-systems/shoal

ansible-playbook server.yaml

Added:
>
>
  -- KevinCasteels - 2015-11-02

Revision 12015-11-02 - kcasteels

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

Setting up a new Shoal Server

-create centos 6.7 vm

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

sudo rm /root/.ssh/authorized_keys

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

sudo vi /etc/sysconfig/selinux -> SELINUX=disabled

sudo reboot

sudo apt-get install ansible

sudo vi /etc/ansible/hosts -> [shoal-server] root@xx.xx.xx.xx ansible_ssh_private_key_file=key.pem

Go to directory where shoal git repo will be cloned to, then:

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

cd ansible-systems/shoal

ansible-playbook server.yaml

-- KevinCasteels - 2015-11-02

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback