Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Commit

Permalink
section 1 (#5)
Browse files Browse the repository at this point in the history
* initial toc

* fixed index for readthedocs

* added mkdocs for forcing the toc structure

* fixed indentation

* fixed node operation error in mkdocs compilation

* restructured the repository

* added missing index page in mkdocs.yml

* fixed linter issues

* enabled readthedocs build in the ci process

* fixing few linting issues and applying comments

* added new rules to the md linting added python 2.7 to the ci-build

* include section 1

* minor fixes

* fix code print

* try to fix index

* fix index

* fix levels and code

* fix code

* increase indent

* fixes

* fix syntax

* disable md41

* apply @taliaga review

* clean old toc
  • Loading branch information
chicco785 committed Nov 9, 2018
1 parent aac51b1 commit 9174662
Show file tree
Hide file tree
Showing 23 changed files with 196 additions and 77 deletions.
6 changes: 5 additions & 1 deletion .markdownlintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@
"commands-show-output": false,
"no-trailing-punctuation": {
"punctuation": ".,;:!"
}
},
"MD002": false,
"MD041": false,
"MD042": false,
"MD013": false
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ offering free resources to [FIWARE](https://www.fiware.org) developers.

Documentation is tagged according to FIWARE Lab release plan.

## Contributions
## Contributions

Contributions to the documentation are welcome in the form of pull requests.

Expand Down
7 changes: 7 additions & 0 deletions docs/1.essentials/1.introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Essential things to know before joining FIWARE Lab

As a new node of the FIWARE Lab federation, you will increase the capacity of our
current facilities and provide the FIWARE services to the users. In the same way,
the FIWARE Lab node will take the benefits of the knowledge that the FIWARE community
has acquired in the management of this environment. In this guide, you can
find the main steps to join the FIWARE Lab federation.
42 changes: 42 additions & 0 deletions docs/1.essentials/2.requirements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## Requirements

The hardware requirements are associated with the number of end-users
(community users) that can be maintained in the node. The minimum number
of those customers have to be 20. Based on this, the hardware and
networks requirements are specified in the following sections.

### Hardware Requirements

The hardware requirements are associated with the number of end-users
(community users) is the following:

- Up to 10 vCores per end-user.

- Up to 20 Gb RAM per end-user.

- Up to 150 Gb Hard Drive per end-user.

- At least 22 Gb for images management.

### Network Requirements

The connectivity capacity will be used for two aims: connect to the
backbone of the FIWARE Lab to support node management operations, and
provide connectivity to deployed services for end-users. You have also
to provide a pool of public IPs that can be used during the OpenStack
deployment (in order to expose the public API) and at a later time by
the FIWARE Lab end-users.

Networking requirements:

- 1 Gbps connectivity for the backbone;

- 100 Mbps Internet connectivity for end-users;

- Firewall to ensure security;

- At least 1 public IPv4 available for each end-user (20 public IPs
for 20 community users) plus public IPs for the different
OpenStack services.

- IPv6 support is desirable although not required.
40 changes: 40 additions & 0 deletions docs/1.essentials/3.steps_join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## Steps to become a New FIWARE Lab node

In order to actually become a new FIWARE Lab node, several activities
are required from both the Node and FIWARE Lab admins. The first is the
signature of a Letter of Intent in order to communicate to the node
these steps, the SLA levels that they have to fulfil and the FIWARE Lab
user data ownership and legislation to be applied in terms of Data
Protection. Additionally, it is explained that the non-fulfilment of the
SLA will produce a disconnection of the node from the FIWARE Lab. The
Annex D: Letter of intent to become a new FIWARE Lab node contains the
template of this Letter of Intent.

The table below describes, step by step, the whole procedure as it is at
the time of writing this document.

Some steps may change in the near future due to the R6.4 of FIWARE
Keyrock that includes the migration from Keyrock to Keystone and the
Federation of OpenStack Keystone instances, therefore in short time all
the nodes can use their own OpenStack Keystone instance and create users
on the FIWARE Lab node.

| **TASK** | **TASK DESCRIPTION** | **TASK OWNER** |
| --- | --- | --- |
| 00 | Sign the Letter to become a FIWARE Lab | Node Admin |
| 01 | Provide contacts information. | Node Admin |
| 02 | Insert the new node within the agenda of the weekly meetings. | FIWARE Lab Admins
| 03 | Join the weekly meetings. | Node Admin |
| 04 | Join the <fiware-lab-federation-nodes@lists.fiware.org> mail list. | Node Admin + FIWARE Lab Admins |
| 05 | Insert the new node in Jira for help-desk, sprint and FLUA management. | FIWARE Lab Admins |
| 06 | Sign in for Jira account: <https://jira.fiware.org> | Node Admin |
| 07 | Sign in for a FIWARE Lab account: <https://cloud.lab.fiware.org> | Node Admin
| 08 | Webinar to explain how to use the main tools and methodology, such as Jira, Sprints, Help tickets, FLUAs. | Node Admin + FIWARE Lab Admins |
| 09 | Create sprint activities | FIWARE Lab Admins |
| 10 | Install the local OpenStack node | Node Admin |
| 11 | Federate the node | Node Admin |
| 12 | Update the federation data within the corresponding workitem created for the federation process | Node Admin |
| 13 | Install and configure the monitoring system | Node Admin + FIWARE Lab Admins |
| 14 | Configure the Sanity Check | Node Admins + FIWARE Lab Admins |
| 15 | Insert the new node within Infographic, Health Status and Sanity Check | Node Admins + FIWARE Lab Admins |
| 16 | Synchronize GE image list | FIWARE Lab Admins |
27 changes: 27 additions & 0 deletions docs/1.essentials/4.steps_leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## Steps to discontinue a FIWARE Lab node

In order to discontinue the operation of a running FIWARE Lab node there
are several activities and obligations to be respected. The most
important, which is the base of the FIWARE philosophy, is taking care of
the migration of users toward a persistent node, in order to
avoid service outage.

The table below describes all steps, as they are now at the time of
writing this document.

Some steps may change in the near future due to the R6.4 of FIWARE
Keyrock that includes the migration from Keyrock to Keystone and the
Federation of OpenStack Keystone instances, therefore in short time all
the nodes can use their own OpenStack Keystone instance and create use
on the FIWARE Lab node.

| **TASK** | **TASK DESCRIPTION** | **TASK OWNER** |
| --- | --- | --- |
| 01 | Inform the FIWARE Lab management about your decision at least 1 month before the shutdown | Node Admin |
| 02 | Inform all FIWARE Lab users about the shutdown via the FIWARE Lab notification tool | FIWARE Lab Admins |
| 03 | Take care of the migration of all active users toward a persistent node | Node Admin + FIWARE Lab Admins |
| 04 | Disconnect the node from centralized Keystone | Node Admin + FIWARE Lab Admins |
| 05 | Delete the node from the list of available nodes in JIRA, FLUA, Sanity Check, Infographic, Health Status | FIWARE Lab Admins |
| 06 | Delete from the [*fiware-lab-federation-nodes@lists.fiware.org*](mailto:fiware-lab-federation-nodes@lists.fiware.org) mail list | FIWARE Lab Admins |
| 07 | Delete the node from the weekly meeting agenda/minute | FIWARE Lab Admins |
| 08 | Ask the node to send a final report/lessons learnt | FIWARE Lab Admins + Node Admin|
63 changes: 63 additions & 0 deletions docs/1.essentials/5.steps_status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
## Steps to show the current status of your FIWARE Lab node

The table below represents the template used to check the current status
of a node.

| []()|[]() |
| --- | --- |
| **OpenStack Version** | []() |
| **Monitoring Version** | []() |
| **Infographic Status** | []() |
| **Health Check Status** | []() |
| **Federation Status** | []() |

In order to retrieve all those information it is necessary to perform the
following operation:

- HOW TO CHECK THE NODE NAME

```
$ ssh login into one controller node
$ grep region_name /etc/nova/nova.conf
```

- HOW TO CHECK THE OPENSTACK VERSION

```
$ ssh login into one controller node
$ nova-api --version
(e.g. 2015.1.1)
```

Take note of 2015.1.1 and go to
[*https://wiki.openstack.org/wiki/Release\_Naming*](https://wiki.openstack.org/wiki/Release_Naming)
to see the corresponding OpenStack release (in this example Kilo).

- HOW TO CHECK THE MONITORING VERSION

```
$ ssh login into one controller node
$ search the fiware-check-monitoring.sh script
$ run fiware-check-monitoring.sh -v
```

Check the text “FIWARE Lab Monitoring System release xxxx”

- HOW TO CHECK THE INFOGRAPHIC STATUS

Go to [*http://infographic.lab.fiware.org*](http://infographic.lab.fiware.org)

Check the status of the node

- HOW TO CHECK THE HEALTH CHECK STATUS

Go to [*https://fi-health.lab.fiware.org*](https://fi-health.lab.fiware.org)
and check the Sanity Check status.

Go to [*http://status.lab.fiware.org*](http://status.lab.fiware.org)
and check the historical performance of the node and available resources.

- HOW TO CHECK THE FEDERATION STATUS

Go to [*http://backlog.fiware.org/lab/backlog*](http://backlog.fiware.org/lab/backlog)
and check the closing date of the corresponding workitem.
1 change: 0 additions & 1 deletion docs/faq.md

This file was deleted.

4 changes: 0 additions & 4 deletions docs/future.md

This file was deleted.

22 changes: 5 additions & 17 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,8 @@ and connect it to the FIWARE Lab.

## Table of Contents

1. [Introduction](introduction.md)
1. [Setting-up a node](node-set-up)
1. [Requirements](node-set-up/requirements.md)
1. [Installation](node-set-up/installation.md)
1. [Connecting a node](node-connection)
1. [Connecting your node to FIWARE Lab](node-connection/fiware-lab.md)
1. [Registering your node in FI-Health](node-connection/fi-health.md)
1. [Registering your node in the Infographic](node-connection/infographic.md)
1. [Disconnecting a node](node-disconnection)
1. [Disconnecting your node to FIWARE Lab](node-disconnection/fiware-lab.md)
1. [Deregistering your node in FI-Health](node-disconnection/fi-health.md)
1. [Deregistering your node in the Infographic](node-disconnection/infographic.md)
1. [Operating a node](node-operation)
1. [Planned future evolutions](future.md)
1. [Additional documentation](references.md)
1. [F.A.Q.](faq.md)
1. [ToDos](todos.md)
1. [Essential things to know before joining FIWARE Lab](1.essentials/1.introduction.md)
- [Requirements](1.essentials/2.requirements.md)
- [Steps to become a New FIWARE Lab node](1.essentials/3.steps_join.md)
- [Steps to discontinue a FIWARE Lab node](1.essentials/4.steps_leave.md)
- [Steps to show the current status of your FIWARE Lab node](1.essentials/5.steps_status.md)
1 change: 0 additions & 1 deletion docs/introduction.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/node-connection/fi-health.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/node-connection/fiware-lab.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/node-connection/infographic.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/node-disconnection/fi-health.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/node-disconnection/fiware-lab.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/node-disconnection/infographic.md

This file was deleted.

Empty file removed docs/node-operation/index.md
Empty file.
7 changes: 0 additions & 7 deletions docs/node-set-up/installation.md

This file was deleted.

12 changes: 0 additions & 12 deletions docs/node-set-up/requirements.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/references.md

This file was deleted.

4 changes: 0 additions & 4 deletions docs/todos.md

This file was deleted.

23 changes: 6 additions & 17 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,12 @@ docs_dir: 'docs'
theme: readthedocs
pages:
- Home: 'index.md'
- Introduction: 'introduction.md'
- Setting-up a node:
- 'Requirements': 'node-set-up/requirements.md'
- 'Installation': 'node-set-up/installation.md'
- Connecting a node:
- 'Connecting your Node to FIWARE Lab': 'node-connection/fiware-lab.md'
- 'Registering your Node in FI-Health': 'node-connection/fi-health.md'
- 'Registering your Node in the Infographic': 'node-connection/infographic.md'
- Disconnecting a node:
- 'De-Registering your Node to FIWARE Lab': 'node-disconnection/fiware-lab.md'
- 'De-Registering your Node in FI-Health': 'node-disconnection/fi-health.md'
- 'De-Registering your Node in the Infographic': 'node-disconnection/infographic.md'
- 'Operating a node': 'node-operation/index.md'
- 'Planned future evolutions': 'future.md'
- 'Additional Documentation': 'references.md'
- 'F.A.Q.': 'faq.md'
- 'ToDos': 'todos.md'
- 'Essential things to know before joining FIWARE Lab':
- 'Introduction': '1.essentials/1.introduction.md'
- 'Requirements': '1.essentials/2.requirements.md'
- 'Steps to become a New FIWARE Lab node': '1.essentials/3.steps_join.md'
- 'Steps to discontinue a FIWARE Lab node': '1.essentials/4.steps_leave.md'
- 'Steps to show the current status of your FIWARE Lab node': '1.essentials/5.steps_status.md'

markdown_extensions: [toc,fenced_code]
extra_css: ["https://fiware.org/style/fiware_readthedocs.css"]

0 comments on commit 9174662

Please sign in to comment.