บทนำ
ก่อนเริ่ม Hot Standby Migration ต้องติดตั้ง SCMT Agent บน Source VM เพื่อให้ SCMT สามารถ backup ข้อมูลจากเครื่องต้นทางได้ บทความนี้อธิบายขั้นตอนการดาวน์โหลดและติดตั้ง Agent ทั้งบน Windows และ Linux
ข้อกำหนดเบื้องต้น (Prerequisites)
- Source VM เปิดใช้งานปกติ และธุรกิจบน Source VM ทำงานได้
- มี disk space เพียงพอสำหรับติดตั้ง migration agent
- Network ระหว่าง Source VM กับ SCMT เปิด port ตามข้อกำหนด (TCP 20000, 20001, 20002 สำหรับ Actively Connected Agent หรือ TCP 3345 สำหรับ Passively Connected Agent)
- OS ของ Source VM อยู่ใน compatibility list
ขั้นตอนการตั้งค่า (Configuration Steps)
Windows Agent
- Login SCMT ด้วย user ที่สร้างไว้ ไปที่ Download คลิก Windows machine (x86 32/64-Bit)
- เลือกประเภท Agent: Actively Connected Agent (เมื่อ Source อยู่ใน LAN เดียวกันหรือ route ถึง SCMT ได้) หรือ Passively Connected Agent (เมื่อ SCMT ต้องเป็นฝ่ายเชื่อมต่อเข้าหา Source) แล้วคลิก Download
- ดาวน์โหลดไฟล์ zip ของ Agent แตกไฟล์บน Source VM แล้วดับเบิลคลิก setup
- คลิก Install รอจนติดตั้งเสร็จ
Linux Agent
- Login SCMT ไปที่ Download คลิก Linux machine (x86 64-Bit) หรือ Linux client (x86 32-Bit) ตาม OS ของ Source VM
- เลือก Actively หรือ Passively Connected Agent แล้วคลิก Download เพื่อสร้าง download link
- ดาวน์โหลดไฟล์ .sh บน Source VM (หากใช้ HTTPS ต้องเพิ่ม parameter --no-check-certificate กับ wget)
- ให้สิทธิ์ execute: chmod +x [agent_installation_file]
- รันคำสั่งติดตั้ง: ./[agent_installation_file] รอจนแสดงข้อความ install success
การตรวจสอบ (Verification)
บน SCMT ให้ตรวจสอบว่า Source VM แสดงอยู่ในรายการ Agent-Based Machine ใน Console > Backup Plans > Create (เมื่อกำลังเลือก Source) และสถานะ connection ปกติ
หมายเหตุ (Notes)
- Actively Connected Agent เหมาะกับกรณี Source VM และ SCMT อยู่ network เดียวกันหรือ route ถึงกันได้
- Passively Connected Agent เหมาะกับกรณี Source ไม่สามารถเข้าถึง SCMT ได้โดยตรง (เช่น ผ่าน Public IP) ต้องตั้งค่า Public IP ที่หน้า Connections ก่อน
- สำหรับ Linux อย่าลืม parameter --no-check-certificate เมื่อดาวน์โหลดผ่าน HTTPS
- Linux Agent จะติดตั้งอยู่ใน /opt/* โดย default
ข้อคิดเห็น
0 ข้อคิดเห็น
โปรด ลงชื่อเข้าใช้ เพื่อแสดงข้อคิดเห็น