← Solutions Notes

Huawei · OceanProtect X · Explained 1 of 5ฉบับเล่าให้ฟัง 1 จาก 5

OceanProtect X: what is inside the boxOceanProtect X: ข้างในเครื่องทำงานยังไง

Backup software, backup server and backup storage in one appliance. This is how the pieces fit, what to plan before the install date, and how it keeps the data right when parts fail.ซอฟต์แวร์แบ็กอัพ เครื่องแบ็กอัพ และสตอเรจแบ็กอัพ รวมอยู่ในเครื่องเดียว หน้านี้เล่าว่าชิ้นส่วนต่างๆ ต่อกันอย่างไร อะไรต้องวางแผนก่อนวันติดตั้ง และเครื่องดูแลข้อมูลให้ถูกต้องอย่างไรเวลาอุปกรณ์เสีย

Modelsรุ่น
X3000 · X6000 · X8000 · X9000
Controllersคอนโทรลเลอร์
2 or 4, active-active2 หรือ 4 ตัว active-active
Clusterคลัสเตอร์
up to 32 nodesสูงสุด 32 โหนด
Sourceที่มา
White paper 26H1

OceanProtect X, explainedOceanProtect X ฉบับเล่าให้ฟัง

The short versionสรุปสั้นๆ

An OceanProtect X is not a disk array that happens to hold backups. It is backup software, backup servers and backup storage in one box, split into two separate worlds: the storage system runs directly on the host operating system so reads and writes stay fast, and the backup software runs in its own containers as microservices. A problem in one side does not take the other down with it.OceanProtect X ไม่ใช่สตอเรจธรรมดาที่เอามาเก็บแบ็กอัพ แต่รวมซอฟต์แวร์แบ็กอัพ เครื่องแบ็กอัพ และสตอเรจสำหรับแบ็กอัพไว้ในกล่องเดียว และแยกเป็นสองโลกชัดเจน คือระบบสตอเรจรันตรงบน OS ของเครื่อง เพื่อให้การอ่านเขียนเร็ว ส่วนซอฟต์แวร์แบ็กอัพรันแยกอยู่ใน container แบบ microservice ถ้าฝั่งหนึ่งมีปัญหา อีกฝั่งไม่ล้มตามไปด้วย

Production sideInside one OceanProtect applianceHosts with ProtectAgentfiles, databasesAgent-free sourcesVMware, NAS, K8s, cloudData protection layer — containersProtectManager: policies, jobs, copies · DataMover Engine: moves the dataData storage layerNAS protocols, dedupe, snapshot, replicationHardwarecontrollers, disks, RDMAInfrastructureinstall, O&M tools, management platformsTwo fault domainsstorage runs onthe host OS;backup software runsin its own containers
Five layers, two fault domains.ห้าชั้น แยกเป็นสองโดเมนความเสียหาย

Controllers: two or four, always activeคอนโทรลเลอร์: สองหรือสี่ตัว ทำงานพร้อมกันหมด

Every model is active-active — no controller sits idle waiting for a failure. The difference is how many controllers share the load and how many can die before backups stop.ทุกรุ่นเป็นแบบ active-active ไม่มีคอนโทรลเลอร์ตัวไหนนั่งรอเฉยๆ ความต่างอยู่ที่ว่ามีกี่ตัวช่วยกันแบกงาน และเสียได้กี่ตัวก่อนแบ็กอัพจะหยุด

X3000 · X6000 · X8000 — two controllersX9000 — four controllers per enclosureController AactiveController Bactivecache mirrored over RDMAController AactiveController BactiveController CactiveController Dactive100 Gbit/s RDMA mesh · keeps re-pairing mirrors · survives 3 of 4 failing
Two controllers mirror each other; four controllers keep re-pairing as they fail.สองคอนโทรลเลอร์มิเรอร์กันเอง ส่วนแบบสี่ตัวจะจับคู่มิเรอร์ใหม่ไปเรื่อยๆ เมื่อมีตัวเสีย

Growing past one boxเมื่อหนึ่งเครื่องไม่พอ

Several appliances can form one backup cluster managed as a single system — up to 32 nodes. Each appliance stays its own Kubernetes cluster; what they share is the management database, which lives on the primary and is kept in sync with a standby so the cluster survives losing the primary.นำหลายเครื่องมารวมเป็นคลัสเตอร์แบ็กอัพเดียว แล้วจัดการเหมือนเป็นระบบเดียวได้ สูงสุด 32 โหนด แต่ละเครื่องยังเป็น Kubernetes cluster ของตัวเอง สิ่งที่ใช้ร่วมกันคือฐานข้อมูลจัดการที่อยู่บนเครื่องหลัก และมีเครื่องสำรองคอย sync ไว้ เครื่องหลักพังคลัสเตอร์ก็ยังไปต่อได้

Primary appliancemanagement + databaseStandby appliancedatabase kept in syncHAMember 1runs its own jobsMember 2runs its own jobsMember 3runs its own jobsjobs, over backup netEach appliance is its own Kubernetes cluster · up to 32 in one backup clusterA protected resource sticks to one node, so its incremental chain stays intact
One cluster, many appliances; jobs travel over the backup network, not the management port.คลัสเตอร์เดียวหลายเครื่อง งานวิ่งผ่านเน็ตเวิร์กแบ็กอัพ ไม่ได้วิ่งผ่านพอร์ตจัดการ

Huawei quotes 99.9999% reliability for a backup domain that keeps two identical copies of its data. That is a vendor figure for that specific configuration, not a property of every cluster.Huawei อ้างความเชื่อถือได้ 99.9999% สำหรับ backup domain ที่เก็บข้อมูลเป็นสองชุดเหมือนกัน นี่คือตัวเลขของผู้ผลิตสำหรับการตั้งค่าแบบนั้นโดยเฉพาะ ไม่ใช่คุณสมบัติของทุกคลัสเตอร์

Networks you have to planเน็ตเวิร์กที่ต้องวางแผน

Most installation delays come from IP planning, not hardware. Each node needs at least a management address and a backup-network address, and the rest depends on what the customer will use.งานติดตั้งที่ล่าช้าส่วนใหญ่มาจากการวาง IP ไม่ใช่ฮาร์ดแวร์ แต่ละโหนดต้องมี IP จัดการและ IP ของเน็ตเวิร์กแบ็กอัพอย่างน้อยอย่างละหนึ่ง ที่เหลือขึ้นกับว่าลูกค้าจะใช้อะไรบ้าง

OceanProtectone node, two controllersManagementadmin, BMC networkBackupagents, signalling, dataProduction storageLAN-free over FCArchiveobject storage, tapeReplicationsecond OceanProtectInternalcluster HA
Six planes; only management and backup are always needed.หกเน็ตเวิร์ก ที่ต้องมีเสมอมีแค่ management กับ backup
Planeเน็ตเวิร์กWhat it carriesใช้ทำอะไรAddresses per node (2 controllers)จำนวน IP ต่อโหนด (สองคอนโทรลเลอร์)
ManagementManagementConfiguration and maintenanceตั้งค่าและดูแลระบบ2 (one per controller)(ตัวละหนึ่ง)
BackupBackupSignalling and backup data to agent hostsสัญญาณควบคุมและข้อมูลแบ็กอัพไปหา agent≥ 2 × N, N ≤ 4 planesเน็ตเวิร์ก
ArchiveArchiveTo object storage or tape; can reuse the backup planeไปหา object storage หรือเทป ใช้ร่วมกับ backup ได้≥ 2 if kept separate≥ 2 ถ้าแยกออกมา
ReplicationReplicationTo the second OceanProtectไปหา OceanProtect ตัวที่สอง≥ 2 if replication is used≥ 2 ถ้าใช้ replication
InternalInternalCluster HA; can reuse the backup planeHA ของคลัสเตอร์ ใช้ร่วมกับ backup ได้≥ 2 if clustered≥ 2 ถ้าทำคลัสเตอร์

Ranges already taken inside the box — keep the management network out of them: 127.127.127.10/11 (controller heartbeat), 172.31.0.0/16 (maintenance port), and 172.16.x.x–172.24.x.x (container network). Out of the box the management ports are 192.168.128.101 and .102 with a /16 mask. Backup, archive, replication, internal and management must each sit in a different subnet.ช่วง IP ที่เครื่องใช้เองอยู่แล้ว อย่าให้เน็ตเวิร์กจัดการไปทับ: 127.127.127.10/11 (heartbeat ระหว่างคอนโทรลเลอร์), 172.31.0.0/16 (พอร์ต maintenance) และ 172.16.x.x–172.24.x.x (เน็ตเวิร์กของ container) ค่าเริ่มต้นของพอร์ตจัดการคือ 192.168.128.101 และ .102 mask /16 และเน็ตเวิร์ก backup, archive, replication, internal, management ต้องอยู่คนละ subnet กันทั้งหมด

Cabling rules worth rememberingกติกาการเดินสายที่ควรจำ

The storage layer underneathชั้นสตอเรจข้างล่าง

Backup data lands on a distributed NAS. When a file system is created it is spread across controllers, and its files and directories are spread across CPU cores, so directory walks and attribute scans do not pile onto one core. RAID 2.0+ then spreads every file system across every disk in the pool.ข้อมูลแบ็กอัพลงไปอยู่บน NAS แบบกระจาย พอสร้าง file system มันจะถูกกระจายไปหลายคอนโทรลเลอร์ ไฟล์และไดเรกทอรีข้างในก็กระจายไปตาม core ของ CPU เวลาไล่ไดเรกทอรีหรือสแกน attribute จึงไม่ไปกองอยู่ที่ core เดียว แล้ว RAID 2.0+ ก็กระจาย file system ทุกตัวไปบนทุกดิสก์ใน pool อีกชั้นหนึ่ง

ProtocolโปรโตคอลVersionsเวอร์ชันIdentityการยืนยันตัวตน
NFSv3, v4.1Local users, LDAP (LDAPS) or NIS — per vStore in multi-tenant setupsผู้ใช้ในเครื่อง, LDAP (LDAPS) หรือ NIS แยกตาม vStore ได้ถ้าเป็นแบบหลาย tenant
SMB / CIFS2.0, 3.0Local users or AD (Kerberos, NTLM); single, parent-child or trusted domainsผู้ใช้ในเครื่อง หรือ AD (Kerberos, NTLM) รองรับโดเมนเดี่ยว, parent-child และ trusted
Both on one file systemใช้ทั้งคู่บน file system เดียวNT mode or Unix modeโหมด NT หรือโหมด UnixPermissions are set from one side only and mapped to the otherตั้งสิทธิ์ได้จากฝั่งเดียว แล้วระบบแมปไปให้อีกฝั่ง

Built-in DNS load balancingDNS load balancing ในตัว

Point backup clients at a name instead of an IP. An external DNS can only rotate addresses; the appliance’s own DNS knows which node is busy, and can pick by round robin, CPU usage, bandwidth usage, number of NAS connections, or an overall blend.ให้เครื่องที่แบ็กอัพชี้ไปที่ชื่อแทน IP DNS ภายนอกทำได้แค่หมุนเวียน IP ไปเรื่อยๆ แต่ DNS ในตัวเครื่องรู้ว่าโหนดไหนยุ่งอยู่ และเลือกได้ทั้งแบบ round robin, ตามการใช้ CPU, ตามแบนด์วิดท์, ตามจำนวน connection ของ NAS หรือดูรวมทุกอย่าง

Audit logsAudit log

NAS access auditing is set per vStore and defaults to guarantee mode: if an operation cannot be logged, it is refused. That is the right default for compliance, but it means a full or broken audit file system can stop backups — watch it. Management audit (configuration changes only) is always on and exports as CSV or TXT.audit การเข้าถึง NAS ตั้งแยกตาม vStore และค่าเริ่มต้นเป็น guarantee mode คือถ้าบันทึก log ไม่ได้ ระบบจะไม่ยอมให้ทำคำสั่งนั้น ถูกต้องตามหลัก compliance แต่แปลว่าถ้า file system ของ audit เต็มหรือเสีย แบ็กอัพจะหยุดได้ ต้องคอยดู ส่วน audit ฝั่งการจัดการ (บันทึกเฉพาะการเปลี่ยนค่า) เปิดตลอดและ export เป็น CSV หรือ TXT ได้

RAID 2.0+RAID 2.0+

Every disk is cut into 4 MB chunks; chunks from different disks form a chunk groupdisk 1disk 2disk 3disk 4disk 5disk 6disk 7disk 8Chunk groupchunks from different disksGrains, 8 KBsmallest unit handed to volumesRebuildevery disk helps, a little each
No fixed RAID groups: chunks from many disks, rebuilt by many disks.ไม่มี RAID group ตายตัว ใช้ chunk จากหลายดิสก์ และช่วยกัน rebuild จากหลายดิสก์

How it keeps the data rightเครื่องดูแลให้ข้อมูลถูกต้องอย่างไร

HostFront-end portstays up if acontroller failscheck data addedCache, controller ABBU → coffer on power lossMirror, controller Btakes over dirty dataRAID 2.0+RAID 5 / 6 / TPSSD / HDDintra-disk RAID on SSDchecked at the disk8 bytes of check data added to every 512 bytes on arrival, checked at the disk and again on the way backPlus: background consistency scans, matrix checks for misplaced writes, slow-disk isolation

Press play to walk through the 4 steps, or use Back and Next.กดเล่นเพื่อดูทีละขั้นทั้ง 4 ขั้น หรือกดย้อนกลับ / ถัดไปเอง

The write comes in through a front-end port that keeps working even if a controller fails. On arrival, 8 bytes of check data are added to every 512 bytes (T10 PI).ข้อมูลเข้ามาทางพอร์ตฝั่งหน้า ซึ่งยังทำงานต่อได้แม้คอนโทรลเลอร์ตัวหนึ่งเสีย พอเข้าเครื่อง ระบบจะเติมข้อมูลตรวจสอบ 8 ไบต์ให้ทุก 512 ไบต์ (T10 PI)

The host is told “done” only after the data sits in the battery-backed cache of two controllers. If power fails, the batteries move the cache to the coffer.ระบบจะตอบโฮสต์ว่าเขียนเสร็จ ก็ต่อเมื่อข้อมูลอยู่ใน cache ที่มีแบตเตอรี่สำรองของสองคอนโทรลเลอร์แล้ว ถ้าไฟดับ แบตเตอรี่จะพาข้อมูลใน cache ไปเก็บใน coffer

RAID 2.0+ cuts the data into chunks spread over many disks, with one, two or three parity chunks. If a disk fails, every disk helps rebuild.RAID 2.0+ หั่นข้อมูลเป็นชิ้นกระจายไปหลายดิสก์ มี parity หนึ่ง สอง หรือสามชิ้น ถ้าดิสก์เสีย ดิสก์ทุกลูกช่วยกัน rebuild

At the disk the check data is verified, and verified again before data goes back to the host. Inside each SSD, intra-disk RAID covers a failed flash die.ที่ดิสก์ ข้อมูลตรวจสอบจะถูกเช็ก และเช็กอีกครั้งก่อนส่งข้อมูลกลับโฮสต์ ภายใน SSD แต่ละลูกยังมี intra-disk RAID คอยกันกรณี die ของแฟลชเสีย

Every stage of a write has its own safety net.ทุกขั้นของการเขียนมีตาข่ายรองรับของตัวเอง

Field notesบันทึกจากหน้างาน

  1. Plan IPs first, and check the four internal ranges against the customer’s network before the install date.วาง IP ให้เสร็จก่อน และเช็กช่วง IP ภายในเครื่องทั้งสี่ช่วงกับเน็ตเวิร์กของลูกค้าก่อนวันติดตั้ง
  2. Budget the extra per-controller addresses for DataTurbo and NAS backup — they are the ones people forget.เผื่อ IP ต่อคอนโทรลเลอร์สำหรับ DataTurbo และแบ็กอัพ NAS ไว้ด้วย ตรงนี้คนมักลืม
  3. In a multi-node cluster, decide the placement mode and spread full chains across nodes in the SLA before the first backup runs — changing later means new full backups.ถ้าเป็นคลัสเตอร์หลายโหนด ให้ตัดสินใจเรื่องโหมดการวางข้อมูล และกระจายสาย full ไปหลายโหนดใน SLA ก่อนแบ็กอัพครั้งแรก ถ้ามาเปลี่ยนทีหลังต้องทำ full ใหม่
  4. Keep an eye on audit-log capacity when guarantee mode is on.ถ้าเปิด guarantee mode ให้คอยดูพื้นที่ของ audit log
  5. After multiple disk failures, check pool usage: dynamic reconstruction protects the data at the cost of capacity.หลังดิสก์เสียหลายลูก ให้เช็กการใช้พื้นที่ของ pool เพราะ dynamic reconstruction ปกป้องข้อมูลโดยแลกกับพื้นที่

Referencesอ้างอิง