ในระบบ IT Infrastructure ที่มีความซับซ้อนและต้องการการจัดการที่มีประสิทธิภาพ Prism Element และ Prism Central ของ Nutanix ได้รับการออกแบบมาเพื่อตอบโจทย์ความต้องการเหล่านี้ โดยทั้งสองส่วนทำงานร่วมกันเพื่อให้การจัดการคลัสเตอร์ในรูปแบบ Hyper-Converged Infrastructure (HCI) ซึ่งช่วยให้ผู้ดูแลระบบสามารถจัดการได้อย่างมีประสิทธิภาพ
- Prism Element
Prism Element เป็น Interface การจัดการที่มาพร้อมกับแต่ละ Nutanix Cluster โดยสามารถใช้งานผ่านเว็บเบราว์เซอร์ ช่วยให้ผู้ดูแลระบบสามารถตรวจสอบและจัดการทรัพยากร เช่น CPU, RAM, Storage, Networking ได้แบบ Real Time - Prism Central
Prism Central คือเครื่องมือจัดการในระดับสูง ที่รวม Cluster หลาย ๆ ชุดเข้าไว้ด้วยกัน ช่วยให้ผู้ดูแลระบบสามารถจัดการและตรวจสอบทรัพยากรทั้งหมดในองค์กรได้จากหน้าเดียว เช่น การควบคุมการตั้งค่าระบบ การวิเคราะห์ประสิทธิภาพของระบบ
Prism Element และ Prism Central สามารถทำงานร่วมกันได้ โดยการเพิ่ม Prism Central เข้ามาบน Prism Element และจากนั้น เราจะสามารถจัดการ Prism Element ได้จาก Prism Central และหากเราต้องการที่จะ Unregister Prism Element ออกจาก Prism Central หรือ Unregister Prism Central ออกจาก Prism Element สามารถทำได้ โดยไม่ส่งผลกระทบต่อการทำงานของ Virtaul Machine (VM) โดยวิธีการในการ Unregister สามารถติดตามได้จากบทความด้านล่างครับ
เมื่อเข้าไปที่ Dashboard ของ Prism Element จะแสดงการเชื่อมต่อกับ Prism Central ดังรูป
ตรวจสอบการทำงานของ Cluste ก่อนจะทำการ Unregister โดยมีวิธีการดังนี้
1. SSH ไปที่ Virtual IP ของ Controller VM ที่ Register อยู่กับ Prism Element
2. ใช้คำสั่งดังนี้
nutanix@CVM:~$ cluster status
3. ผลลัพธ์ที่ได้แสดงดังข้อมูลด้านล่าง
CVM: 192.168.X.X Up, ZeusLeader
Zeus UP [14940, 14988, 14989, 14990, 14999, 15017]
Scavenger UP [16820, 16953, 16954, 16955]
Xmount UP [19228, 19314, 19315, 19330]
SysStatCollector UP [18319, 18467, 18468, 18469]
IkatProxy UP [20365, 20499, 20500, 20501]
IkatControlPlane UP [21863, 22011, 22012, 22013]
SSLTerminator UP [21949, 22077, 22078]
SecureFileSync UP [21975, 22193, 22194, 22195]
Medusa UP [22879, 23001, 23002, 23018, 23494]
DynamicRingChanger UP [23842, 23923, 23924, 23951]
Pithos UP [23873, 24082, 24083, 24092]
InsightsDB UP [23927, 24132, 24133, 24137]
Athena UP [24051, 24196, 24197, 24198]
Mercury UP [24153, 24356, 24357, 24366]
Mantle UP [24200, 24424, 24425, 24434]
VipMonitor UP [2853, 2854, 2855, 2856, 16769]
Stargate UP [26264, 26383, 26384, 26399, 26400]
InsightsDataTransfer UP [26804, 26956, 26957, 26959, 26960, 26961, 26962, 26963, 26964]
Ergon UP [26889, 27116, 27117, 27118]
GoErgon UP [27030, 27184, 27185, 27208]
Cerebro UP [27128, 27275, 27276, 27433]
Chronos UP [27143, 27378, 27379, 27387]
Curator UP [27214, 27422, 27423, 27473]
Prism UP [27470, 27675, 27676, 27696]
Hera UP [27626, 27792, 27793, 27796]
CIM UP [27688, 27886, 27887, 27892, 27893]
AlertManager UP [27848, 28019, 28020, 28104]
Arithmos UP [27926, 28158, 28159, 28201]
Catalog UP [28234, 28379, 28380, 28381]
Acropolis UP [28631, 28696, 28697, 28698]
Uhura UP [28645, 28824, 28825, 28826]
NutanixGuestTools UP [28707, 28892, 28893, 28902, 28930]
MinervaCVM UP [30114, 30250, 30251, 30252, 30698]
ClusterConfig UP [30127, 30357, 30358, 30359]
APLOSEngine UP [30255, 30426, 30427, 30428]
APLOS UP [30951, 31128, 31129, 31130]
PlacementSolver UP [31054, 31193, 31194, 31196, 31205]
Lazan UP [31082, 31289, 31290, 31291]
Polaris UP [31163, 31366, 31367, 31472]
Delphi UP [31228, 31394, 31395, 31396, 31414]
Security UP [31300, 31450, 31451, 31452]
Flow UP [31347, 31537, 31538, 31540, 31553]
Anduril UP [31487, 31671, 31672, 31673, 31687]
XTrim UP [31539, 31734, 31735, 31736]
ClusterHealth UP [989, 1015, 1016, 1134, 1135, 1137, 1138, 1140, 1141, 1152, 1155, 1159, 1160, 1162, 1167, 1169, 1183, 1219, 1222, 5362, 5395, 5396, 31595, 31776, 32115, 32116, 32121, 32131, 32181, 32182, 32185, 32188, 32189, 32210, 32211, 32227, 32228, 32234, 32235, 32245, 32340, 32341, 32348, 32349]
2024-03-12 13:25:42,186Z INFO MainThread cluster:3104 Success!
การ unregister Prism Central ออกจาก Prism Element
1. ตรวจสอบค่า Cluster ID ที่ได้ Register อยู่กับ Prism Central
nutanix@NTNX-18SM62431247-C-CVM:192.168.212.11:~$ ncli multicluster get-cluster-state Registered Cluster Count: 1
Cluster Id : cbf18264-4a02-4476-a0af-a6d93436a4e6 <<< Clusterid Cluster Name : Unnamed Is Multicluster : true Controller VM IP Addre... : [192.168.212.31] External or Masqueradi... : Cluster FQDN : Controller VM NAT IP A... : Marked for Removal : false Remote Connection Exists : true
2. Run คำสั่งด้านล่างเพื่อทำการ Remove Prism Central ออกจาก Prism Element
nutanix@NTNX-18SM62431247-C-CVM:192.168.212.11:~$ ncli multicluster delete-cluster-state cluster-id=cbf18264-4a02-4476-a0af-a6d93436a4e6 Cluster state deleted successfully
3. ตรวยสอบสถานะการ Unregister จะเห็นว่า Prism Central ถูก Unregister ออกจาก Prism Element เรียบร้อยแล้ว
การ unregister Prism Element ออกจาก Prism Central
1. SSH ไปที่ Prism Central IP Address และ Run คำสั่งดังนี้
nutanix@NTNX-192-168-212-12-A-PCVM:~$ ncli multicluster get-cluster-state Registered Cluster Count: 2
Cluster Id : 0006001b-025c-0c86-0000-0000000253c4
Cluster Name : Nutanix
Is Multicluster : false
Controller VM IP Addre... : [192.168.212.170, 192.168.212.171, 192.168.212.172]
External or Masqueradi... : 192.168.212.190
Cluster FQDN :
Controller VM NAT IP A... :
Marked for Removal : false
Remote Connection Exists : true
Cluster Id : 00060cd7-0777-8e4a-0000-0000000196b6
Cluster Name : NX-DR
Is Multicluster : false
Controller VM IP Addre... : [192.168.212.151, 192.168.212.152, 192.168.212.153]
External or Masqueradi... : 192.168.212.163
Cluster FQDN :
Controller VM NAT IP A... :
Marked for Removal : false
Remote Connection Exists : false
2. ตรวจสอบค่า Prism Element Cluster ID ที่ต้อง Unregister และ run คำสั่งดังนี้
nutanix@NTNX-192-168-212-12-A-PCVM:~$ ncli multicluster delete-cluster-state cluster-id=00060cd7-0777-8e4a-0000-0000000196b6 Cluster state deleted successfully
Prism Central จะทำการ Unregister Prism Element ออกไป ซึ่งสามารถตรวจสอบได้โดยใช้คำสั่ง ncli multicluster get-cluster-state
บทความนี้น่าจะเป็นประโยชน์ต่อทุกคนที่กำลัง Nutanix นะครับ ถ้ามีคำถาม หรือข้อสงสัยใดๆ สามารถติดต่อเข้ามาได้ที่ Facebook page หรือเบอร์โทรได้เลยครับ