beautypg.com

HP OneView for Red Hat Enterprise Virtualization User Manual

Page 7

background image

2.

Configure HP OneView for RHEV by running the setup script hpovrhev_setup.py. The
setup script is placed in /usr/local/bin and in the path /usr/lib/hpovrhev-x.x.x.x,
so it can be run from any directory. You will need the RHEV-M credentials and you may also
need the postgres database password you entered when you ran the rhevm-setup script.

[root@rhel51 ~]# hpovrhev_setup.py

Welcome to HP OneView for RHEV.....

Creating database....

Enter Username with Domain name for RHEV [admin@internal]:

Password:

Configuring events....

Would you like connect to HP OneView?(yes/no):yes

Enter HP OneView Host IP address:172.20.62.121

Enter Username:administrator

Password:

Connected to HP OneView

Importing reports....

Configuring snmptrapd....

Backup copy of "snmptrapd.conf" has been renamed to

"snmptrapd-20131118_105135.conf" and placed in

"/etc/snmp/" directory

Database settings configuration....

Starting HP OneView for RHEV services

NOTE:

RHEV-M will prompt the user for a Postgres password if Postgres is configured with

md5.

NOTE:

hpovrhev_setup.py

will ensure the /opt/hp subdirectory has the appropriate

permissions (read/write/execute for owner and read/execute for group and other, i.e.
rwxr-xr-x

). If the subdirectory does not have the correct permissions, the setup script will

ask if you want to change them:

The /opt/hp directory already exists but does not have

appropriate permissions.

HP OneView for RHEV requires read/write

permissions to this directory in order to function

properly.

Allow HP OneView for RHEV to change permissions

of this directory? [yes/no]:

Answering yes will allow the setup procedure to continue. Answering no will abort the setup.

NOTE:

Entering an incorrect Postgres password will result in the following error message:

Please confirm your database password and ensure that

"md5" authentication method is selected.

NOTE:

If you do not have the RHEV Reports package installed, the Importing reports step

will fail. This is a non-fatal error.

Installation and configuration

7