From 897c6d5b03512ad4c9cd3127e6fb2168f9ad24c0 Mon Sep 17 00:00:00 2001 From: Peter Razumovsky Date: Tue, 7 Feb 2017 18:00:15 +0400 Subject: [PATCH] Add documentation about designate CCP plugin Add docs about what is designate and how it's configured and enabled in fuel ccp. Change-Id: I9f27aae2ed5fdb36a21bc02f450e1f0a919e1f9e Depends-On: I0332dc2e1e8bfaf7802f339ae94928c6c7de9979 --- doc/source/index.rst | 1 + doc/source/plugins/designate.rst | 100 +++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 doc/source/plugins/designate.rst diff --git a/doc/source/index.rst b/doc/source/index.rst index 945fcfe5..3b5765e8 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -40,6 +40,7 @@ Service plugins docs :maxdepth: 1 plugins/searchlight + plugins/designate Developer docs -------------- diff --git a/doc/source/plugins/designate.rst b/doc/source/plugins/designate.rst new file mode 100644 index 00000000..80205acc --- /dev/null +++ b/doc/source/plugins/designate.rst @@ -0,0 +1,100 @@ +.. _designate: + +================================== +Designate CCP plugin documentation +================================== + +This is Fuel-CCP plugin for OpenStack Designate service. + +Original designate service developer docs are +placed `here `_. + +Overview +~~~~~~~~ + +Designate provides DNSaaS services for OpenStack. Designate architecture has +next components: + +* ``designate-api`` – provides the standard OpenStack style REST API service; + +* ``designate-central`` – is the service that handles RPC requests via the MQ, + it coordinates the persistent storage of data and applies business logic to + data from the API; + +* ``designate-mdns`` – is the service that sends DNS NOTIFY and answers zone + transfer (AXFR) requests; + +* ``designate-pool-manager`` – is a service that handles the states of the DNS + servers Designate manages; + +* ``designate-zone-manager`` – is a service that handles all periodic tasks + related to the zone shard it is responsible for; + +* ``designate-sink`` – is an optional service which listens for event + notifications, such as compute.instance.create.end. Currently supports Nova + and Neutron; + +* ``designate-agent`` – pool manager agent backend. This is an optional + service. Agent uses an extension of the DNS protocol to send management + requests to the remote agent processes, where the requests will be processed. + +CCP components have names of components above, ``designate-sink`` and +``designate-agent`` components are *optional*. + +Configuration +~~~~~~~~~~~~~ + +Designate has configurable options for each component, which could be +set for specific node with :ref:`nodes` configs section. These options +are: `workers` and `threads`. They are placed in +`designate.service..` configs path. Also, +designate CCP plugin allows to configure defaults of domain purge: `interval`, +`batch_size` and `time threshold`. + +Installation +~~~~~~~~~~~~ + +Currently designate CCP plugin is not supported by default, so +installation has next steps: + +#. Add next item to ``repositories.repos`` list of CCP configuration file: + + :: + + - git_url: https://git.openstack.org/openstack/fuel-ccp-designate + name: fuel-ccp-designate + +#. Add designate components to roles list. Next components are required: + + :: + + - designate-api + - designate-central + - designate-mdns + - designate-pool-manager + - designate-zone-manager + + + Components ``designate-sink`` and ``designate-agent`` are optional and could + not be deployed. + +#. Fetch, build, deploy components. + +#. Install `python-designateclient` and also install/update + `python-openstackclient` with pip: + + :: + + pip install --user -U python-designateclient python-openstackclient + + +Dashboard plugin +~~~~~~~~~~~~~~~~ + +Designate has horizon dashboard plugin, which allows to create and manage +domains and records. It is already available in horizon and is activated when +designate is on board. Domain panel is placed in ``Projects`` menu. + +Unfortunately, domain requires at least one server, created by designate with +command :command:`designate server-create`, so you cannot use only horizon for +full dns management.