Skip to content
Snippets Groups Projects
Commit 9a3bb71c authored by Arne Øslebø's avatar Arne Øslebø
Browse files

Update README.md

parent 11dce1f2
Branches
Tags
No related merge requests found
...@@ -8,35 +8,36 @@ Installation ...@@ -8,35 +8,36 @@ Installation
Do a minimal installation of CentOS 7. Do a minimal installation of CentOS 7.
Log in and install ansible: Log in and install ansible:
# yum -y install epel-release `yum -y install epel-release`
# yum -y install ansible git `yum -y install ansible git`
# ansible-galaxy collection install ansible.posix `ansible-galaxy collection install ansible.posix`
Clone soctools: Clone soctools:
# git clone --single-branch --branch dev1 https://scm.uninett.no/geant-wp8-t3.1/soctools.git `git clone --single-branch --branch dev1 https://scm.uninett.no/geant-wp8-t3.1/soctools.git
# cd soctools cd soctools`
Install soctools: Install soctools:
Edit group_vars/all/main.yml and change 'dslproxy' so that it point to the FQDN of the server. Edit group_vars/all/main.yml and change 'dslproxy' so that it point to the FQDN of the server.
# vi group_vars/all/main.yml `vi group_vars/all/main.yml`
The first entry in the soctools_users variable is the user with full admin privileges in NiFi and Kibana. The first entry in the soctools_users variable is the user with full admin privileges in NiFi and Kibana.
To configure the server running soctools, run the ansible playbook: To configure the server running soctools, run the ansible playbook:
# ansible-playbook -i soctools-inventory soctools_server.yml `ansible-playbook -i soctools-inventory soctools_server.yml`
To build the Docker images needed, run the ansible playbook: To build the Docker images needed, run the ansible playbook:
# ansible-playbook -i soctools-inventory buildimages.yml `ansible-playbook -i soctools-inventory buildimages.yml`
To build the CA needed for host and user certificates, run the ansible playbook:
`ansible-playbook -i soctools-inventory buildca.yml`
To build the CA needed for host and user certificates, run the ansible playbook:
# ansible-playbook -i soctools-inventory buildca.yml
User certificates are can be found in the directory roles/ca/files/CA/private. Import into browser for authentication. User certificates are can be found in the directory roles/ca/files/CA/private. Import into browser for authentication.
To start the cluster, run the ansible playbook soctools.yml: To start the cluster, run the ansible playbook soctools.yml:
# ansible-playbook -i soctools-inventory soctools.yml -t start `ansible-playbook -i soctools-inventory soctools.yml -t start`
To stop the cluster, run the ansible playbook soctools.yml: To stop the cluster, run the ansible playbook soctools.yml:
# ansible-playbook -i soctools-inventory soctools.yml -t stop `ansible-playbook -i soctools-inventory soctools.yml -t stop`
The NiFi interface should now be available on port 9443 on the server. The NiFi interface should now be available on port 9443 on the server.
The OpenDistro for Elasticsearch interface should now be available on port 5601 on the server. The OpenDistro for Elasticsearch interface should now be available on port 5601 on the server.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment