Search…
Install workloadmgr CLI client

About the workloadmgr CLI client

The workloadmgr CLI client is provided as rpm and deb packages.
It got tested against the following operating systems:
    CentOS7, CentOS8
    Ubuntu 18.04, Ubuntu 20.04
Installing the workloadmgr client will automatically install all required Openstack clients as well.
Further will the installation of the workloadmgr client integrate the client into the global openstack python client, if available.
The required connection strings and package names can be found on the TrilioVault Dashboard under the Downloads tab.

Install workloadmgr client rpm package on CentOS7/8

The TrilioVault workload manager CLI client has several requirements that need to be met before the client can be installed without dependency issues.

Preparing the workloadmgr client installation

The following steps need to be done to prepare the installation the workloadmgr client:
    1.
    Add required repositories
      1.
      epel-release
      2.
      for CentOS7: centos-release-openstack-stein
      3.
      for CentOS8: centos-release-openstack-train
    2.
    install base packages
      1.
      yum -y install epel-release
      2.
      for CentOS7: yum -y install centos-release-openstack-stein
      3.
      for CentOS8: yum -y install centos-release-openstack-train
These repositories are required to fulfill the following dependencies:
On CentOS7 Python2: python-pbr,python-prettytable,python2-requests,python2-simplejson,python2-six,pytz,PyYAML,python2-openstackclient
On CentOS8 Python3: python3-pbr,python3-prettytable,python3-requests,python3-simplejson,python3-six,python3-pyyaml,python3-pytz,python3-openstackclient

Installing the workloadmgr client

There are 2 possibilities for how the workloadmgr client packages can be installed.

Download from the TrilioVault Appliance and install directly

The TrilioVault appliance is shipping the workloadmgr client version, that is matching the TrilioVault version of the TrilioVault appliance. These clients will always work with their respective TrilioVault versions.
The workloadmgr client can be directly downloaded using the following command:
For CentOS7: wget http://<TVM-IP>:8085/yum-repo/queens/workloadmgrclient-<TrilioVault-Version>-<TrilioVault-Release>.noarch.rpm
For CentOS8: http://<TVM-IP>:8085/yum-repo/queens/python3-workloadmgrclient-<TrilioVault-Version>-<TVault-Release>.noarch.rpm
To identify the TrilioVault Version and TrilioVault release login into the TrilioVault Dashboard and check the upper left corner.
The yum package manager is used to install the workloadmgr client package:
yum install workloadmgrclient-<TrilioVault-Version>-<TrilioVault-Release>.noarch.rpm
An example installation can be found below:
1
[[email protected] ~]# wget http://10.10.2.15:8085/yum-repo/queens/workloadmgrclient-4.0.115-4.0.noarch.rpm
2
--2021-03-08 15:36:37-- http://10.10.2.15:8085/yum-repo/queens/workloadmgrclient-4.0.115-4.0.noarch.rpm
3
Connecting to 10.10.2.15:8085... connected.
4
HTTP request sent, awaiting response... 200 OK
5
Length: 155976 (152K) [application/x-rpm]
6
Saving to: ‘workloadmgrclient-4.0.115-4.0.noarch.rpm’
7
8
100%[======================================>] 1,55,976 --.-K/s in 0.001s
9
10
2021-03-08 15:36:37 (125 MB/s) - ‘workloadmgrclient-4.0.115-4.0.noarch.rpm’ saved [155976/155976]
11
12
[[email protected] ~]# yum install workloadmgrclient-4.0.115-4.0.noarch.rpm
13
Loaded plugins: fastestmirror
14
Examining workloadmgrclient-4.0.115-4.0.noarch.rpm: workloadmgrclient-4.0.115-4. 0.noarch
15
Marking workloadmgrclient-4.0.115-4.0.noarch.rpm to be installed
16
Resolving Dependencies
17
--> Running transaction check
18
---> Package workloadmgrclient.noarch 0:4.0.115-4.0 will be installed
19
--> Finished Dependency Resolution
20
21
Dependencies Resolved
22
23
================================================================================
24
Package Arch Version Repository Size
25
================================================================================
26
Installing:
27
workloadmgrclient
28
noarch 4.0.115-4.0 /workloadmgrclient-4.0.115-4.0.noarch 700 k
29
30
Transaction Summary
31
================================================================================
32
Install 1 Package
33
34
Total size: 700 k
35
Installed size: 700 k
36
Is this ok [y/d/N]: y
37
Downloading packages:
38
Running transaction check
39
Running transaction test
40
Transaction test succeeded
41
Running transaction
42
Installing : workloadmgrclient-4.0.115-4.0.noarch 1/1
43
Verifying : workloadmgrclient-4.0.115-4.0.noarch 1/1
44
45
Installed:
46
workloadmgrclient.noarch 0:4.0.115-4.0
47
48
Complete!
Copied!

Installing from the TrilioVault online repository

To install the latest available workloadmgr package for a TrilioVault release from the Trilio repository the following steps need to be done:
Create the TrilioVault yum repository file /etc/yum.repos.d/trilio.repo Enter the following details into the repository file:
1
[trilio]
2
name=Trilio Repository
3
baseurl=http://trilio:[email protected]:8283/triliovault-<TrilioVault-Release>/yum/
4
enabled=1
5
gpgcheck=0
Copied!
Install the workloadmgr client issuing the following command:
For CentOS7: yum install workloadmgrclient For CentOS8: yum install python-3-workloadmgrclient-el8
An example installation can be found below:
1
[[email protected] ~]# cat /etc/yum.repos.d/trilio.repo
2
[trilio]
3
name=Trilio Repository
4
baseurl=http://trilio:[email protected]:8283/triliovault-4.0/yum/
5
enabled=1
6
gpgcheck=0
7
8
[[email protected] ~]# yum install workloadmgrclient
9
Loaded plugins: fastestmirror
10
Determining fastest mirrors
11
* base: centos-canada.vdssunucu.com.tr
12
* centos-ceph-nautilus: mirror.its.dal.ca
13
* centos-nfs-ganesha28: centos.mirror.colo-serv.net
14
* centos-openstack-train: centos-canada.vdssunucu.com.tr
15
* centos-qemu-ev: centos-canada.vdssunucu.com.tr
16
* extras: centos-canada.vdssunucu.com.tr
17
* updates: centos-canada.vdssunucu.com.tr
18
base | 3.6 kB 00:00:00
19
centos-ceph-nautilus | 3.0 kB 00:00:00
20
centos-nfs-ganesha28 | 3.0 kB 00:00:00
21
centos-openstack-train | 3.0 kB 00:00:00
22
centos-qemu-ev | 3.0 kB 00:00:00
23
extras | 2.9 kB 00:00:00
24
trilio | 2.9 kB 00:00:00
25
updates | 2.9 kB 00:00:00
26
(1/3): extras/7/x86_64/primary_db | 225 kB 00:00:00
27
(2/3): centos-openstack-train/7/x86_64/primary_db | 1.1 MB 00:00:00
28
(3/3): updates/7/x86_64/primary_db | 5.7 MB 00:00:00
29
Resolving Dependencies
30
--> Running transaction check
31
---> Package workloadmgrclient.noarch 0:4.0.116-4.0 will be installed
32
--> Finished Dependency Resolution
33
34
Dependencies Resolved
35
36
===========================================================================================================================================================================================================================================================================================================================================================================================================================================
37
Package Arch Version Repository Size
38
===========================================================================================================================================================================================================================================================================================================================================================================================================================================
39
Installing:
40
workloadmgrclient noarch 4.0.116-4.0 trilio 152 k
41
42
Transaction Summary
43
===========================================================================================================================================================================================================================================================================================================================================================================================================================================
44
Install 1 Package
45
46
Total download size: 152 k
47
Installed size: 700 k
48
Is this ok [y/d/N]: y
49
Downloading packages:
50
workloadmgrclient-4.0.116-4.0.noarch.rpm | 152 kB 00:00:00
51
Running transaction check
52
Running transaction test
53
Transaction test succeeded
54
Running transaction
55
Installing : workloadmgrclient-4.0.116-4.0.noarch 1/1
56
Verifying : workloadmgrclient-4.0.116-4.0.noarch 1/1
57
58
Installed:
59
workloadmgrclient.noarch 0:4.0.116-4.0
60
61
Complete!
Copied!

Install workloadmgr client deb packages on Ubuntu

The TrilioVault workloadmgr client packages for Ubuntu are only available from the online repository.

Preparing the workloadmgr client installation

There is no preparation required. All dependencies are automatically resolved by the standard repositories provided by Ubuntu.

Installing the Workloadmgr client

There are 2 possibilities for how the workloadmgr client packages can be installed.

Download from the TrilioVault Appliance and install directly

The TrilioVault appliance is shipping the workloadmgr client version, that is matching the TrilioVault version of the TrilioVault appliance. These clients will always work with their respective TrilioVault versions.
The workloadmgr client can be directly downloaded using the following command:
For Python2: curl -Og6 http://<TVM-IP>:8085/deb-repo/deb-repo/python-workloadmgrclient_<TrilioVault-Version>_all.deb
For Python3:curl -Og6 http://<TVM-IP>:8085/deb-repo/deb-repo/python3-workloadmgrclient_<TrilioVault-Version>_all.deb
o identify the TrilioVault Version and TrilioVault release login into the TrilioVault Dashboard and check the upper left corner.
The apt package manager is used to install the workloadmgr client package:
For Python2:apt-get install ./python-workloadmgrclient_<TrilioVault-Version>_all.deb -y For Python3:apt-get install ./python3-workloadmgrclient_<TrilioVault-Version>_all.deb -y
An example installation can be found below:
1
[email protected]:~# curl -Og6 http://10.10.2.15:8085/deb-repo/deb-repo/python3-workloadmgrclient_4.0.115_all.deb
2
% Total % Received % Xferd Average Speed Time Time Time Current
3
Dload Upload Total Spent Left Speed
4
100 116k 100 116k 0 0 899k 0 --:--:-- --:--:-- --:--:-- 982k
5
6
[email protected]:~# apt-get install ./python3-workloadmgrclient_4.0.115_all.deb -y
7
Reading package lists... Done
8
Building dependency tree
9
Reading state information... Done
10
Note, selecting 'python3-workloadmgrclient' instead of './python3-workloadmgrclient_4.0.115_all.deb'
11
The following NEW packages will be installed:
12
python3-workloadmgrclient
13
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
14
Need to get 0 B/120 kB of archives.
15
After this operation, 736 kB of additional disk space will be used.
16
Selecting previously unselected package python3-workloadmgrclient.
17
(Reading database ... 65533 files and directories currently installed.)
18
Preparing to unpack .../python3-workloadmgrclient_4.0.115_all.deb ...
19
Unpacking python3-workloadmgrclient (4.0.115) ...
20
Setting up python3-workloadmgrclient (4.0.115) ...
Copied!

Installing from the TrilioVault online repository

To install the latest available workloadmgr package for a TrilioVault release from the Trilio repository the following steps need to be done:
Create the TrilioVault yum repository file /etc/apt/sources.list.d/fury.list Enter the following details into the repository file:
1
deb [trusted=yes] https://apt.fury.io/triliodata-<TrilioVault-Version>/ /
Copied!
run apt update to make the new repository available.
The apt package manager is used to install the workloadmgr client package:
For Python2:apt-get install python-workloadmgrclient For Python3:apt-get install python3-workloadmgrclient
An example installation can be seen below:
1
[email protected]:~# cat /etc/apt/sources.list.d/fury.list
2
deb [trusted=yes] https://apt.fury.io/triliodata-4-0/ /
3
4
[email protected]:~# apt update
5
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
6
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
7
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
8
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
9
Ign:5 https://apt.fury.io/triliodata-4-0 InRelease
10
Ign:6 https://apt.fury.io/triliodata-4-0 Release
11
Ign:7 https://apt.fury.io/triliodata-4-0 Packages
12
Ign:8 https://apt.fury.io/triliodata-4-0 Translation-en
13
Get:7 https://apt.fury.io/triliodata-4-0 Packages
14
Ign:8 https://apt.fury.io/triliodata-4-0 Translation-en
15
Ign:8 https://apt.fury.io/triliodata-4-0 Translation-en
16
Ign:8 https://apt.fury.io/triliodata-4-0 Translation-en
17
Ign:8 https://apt.fury.io/triliodata-4-0 Translation-en
18
Ign:8 https://apt.fury.io/triliodata-4-0 Translation-en
19
Ign:8 https://apt.fury.io/triliodata-4-0 Translation-en
20
Fetched 84.0 kB in 12s (6930 B/s)
21
Reading package lists... Done
22
Building dependency tree
23
Reading state information... Done
24
All packages are up to date.
25
26
[email protected]:~# apt-get install python3-workloadmgrclient
27
Reading package lists... Done
28
Building dependency tree
29
Reading state information... Done
30
The following NEW packages will be installed:
31
python3-workloadmgrclient
32
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
33
Need to get 0 B/120 kB of archives.
34
After this operation, 736 kB of additional disk space will be used.
35
Selecting previously unselected package python3-workloadmgrclient.
36
(Reading database ... 65533 files and directories currently installed.)
37
Preparing to unpack .../python3-workloadmgrclient_4.0.115_all.deb ...
38
Unpacking python3-workloadmgrclient (4.0.115) ...
39
Setting up python3-workloadmgrclient (4.0.115) ...
Copied!
Last modified 7mo ago