2010�N04��01��

�Ǘ����Ă���R�l�N�V�����̏���������

BIG-IP����舵���Ă���R�l�N�V�����̏�������Tips�ł��B

1. ���v���̊m�F

���v���͎g�p���Ă���I�u�W�F�N�g���ƁA�܂��̓V�X�e���S�̂ł̏������邱�Ƃ��ł��܂��B���Ƃ��Έȉ��̂悤�Ȑݒ肪����ꍇ�A
root@bigiplab(Active)(tmos)# list ltm virtual
ltm virtual http-vs1 {
connection-limit 1
destination 10.10.30.9:http
ip-protocol tcp
mask 255.255.255.255
pool http-pool
profiles {
http { }
tcp { }
}
}

  1. Virtual Address
  2. Virtual Server
  3. Pool
  4. Pool Member
  5. Node
  6. http Profile
  7. tcp Profile

�ɂ‚��Ă̏������邱�Ƃ��ł��܂��B���ꂼ��ȉ��̂悤�Ȋ����ŏo�Ă��܂��B
Virtual Address�̓��v
root@bigiplab(Active)(tmos)# sh ltm virtual-address 10.10.30.9

Ltm::Virtual Address: 10.10.30.9
-------------------------------------------------
Status
Availability : available
State : enabled
Reason : The virtual address is available

Traffic ClientSide
Bits In 79.6K
Bits Out 79.6K
Packets In 137
Packets Out 107
Current Connections 0
Maximum Connections 3
Total Connections 29


Virtual Server�̓��v

root@bigiplab(Active)(tmos)# sh ltm virtual http-vs1

Ltm::Virtual Server: http-vs1
---------------------------------------------------------
Status
Availability : available
State : enabled
Reason : The virtual server is available
CMP : enabled
CMP Mode : all-cpus

Traffic ClientSide Ephemeral General
Bits In 58.9K 0 -
Bits Out 63.2K 0 -
Packets In 102 0 -
Packets Out 80 0 -
Current Connections 0 0 -
Maximum Connections 2 0 -
Total Connections 21 0 -
Min Conn Duration/msec - - 6
Max Conn Duration/msec - - 303.2K
Mean Conn Duration/msec - - 24.1K
Total Requests - - 14


Pool�̓��v
root@bigiplab(Active)(tmos)# sh ltm pool http-pool

Ltm::Pool: http-pool
--------------------------------------
Status
Availability : available
State : enabled
Reason : The pool is available

Traffic ServerSide
Bits In 37.3K
Bits Out 52.0K
Packets In 64
Packets Out 43
Current Connections 0
Maximum Connections 2
Total Connections 15


Pool Member�̓��v
root@bigiplab(Active)(tmos)# sh ltm pool http-pool members

Ltm::Pool: http-pool
--------------------------------------
Status
Availability : available
State : enabled
Reason : The pool is available

Traffic ServerSide
Bits In 37.3K
Bits Out 52.0K
Packets In 64
Packets Out 43
Current Connections 0
Maximum Connections 2
Total Connections 15

Ltm::Pool Member: http-pool 10.10.40.40:80
-------------------------------------------
Status
Availability : available
State : enabled
Reason : Pool member is available

Traffic ServerSide General
Bits In 37.3K -
Bits Out 52.0K -
Packets In 64 -
Packets Out 43 -
Current Connections 0 -
Maximum Connections 2 -
Total Connections 15 -
Total Requests - 10


Node�̓��v
root@bigiplab(Active)(tmos)# sh ltm node 10.10.40.40

Ltm::Node: 10.10.40.40
--------------------------------------------------------------------
Status
Availability : unknown
State : enabled
Reason : Node address does not have service checking enabled

Traffic ServerSide General
Bits In 37.3K -
Bits Out 52.0K -
Packets In 64 -
Packets Out 43 -
Current Connections 0 -
Maximum Connections 2 -
Total Connections 15 -
Total Requests - 10


HTTP Profile�̓��v
root@bigiplab(Active)(tmos)# sh ltm profile http http

Ltm::HTTP Profile: http
-------------------------------------------------------------
Requests
GET 15
POST 0
Version 0.9 0
Version 1.0 0
Version 1.1 15
Maximum Per Connection 1
Total 15

Responses
Successful 7
Redirection 0
Client-Errors 3
Server-Errors 0
Version 0.9 0
Version 1.0 0
Version 1.1 10

Response Size
Under 1K 10
Under 4K 0
Under 16K 0
Under 32K 0
Under 64K 0
Under 128K 0
Under 512K 0
Under 2M 0
Over 2M 0

Miscellaneous
Set-Cookie Insertions 0

Content Type Compression (bytes) Pre-Compress Post-Compress
HTML 0 0
CSS 0 0
JavaScript 0 0
XML 0 0
SGML 0 0
Plain 0 0
Octet Stream 0 0
Images 0 0
Video Files 0 0
Audio Files 0 0
Other 0 0
Total 0 0
NULL-Compress 0 0

RAM Cache
Cache Size (in Bytes) 0
Total Cached Items 0
Total Evicted Items 0
Inter-Stripe Size (in Bytes) 0
Inter-Stripe Cached Items 0
Inter-Stripe Evicted Items 0

RAM Cache Hits/Misses Count Bytes
Hits 0 0
Misses (Cacheable) 0 0
Misses (Total) 0 0
Inter-Stripe Hits 0 0
Inter-Stripe Misses 0 -
Remote Hits 0 0
Remote Misses 0 -


TCP Profile�̓��v
root@bigiplab(Active)(tmos)# sh ltm profile tcp tcp

Ltm::TCP Profile: tcp
------------------------------------
Connections
Open 0
Current in CLOSE-WAIT/LAST-ACK 0
Current in FIN-WAIT/CLOSING 0
Current in TIME-WAIT 0
Accepted 29
Not Accepted 0
Established 10
Failed 0
Expired 1
Abandoned 5

Miscellaneous
Received Reset 0
Bad Checksum Datagrams 0
Malformed Segments 0
Out-of-Order Segments 0
Received SYN-Cookies 0
Received Bad SYN-Cookies 0
SYN-Cache Overflow 0
Retransmitted Segments 0


Profile�𕡐��̃T�[�r�X(VS)�ŋ��L���Ă���ƁA���v���̓~�b�N�X�̒l�ɂȂ邽�߁A�p�r�ɂ���Ă̓T�[�r�X���Ƃ�Profile���쐬���������ǂ��ł��傤�B


2. �R�l�N�V�����󋵂̊m�F

BIG-IP��tmm����舵���R�l�N�V�����͑S�ăR�l�N�V�����e�[�u���ɍڂ�A��������邱�Ƃ��ł��܂��B

��A Standard VS�ŐU���悪�܂����肵�Ă��Ȃ����
root@bigiplab(Active)(tmos)# sh sys connection
Sys::Connections
10.10.88.1:49127 10.10.30.9:80 ::.0 tcp 0
Total records returned: 1


�ڍ׏��̕\��
root@bigiplab(Active)(tmos)# sh sys connection all-properties
Sys::Connections
10.10.88.1:49127 - 10.10.30.9:80 - ::.0
-------------------------------------------
TMM 0
Type any
Protocol tcp
Idle Time 11
Idle Timeout 300
Unit ID 1
Lasthop external 00:0c:29:96:70:cd
Virtual Path 10.10.30.9:80

ClientSide ServerSide
Client Addr 10.10.88.1:49127 ::.0
Server Addr 10.10.30.9:80 ::.0
Bits In 896 0
Bits Out 480 0
Packets In 2 0
Packets Out 1 0

Total records returned: 1


��B �U���悪���܂�����
root@bigiplab(Active)(tmos)# sh sys connection all-properties
Sys::Connections
10.10.88.1:49127 - 10.10.30.9:80 - 10.10.40.40:80
-------------------------------------------------
TMM 0
Type any
Protocol tcp
Idle Time 8
Idle Timeout 300
Unit ID 1
Lasthop external 00:0c:29:96:70:cd
Virtual Path 10.10.30.9:80

ClientSide ServerSide
Client Addr 10.10.88.1:49127 10.10.88.1:49127
Server Addr 10.10.30.9:80 10.10.40.40:80
Bits In 2.8K 4.0K
Bits Out 4.4K 1.9K
Packets In 6 3
Packets Out 4 4

Total records returned: 1


���͈�‚����e�[�u���G���g���[�������̂ł��̏o�݂͂̂ł����A�ȉ��̂悤�ȏ����Ō����ł��܂��B
  • age : idle����(100���w�肷���idle 100�b�ȉ��̃R�l�N�V�������\������܂�)
  • cs-client-port : �N���C�A���g���ʐM�̃N���C�A���g�|�[�g�ԍ��܂��̓T�[�r�X��
  • cs-server-port : �N���C�A���g���ʐM��BIG-IP�̃|�[�g�ԍ�
  • ss-server-addr : �T�[�o���ʐM�̃T�[�o��IP�A�h���X
  • type : selfIP�ւ̒ʐM���A�~���[�p�ʐM���̎w��
  • cs-client-addr : �N���C�A���g���ʐM�̃N���C�A���g��IP�A�h���X
  • cs-server-addr : �N���C�A���g���ʐM��BIG-IP��IP�A�h���X
  • protocol : �v���g�R���̎w��
  • ss-server-port : �T�[�o���ʐM�̃T�[�o�|�[�g�ԍ�


�N���C�A���g���Ƃ͐�Ƀp�P�b�g�𑗂��Ă�����(TCP�Ō�����SYN�𑗂��Ă�����)���w���܂��B

|Client|(cs-client)----(cs-server)|BIG-IP|---(ss-server)|Server|

���Ȃ݂�connection table��modify�R�}���h��idle timeout�̒l��ύX�ł��܂��B
posted by Takahiro at 12:11| Comment(2) | TrackBack(0) | �e�N�j�b�N | ̃uO̓ǎ҂ɂȂ | XV`FbN
���̋L���ւ̃R�����g
���߂܂��āB
���������ɔq�������Ē����Ă���܂��B

�{�e�ł������Ă���sh�Ŏn�܂�R�}���h��ver10����̋@�\�Ȃ̂ł��傤���H


9.3�n����
bigpipe virtual address xxx.xxx.xxx.xxx �Ȃ񂽂�`(stats�H)�Ƃ����R�}���h�Ō���ꂽ�Ǝv���̂ł����A����Ƃ͈Ⴄ�̂ł��傤���H�H
Posted by chukko at 2010�N04��21�� 14:38
��σ��v���C���x��Ă��܂��\���󂠂�܂���B

sh�R�}���h��10.0�����������Ă���tmsh�Ƃ����V�����R�}���h���C���V�F���̋@�\�ł��B

9.x�̏ꍇ�͂��F���ʂ�bigpipe�Ō��邱�Ƃ��ł��܂��B10.2�ł����Ă���������bigpipe�R�}���h�͎g���܂����Atmsh�̕����V�����R�}���h�̊g��������s����Ǝv���܂��̂�10.0�ȏ�ɃA�b�v�O���[�h�����ꍇ��tmsh�Ɋ���Ă����̂��ǂ����Ǝv���܂��B
Posted by Takahiro at 2010�N05��10�� 11:40
�R�����g������
�����O:

���[���A�h���X:

�z�[���y�[�W�A�h���X:

�R�����g:

�F�؃R�[�h: [�K�{����]


���摜�̒��̕����𔼊p�œ��͂��Ă��������B
���u���O�I�[�i�[�����F�����R�����g�̂ݕ\������܂��B

���̋L���ւ̃g���b�N�o�b�N