Commit 19bf5bf1 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis
Browse files

Add test section in installation overview


Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 04495481
......@@ -85,3 +85,7 @@ Now enable sites and modules by running:
# a2ensite synnefo-ssl
# a2enmod headers
# a2enmod proxy_http
Test your Setup:
++++++++++++++++
......@@ -43,3 +43,7 @@ Import the additional repos' GPG key and get the packages list:
# apt-key add rabbitmq-signing-key-public.asc
# curl https://dev.grnet.gr/files/apt-grnetdev.pub | apt-key add -
# apt-get update
Test your Setup:
++++++++++++++++
......@@ -101,3 +101,7 @@ All this can be done with one command:
.. code-block:: console
# snf-manage user-add --password=12345 --active user@example.com Name LastName
Test your Setup:
++++++++++++++++
......@@ -129,3 +129,7 @@ and finally run:
# snf-manage loaddata /tmp/sites.json
# snf-manage loaddata /tmp/page.json
# snf-manage createsuperuser --username=admin --email=admin@example --noinput
Test your Setup:
++++++++++++++++
......@@ -151,3 +151,7 @@ access Internet:
.. code-block:: console
# snf-manage network-create --subnet=10.0.1.0/24 --gateway=10.0.1.1 --public --dhcp --flavor=CUSTOM --mode=bridged --link=br0 --name=Internet --backend-id=1
Test your Setup:
++++++++++++++++
......@@ -63,3 +63,7 @@ to connect to the database. Add the following line:
.. code-block:: console
# /etc/init.d/postgresql restart
Test your Setup:
++++++++++++++++
......@@ -67,3 +67,7 @@ We need to add a rapi user to Ganeti so that Synnefo can talk with the backend:
# result=$(echo -n "synnefo:Ganeti Remote API:example_rapi_passw0rd" | openssl md5)
# echo "synnefo {HA1} $result" >> /var/lib/ganeti/rapi/users
# /etc/init.d/ganeti restart
Test your Setup:
++++++++++++++++
......@@ -49,3 +49,7 @@ and enable ``snf-ganeti-eventd``:
# sed -i 's/false/true/' /etc/default/snf-ganeti-eventd
# /etc/init.d/snf-ganeti-eventd start
Test your Setup:
++++++++++++++++
......@@ -45,3 +45,7 @@ In `/etc/gunicorn.d/synnefo` add:
'--log-level=debug',
),
}
Test your Setup:
++++++++++++++++
......@@ -49,3 +49,7 @@ and create snf-image-helper with:
.. code-block:: console
# snf-image-update-helper -y
Test your Setup:
++++++++++++++++
......@@ -82,3 +82,7 @@ and register it to plankton:
Test your Setup:
++++++++++++++++
......@@ -38,3 +38,7 @@ exchanges:
# rabbitmqctl delete_user guest
# rabbitmqctl set_user_tags synnefo administrator
# /etc/init.d/rabbitmq-server restart
Test your Setup:
++++++++++++++++
......@@ -65,3 +65,7 @@ In router node in case you have a NAT setup run:
# iptables -t nat -A POSTROUTING -s 10.0.1.0/24 -j MASQUERADE
# ip addr add 10.0.1.1/24 dev eth1
Test your Setup:
++++++++++++++++
......@@ -144,3 +144,7 @@ In all ``synnefo`` and ``backend`` nodes add in `/etc/resolv.conf`:
domain example.com
search example.com
nameserver 4.3.2.1
Test your Setup:
++++++++++++++++
......@@ -99,3 +99,7 @@ After configuration is done, restart services:
# /etc/init.d/gunicorn restart
# /etc/init.d/apache2 restart
Test your Setup:
++++++++++++++++
......@@ -53,3 +53,7 @@ In `/etc/synnefo/snf-webproject.conf` add:
USE_X_FORWARDED_HOST = True
SECRET_KEY = 'sy6)mw6a7x%n)-example_secret_key#zzk4jo6f2=uqu!1o%)'
Test your Setup:
++++++++++++++++
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment