← Solutions Notes

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

OceanProtect X: where copies go nextOceanProtect X: สำเนาไปไหนต่อ

Replicate for recovery, archive for retention. How each works, which models can talk to each other, and the places where Huawei’s own documents disagree.replicate ไว้กู้ระบบ archive ไว้เก็บยาว แต่ละแบบทำงานอย่างไร รุ่นไหนคุยกับรุ่นไหนได้ และจุดที่เอกสารของ Huawei เองพูดไม่ตรงกัน

Archive targetsปลายทาง archive
object, tape · up to 4object, เทป · สูงสุด 4
ReplicationReplication
async, per resourceasync แยกตามทรัพยากร
Minimum periodรอบสั้นสุด
1 hour1 ชั่วโมง
Sourcesที่มา
2 white paperswhite paper 2 ฉบับ

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

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

A backup copy has three places it can go next. Replication sends it to a second OceanProtect for disaster recovery — restores are as fast as local ones. Archiving sends it to object storage or tape for years of cheap retention — restores are slow and some features are lost on the way. One SLA can do all three, and the art is choosing which copies go where.สำเนาแบ็กอัพมีที่ไปต่อได้สามทาง replication ส่งไปยัง OceanProtect อีกเครื่องเพื่อทำ DR กู้คืนได้เร็วเท่ากับกู้ในเครื่อง ส่วน archive ส่งไปเก็บที่ object storage หรือเทปเป็นปีๆ ด้วยต้นทุนต่ำ แต่กู้คืนช้า และฟีเจอร์บางอย่างหายไประหว่างทาง SLA เดียวทำได้ครบทั้งสามทาง ศิลปะอยู่ที่การเลือกว่าสำเนาไหนควรไปที่ไหน

Productionapps, VMs, filesbackupOceanProtectlocal copies · fast restorereplicateSecond OceanProtectDR · same speedarchiveObject storagecloud or on-premTape libraryoffline, cheapestarchive fromthe DR copyOne SLA can drive all of it
Replication for recovery, archive for retention.replication ไว้กู้ระบบ archive ไว้เก็บยาว
PatternรูปแบบGood forเหมาะกับ
Local backup onlyแบ็กอัพในเครื่องอย่างเดียวShort retention, single siteเก็บไม่นาน มีไซต์เดียว
Local + archiveในเครื่อง + archiveLong legal retention without a second applianceต้องเก็บตามกฎหมายนานๆ โดยไม่มีเครื่องที่สอง
Local + replicationในเครื่อง + replicationSite-level disaster recoveryกู้ระบบระดับไซต์
Local + replication + archiveในเครื่อง + replication + archiveBoth — often archiving from the DR copy so the primary is not loadedทั้งสองอย่าง มักทำ archive จากสำเนาที่ไซต์ DR เพื่อไม่ให้เครื่องหลักรับภาระ

Archiving to object storageArchive ไปที่ object storage

The appliance archives by itself — no extra backup server. Targets include OceanStor Pacific, FusionStorage OBS, OceanStor 9000, Huawei Cloud OBS, AWS S3, Azure and Google Cloud, up to four targets per copy (1:4).ตัวเครื่องทำ archive ได้เอง ไม่ต้องมีเซิร์ฟเวอร์แบ็กอัพเพิ่ม ปลายทางมีทั้ง OceanStor Pacific, FusionStorage OBS, OceanStor 9000, Huawei Cloud OBS, AWS S3, Azure และ Google Cloud ส่งได้สูงสุดสี่ปลายทางต่อหนึ่งสำเนา (1:4)

Agent-free: the appliance talks to the cloud itselfCloud proxy: a Linux host translatesOceanProtectS3 / BlobObject storageS3, Azure, Google, OBSOceanProtectS3Cloud proxyVM or serverCloudown protocolSimplest; needs the appliance to reach the bucketUse when a cloud needs its own protocol or network path
Pick the mode by what the network allows.เลือกโหมดตามที่เน็ตเวิร์กเอื้อ
Clone the copysnapshot → cloneScanbuild the file listSplitsub-jobs across nodesUpload4 MB blocks, compressedRecordfile list + metadataThe clone is deleted when the job ends; the recorded file list is what makes file-level restore possible later

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

The backup software clones the snapshot behind the copy. The archive reads from the clone, so new backups are not held up.ซอฟต์แวร์แบ็กอัพ clone snapshot ของสำเนาขึ้นมา archive จะอ่านจาก clone ตัวนี้ แบ็กอัพรอบใหม่จึงไม่ต้องรอ

A scanner walks the clone and builds the list of files to send.ตัวสแกนไล่อ่าน clone แล้วทำรายชื่อไฟล์ที่ต้องส่ง

The job is cut into sub-jobs by that list, and several controllers pick them up at the same time.งานถูกหั่นเป็นงานย่อยตามรายชื่อไฟล์ แล้วคอนโทรลเลอร์หลายตัวช่วยกันทำพร้อมกัน

Each sub-job packs data into 4 MB blocks, compresses them and uploads over S3 or Azure Blob.งานย่อยแต่ละงานจัดข้อมูลเป็นบล็อก 4 MB บีบอัด แล้วอัปโหลดผ่าน S3 หรือ Azure Blob

A file and path list with metadata is saved, which is what lets you browse and restore single files later. Then the clone is deleted.ระบบบันทึกรายชื่อไฟล์ พาธ และ metadata ไว้ ทำให้ภายหลังเปิดดูและกู้ทีละไฟล์ได้ จากนั้นจึงลบ clone ทิ้ง

Archiving works from a clone, so backups keep running.archive ทำจาก clone แบ็กอัพจึงทำงานต่อไปได้

Archived data is compressed but not deduplicated, so a copy occupies roughly its original size in the bucket, not its size on the appliance. Size the archive from protected data, not from the appliance’s used capacity.ข้อมูลที่ archive ถูกบีบอัดแต่ไม่ถูก dedupe สำเนาจึงกินพื้นที่ใน bucket ใกล้เคียงขนาดจริง ไม่ใช่ขนาดที่ใช้บนเครื่อง ให้คำนวณพื้นที่ archive จากข้อมูลที่ปกป้อง ไม่ใช่จากพื้นที่ที่ใช้อยู่บนเครื่อง

Archiving to tapeArchive ลงเทป

Tape archiving also runs inside the appliance, over Fibre Channel to a SCSI tape library — again without an archive server. You add the library, create a media set (name, block size of 64, 128 or 256 KB, compression, owning controller), and point an archive SLA at it. Full copies are scanned in full; for incremental copies the appliance compares the two snapshots and writes only the changed files.archive ลงเทปก็ทำจากในตัวเครื่องเช่นกัน ผ่าน Fibre Channel ไปยัง tape library แบบ SCSI โดยไม่ต้องมีเซิร์ฟเวอร์ archive เพิ่มเติม แค่เพิ่ม library สร้าง media set (ตั้งชื่อ, block size 64, 128 หรือ 256 KB, บีบอัด, คอนโทรลเลอร์ที่ดูแล) แล้วให้ SLA ของ archive ชี้ไปที่นั่น สำเนา full จะถูกสแกนทั้งหมด ส่วนสำเนา incremental เครื่องจะเทียบ snapshot สองชุด แล้วเขียนเฉพาะไฟล์ที่เปลี่ยน

OceanProtect Aarchive jobdata + metadataTapecopy + cataloguecarryTape library BimportOceanProtect Brestore from itExport and import: a tape can be restored on a different appliance

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

Appliance A archives the copy to tape, and at the end of the job writes the copy’s metadata onto the same tape.เครื่อง A archive สำเนาลงเทป และตอนจบงานจะเขียน metadata ของสำเนาลงเทปม้วนเดียวกันด้วย

Someone takes the tape out and loads it into the library attached to another OceanProtect.มีคนนำเทปออกมา แล้วใส่เข้า library ที่ต่ออยู่กับ OceanProtect อีกเครื่อง

Appliance B imports the metadata from the tape. The copy can then be downloaded to B and restored from there.เครื่อง B นำเข้า metadata จากเทป จากนั้นโหลดสำเนาลงเครื่อง B แล้วกู้คืนจากที่นั่นได้

Each archived tape carries its own catalogue.เทปแต่ละม้วนพกทะเบียนสำเนาของตัวเองไปด้วย

Replication between appliancesReplication ระหว่างเครื่อง

Replication copies backups to another OceanProtect, per protected resource, either right after each backup or on a period of at least an hour. Under the hood it is asynchronous file-system replication: a native-format copy is sent as its snapshot, a non-native copy by replicating or copying its file system, and the copy’s metadata follows to the target’s backup software. A replica is used exactly like a local copy — but only at the target; it cannot be restored back to the source.replication ก๊อปปี้แบ็กอัพไปยัง OceanProtect อีกเครื่อง แยกตามทรัพยากรที่ปกป้อง ทำได้ทั้งทันทีหลังแบ็กอัพแต่ละครั้ง หรือเป็นรอบที่ห่างกันอย่างน้อยหนึ่งชั่วโมง ข้างใต้คือการ replicate file system แบบ asynchronous สำเนาแบบ native ส่งไปเป็น snapshot สำเนาแบบ non-native ส่งด้วยการ replicate หรือก๊อปปี้ทั้ง file system แล้ว metadata ของสำเนาตามไปที่ซอฟต์แวร์แบ็กอัพของปลายทาง สำเนาที่ replicate มาใช้ได้เหมือนสำเนาในเครื่องทุกอย่าง แต่ใช้ได้ที่ปลายทางเท่านั้น กู้กลับไปที่ต้นทางไม่ได้

NormalCascadedReverseSite ASite BABCSite Acopy lostSite BSnapshot (native) or file system (non-native) sent; metadata followsSend it back after the source copy is damaged
Three shapes you can build from the same pieces.สามรูปแบบที่สร้างจากชิ้นส่วนชุดเดียวกัน

Which model can replicate to whichรุ่นไหน replicate ไปรุ่นไหนได้

Source → targetต้นทาง → ปลายทางNormalปกติCascadedต่อเป็นทอดReverseย้อนกลับ
X series → X series✓✓✓
DataBackup → X series✓✓✗
DataBackup → DataBackup✓✓✓
E6000 → E6000✓✗✗
X series ↔ E6000✗✗✗
X series → DataBackup✗✗✗

Applies to X3000, X6000, X8000, X8000K, X9000 and X9000K, E6000 and OceanProtect DataBackup, as listed in the archiving and replication white paper.ใช้กับ X3000, X6000, X8000, X8000K, X9000, X9000K, E6000 และ OceanProtect DataBackup ตามที่ระบุใน white paper เรื่อง archive และ replication

What the link does for youลิงก์ช่วยอะไรได้บ้าง

These four apply to the X series, and to DataBackup when it replicates to an X series. Only copies are replicated — things like database archive logs are not.ทั้งสี่ข้อใช้กับ X series และกับ DataBackup เมื่อ replicate ไปหา X series และที่ replicate ไปมีแค่ตัวสำเนา สิ่งอื่นอย่าง archive log ของฐานข้อมูลไม่ได้ถูกส่งไปด้วย

Where the documents disagreeจุดที่เอกสารพูดไม่ตรงกัน

Three public sources describe the same features, and they do not always match. Before a proposal depends on one of these, confirm it in the product documentation for the customer’s exact software version.มีเอกสารสาธารณะสามฉบับที่อธิบายฟีเจอร์เดียวกัน และบางจุดไม่ตรงกัน ถ้าข้อเสนอจะพึ่งข้อใดข้อหนึ่งในนี้ ให้เช็กกับเอกสารของผลิตภัณฑ์ในเวอร์ชันซอฟต์แวร์ที่ลูกค้าใช้จริงก่อน

Topicหัวข้อOne source saysฉบับหนึ่งบอกว่าAnother saysอีกฉบับบอกว่า
Tape generationsรุ่นของเทปLTO-5 to LTO-8 (appliance white paper)LTO-5 ถึง LTO-8 (white paper ของเครื่อง)LTO-3 or higher; named libraries Quantum Scalar i3 and IBM TS3100 (archiving white paper)LTO-3 ขึ้นไป และระบุ library Quantum Scalar i3 กับ IBM TS3100 (white paper เรื่อง archive)
File-level restore from tapeกู้ระดับไฟล์จากเทปSearch and fine-grained recovery supported (appliance white paper)ค้นหาและกู้ระดับย่อยได้ (white paper ของเครื่อง)Not available for tape copies (V200R001C10 OpenStack documentation)ทำไม่ได้กับสำเนาบนเทป (เอกสาร OpenStack V200R001C10)
Incremental archive to object storagearchive แบบ incremental ไป object storageUses differential bitmaps for incremental archiving (appliance white paper)ใช้ bitmap ส่วนต่างเพื่อทำ incremental (white paper ของเครื่อง)Incremental archiving is tape-only (V200R001C10 OpenStack documentation)incremental มีแค่บนเทป (เอกสาร OpenStack V200R001C10)
Many-to-one replicationreplication แบบหลายต้นทางเข้าปลายทางเดียวUp to 16 sources (appliance white paper)สูงสุด 16 ต้นทาง (white paper ของเครื่อง)Up to 64 for X series (V200R001C10 OpenStack documentation)สูงสุด 64 สำหรับ X series (เอกสาร OpenStack V200R001C10)

The OpenStack-specific rules are in two earlier notes: what archiving will not do and which model replicates to which.กติกาเฉพาะของ OpenStack อยู่ในบันทึกก่อนหน้าสองเรื่อง คือ archive ทำอะไรให้ไม่ได้บ้าง และ รุ่นไหนคุยกับรุ่นไหนได้

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

  1. Decide per workload whether the DR answer is a replica (hours) or an archive (days). Archive is retention, not recovery.ตัดสินใจเป็นรายงานว่าคำตอบของ DR คือสำเนา replicate (ระดับชั่วโมง) หรือ archive (ระดับวัน) archive คือการเก็บรักษา ไม่ใช่การกู้ระบบ
  2. Name the restore target at the DR site in advance — replicas cannot go back to the source.ระบุปลายทางกู้คืนที่ไซต์ DR ไว้ล่วงหน้า เพราะสำเนาที่ replicate มากู้กลับไปที่ต้นทางไม่ได้
  3. Size buckets and tape at pre-deduplication size, and leave appliance space for tape restores.คำนวณพื้นที่ bucket และเทปจากขนาดก่อน dedupe และเผื่อพื้นที่ในเครื่องไว้สำหรับกู้จากเทป
  4. Keep the replication and archive networks in their own subnets and plan an address per controller for each.แยก subnet ของเน็ตเวิร์ก replication และ archive และวาง IP ต่อคอนโทรลเลอร์ไว้ให้แต่ละเน็ตเวิร์ก
  5. For ransomware resilience, combine replication with the Air Gap and WORM described in part 4.ถ้าต้องการรับมือแรนซัมแวร์ ให้ใช้ replication ร่วมกับ Air Gap และ WORM ที่เล่าไว้ในตอนที่ 4

Referencesอ้างอิง