Global Profiling Engine
Install the Global Profiling Engine on HAProxy Enterprise
The following section gives detailed information on how to install the Global Profiling Engine.
Install steps Jump to heading
To install the Global Profiling Engine:
-
Provision a server on which you will install the Global Profiling Engine.
-
On the new server, add package repositories for your operating system.
In a terminal window, set a variable named
key
to your HAProxy Enterprise license key.nixkey=<HAProxy Enterprise Key>nixkey=<HAProxy Enterprise Key>Use the
echo
andtee
commands to add the HAProxy Technologies extras repository location into the file/etc/apt/sources.list.d/haproxy-tech.list
, as shown below.nixecho "deb [arch=amd64 signed-by=/etc/apt/keyrings/HAPEE-key-3.0r1.asc] https://www.haproxy.com/download/hapee/key/${key}-plus/extras/debian-$(. /etc/os-release && echo "$VERSION_CODENAME")/amd64/ $(. /etc/os-release && echo "$VERSION_CODENAME") main" | sudo tee -a /etc/apt/sources.list.d/haproxy-tech.listnixecho "deb [arch=amd64 signed-by=/etc/apt/keyrings/HAPEE-key-3.0r1.asc] https://www.haproxy.com/download/hapee/key/${key}-plus/extras/debian-$(. /etc/os-release && echo "$VERSION_CODENAME")/amd64/ $(. /etc/os-release && echo "$VERSION_CODENAME") main" | sudo tee -a /etc/apt/sources.list.d/haproxy-tech.listThe packages that HAProxy Technologies provides are signed. To install them, import the public keys:
nixsudo mkdir -p /etc/apt/keyringssudo curl -s -L "https://pks.haproxy.com/linux/enterprise/HAPEE-key-3.0r1.asc" -o /etc/apt/keyrings/HAPEE-key-3.0r1.ascsudo curl -s -L "https://pks.haproxy.com/linux/enterprise/HAPEE-key-extras.asc" -o /etc/apt/keyrings/HAPEE-key-extras.ascnixsudo mkdir -p /etc/apt/keyringssudo curl -s -L "https://pks.haproxy.com/linux/enterprise/HAPEE-key-3.0r1.asc" -o /etc/apt/keyrings/HAPEE-key-3.0r1.ascsudo curl -s -L "https://pks.haproxy.com/linux/enterprise/HAPEE-key-extras.asc" -o /etc/apt/keyrings/HAPEE-key-extras.ascIn a terminal window, set a variable named
key
to your HAProxy Enterprise license key.nixkey=<HAProxy Enterprise Key>nixkey=<HAProxy Enterprise Key>Use the
echo
andtee
commands to add the HAProxy Technologies extras repository location into the file/etc/apt/sources.list.d/haproxy-tech.list
, as shown below.nixecho "deb [arch=amd64 signed-by=/etc/apt/keyrings/HAPEE-key-3.0r1.asc] https://www.haproxy.com/download/hapee/key/${key}-plus/extras/ubuntu-$(. /etc/os-release && echo "$VERSION_CODENAME")/amd64/ $(. /etc/os-release && echo "$VERSION_CODENAME") main" | sudo tee -a /etc/apt/sources.list.d/haproxy-tech.listnixecho "deb [arch=amd64 signed-by=/etc/apt/keyrings/HAPEE-key-3.0r1.asc] https://www.haproxy.com/download/hapee/key/${key}-plus/extras/ubuntu-$(. /etc/os-release && echo "$VERSION_CODENAME")/amd64/ $(. /etc/os-release && echo "$VERSION_CODENAME") main" | sudo tee -a /etc/apt/sources.list.d/haproxy-tech.listThe packages that HAProxy Technologies provides are signed. To install them, import the public keys:
nixsudo mkdir -p /etc/apt/keyringssudo curl -s -L "https://pks.haproxy.com/linux/enterprise/HAPEE-key-3.0r1.asc" -o /etc/apt/keyrings/HAPEE-key-3.0r1.ascsudo curl -s -L "https://pks.haproxy.com/linux/enterprise/HAPEE-key-extras.asc" -o /etc/apt/keyrings/HAPEE-key-extras.ascnixsudo mkdir -p /etc/apt/keyringssudo curl -s -L "https://pks.haproxy.com/linux/enterprise/HAPEE-key-3.0r1.asc" -o /etc/apt/keyrings/HAPEE-key-3.0r1.ascsudo curl -s -L "https://pks.haproxy.com/linux/enterprise/HAPEE-key-extras.asc" -o /etc/apt/keyrings/HAPEE-key-extras.ascCreate a new file
/etc/yum.repos.d/haproxy-tech.repo
if it does not exist and add the contents below. Replace<HAProxy Enterprise Key>
with the key you were given when you registered. Also replacerhel-8
with your RHEL version number.haproxy-tech.repoini[hapee-plus-extras]name=hapee-plus-extrasenabled=1baseurl=https://www.haproxy.com/download/hapee/key/<HAProxy Enterprise Key>-plus/extras/rhel-8/$basearch/bin/gpgcheck=1haproxy-tech.repoini[hapee-plus-extras]name=hapee-plus-extrasenabled=1baseurl=https://www.haproxy.com/download/hapee/key/<HAProxy Enterprise Key>-plus/extras/rhel-8/$basearch/bin/gpgcheck=1 -
Install packages:
Update the repository cache and install required dependencies:
nixsudo apt-get updatesudo apt-get install --yes apt-transport-https curl dirmngr gnupg-agent grepsudo apt-get install --yes hapee-extras-gpe10nixsudo apt-get updatesudo apt-get install --yes apt-transport-https curl dirmngr gnupg-agent grepsudo apt-get install --yes hapee-extras-gpe10Update the repository cache and install required dependencies:
nixsudo apt-get updatesudo apt-get install --yes apt-transport-https curl dirmngr gnupg-agent grepsudo apt-get install --yes hapee-extras-gpe10nixsudo apt-get updatesudo apt-get install --yes apt-transport-https curl dirmngr gnupg-agent grepsudo apt-get install --yes hapee-extras-gpe10nixrpm --import https://pks.haproxy.com/linux/enterprise/HAPEE-key-extras.ascyum makecacheyum install -y hapee-extras-gpe10nixrpm --import https://pks.haproxy.com/linux/enterprise/HAPEE-key-extras.ascyum makecacheyum install -y hapee-extras-gpe10 -
To start the Global Profiling Engine, run:
nixsudo systemctl enable hapee-extras-gpesudo systemctl start hapee-extras-gpenixsudo systemctl enable hapee-extras-gpesudo systemctl start hapee-extras-gpe
Check your current version Jump to heading
To check which version of GPE you are running, call the hapee-gpe
command with the -v
flag:
nix
/opt/hapee-extras/sbin/hapee-gpe -v
nix
/opt/hapee-extras/sbin/hapee-gpe -v
Manage the service Jump to heading
Start, stop and check the status of the Global Profiling Engine service by using the corresponding systemctl
commands.
Start the service:
nix
sudo systemctl start hapee-extras-gpe
nix
sudo systemctl start hapee-extras-gpe
Restart the service:
nix
sudo systemctl restart hapee-extras-gpe
nix
sudo systemctl restart hapee-extras-gpe
Show current status:
nix
sudo systemctl status hapee-extras-gpe
nix
sudo systemctl status hapee-extras-gpe
Stop the service:
nix
sudo systemctl stop hapee-extras-gpe
nix
sudo systemctl stop hapee-extras-gpe
Do you have any suggestions on how we can improve the content of this page?