Diagnosis masalah terkait instalasi klien, pencadangan, pemulihan, dan konektivitas jaringan. Topik ini menjelaskan cara menginstal dan menggunakan tool diagnostik.
Unduh tool diagnostik (tanpa perlu instalasi)
Cloud Backup menyediakan versi berikut dari tool diagnostik. Unduh versi yang sesuai dengan sistem operasi server tempat klien diinstal.
Parameter
Parameter | Deskripsi |
-a | Menentukan konten yang akan didiagnosis. Nilai yang valid: check dan network.
|
-r | Menentukan wilayah untuk diagnosis. Masukkan ID wilayah. Untuk mendapatkan ID wilayah, lihat Endpoints. |
-t | Menentukan jenis klien yang diinstal pada server lokal. Nilai yang valid:
|
-l | Menentukan direktori log. Jika klien diinstal di direktori kustom, gunakan parameter ini untuk menentukan lokasi folder log. Untuk melihat path instalasi default dan log klien Cloud Backup, lihat Cara melihat path instalasi default dan log klien Cloud Backup. |
Gunakan tool diagnostik
Jalankan perintah berikut untuk melakukan diagnosis.
Linux
Diagnosis error
./ht-linux-amd64Hasil yang diharapkan adalah sebagai berikut:
Client installation path is /root/hbr-install-2.11.0-linux-amd64/logs The check on /root/hbr-install-2.11.0-linux-amd64/logs is complete. No exceptions found. For further checks, specify a path or perform a network check.Diagnosis konektivitas jaringan
./ht-linux-amd64 -a network -r cn-hangzhouHasil yang diharapkan adalah sebagai berikut:
The network check result is as follows: Control (communication) network public domain name: post-cn-mp90rcien05.mqtt.aliyuncs.com, leased line domain name: post-cn-mp90rcien05-internal.mqtt.aliyuncs.com, port: 1883. This server can be accessed over the public network or a leased line. Data network public domain name: oss-cn-hangzhou.aliyuncs.com, leased line domain name: oss-cn-hangzhou-internal.aliyuncs.com, HTTP connection port: 80, HTTPS connection port: 443. If you use an HTTP connection, this server can be accessed over the public network. However, the leased line domain name is inaccessible. To use the leased line for access, check the firewall or leased line/VPN settings. If you use an HTTPS connection, this server can be accessed using either the public or leased line domain name.
Jika pesan
i/o timeoutdikembalikan, berarti terdapat masalah pada lingkungan tempat klien Cloud Backup diinstal. Anda harus menyelesaikan masalah tersebut. Untuk menyelesaikan masalah yang didiagnosis, lihat Masalah jaringan umum.Client log path is /root/hbr-install-2.11.0-linux-amd64/logs On 2022-11-16, the following problem was detected: An i/o timeout exception occurred for the request from this server to http://hbr-000erjjjfoafwu7a802j.oss-cn-hangzhou-internal.aliyuncs.com. Check the firewall configuration and upstream bandwidth. On 2022-11-15, the following problem was detected: An i/o timeout exception occurred for the request from this server to http://hbr-000erjjjfoafwu7a802j.oss-cn-hangzhou-internal.aliyuncs.com. Check the firewall configuration and upstream bandwidth. On 2022-11-14, the following problem was detected: An i/o timeout exception occurred for the request from this server to http://hbr-000erjjjfoafwu7a802j.oss-cn-hangzhou-internal.aliyuncs.com. Check the firewall configuration and upstream bandwidth. ......Windows
Mendiagnosis Kesalahan
Buka Command Prompt dan jalankan perintah berikut:
.\ht-windows-amd64.exeHasil yang diharapkan adalah sebagai berikut:
Client log path is C:\Program Files\Aliyun Hybrid Backup Service Client\logs The check on C:\Program Files\Aliyun Hybrid Backup Service Client\logs is complete. No exceptions found. For further checks, specify a path or perform a network check.Diagnosis konektivitas jaringan
Buka Command Prompt dan jalankan perintah berikut:
.\ht-windows-amd64.exe -a network -r cn-hangzhouHasil yang diharapkan adalah sebagai berikut:
The network check result is as follows: Control (communication) network public domain name: post-cn-mp90rcien05.mqtt.aliyuncs.com, leased line domain name: post-cn-mp90rcien05-internal.mqtt.aliyuncs.com, port: 1883. This server can be accessed over the public network. However, the leased line domain name is inaccessible. To use the leased line for access, check the firewall or leased line/VPN settings. Data network public domain name: oss-cn-hangzhou.aliyuncs.com, leased line domain name: oss-cn-hangzhou-internal.aliyuncs.com, HTTP connection port: 80, HTTPS connection port: 443. If you use an HTTP connection, this server can be accessed over the public network. However, the leased line domain name is inaccessible. To use the leased line for access, check the firewall or leased line/VPN settings. If you use an HTTPS connection, this server can be accessed over the public network. However, the leased line domain name is inaccessible. To use the leased line for access, check the firewall or leased line/VPN settings.
Jika pesan
i/o timeoutdikembalikan, berarti terdapat masalah pada lingkungan tempat klien Cloud Backup diinstal. Anda harus menyelesaikan masalah tersebut. Untuk menyelesaikan masalah yang didiagnosis, lihat Masalah jaringan umum.check path C:\Program Files\Aliyun Hybrid Backup Service Client\logs got path C:\Program Files\Aliyun Hybrid Backup Service Client\logs On 2022-11-14, the following problem was detected: An i/o timeout exception was detected for the request from this server to http://hbr-000erjjjfoafwu7a802j.oss-cn-hangzhou-internal.aliyuncs.com. Check the network. On 2022-11-13, the following problem was detected: An i/o timeout exception was detected for the request from this server to http://hbr-000erjjjfoafwu7a802j.oss-cn-hangzhou-internal.aliyuncs.com. Check the network. On 2022-11-12, the following problem was detected: An i/o timeout exception was detected for the request from this server to http://hbr-000erjjjfoafwu7a802j.oss-cn-hangzhou-internal.aliyuncs.com. Check the network. ......