1.2 KiB
1.2 KiB
This section describes how to install and configure freezer-scheduler and freezer-agent, on any node in the cloud or any vm inside the cloud.
This section assumes that you already have a working OpenStack environment with at least the following components installed: .. Keystone .. Swift
git clone https://git.openstack.org/openstack/freezer.git
cd freezer
pip install ./
Configure the scheduler
- Copy the configuration files to
/etc/freezer/
:
$ sudo cp etc/scheduler.conf.sample /etc/freezer/scheduler.conf
Edit the
/etc/freezer/scheduler.conf
file and complete the following actions:- In the
[DEFAULT]
section, configure database access:
The
client_id
has to be set to the hostname of the machine. It will be used as an identifier for this node to fetch its scheduled backups[DEFAULT] ... client_id = hostname_of_machine jobs_dir = /etc/freezer/scheduler/conf.d
- In the
Start
freezer-scheduler
$ sudo freezer-scheduler --config-file /etc/freezer/scheduler.conf