ロード バランサ サービス ステータスの例
ロード バランサ サービス ステータス コマンドの出力:
> show service loadbalancer
-----------------------------------------------------------------------
Loadbalancer Services Status:
L7 Loadbalancer : running
Health Monitor : running
-----------------------------------------------------------------------
L7 Loadbalancer Status Information:
STATUS PID MAX_MEM_MB MAX_SOCK MAX_CONN MAX_PIPE CUR_CONN CONN_RATE CONN_RATE_LIMIT MAX_CONN_RATE
running 6718 0 2091 1024 0 0 0 0 0
-----------------------------------------------------------------------
L4 Loadbalancer Statistics:
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 10.X.X.186:1234 wrr
-> 192.X.X.40:1234 Masq 1 0 0
-> 192.X.X.50:1234 Masq 0 0 0
-> 192.X.X.100:1234 Masq 1 0 0
ロード バランサ健全性モニター統計の例
health monitor statistics コマンドの出力:
> show service loadbalancer monitor
-----------------------------------------------------------------------
Loadbalancer HealthMonitor Statistics:
POOL MEMBER HEALTH STATUS
tcp-pool example3 default_tcp_monitor:OK
tcp-pool example1 default_tcp_monitor:OK
tcp-pool example2 default_tcp_monitor:OK
http-pool example1 default_http_monitor:OK
http-pool example2 default_http_monitor:OK
ロード バランサ仮想マシン情報の例
load balanced virtual server information コマンドの出力:
> show service loadbalancer virtual http-vip
-----------------------------------------------------------------------
Loadbalancer VirtualServer Statistics:
VIRTUAL http-vip
| ADDRESS [#.#.#.#]:80
| SESSION (cur, max, limit, total) = (0, 0, 1024, 0)
| RATE (cur, max, limit) = (0, 0, 100)
| BYTES in = (0), out = (0)
+->POOL http-pool
| LB METHOD leastconn
| LB PROTOCOL L7
| Transparent disabled
| SESSION (cur, max, limit, total) = (0, 0, 103, 0)
| BYTES in = (0), out = (0)
+->POOL MEMBER: http-pool/example1, STATUS: UP
| | STATUS = UP, MONITOR STATUS = default_http_monitor:OK
| | SESSION (cur, max, limit, total) = (0, 0, , 0)
| | BYTES in = (0), out = (0)
+->POOL MEMBER: http-pool/exmple2, STATUS: UP
| | STATUS = UP, MONITOR STATUS = default_http_monitor:OK
| | SESSION (cur, max, limit, total) = (0, 0, , 0)
| | BYTES in = (0), out = (0)
+->POOL MEMBER: http-pool/example3, STATUS: UP
| | STATUS = UP, MONITOR STATUS = default_http_monitor:OK
| | SESSION (cur, max, limit, total) = (0, 0, , 0)
| | BYTES in = (0), out = (0)
ロード バランサ プール構成統計の例
REST API 呼び出しの出力:
URL: https://<NSX_Manager_IP>/api/4.0/edges/{edgeId}/loadbalancer/statistics
メソッド: GET
出力例:
<?xml version="1.0" encoding="UTF8"?>
<loadBalancerStatusAndStats>
<timeStamp>1359722922</timeStamp>
<pool>
<poolId>pool1poolId>
<name>poolhttpname>
<member>
<memberId>member1memberId>
<name>example1</name>
<ipAddress>#.#.#.#</ipAddress>
<status> UP </status>
<bytesIn>70771</bytesIn>
<bytesOut>74619</bytesOut>
<curSessions>0</curSessions>
<maxSessions>1</maxSessions>
<rate>0</rate>
<rateMax>17</rateMax>
<totalSessions>142</totalSessions>
</member>
<member>
<memberId>member2memberId>
<name>example2</name>
<ipAddress>#.#.#.#</ipAddress>
<status> UP </status>
<bytesIn>70823</bytesIn>
<bytesOut>70605</bytesOut>
<curSessions>0</curSessions>
<maxSessions>1</maxSessions>
<rate>0</rate>
<rateMax>17</rateMax>
<totalSessions>141</totalSessions>
</member>
<status> UP </status>
<bytesIn>141594</bytesIn>
<bytesOut>145224</bytesOut>
<curSessions>0</curSessions>
<maxSessions>2</maxSessions>
<rate>0</rate>
<rateMax>34</rateMax>
<totalSessions>283</totalSessions>
</pool>
<virtualServer>
<virtualServerId>virtualServer9virtualServerId>
<name>http_vip</name>
<ipAddress>#.#.#.#</ipAddress>
<status>OPEN</status>
<bytesIn>141594</bytesIn>
<bytesOut>145224</bytesOut>
<curSessions>1</curSessions>
<httpReqTotal>283</httpReqTotal>
<httpReqRate>0</httpReqRate>
<httpReqRateMax>34</httpReqRateMax>
<maxSessions>2</maxSessions>
<rate>0</rate>
<rateLimit>0</rateLimit><rateMax>2</rateMax>
<totalSessions>13</totalSessions>
</virtualServer>
</loadBalancerStatusAndStats>