Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

Hyperic Server RPM install not working with external postgresql

$
0
0

I am trying to install Hyperic server RPM {from vfabric repository} . My attempts to pass external postgres sql via vfabric_hyperic_server.properties in /etc/vmware/vfabric/hyperic/vfabric_hyperic_server.properties have no effect.

 

By default the install always goes for the builtin postgresql. Any suggestions to us the external postgres.

 

  ====== INSTALL LOG =========

=========================================================================

Installer Started

Current Date/Time: Fri Oct 12 19:27:44 PDT 2012

=========================================================================

Loading taskdefs...

Taskdefs loaded

Initializing Hyperic HQ 4.6.6 Installation...

Checking for existence of install configuration file (install_ee.properties)

Loading install configuration...

Loading from install_ee.properties...

doing non-interactive, accept= y ...

Install configuration loaded.

accepted=y...

Preparing to install...

Validating server install configuration...

Checking server webapp port...

Checking server secure webapp port...

Verifying admin user properties

Validating server DB configuration...

Installing the server...

Unpacking server to: /opt/hyperic...

Creating server configuration files...

Using "medium" installing profile...

Copying binaries and libraries to server installation...

Copying server configuration file...

Copying server db-upgrade files...

Copying server libs...

Setting up server database...

Setting up JDBC driver...

Copying database files...

Configuring database...

Loading taskdefs...

Taskdefs loaded

Starting repopulation of configuration table...

Waiting for built-in database to start (on port 9432)...

Starting built-in database...

Preparing database...

Loading taskdefs...

Taskdefs loaded

Waiting for server to stop...

Stopping built-in database...

Built-in database stopped.

Installing the server JRE ...

Unpacking JRE amd64-linux-1.6_30.tar.gz to: /opt/hyperic/server-4.6.6-EE...

Setting permissions on /opt/hyperic/server-4.6.6-EE...

Setting permissions on server binaries...

Fixing line endings on text files...

--------------------------------------------------------------------------------

Installation Complete:

  Server successfully installed to: /opt/hyperic/server-4.6.6-EE

--------------------------------------------------------------------------------

 

Setup completed.

A copy of the output shown above has been saved to:

  /opt/hyperic/hyperic-hqee-installer/installer/logs/hq-install.log

 

  ====== END INSTALL LOG =====

 

My /etc/vmware/vfabric/hyperic/vfabric_hyperic_server.properties .

 

 

# Properties file for vFabric Hyperic Server Configuration
#
# This file must be place in /etc/vmware/vfabric/hyperic/ with a name of
# vfabric_hyperic_server.properties to be used by the vfabric-hyperic-server
# rpm for vFabric Hyperic Server configuration.
#
#
# To configure the build-in local Postgresql database uncomment the below
# sections. See below for other database types.
#
################################################################################
# Configuration of local built-in Postgresql database
# Use the local built-in Postgresql database instead of other database types
#BUILT_IN_POSTGRESQL=yes
# Do you accept the terms of the agreement?
#HQ_ACCEPT_EULA=y
# HQ server installation path
#HQ_SERVER_INSTALL_PATH=/opt/hyperic
# email address that HQ will use as the sender for email messages
# username be for the initial admin user
#HQ_ADMIN_USER=hqadmin
# password be for the initial admin user
#HQ_ADMIN_PASSWORD=hqadmin
# email address be for the initial admin user
# End of configuration for local built-in Postgresql database
################################################################################
# To configure HQ with a local or remote database other than the built-in
# local instance of Postgresql comment out the above section and uncomment
# the properties in the section below. Supported databases include local or
# remote versions of MySQL, Oracle, and Postgresql.
#
################################################################################
# For configuration with local or remote MySQL, Oracle, and Postgresql databases
### Do you accept the terms of the agreement?
HQ_ACCEPT_EULA=y
### HQ server installation path
HQ_SERVER_INSTALL_PATH=/opt/hyperic
### email address that HQ will use as the sender for email messages
### database type of [MySQL|Oracle9i|PostgreSQL]
HQ_DB_TYPE=PostgreSQL
### database connection string
HQ_DB_URL=jdbc:postgresql://192.168.9.36:5432/HQ?protocolVersion=2
### hostname of the db server
HQ_DB_HOSTNAME=192.168.9.36
### listening port of the db
HQ_DB_PORT=5432
### name of the db hq will use
HQ_DB_NAME=HQ
### username to use to connect to the database
HQ_DB_USERNAME=postgres
### password to use to connect to the database
HQ_DB_PASSWORD=s1P_W0bzCpdOSN29UjLK
### username be for the initial admin user
HQ_ADMIN_USER=hqadmin
### password be for the initial admin user
HQ_ADMIN_PASSWORD=hqadmin
### email address be for the initial admin user

### HQ server installation profile [small|medium|large]

HQ_SERVER_INSTALLATION_PROFILE=medium

# End of configuration

################################################################################


Viewing all articles
Browse latest Browse all 52618

Trending Articles