13.07.2015 Views

Getting Started with vFabric Hyperic v.5.7 - VMware

Getting Started with vFabric Hyperic v.5.7 - VMware

Getting Started with vFabric Hyperic v.5.7 - VMware

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

d. To export all configuration and metric data, run the following command in acommand shell:./hq-migrate.sh hq-export -Dhqserver.install.path=PathToServerHomewhere PathToServerHome is the full path to the <strong>vFabric</strong> <strong>Hyperic</strong> Server installationdirectory, or the path relative to MigrationHome.If you want to export configuration data only, not metric data, add -DconfigOnly=true to the command line.The script reads your pre-5.7 <strong>vFabric</strong> <strong>Hyperic</strong> Server's hq-server.conf file,connects to your existing <strong>vFabric</strong> <strong>Hyperic</strong> database, exports the database, andcreates a tarball <strong>with</strong> key artifacts and the database dump, in hq-migrationexport-HqVersion.tgz.o The archive is written to the import staging directory,migration_home/tmp/export-data by default, or the value ofstaging.dir if specified.o Export log files install.log and install.log.verbose are written to thelogs directory.2. Import Server Configuration and DatabaseThe import process must run under an database account <strong>with</strong> superuser permissions. Bydefault, the process will use the database credentials defined by theserver.database-user and server.database-password properties in hqserver.conf.If the database user account defined in hq-server.conf is not asuperuser, you must supply a superuser account's credentials at the the command lineusing -Dtarget.database.username and -Dtarget.database.password (or ina properties file using target.database.username andtarget.database.password).a. Copy the export tarball to the the <strong>vFabric</strong> <strong>Hyperic</strong> 5.7 Server host, or make itavailable to the machine on which the 5.7 server is installed. In the latter case,expect some network latency overhead.b. Run the migration script <strong>with</strong> the import option../hq-migrate.sh hq-import -Dhqserver.install.path=PathToServerHome -Dexport.archive.path=PathToExportArchiveo replacing PathToServerHome and PathToExportArchive appropriately.Note: Enter the command on a single line.83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!