Tutorial Tutorial Tutorial Application Services Application Services Application Services ~10 phút ~10 min ~10 នាទី Đồng bộ 2026-06-10 Synced 2026-06-10 ធ្វើសមកាល 2026-06-10

Thực hiện kế hoạch bảo trì Perform planned maintenance ការធ្វើការបណ្តុះបណ្តាលដែលមានគោលដៅ

Hướng dẫn chi tiết đồng bộ từ docs Cloudflare — mỗi section có backlink tới đúng vị trí trên trang gốc. Detailed guide synced from Cloudflare docs — each section links to the matching anchor on the official page. មគ្គុទ្ទេសក៍លម្អិតធ្វើសមកាលពី docs Cloudflare — ផ្នែកនីមួយៗមានតំណទៅទីតាំងត្រូវគ្នានៅទំព័រផ្លូវការ។

← Danh mục ← Catalog ← បញ្ជី

Giải thích nhanh Quick context បរិបទរហ័ស

Thuộc nhóm Application Services — tập trung bảo vệ, tăng tốc và vận hành ứng dụng/web phía trước origin. Tutorial «Perform planned maintenance» giúp bạn làm quen luồng triển khai thật — phù hợp đọc trước khi mở tài liệu gốc tiếng Anh. Đọc phần tóm tắt và lưu ý trước — sau đó mở docs gốc để copy lệnh và cấu hình chi tiết.

When you change application settings or add new assets, you will likely want to make these changes on one endpoint at a time. Going endpoint by endpoint reduces the risk of changes and ensures a more consistent user experience.

នៅពេលដែលអ្នកផ្លាស់ប្តូរកំណត់កម្មវិធីឬបន្ថែមឧបករណ៍ថ្មីអ្នកអាចចង់ធ្វើការផ្លាស់ប្តូរទាំងនេះនៅទីបញ្ចប់មួយក្នុងមួយពេល។ ការផ្លាស់ប្តូរ endpoint ដោយ endpoint បានកាត់បន្ថយប្រសិទ្ធិភាពនៃការផ្លាស់ប្តូរនិងធានាឱ្យមានបទពិសោធន៍អ្នកប្រើដែលមានគុណភាពខ្ពស់ជាងមុន។

Lưu ý Note ចំណាំ

Lưu ý trước khi làm Notes before you start ចំណាំមុនពេលចាប់ផ្តើម

  • Đây là bản tóm tắt trên Orange Cloud Learning Hub — không thay thế tài liệu chính thức.
  • Luôn mở liên kết «Tài liệu gốc» bên dưới khi cần lệnh CLI, snippet code và ảnh minh họa đầy đủ.
  • Docs Cloudflare cập nhật thường xuyên — đối chiếu ngày «Rà soát lần cuối» trên trang gốc khi triển khai production.
  • This is a summary on Orange Cloud Learning Hub — it does not replace the official documentation.
  • Open the Official docs link below for CLI commands, code snippets, and full screenshots.
  • Cloudflare docs change frequently — verify the Last reviewed date on the official page before production use.
  • នេះគឺជាការបញ្ជាក់អំពី Orange Cloud Learning Hub — វាគឺជាការផ្លាស់ប្តូរនៃឯកសារផ្លូវការ។
  • ចុចតំណភ្ជាប់ Docs Official នៅខាងក្រោមសម្រាប់ការបញ្ជា CLI, សៀវភៅកូដនិងរូបថតពេញលេញ។
  • Cloudflare បានផ្លាស់ប្តូរជាធម្មតានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅ។

Overview Overview Overview

Phần «Tổng quan» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Overview" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «Overview» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Khi bạn thay đổi cài đặt ứng dụng hoặc thêm tài sản mới, bạn có thể muốn thực hiện những thay đổi này tại một điểm cuối cùng tại một thời điểm. Đi đến điểm cuối theo điểm cuối làm giảm nguy cơ thay đổi và đảm bảo trải nghiệm người dùng nhất quán hơn.
When you change application settings or add new assets, you will likely want to make these changes on one endpoint at a time. Going endpoint by endpoint reduces the risk of changes and ensures a more consistent user experience.
នៅពេលដែលអ្នកផ្លាស់ប្តូរកំណត់កម្មវិធីឬបន្ថែមឧបករណ៍ថ្មីអ្នកអាចចង់ធ្វើការផ្លាស់ប្តូរទាំងនេះនៅទីបញ្ចប់មួយក្នុងមួយពេល។ ការផ្លាស់ប្តូរ endpoint ដោយ endpoint បានកាត់បន្ថយប្រសិទ្ធិភាពនៃការផ្លាស់ប្តូរនិងធានាឱ្យមានបទពិសោធន៍អ្នកប្រើដែលមានគុណភាពខ្ពស់ជាងមុន។
Để đưa các điểm cuối ra khỏi vòng quay dần dần (quan trọng cho phiên dựa trên load balancing), enable endpoint drain trên load balancer của bạn. Tùy chọn này chỉ sẵn dùng cho proxied load balancers (orange-clouded).
To take endpoints out of rotation gradually (important for session-based load balancing), enable endpoint drain on your load balancer. This option is only available for proxied load balancers (orange-clouded).
ដើម្បីជួសជុល endpoints ពីការជួសជុលយ៉ាងឆាប់រហ័ស (សំខាន់សម្រាប់ load balancing ដោយផ្អែកលើសកម្មភាព), enable endpoint drain នៅលើ load balancer របស់អ្នក. ជម្រើសនេះអាចរកបានតែសម្រាប់ proxied load balancers (orange-clouded) ។
Để hướng lưu lượng truy cập ra khỏi điểm cuối của bạn ngay lập tức, adjust settings on the pool or monitor.
To direct traffic away from your endpoint immediately, adjust settings on the pool or monitor.
ប្រសិនបើអ្នកចង់ផ្លាស់ប្តូរការដឹកជញ្ជូនពីកន្លែងបញ្ចប់របស់អ្នកដោយឥតគិតថ្លៃ adjust settings on the pool or monitor ។
Nếu bạn muốn chuyển hướng lưu lượng truy cập từ điểm cuối để ngăn chặn nó trở nên không lành mạnh, hãy sử dụng Load Shedding thay vào đó.
If you want to divert traffic from an endpoint to prevent it from becoming unhealthy, use Load Shedding instead.
ប្រសិនបើអ្នកចង់ផ្លាស់ប្តូរការដឹកជញ្ជូនពីកន្លែងបញ្ចប់ដើម្បីការពារវាពីក្លាយជាមិនសុខភាព, ប្រើ Load Shedding ជាផ្នែកមួយ។

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Trước khi bạn bắt đầu Before you begin មុនពេលដែលអ្នកចាប់ផ្តើម

Phần «Before you begin» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Before you begin" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «មុនពេលដែលអ្នកចាប់ផ្តើម» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Trước khi vô hiệu hóa bất kỳ điểm cuối nào, hãy kiểm tra cài đặt cho bất kỳ load balancers và pool nào bị ảnh hưởng.
Before disabling any endpoint, review the settings for any affected load balancers and pools.
មុនពេលបាត់បន្ថយបញ្ចប់ណាមួយ, សូមពិនិត្យមើលកំណត់សម្រាប់ load balancers និង pools ទាំងអស់ដែលមានប្រសិទ្ធិភាព។
Nếu một nhóm rơi xuống dưới Health Threshold, nó sẽ được coi là Unhealthy và – tùy thuộc vào chính sách thiết lập và hướng dẫn của load balancer – một nhóm load balancer có thể bắt đầu định tuyến lưu lượng truy cập ra khỏi nhóm đó.
If a pool falls below its Health Threshold, it will be considered Unhealthy and — depending on the load balancer setup and steering policy — a load balancer may begin routing traffic away from that pool.
ប្រសិនបើក្រុមប្រឹក្សាភិបាលកាត់បន្ថយក្រោម Health Threshold របស់ខ្លួនវានឹងត្រូវបានគេស្គាល់ថាជា Unhealthy ហើយ - ដោយផ្អែកលើ load balancer ការកំណត់និងគោលនយោបាយការត្រួតពិនិត្យ - load balancer អាចចាប់ផ្តើមដំណើរការពីក្រុមប្រឹក្សាភិបាលនេះ។

Rotation dần dần Gradual rotation ការ rotating ដំបូង

Phần «Gradual rotation» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Gradual rotation" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការ rotating ដំបូង» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Endpoint drain chỉ có sẵn cho proxied load balancers (orange-clouded).
Endpoint drain is only available for proxied load balancers (orange-clouded).
Endpoint drain គឺអាចប្រើបានតែសម្រាប់ proxied load balancers (orange-clouded) ។
Với session-based load balancing, điều quan trọng là chuyển tất cả các yêu cầu từ một người dùng cuối cụ thể đến một điểm cuối cụ thể. Nếu không, thông tin về phiên người dùng - chẳng hạn như các mặt hàng trong giỏ hàng của họ - có thể bị mất và dẫn đến kết quả kinh doanh tiêu cực.
With session-based load balancing, it is important to direct all requests from a particular end user to a specific endpoint. Otherwise, information about the user session — such as items in their shopping cart — may be lost and lead to negative business outcomes.
ជាមួយ session-based load balancing, វាគឺជាការសំខាន់ក្នុងការផ្លាស់ប្តូរសំណួរទាំងអស់ពីអ្នកប្រើប្រាស់បញ្ចប់មួយចំនួនទៅនឹងកន្លែងបញ្ចប់មួយចំនួន។ ដូច្នេះទិន្នន័យអំពីដំណើរការអ្នកប្រើប្រាស់ដូចជាផលិតផលនៅក្នុងក្រណាត់អតិថិជនរបស់ពួកគេអាចត្រូវបានបាត់បង់និងនាំឱ្យផលិតផលអាជីវកម្មប៉ះពាល់។
Để loại bỏ điểm cuối khỏi quay trong khi vẫn duy trì tính liên tục của phiên, hãy thiết lập Endpoint drain trên load balancer:
To remove an endpoint from rotation while still preserving session continuity, set up Endpoint drain on a load balancer:
ប្រសិនបើអ្នកចង់កាត់បន្ថយបញ្ចប់ពីការ rotating ខណៈពេលដែលការរក្សាទុកការរក្សាទុកសកម្មភាពសកម្មភាពសកម្មភាព, បានបង្កើត Endpoint drain នៅលើ load balancer:
  1. Trên một load balancer mới hoặc hiện có, đi đến bước Hostname.
  2. Hãy chắc chắn rằng bạn đã bật Session Affinity.
  3. Đối với Endpoint drain duration, hãy nhập thời gian trong giây. Nếu giá trị này nhỏ hơn giá trị Session TTL, bạn sẽ ảnh hưởng đến các phiên hiện có.!Example configuration of session affinity with endpoint drain
  4. Lưu các thay đổi của bạn vào load balancer.
  5. Nhấp vào Manage Pools.
  6. Tắt một endpoint load balancer của bạn sẽ dần dần thoát khỏi các phiên từ điểm cuối đó.
  7. Trên load balancer, mở rộng hồ bơi của bạn để tìm điểm cuối bị vô hiệu hóa. Bạn sẽ thấy ước tính Drain Time đếm xuống.!Example showing load balancer draining in progress
  8. Khi rò rỉ là Complete, không còn kết nối với điểm cuối đó nữa.!Example showing load balancer draining complete
  9. Thực hiện việc bảo trì hoặc nâng cấp cần thiết của bạn.
  10. Để đưa điểm cuối của bạn trở lại trực tuyến, hãy kích hoạt lại điểm cuối.
  1. On a new or existing load balancer, go to the Hostname step.
  2. Make sure you have enabled Session Affinity.
  3. For Endpoint drain duration, enter a time in seconds. If this value is less than the Session TTL value, you will affect existing sessions.!Example configuration of session affinity with endpoint drain
  4. Save your changes to the load balancer.
  5. Click Manage Pools.
  6. Disable an endpoint. Your load balancer will gradually drain sessions from that endpoint.
  7. On your load balancer, expand your pools to find the disabled endpoint. You will see the estimated Drain Time counting down.!Example showing load balancer draining in progress
  8. When a drain is Complete, there are no longer any connections to that endpoint.!Example showing load balancer draining complete
  9. Perform your required maintenance or upgrades.
  10. To bring your endpoint back online, re-enable the endpoint.
  1. នៅលើ load balancer ថ្មីឬមានរបស់អ្នក, សូមចូលទៅក្នុងដំណោះស្រាយ Hostname ។
  2. ប្រសិនបើអ្នកបានអនុញ្ញាត Session Affinity ។
  3. សម្រាប់ Endpoint drain duration, ទាញយកពេលវេលាក្នុងសប្តាហ៍។ ប្រសិនបើតម្លៃនេះគឺទាបជាងតម្លៃ Session TTL អ្នកនឹងមានប្រសិទ្ធិភាពសម្រាប់ប្រព័ន្ធប្រតិបត្តិការដែលមាននៅពេលនេះ.!Example configuration of session affinity with endpoint drain
  4. ទាញយកកម្មវិធីរបស់អ្នកទៅ load balancer ។
  5. សូមចុច Manage Pools ។
  6. ការបញ្ចូល Endpoint ។ load balancer របស់អ្នកនឹងផ្លាស់ប្តូរដំណាក់កាលពីបញ្ចប់នេះ។
  7. On your load balancer, expand your pools to find the disabled endpoint. You will see the estimated Drain Time counting down.!Example showing load balancer draining in progress
  8. នៅពេលដែលការដោះស្រាយគឺ Complete, មានការតភ្ជាប់ណាមួយទៅនឹង endpoint នេះ!Example showing load balancer draining complete
  9. ធ្វើការបណ្តុះបណ្តាលឬការអភិវឌ្ឍដែលអ្នកត្រូវការ។
  10. ប្រសិនបើអ្នកចង់បង្កើត endpoint របស់អ្នកនៅលើអ៊ីនធឺណិត, សូមបង្កើត endpoint របស់អ្នកនៅលើអ៊ីនធឺណិត។

Rotation ngay lập tức Immediate rotation ការ rotating ឥឡូវនេះ

Phần «Immediate rotation» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.

Read the "Immediate rotation" section below — open the official docs link for full screenshots and configuration tabs.

អានផ្នែក «ការ rotating ឥឡូវនេះ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។

Mở section docs gốc ↗ Open source section ↗ បើកផ្នែក docs ផ្លូវការ ↗
Để hướng lưu lượng truy cập ra khỏi điểm cuối ngay lập tức:
To direct traffic away from an endpoint immediately:
ដើម្បីបញ្ជូនការដឹកជញ្ជូនពីកន្លែងបញ្ចប់យ៉ាងឆាប់រហ័ស:
  1. Thực hiện một trong các hành động sau:
  1. Do one of the following actions:
  1. សូមធ្វើការមួយចំនួនដូចខាងក្រោម:
Trên monitor của điểm cuối, cập nhật cài đặt màn hình để điểm cuối sẽ thất bại yêu cầu giám sát sức khỏe, chẳng hạn như đặt một giá trị không chính xác cho Response Body hoặc Response Code. Trên hồ bơi, tắt điểm cuối. * Trên hồ bơi, đặt endpoint weight thành 0 (mặc dù lưu lượng truy cập vẫn có thể đạt đến điểm cuối nếu nó được bao gồm trong nhiều hồ bơi).
On the endpoint's monitor, update the monitor settings so the endpoint will fail health monitor requests, such as putting an incorrect value for the Response Body or Response Code. On the pool, disable the endpoint. * On the pool, set the endpoint weight to 0 (though traffic may still reach the endpoint if it is included in multiple pools).
On the endpoint's monitor, update the monitor settings so the endpoint will fail health monitor requests, such as putting an incorrect value for the Response Body or Response Code. On the pool, disable the endpoint. * On the pool, set the endpoint weight to 0 (though traffic may still reach the endpoint if it is included in multiple pools).
  1. Theo dõi Load Balancing Analytics để đảm bảo rằng không có yêu cầu nào đạt đến bể.
  1. Monitor Load Balancing Analytics to make sure no requests are reaching the pool.
  1. ការត្រួតពិនិត្យ Load Balancing Analytics ដើម្បីធ្វើឱ្យប្រាកដថាមិនមានតម្រូវការចូលទៅក្នុងបណ្តាញ។
* Nếu bạn đang sử dụng DNS-only load balancing (gray-clouded), thay đổi có thể bị trì hoãn do giải quyết bộ nhớ đệm DNS.
* If you are using DNS-only load balancing (gray-clouded), changes may be delayed due to DNS resolver caching.
* ប្រសិនបើអ្នកកំពុងប្រើ DNS-only load balancing (gray-clouded), ការផ្លាស់ប្តូរអាចត្រូវបានឆ្លើយតបដោយសារតែការដោះស្រាយ DNS ។
  1. Thực hiện việc bảo trì hoặc nâng cấp cần thiết của bạn.
  2. Xóa các thay đổi bạn đã thực hiện trong Step 1.
  1. Perform your required maintenance or upgrades.
  2. Undo the changes you made in Step 1.
  1. ធ្វើការបណ្តុះបណ្តាលឬការអភិវឌ្ឍដែលអ្នកត្រូវការ។
  2. បិទការផ្លាស់ប្តូរដែលអ្នកបានធ្វើនៅក្នុង Step 1 ។
json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/load-balancing/","name":"Load Balancing"}},{"@type":"ListItem","position":3,"item":{"@id":"/load-balancing/additional-options/","name":"Additional configuration"}},{"@type":"ListItem","position":4,"item":{"@id":"/load-balancing/additional-options/planned-maintenance/","name":"Perform planned maintenance"}}]}

Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)

Xem bản đầy đủ trên developers.cloudflare.com (ảnh, tab cấu hình). View the full guide on developers.cloudflare.com (images, config tabs). មើលមគ្គុទ្ទេសក៍ពេញលើ developers.cloudflare.com (រូបភាព, tab កំណត់)។

Tài liệu gốc ↗ Official docs ↗ ឯកសារផ្លូវការ ↗