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:
region
(required) AWS EC2 Regioncredentials_source
(optional) Where to get AWS credentials. This can be set tostatic
for to use anaccess_key_id
andsecret_access_key
orenv_or_profile
to get the credentials from environment variables or an EC2 instance profile. Defaults tostatic
if not set.access_key_id
(optional, required whencredentials_source
isstatic
) AWS IAM user access keysecret_access_key
(optional, required whencredentials_source
isstatic
) AWS IAM secret access keymax_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, either API version 2 or version 3) URL of the OpenStack Identity endpoint to connect tousername
(required) OpenStack user nameapi_key
(required) OpenStack API keytenant
(required for API version 2) OpenStack tenant nameproject
(required for API version 3) OpenStack project namedomain
(required for API version 3) OpenStack domain 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/v3.0"
username: foo
api_key: bar
tenant: foo
domain: bar
region: