bgp advertiser #3
Description
Overview
This charm is used to advertise virtual IP of scaled services via BGP.
The use case is for router fabric based HA.
The service to be exported can be monitred via a healthcheck command. The route is withdrawn if the service is unavailable.
Usage
juju deploy bgp-advertiser apache-vip
juju config apache-vip ...
juju relate apache-vip apache
Scale out Usage
Scale out the principal unit this is related to.
Known Limitations and Issues
Currently only one instance of this charm can be deployed per machine
Upstream Project Name
Configuration
- extra_packages
- (string) Space separated list of extra deb packages to install.
- healthcheck_cmd
- (string) Service healthcheck command. VIP is anncounced as long as check passes
- /bin/true
- hold_time
- (int) Optional hold time. 0 to disable
- install_keys
- (string) List of signing keys for install_sources package sources, per charmhelpers standard format (a yaml list of strings encoded as a string). The keys should be the full ASCII armoured GPG public keys. While GPG key ids are also supported and looked up on a keyserver, operators should be aware that this mechanism is insecure. null can be used if a standard package signing key is used that will already be installed on the machine, and for PPA sources where the package signing key is securely retrieved from Launchpad.
- install_sources
- (string) List of extra apt sources, per charm-helpers standard format (a yaml list of strings encoded as a string). Each source may be either a line that can be added directly to sources.list(5), or in the form ppa:<user>/<ppa-name> for adding Personal Package Archives, or a distribution component to enable.
- local_as
- (int) Local AS number (Autonomous System Numer)
- neighbors
- (string) Comma separated list of neighbor IP addresses
- package_status
- (string) The status of service-affecting packages will be set to this value in the dpkg database. Valid values are "install" and "hold".
- install
- peer_as
- (int) Peer AS number (Autonomous System Numer)
- router_id
- (string) Router ID
- vips
- (string) List of virtual IP address to be announced. Comma separated in CIDR format