Copyright (c) 2009-2013 VMware, Inc.
For online documentation see: http://rubydoc.info/gems/bosh-registry/
bin/bosh-registry-migrate [<options>]
-c, --config FILE Bosh Registry configuration file
bin/bosh-registry [<options>]
-c, --config FILE Bosh Registry configuration file
These options are passed to the Bosh Registry when it is instantiated.
These are the options for the Registry HTTP server (by default server is bound to address 0.0.0.0):
port
(required) Registry portuser
(required) Registry user (for HTTP Basic authentication)password
(required) Registry password (for HTTP Basic authentication)
These are the options for the database connection where registry will store instance properties:
database
(required) DB connection URImax_connections
(required) Maximum size of the connection poolpool_timeout
(required) Number of seconds to wait if a connection cannot be acquired before raising an error
These are the options for the cloud connection where registry will fetch for the IP addresses belonging to a instances:
plugin
(required) Cloud Provider (currently supported: aws and openstack)
These are the credentials to connect to AWS services:
access_key_id
(required) IAM Access Key IDsecret_access_key
(required) AWS IAM Secret Access Keyregion
(required) AWS EC2 Regionmax_retries
(optional, defaults to 2) Max number of retries to connect to AWS
These are the credentials to connect to OpenStack services:
auth_url
(required) URL of the OpenStack Identity endpoint to connect tousername
(required) OpenStack user nameapi_key
(required) OpenStack API keytenant
(required) OpenStack tenant nameregion
(optional) OpenStack regionendpoint_type
(optional) OpenStack endpoint type (publicURL (default), adminURL, internalURL)connection_options
(optional) Hash containing optional connection parameters to the OpenStack API (ssl_verify_peer
,omit_default_port
, ...)
This is a sample of an Bosh Registry configuration file:
---
loglevel: debug
http:
port: 25695
user: admin
password: admin
db:
database: "sqlite:///:memory:"
max_connections: 32
pool_timeout: 10
cloud:
plugin: openstack
openstack:
auth_url: "http://127.0.0.1:5000/v2.0"
username: foo
api_key: bar
tenant: foo
region: