Changing the gpmon Password

Greenplum Command Center manages the gpperfmon database using the gpmon database role. To change the gpmon password, follow these steps:

1. Log in to Greenplum Database as a superuser and change the gpmon password with the ALTER ROLE command:
 # ALTER ROLE gpmon WITH PASSWORD 'new_password';

2. Update the password in the .pgpass file, which is used by Greenplum Command Center. The default location for this file is the gpadmin home directory (~/.pgpass). The .pgpass file contains a line with the gpmon password. Replace the existing password with the new password.

 *:5432:gpperfmon:gpmon:new_password

The file should be owned by gpadmin and RW-accessible by gpadmin only.

3. Restart Greenplum Command Center with the gpcmdr utility.
 $ gpcmdr --restart

Comments

Popular posts from this blog

How to set Optimizer at database level in greenplum

IPMI Tool | IPMI Cheatsheet