Nginx is a free open source web server. Since its public launch in 2004, Nginx has focused on high performance, high concurrency and low memory usage. Additional features on top of the web server functionality, like load balancing, caching, access and bandwidth control, and the ability to integrate efficiently with a variety of applications, have helped to make Nginx a good choice for modern website architectures.
Pattern triggers on Nginx software instance. Builds the BMC Discovery load balancer model based on additional details obtained from configuration file.
The Nginx software loadbalancer is modeled as a Software Instance linked to a Load Balancer Instance.
Pattern | Trigger Node | Attribute | Condition | Argument |
---|---|---|---|---|
nginx_loadbalancer | SoftwareInstance | type | equal | Nginx Webserver or Nginx Plus Webserver |
The pattern creates a Load Balancer Instance with the following attributes:
Attributes | Value |
---|---|
key | A hash of the host key, load balancer type and config path. |
type | A load balancer type. |
name | A %LB_TYPE% on %host.name%. |
version | A version of the software instance. |
The pattern models a network service relationship between the Software Instance and the Load Balancer Instance.
The pattern creates a Load Balancer Service with the following attributes:
Attributes | Value |
---|---|
key | A hash of the listen port, ip, protocol and host key. |
name | A service name. |
ip_addr | A listen node IP address. |
port | A listen node port. |
protocol | A listen node protocol type. |
type | A listen node load balancer type: http or tcp/udp |
dns_names | A dns name of a listen node IP address. |
_config_hash | Contains a hash of the front end or listen node name, IP address, port, protocol. |
The pattern models a containment relationship between the Load Balancer Instance and a Load Balancer Service.
The pattern also models a containment relationship between the Load Balancer Service and a Load Balancer Pool.
The pattern creates a Load Balancer Pool with the following attributes:
Attributes | Value |
---|---|
key | A hash of the pool name and host key. |
name | A pool name. |
algorithm | A algorithm used. |
_config_hash | Contains a hash of the pool name and algorithm. |
The pattern models a containment relationship between the Load Balancer Instance and a Load Balancer Pool.
The pattern creates a Load Balancer Member for every server and populates the following attributes:
Attributes | Value |
---|---|
key | A hash of the proxy name and host key. |
ip_addr | A server IP address. |
port | A server port. |
name | A server name. |
state | A server state |
_config_hash | Contains a hash of the server ip, port and state. |
The pattern models a containment relationship between the Load Balancer Pool and a Load Balancer Member.