Installation using the Ansible playbook
Before starting the installation process you need to prepare your server platform accordingly to the size of the Microsoft 365 organization you are going to protect (see the Sizing guide guide chapter).
You can install a complete Kodo for Cloud solution using the following 2 roles, available on the Ansible Galaxy:
Kodo Cloud Server: https://galaxy.ansible.com/xe0nic/ansible_kodo_cloud_server
Kodo Cloud Agent: https://galaxy.ansible.com/xe0nic/ansible_kodo_cloud_agent
Prerequisites
You need to prepare CentOS/RHEL 8 server minimal for Kodo for Cloud (both roles can be installed on the same or different hosts).
This example assumes that you have root
access to this host and you have configured your Ansible to connect with SSH public keys to your host. For example:
generate a key:
and copy it to your CentOS/RHEL box:
Agents communicate with Kodo Cloud Server on port 8181, so they must be able to access it using the server's FQDN (must be resolvable).
Installation
This example assumes that you want to install both Kodo for Cloud server and agent using a single playbook and on the same host (single agent) and currently this is the only supported deployment.
Run these on the system from which you run Ansible playbooks:
Install Ansible roles:
Create a playbook directory and change its working directory, i.e:
mkdir kodo && cd kodo
Create an inventory file - i.e.
hosts
:
Create a playbook file -
site.yml
:
Run playbook:
ansible-playbook -i hosts site.yml
After installation you should be able to log into your Kodo for Cloud server:
https://kodo_cloud_server_address:8181
and your nodes should be registered and running.
KODO for Cloud server credentials are submitted in the KodoAdmin vs KODO Organization admin
Variables
These two roles use just a few variables. Both plays use server_fqdn
variable. If not defined, server play sets variable server_fqdn
to the hostname reported by the OS on which it is installed. Server play will generate SSL certificate for this FQDN, and node play automatically will use this value if defined. You can also provide this variable manually (either in hosts
file or with extra vars switch in ansible-playbook
command, i.e. -e "server_fqdn=kodo.server.local"
Node play needs agent_name
for the registration process. If not provided it will just use the hostname reported by OS, however, keep in mind that it needs to be unique for each node. We recommend that you set them in the host inventory file.
By default KODO for Cloud uses MariaDB 10.4 for CentOS - you can control the source, distribution, and version of your MariaDB with the following variables (with their respective default values):
The installer assumes staging space to be mounted in /kodo_data/staging
and backup destination mounted in /kodo_data/backup
- we recommend to leave these defaults and just mount appropriate storage underneath /kodo_data
Ansible playbook is also able to automatically prepare deduplication (by default storage used for staging and backup destination it is not initialized and just assumed to be present under the above-mentioned paths). To enable deduplication - you just need to provide a block device that will be used for VDO (by default it is an empty string, which means that VDO is not going to be initialized). VDO will be mounted in /kodo_data
by default which means that both staging space and backup destination will use the same storage.
You can begin system configuration following information from the Initial Configuration section.
Last updated