บทนำ
Agent-based Migration ใช้สำหรับย้าย Physical Server หรือ VM จาก Platform ที่ SCMT ไม่รองรับ Agentless (เช่น KVM, XenServer, Hyper-V หรือ Physical) โดยต้องติดตั้ง Agent ลงใน Source Machine ก่อน บทความนี้อธิบายขั้นตอนการดาวน์โหลดและติดตั้ง Agent สำหรับ Windows และ Linux
ข้อกำหนดเบื้องต้น (Prerequisites)
- SCMT ถูก Deploy และ License แล้ว
- Source Machine ทำงานปกติและมี Resource เพียงพอสำหรับติดตั้ง Agent
- Network ระหว่าง Source Machine และ SCMT สามารถสื่อสารกันได้ (TCP Port 20000, 20001, 20002)
- OS ของ Source Machine อยู่ใน Compatibility List ของ SCMT (Windows Server 2003+ หรือ Linux Kernel 2.6.18+)
ขั้นตอนการตั้งค่า - Windows Agent
- Login SCMT ด้วย User Account ที่สร้างใหม่ ไปที่ Download แล้วคลิก Windows machine (x86 32/64-Bit)
- เลือกประเภท Agent: Actively Connected Agent (Agent เชื่อมต่อมายัง SCMT) หรือ Passively Connected Agent (SCMT เชื่อมต่อไปยัง Agent) ตามสภาพเครือข่าย
- สำหรับ Actively Connected Agent เลือก Local System IP ของ SCMT แล้วคลิก Download
- รอจนได้ Download Link แล้วดาวน์โหลดไฟล์ ZIP ของ Agent
- โอนไฟล์ ZIP ไปยัง Source Windows Machine แล้ว Unzip
- เข้าไปใน Folder ที่ Unzip แล้วดับเบิลคลิก setup เพื่อเริ่มติดตั้ง
- คลิก Install และรอจนการติดตั้งเสร็จ
ขั้นตอนการตั้งค่า - Linux Agent
- ไปที่ Download แล้วคลิก Linux machine (x86 64-Bit) หรือ Linux client (x86 32-Bit) ตาม Architecture ของ Source
- เลือก Actively Connected Agent หรือ Passively Connected Agent แล้วคลิก Download
- Copy Download Link บน Source Linux Machine แล้วรันคำสั่ง wget --no-check-certificate [link] เพื่อดาวน์โหลดไฟล์ .sh
- Authorize ไฟล์ด้วยคำสั่ง chmod +x DRClient64.scmt_test.xxx.sh
- รันคำสั่ง ./DRClient64.scmt_test.xxx.sh เพื่อเริ่มติดตั้ง
- รอจนปรากฏข้อความ install success โดย Agent จะถูกติดตั้งที่ /opt/ โดยค่าเริ่มต้น
การตรวจสอบ (Verification)
หลังติดตั้ง Agent สำเร็จ กลับไปที่ SCMT จะพบ Source Machine ปรากฏในรายการ Connections > Machines พร้อมแสดงสถานะ Online และข้อมูล OS, CPU, Memory, Disk ของเครื่อง
หมายเหตุ (Notes)
- สำคัญ: สำหรับ Linux ต้องใช้ parameter --no-check-certificate กับ wget เสมอ มิฉะนั้นจะดาวน์โหลดไม่สำเร็จ
- เลือก Actively Connected Agent เมื่อ Source อยู่ใน LAN เดียวกันกับ SCMT หรือ Route ถึงกัน
- เลือก Passively Connected Agent เมื่อ Source อยู่นอก Network ของ SCMT (เช่น ผ่าน Public IP) โดยต้องกำหนด Public IP ของ Agent ในหน้า Connections ก่อนติดตั้ง
- ดูรายละเอียด Help เพิ่มเติมสำหรับ Linux Agent ด้วยคำสั่ง sh DRClient64.xxx.sh --help
ข้อคิดเห็น
0 ข้อคิดเห็น
โปรด ลงชื่อเข้าใช้ เพื่อแสดงข้อคิดเห็น