Настройка окружения¶
Настроенное окружение необходимо для корректной установки и настройки модулей TIONIX. Для настройки следуйте нижеописанным пунктам:
Подключите в системный каталог
/etc/yum.repos.d/tionix-modules.repo
репозитории TIONIX:- http://rpm-centos.tionix.ru/2.9/x86_64/ - модули TIONIX;
- http://rpm-centos.tionix.ru/extras/el7/x86_64/ - зависимости модулей TIONIX;
Пример:
[tionix-modules] baseurl=http://rpm-centos.tionix.ru/2.9/x86_64/ enabled = 1 exclude = gpgcheck = 0 name = modules [tionix-extras] baseurl=http://rpm-centos.tionix.ru/extras/el7/x86_64/ enabled = 1 exclude = gpgcheck = 0 name = requirements
Подключите в системный каталог
/etc/yum.repos.d/system.repo
репозитории CentOS7:- https://mirror.yandex.ru/centos/7.9.2009/cloud/x86_64/openstack-queens/;
- https://mirror.yandex.ru/centos/7.9.2009/extras/x86_64/;
- https://mirror.yandex.ru/epel/7/x86_64/;
- https://mirror.yandex.ru/centos/7.9.2009/os/x86_64/;
- https://mirror.yandex.ru/centos/7.9.2009/virt/x86_64/kvm-common/.
Пример:
[system-base] baseurl=https://mirror.yandex.ru/centos/7.9.2009/os/x86_64/ enabled = 1 exclude = gpgcheck = 0 name = system-base [system-extras] baseurl=https://mirror.yandex.ru/centos/7.9.2009/extras/x86_64/ enabled = 1 exclude = gpgcheck = 0 name = system-extras [system-cloud] baseurl=https://mirror.yandex.ru/centos/7.9.2009/cloud/x86_64/openstack-queens/ enabled = 1 exclude = gpgcheck = 0 name = system-cloud [system-updates] baseurl=https://mirror.yandex.ru/centos/7.9.2009/updates/x86_64/ enabled = 1 exclude = gpgcheck = 0 name = system-udpates [system-virt] baseurl=https://mirror.yandex.ru/centos/7.9.2009/virt/x86_64/kvm-common/ enabled = 1 exclude = gpgcheck = 0 name = system-virt [system-storage] baseurl=https://mirror.yandex.ru/centos/7.9.2009/storage/x86_64/ceph-luminous/ enabled = 1 exclude = gpgcheck = 0 name = system-storage [system-epel] baseurl=https://mirror.yandex.ru/epel/7/x86_64/ enabled = 1 exclude = gpgcheck = 0 name = system-epel
Установите лицензию:
yum install -y python-tionix_licensing-2.0.1
Установите библиотеку Setuptools:
yum install -y python2-setuptools
Перезапустите службы:
systemctl restart openstack-nova-api systemctl restart httpd
После настройки окружения можно приступать к установке модулей TIONIX. Рекомендуемый порядок установки модулей:
- TIONIX.Client (в качестве зависимости для остальных модулей TIONIX);
- TIONIX.NodeControl;
- TIONIX.Scheduler;
- TIONIX.VDIserver;
- TIONIX.Monitor;
- TIONIX.Dashboard;
- TIONIX.PointMeter.