Linux-UNIX: Postgres-specific guardctl parameters
Use these guardctl parameters when configuring A-TAP for a Postgres database.
Postgres required parameters
Example:
/usr/local/guardium/guard_stap/guardctl --db-user=postgres --db-type=postgres --db-instance=guardium_qa --db-version=9.4 --db-base=/home/postgres94 store-conf
Note: Hyphen and underscore are interchangeable in the guardctl parameters.
Required Parameter | Value | How to determine |
---|---|---|
db-user | Postgres username | Points to the DB instance user name |
db_instance | Postgres instance name | Postgres Server instance name |
db_type | postgres | |
db_version | The database version |
As Postgres user: pg_ctl --version |
Postgres optional parameters
Optional Parameter | Value | How to determine | When is it required |
---|---|---|---|
db_home | Points to where the DB version is installed | Same as db_base | |
db_base | Home directory of db_user | DB instance user home directory. Value for db_base must match the correct path DB instance user home directory. It cannot be ~DB_USER. | Where db-base is not same as db-home |
db_bits | 32 or 64 | DB instance architecture (32 for 32-bit, 64 for 64-bit) | |
db_tcp_min_port | 0 to any integer | Low end of TCP port range to intercept | Using Real IPs |
db_tcp_max_port | 0 to any integer | High end of TCP port range to intercept | Using Real IPs |