The Setup… page opens, welcoming you to the PEM Agent installer (as shown in Figure 3.60).
Click Next to continue to the
License Agreement (shown in Figure 3.61).
By default, the PEM agent is installed in the /home/opt/PEM directory. You can accept the default installation directory, or modify the contents of the
Installation Directory field, specifying an alternate installation directory for the PEM agent.
By default, the PEM agent installer places a certificate in ~root/.pem (on Linux) or in the Administrator’s
%APPDATA%\pem directory (on Windows). Check the
Show advanced options box to indicate that you would like the PEM agent installer to include a dialog that allows you to specify an alternate path for the certificate file.
Check the box next to Register now? to instruct the installer to register the newly installed PEM agent with the PEM server.
Click Next to continue to the
PEM Server Installation Details dialog (shown in Figure 3.63).
Click Next to continue. The installer will attempt to connect to the server to verify that the details are correct.
Please Note: The PEM server must allow connections from the PEM agent installer. If you encounter a connection error
, confirm the connection properties specified on the PEM Server Installation Details dialog are correct, and confirm that the pg_hba.conf file (on the PEM server) will allow a connection to the server described in the error message. For information about modifying the pg_hba.conf file, see Section 8.1.
The tree control displayed in the Browser panel of the PEM web interface displays the value entered in the
Description field (shown in Figure 3.64) to identify the PEM agent. Specify a descriptive name for the agent, such as the hostname of the machine the agent is installed on, or a name that reflects the host's functionality.
If you checked the Show advanced options checkbox shown in Figure 3.24, the
Advanced options dialog opens (shown in Figure 3.65).
Click Next on the
Ready to Install dialog (shown in Figure 3.66) to instruct the installer to copy files to the system and register the agent on the PEM server.
On a Linux system, you can use the yum package manager to install a PEM agent. Please note that before using a package manager to install the PEM agent, the host must contain the following packages:
The edb-repo package creates the repository configuration file (named
edb.repo). The
edb.repo file defines multiple repositories hosted at EnterpriseDB.com.
Where x specifies the version of the file.
baseurl=http://user_name:password@yum.enterprisedb.com/tools/redhat/rhel-$releasever-$basearch
baseurl=http://user_name:password@yum.enterprisedb.com/dependencies/redhat/rhel-$releasever-$basearch
baseurl=http://user_name:password@yum.enterprisedb.com/9.6/redhat/rhel-$releasever-$basearch
After an installation, you must register the PEM agent. The registration process provides the PEM server with the information it needs to communicate with the agent. You can use the pemworker utility to register the agent if you:
•
|
set the PEM_ SERVER_ PASSWORD environment variable.
|
The PEM agent RPM installer creates a sample configuration file named agent.
cfg.
sample. When you register the PEM agent, the
pemworker program creates the actual agent configuration file (named
agent.cfg). If you have performed an RPM installation, both files reside in
/usr/pem-7.x/etc. You must modify the
agent.
cfg file, adding the following configuration parameter:
You must also add the location of the ca-bundle.crt file (the certificate authority). By default, the installer creates a
ca-bundle.crt file in the location specified in your
agent.cfg.sample file. You can copy the default parameter value from the sample file, or, if you use a
ca-bundle.crt file that is stored in a different location, specify that value in the
ca_file parameter: