Skip to content
This repository was archived by the owner on Jun 15, 2018. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions references.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
.. _`Tendrl Package Installation Reference`: https://github.com/Tendrl/documentation/wiki/Tendrl-release-v1.5.4-(install-guide)
.. _`Design document for Context Selector navigation`: https://redhat.invisionapp.com/share/8QCOEVEY9#/screens/244820318
.. _`Design document for Gluster file shares list`: https://redhat.invisionapp.com/share/BR8JDCGSQ#/screens/198417117
.. _`Specification for cluster expansion`: https://github.com/Tendrl/specifications/pull/254

.. Tendrl Upstream Documentation related to Alerting

Expand Down
70 changes: 70 additions & 0 deletions web/tendrl/cluster_expand.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
Expand cluster
**************

:authors:
- fbalak@redhat.com

Description
===========

Cluster expansion as described in `Specification for cluster expansion`_.

Setup
=====

#. Prepare Gluster cluster.

#. Login user into Tendrl, see :doc:`/web/tendrl/login_positive`

#. Import cluster, see :doc:`/web/tendrl/cluster_import`

#. Prepare another hosts with installed gluster that are going to be used for
expansion.

Test Steps
==========

.. test_action::
:step:
From one of already imported hosts run:
``gluster peer probe [new_host]``
where ``[new_host]`` is host that is going to be used to expand cluster.
Repeat for all new hosts.

@ltrilety ltrilety Mar 13, 2018

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would think about to do some work with volumes too. E.g. create a new one on all nodes or expand existing one etc.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, but that could be covered in another test case.

:result:
All new hosts are added to gluster trusted pool.

.. test_action::
:step:
In Tendrl UI click on imported cluster.
:result:
List of hosts is displayed and there are hosts from originally imported
cluster. There are no new hosts.

.. test_action::
:step:
Run tendrl-ansible on new hosts from server that installed Tendrl on
all other hosts. Command ran from tendrl-ansible repo could look like
this:
``ansible-playbook site.yml -u root -i expand.hosts``
:result:
*tendrl-node-agent* is installed on all new nodes.

.. test_action::
:step:
Check list of hosts in Tendrl UI.
:result:
There are listed all hosts of expanded cluster.

.. test_action::
:step:
Click on *Dashboard* next to hostname of newly added host. Repeat with
all new hosts.
:result:
Grafana *Hosts* dashboard for relevant host is displayed and populated
with data.

Teardown
========
#. Log out

#. Close browser