Alibaba Cloud Dynamic Route for CDN (DCDN) supports the following types of origin server: Object Storage Service (OSS) domain names, IP addresses of origin servers, and domain names of origin servers. You can specify one or more origin servers of each type and specify primary and secondary origin servers to balance loads. This topic describes how to add an origin server, modify the information about an origin server, and configure a health check policy for origin servers.
Precautions
- When DCDN retrieves resources from an origin server, the origin server is billed for data transfer. For example, if the origin server is a data center, the data center is billed for data transfer and bandwidth resources. If the origin server is an OSS bucket, you are charged for traffic and bandwidth consumed by the origin server.
- DCDN supports switchover between primary and secondary origin servers. If multiple
origin servers are configured, DCDN preferentially redirects requests to the origin
server whose Priority is Primary. If the primary origin server fails three consecutive health checks, DCDN redirects
requests to the origin server whose Priority is Secondary. If the primary origin server passes the health check, the system marks the origin
server as available again and restores the priority of the origin server to primary.
If you set the same priority for all origin servers, DCDN automatically redirects
requests to the origin servers based on round-robin scheduling.
Note DCDN performs Layer 4 health checks on origin servers. Port 80, port 443, and the custom port that you have specified are all probed. Probes are sent every 2.5 seconds. If an origin server fails three consecutive probes, the system marks the origin server as unavailable.