ELB UMN 0718 VERSION
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: zhoumeng <zhoumeng35@huawei.com> Co-committed-by: zhoumeng <zhoumeng35@huawei.com>
@ -1,7 +1,7 @@
|
||||
<a name="elb_faq_0067"></a><a name="elb_faq_0067"></a>
|
||||
|
||||
<h1 class="topictitle1">How Do I Test Sticky Sessions Using Linux Curl Commands?</h1>
|
||||
<div id="body1568692772111"><ol id="elb_faq_0067__ol1225692695217"><li id="elb_faq_0067__li5256172655211">Prepare required resources.<ol type="a" id="elb_faq_0067__ol1119161413172"><li id="elb_faq_0067__li102014147176">Buy three ECSs, one as the client and the other two as backend servers.</li><li id="elb_faq_0067__li16704122631717">Create a load balancer and add an HTTP listener to the load balancer. Enable sticky sessions when you add the listener.</li></ol>
|
||||
<div id="body1568692772111"><ol id="elb_faq_0067__ol1225692695217"><li id="elb_faq_0067__li5256172655211">Prepare required resources.<ol type="a" id="elb_faq_0067__ol1119161413172"><li id="elb_faq_0067__li102014147176">Create three ECSs, one as the client and the other two as backend servers.</li><li id="elb_faq_0067__li16704122631717">Create a load balancer and add an HTTP listener to the load balancer. Enable sticky sessions when you add the listener.</li></ol>
|
||||
</li></ol><ol start="2" id="elb_faq_0067__ol1374244435219"><li id="elb_faq_0067__li126712675314">Start the HTTP service of the two backend servers.<p id="elb_faq_0067__p289912181537"><a name="elb_faq_0067__li126712675314"></a><a name="li126712675314"></a>Log in to a backend server and create a file named <strong id="elb_faq_0067__b753721151911">1.file</strong> in the current directory to mark this server.</p>
|
||||
<p id="elb_faq_0067__p3192611205315">Run the following command in the current directory to start the HTTP service:</p>
|
||||
<p id="elb_faq_0067__p12376122895310"><strong id="elb_faq_0067__b437619286536">nohup python –m SimpleHTTPServer 80 &</strong></p>
|
||||
|
@ -8,7 +8,13 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="elb_ug_jl_0000__row1054811391791"><td class="cellrowborder" valign="top" width="28.599999999999998%" headers="mcps1.3.1.1.3.1.1 "><p id="elb_ug_jl_0000__p354873918918">2024-06-25</p>
|
||||
<tbody><tr id="elb_ug_jl_0000__row1097015179207"><td class="cellrowborder" valign="top" width="28.599999999999998%" headers="mcps1.3.1.1.3.1.1 "><p id="elb_ug_jl_0000__p397051720209">2024-07-22</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="71.39999999999999%" headers="mcps1.3.1.1.3.1.2 "><p id="elb_ug_jl_0000__p897011742013">Modified the following content:</p>
|
||||
<p id="elb_ug_jl_0000__p0468134172013">Added <a href="elb_ug_rz_0000.html">Access Logging</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="elb_ug_jl_0000__row1054811391791"><td class="cellrowborder" valign="top" width="28.599999999999998%" headers="mcps1.3.1.1.3.1.1 "><p id="elb_ug_jl_0000__p354873918918">2024-06-25</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="71.39999999999999%" headers="mcps1.3.1.1.3.1.2 "><p id="elb_ug_jl_0000__p155493312105">Modified the following content:</p>
|
||||
<p id="elb_ug_jl_0000__p2035615229107">Added:</p>
|
||||
|
370
docs/elb/umn/elb_ug_rz_0000.html
Normal file
BIN
docs/elb/umn/en-us_image_0000001908343850.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
docs/elb/umn/en-us_image_0000001951137274.png
Normal file
After Width: | Height: | Size: 251 B |
BIN
docs/elb/umn/en-us_image_0000001982936805.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
docs/elb/umn/en-us_image_0000001982936809.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
docs/elb/umn/en-us_image_0000001982936813.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
docs/elb/umn/en-us_image_0000001983096673.png
Normal file
After Width: | Height: | Size: 391 B |
BIN
docs/elb/umn/en-us_image_0000001983096677.png
Normal file
After Width: | Height: | Size: 9.8 KiB |
BIN
docs/elb/umn/en-us_image_0000001983096681.png
Normal file
After Width: | Height: | Size: 173 B |