{"id":471,"date":"2025-12-17T16:32:29","date_gmt":"2025-12-17T08:32:29","guid":{"rendered":"https:\/\/blog.libra5.cool\/?p=471"},"modified":"2025-12-17T16:32:29","modified_gmt":"2025-12-17T08:32:29","slug":"cloudstack-%e5%ad%a6%e4%b9%a0%e5%b0%8f%e8%ae%b0-3-%e9%83%a8%e7%bd%b2%e6%9e%b6%e6%9e%84%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"https:\/\/blog.libra5.cool\/?p=471","title":{"rendered":"CloudStack \u5b66\u4e60\u5c0f\u8bb0 3\u00a0\u2014\u2014\u00a0\u90e8\u7f72\u67b6\u6784\u4ecb\u7ecd"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u201cHi\uff0c\u8fd9\u662f\u5c0f5\u81ea\u5b66 CloudStack \u76f8\u5173\u77e5\u8bc6\u7684\u7b2c3\u7bc7\u7b14\u8bb0\u3002\u8fd9\u671f\u6211\u4eec\u5c06\u5bf9 CloudStack \u7684\u90e8\u7f72\u67b6\u6784\u8fdb\u884c\u4ecb\u7ecd\u3002\u201d<\/p>\n<cite>\u6458\u8981<\/cite><\/blockquote>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u90e8\u7f72\u4e2d\u4f7f\u7528\u7684\u67b6\u6784\u4f1a\u6839\u636e\u90e8\u7f72\u7684\u89c4\u6a21\u548c\u7528\u9014\u800c\u6709\u6240\u4e0d\u540c\u3002\u4ee5\u4e0b\u5c06\u5305\u542b\u90e8\u7f72\u67b6\u6784\u793a\u4f8b\uff0c\u5305\u62ec\u9002\u7528\u4e8e\u6d4b\u8bd5\u548c\u8bd5\u7528\u7684\u5c0f\u89c4\u6a21\u90e8\u7f72\uff0c\u4ee5\u53ca\u7528\u4e8e\u751f\u4ea7\u90e8\u7f72\u7684\u5b8c\u5168\u5197\u4f59\u7684\u5927\u89c4\u6a21\u8bbe\u7f6e\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5c0f\u89c4\u6a21\u90e8\u7f72<\/strong><\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"813\" height=\"643\" src=\"https:\/\/blog.libra5.cool\/wp-content\/uploads\/2025\/12\/small-scale-deployment.png\" alt=\"\" class=\"wp-image-480\" style=\"width:547px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u5c0f\u89c4\u6a21 CloudStack \u90e8\u7f72\u7684\u7f51\u7edc\u67b6\u6784\u5305\u542b\uff1a<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>1. \u9632\u706b\u5899\u63d0\u4f9b\u4e0e\u4e92\u8054\u7f51\u7684\u8fde\u63a5\u3002\u8be5\u9632\u706b\u5899\u914d\u7f6e\u4e3a NAT \u6a21\u5f0f\u3002\u9632\u706b\u5899\u5c06\u6765\u81ea\u4e92\u8054\u7f51\u7684 HTTP \u8bf7\u6c42\u548c API \u8c03\u7528\u8f6c\u53d1\u5230\u7ba1\u7406\u670d\u52a1\u5668\u3002\u7ba1\u7406\u670d\u52a1\u5668\u4f4d\u4e8e\u7ba1\u7406\u7f51\u7edc\u4e2d\u3002<\/p>\n\n\n\n<p>2. \u4e8c\u5c42\u4ea4\u6362\u673a\u8fde\u63a5\u6240\u6709\u7269\u7406\u670d\u52a1\u5668\u548c\u5b58\u50a8\u8bbe\u5907\u3002<\/p>\n\n\n\n<p>3. \u5355\u4e2a NFS \u670d\u52a1\u5668\u540c\u65f6\u5145\u5f53\u4e3b\u5b58\u50a8\u548c\u8f85\u52a9\u5b58\u50a8\u3002<\/p>\n\n\n\n<p>4. \u7ba1\u7406\u670d\u52a1\u5668\u5df2\u8fde\u63a5\u5230\u7ba1\u7406\u7f51\u7edc\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-dots\"\/>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5927\u89c4\u6a21\u5197\u4f59\u8bbe\u7f6e<\/strong><\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"994\" height=\"1002\" src=\"https:\/\/blog.libra5.cool\/wp-content\/uploads\/2025\/12\/large-scale-redundant-setup.png\" alt=\"\" class=\"wp-image-475\" style=\"aspect-ratio:0.9920249770930193;width:676px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u5927\u89c4\u6a21 CloudStack \u90e8\u7f72\u7684\u7f51\u7edc\u67b6\u6784\u5305\u542b\uff1a<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>1. \u6570\u636e\u4e2d\u5fc3\u7684\u6838\u5fc3\u662f\u4e09\u5c42\u4ea4\u6362\u5c42\u3002\u5e94\u90e8\u7f72\u8def\u7531\u5668\u5197\u4f59\u534f\u8bae\uff0c\u4f8b\u5982 VRRP\u3002\u901a\u5e38\uff0c\u9ad8\u7aef\u6838\u5fc3\u4ea4\u6362\u673a\u8fd8\u5305\u542b\u9632\u706b\u5899\u6a21\u5757\u3002\u5982\u679c\u4e09\u5c42\u4ea4\u6362\u673a\u4e0d\u5177\u5907\u96c6\u6210\u9632\u706b\u5899\u529f\u80fd\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u72ec\u7acb\u7684\u9632\u706b\u5899\u8bbe\u5907\u3002\u9632\u706b\u5899\u914d\u7f6e\u4e3a NAT \u6a21\u5f0f\u3002\u9632\u706b\u5899\u63d0\u4f9b\u4ee5\u4e0b\u529f\u80fd\uff1a<\/p>\n\n\n\n<p>\u00a0 \u00a0 \u00a0 1.1 \u5c06\u6765\u81ea\u4e92\u8054\u7f51\u7684HTTP\u8bf7\u6c42\u548cAPI\u8c03\u7528\u8f6c\u53d1\u5230\u7ba1\u7406\u670d\u52a1\u5668\u3002\u7ba1\u7406\u670d\u52a1\u5668\u4f4d\u4e8e\u7ba1\u7406\u7f51\u7edc\u4e0a\u3002<\/p>\n\n\n\n<p>\u00a0 \u00a0 \u00a0 1.2 \u5f53\u4e91\u8de8\u8d8a\u591a\u4e2a\u533a\u57df\u65f6\uff0c\u9632\u706b\u5899\u5e94\u542f\u7528\u7ad9\u70b9\u5230\u7ad9\u70b9 VPN\uff0c\u4ee5\u4fbf\u4e0d\u540c\u533a\u57df\u4e2d\u7684\u670d\u52a1\u5668\u53ef\u4ee5\u76f4\u63a5\u76f8\u4e92\u8bbf\u95ee\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>2. \u6bcf\u4e2a pod \u90fd\u5efa\u7acb\u4e86\u4e00\u4e2a\u4e8c\u5c42\u63a5\u5165\u4ea4\u6362\u5c42\u3002\u53ef\u4ee5\u5806\u53e0\u591a\u4e2a\u4ea4\u6362\u673a\u6765\u589e\u52a0\u7aef\u53e3\u6570\u91cf\u3002\u65e0\u8bba\u54ea\u79cd\u60c5\u51b5\uff0c\u90fd\u5e94\u8be5\u90e8\u7f72\u5197\u4f59\u7684\u4e8c\u5c42\u4ea4\u6362\u673a\u5bf9\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>3. \u7ba1\u7406\u670d\u52a1\u5668\u96c6\u7fa4\uff08\u5305\u62ec\u524d\u7aef\u8d1f\u8f7d\u5747\u8861\u5668\u3001\u7ba1\u7406\u670d\u52a1\u5668\u8282\u70b9\u548c MySQL \u6570\u636e\u5e93\uff09\u901a\u8fc7\u4e00\u5bf9\u8d1f\u8f7d\u5747\u8861\u5668\u8fde\u63a5\u5230\u7ba1\u7406\u7f51\u7edc\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>4. \u8f85\u52a9\u5b58\u50a8\u670d\u52a1\u5668\u8fde\u63a5\u5230\u7ba1\u7406\u7f51\u7edc\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>5. \u6bcf\u4e2a pod \u90fd\u5305\u542b\u5b58\u50a8\u670d\u52a1\u5668\u548c\u8ba1\u7b97\u670d\u52a1\u5668\u3002\u6bcf\u53f0\u5b58\u50a8\u670d\u52a1\u5668\u548c\u8ba1\u7b97\u670d\u52a1\u5668\u90fd\u5e94\u8be5\u6709\u5197\u4f59\u7f51\u5361\uff0c\u5e76\u8fde\u63a5\u5230\u72ec\u7acb\u7684\u4e8c\u5c42\u63a5\u5165\u4ea4\u6362\u673a\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>\u72ec\u7acb\u5b58\u50a8\u7f51\u7edc<\/strong><\/p>\n\n\n\n<p>\u5728\u4e0a\u4e00\u8282\u6240\u8ff0\u7684\u5927\u89c4\u6a21\u5197\u4f59\u67b6\u6784\u4e2d\uff0c\u5b58\u50a8\u6d41\u91cf\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7ba1\u7406\u7f51\u7edc\u8fc7\u8f7d\u3002\u90e8\u7f72\u65f6\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528\u72ec\u7acb\u7684\u5b58\u50a8\u7f51\u7edc\u3002\u8bf8\u5982 iSCSI \u4e4b\u7c7b\u7684\u5b58\u50a8\u534f\u8bae\u5bf9\u7f51\u7edc\u5ef6\u8fdf\u975e\u5e38\u654f\u611f\u3002\u72ec\u7acb\u7684\u5b58\u50a8\u7f51\u7edc\u53ef\u4ee5\u786e\u4fdd\u5ba2\u6237\u7f51\u7edc\u6d41\u91cf\u4e89\u7528\u4e0d\u4f1a\u5f71\u54cd\u5b58\u50a8\u6027\u80fd\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>\u591a\u8282\u70b9\u7ba1\u7406\u670d\u52a1\u5668<\/strong><\/p>\n\n\n\n<p>CloudStack \u7ba1\u7406\u670d\u52a1\u5668\u90e8\u7f72\u5728\u4e00\u4e2a\u6216\u591a\u4e2a\u524d\u7aef\u670d\u52a1\u5668\u4e0a\uff0c\u8fd9\u4e9b\u670d\u52a1\u5668\u8fde\u63a5\u5230\u540c\u4e00\u4e2a MySQL \u6570\u636e\u5e93\u3002\u53ef\u9009\u5730\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u5bf9\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u5668\u6765\u5206\u53d1\u6765\u81ea Web \u7684\u8bf7\u6c42\u3002\u4e3a\u4e86\u589e\u5f3a\u707e\u96be\u6062\u590d\u80fd\u529b\uff0c\u53ef\u4ee5\u5728\u8fdc\u7a0b\u7ad9\u70b9\u90e8\u7f72\u4e00\u4e2a\u4f7f\u7528 MySQL \u590d\u5236\u7684\u5907\u4efd\u7ba1\u7406\u670d\u52a1\u5668\u96c6\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"950\" height=\"402\" src=\"https:\/\/blog.libra5.cool\/wp-content\/uploads\/2025\/12\/multi-node-management-server.png\" alt=\"\" class=\"wp-image-476\" style=\"aspect-ratio:2.3632321435789643;width:631px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u7ba1\u7406\u5458\u5fc5\u987b\u51b3\u5b9a\u4ee5\u4e0b\u4e8b\u9879\uff1a<\/p>\n\n\n\n<p>1. \u662f\u5426\u4f7f\u7528\u8d1f\u8f7d\u5747\u8861\u5668\u3002<\/p>\n\n\n\n<p>2. \u5c06\u90e8\u7f72\u591a\u5c11\u53f0\u7ba1\u7406\u670d\u52a1\u5668\uff1f<\/p>\n\n\n\n<p>3. \u662f\u5426\u4f1a\u90e8\u7f72 MySQL \u590d\u5236\u4ee5\u5b9e\u73b0\u707e\u96be\u6062\u590d\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-dots\"\/>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u591a\u7ad9\u70b9\u90e8\u7f72<\/li>\n<\/ul>\n\n\n\n<p>CloudStack\u5e73\u53f0\u901a\u8fc7\u533a\u57df\u5212\u5206\uff0c\u53ef\u4ee5\u5f88\u597d\u5730\u6269\u5c55\u5230\u591a\u4e2a\u7ad9\u70b9\u3002\u4e0b\u56fe\u5c55\u793a\u4e86\u4e00\u4e2a\u591a\u7ad9\u70b9\u90e8\u7f72\u793a\u4f8b\u3002\u00a0<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"928\" height=\"828\" src=\"https:\/\/blog.libra5.cool\/wp-content\/uploads\/2025\/12\/multi-site-deployment.png\" alt=\"\" class=\"wp-image-477\" style=\"width:627px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<p>\u6570\u636e\u4e2d\u5fc3 1 \u5185\u8bbe\u6709\u4e3b\u7ba1\u7406\u670d\u52a1\u5668\u548c\u533a\u57df 1\u3002MySQL \u6570\u636e\u5e93\u5b9e\u65f6\u590d\u5236\u5230\u6570\u636e\u4e2d\u5fc3 2 \u4e2d\u7684\u8f85\u52a9\u7ba1\u7406\u670d\u52a1\u5668\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"552\" height=\"760\" src=\"https:\/\/blog.libra5.cool\/wp-content\/uploads\/2025\/12\/separate-storage-network.png\" alt=\"\" class=\"wp-image-479\" style=\"width:401px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<p>\u6b64\u56fe\u5c55\u793a\u4e86\u4e00\u79cd\u91c7\u7528\u72ec\u7acb\u5b58\u50a8\u7f51\u7edc\u7684\u67b6\u6784\u3002\u6bcf\u53f0\u670d\u52a1\u5668\u6709\u56db\u4e2a\u7f51\u5361\uff0c\u5176\u4e2d\u4e24\u4e2a\u8fde\u63a5\u5230\u96c6\u7fa4\u7ea7\u7f51\u7edc\u4ea4\u6362\u673a\uff0c\u53e6\u5916\u4e24\u4e2a\u8fde\u63a5\u5230\u5b58\u50a8\u7f51\u7edc\u4ea4\u6362\u673a\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u914d\u7f6e\u5b58\u50a8\u7f51\u7edc\u6709\u4e24\u79cd\u65b9\u6cd5\uff1a<br>1. \u53ef\u4ee5\u4e3a NFS \u90e8\u7f72\u7ed1\u5b9a\u7f51\u5361\u548c\u5197\u4f59\u4ea4\u6362\u673a\u3002\u5728 NFS \u90e8\u7f72\u4e2d\uff0c\u5197\u4f59\u4ea4\u6362\u673a\u548c\u7ed1\u5b9a\u7f51\u5361\u4ecd\u7136\u4f1a\u5f62\u6210\u4e00\u4e2a\u7f51\u7edc\uff08\u4e00\u4e2a CIDR \u5757 + \u9ed8\u8ba4\u7f51\u5173\u5730\u5740\uff09\u3002<br>2. iSCSI \u53ef\u4ee5\u5229\u7528\u4e24\u4e2a\u72ec\u7acb\u7684\u5b58\u50a8\u7f51\u7edc\uff08\u4e24\u4e2a CIDR \u5757\uff0c\u6bcf\u4e2a\u5757\u90fd\u6709\u81ea\u5df1\u7684\u9ed8\u8ba4\u7f51\u5173\uff09\u3002\u591a\u8def\u5f84 iSCSI \u5ba2\u6237\u7aef\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u5b58\u50a8\u7f51\u7edc\u4e4b\u95f4\u8fdb\u884c\u6545\u969c\u8f6c\u79fb\u548c\u8d1f\u8f7d\u5747\u8861\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"520\" src=\"https:\/\/blog.libra5.cool\/wp-content\/uploads\/2025\/12\/nic-bonding-and-multipath-io.png\" alt=\"\" class=\"wp-image-478\" style=\"width:589px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<p>\u6b64\u56fe\u5c55\u793a\u4e86\u7f51\u5361\u7ed1\u5b9a\u548c\u591a\u8def\u5f84 I\/O (MPIO) \u4e4b\u95f4\u7684\u533a\u522b\u3002\u7f51\u5361\u7ed1\u5b9a\u914d\u7f6e\u4ec5\u6d89\u53ca\u4e00\u4e2a\u7f51\u7edc\uff0c\u800c MPIO \u6d89\u53ca\u4e24\u4e2a\u72ec\u7acb\u7684\u7f51\u7edc\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-dots\"\/>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f<\/strong><\/li>\n<\/ul>\n\n\n\n<p>CloudStack \u652f\u6301\u591a\u79cd\u4e3b\u6d41\u7684\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f\u3002\u4e91\u53ef\u4ee5\u5b8c\u5168\u7531\u8fd0\u884c\u5355\u4e00\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f\u7684\u4e3b\u673a\u7ec4\u6210\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u591a\u4e2a\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f\u3002\u6bcf\u4e2a\u4e3b\u673a\u96c6\u7fa4\u5fc5\u987b\u8fd0\u884c\u76f8\u540c\u7684\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f\u3002<br>\u60a8\u53ef\u80fd\u5df2\u7ecf\u62e5\u6709\u8fd0\u884c\u7279\u5b9a\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f\u7684\u8282\u70b9\uff0c\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u60a8\u5df2\u7ecf\u9009\u62e9\u4e86\u8be5\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f\u3002\u5982\u679c\u662f\u4ece\u96f6\u5f00\u59cb\uff0c\u5219\u9700\u8981\u786e\u5b9a\u54ea\u79cd\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f\u8f6f\u4ef6\u6700\u7b26\u5408\u9700\u6c42\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1408\" height=\"1070\" src=\"https:\/\/blog.libra5.cool\/wp-content\/uploads\/2025\/12\/7ac2511eb221cb7c3c2d94d9b1596f8236eada6d543386be01584a21d747ce33.png\" alt=\"\" class=\"wp-image-473\" style=\"aspect-ratio:1.3158972743028203;width:558px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-dots\"\/>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4e3b\u5b58\u50a8\u7684\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f\u652f\u6301<\/strong><\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1408\" height=\"672\" src=\"https:\/\/blog.libra5.cool\/wp-content\/uploads\/2025\/12\/a0276653f71a230e8e9a564c3db2145628363c74ff511233282789f5b47f58d4.png\" alt=\"\" class=\"wp-image-474\" style=\"aspect-ratio:2.0952585743468446;width:629px;height:auto\"\/><\/figure>\n<\/div>\n\n\n<p>\u4e0d\u540c\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f\u7684\u5b58\u50a8\u9009\u9879\u548c\u53c2\u6570<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>XenServer \u4f7f\u7528\u96c6\u7fa4\u5f0f LVM \u7cfb\u7edf\u5c06\u5b9e\u4f8b\u955c\u50cf\u5b58\u50a8\u5728 iSCSI \u548c\u5149\u7ea4\u901a\u9053\u5377\u4e0a\uff0c\u5e76\u4e14\u5176\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f\u4e0d\u652f\u6301\u8fc7\u5ea6\u914d\u7f6e\u3002\u4f46\u662f\uff0c\u5b58\u50a8\u670d\u52a1\u5668\u672c\u8eab\u652f\u6301\u7cbe\u7b80\u914d\u7f6e\u3002\u56e0\u6b64\uff0cCloudStack \u53ef\u4ee5\u901a\u8fc7\u8fd0\u884c\u5728\u7cbe\u7b80\u914d\u7f6e\u7684\u5b58\u50a8\u5377\u4e0a\u6765\u652f\u6301\u5b58\u50a8\u8fc7\u5ea6\u914d\u7f6e\u3002<\/p>\n\n\n\n<p>KVM \u652f\u6301\u201c\u5171\u4eab\u6302\u8f7d\u70b9\u201d\u5b58\u50a8\u3002\u5171\u4eab\u6302\u8f7d\u70b9\u662f\u7ed9\u5b9a\u96c6\u7fa4\u4e2d\u6bcf\u53f0\u670d\u52a1\u5668\u7684\u672c\u5730\u6587\u4ef6\u7cfb\u7edf\u8def\u5f84\u3002\u8be5\u8def\u5f84\u5728\u96c6\u7fa4\u4e2d\u7684\u6240\u6709\u4e3b\u673a\u4e0a\u5fc5\u987b\u76f8\u540c\uff0c\u4f8b\u5982 \/mnt\/primary1\u3002\u6b64\u5171\u4eab\u6302\u8f7d\u70b9\u5047\u5b9a\u4e3a\u96c6\u7fa4\u6587\u4ef6\u7cfb\u7edf\uff0c\u4f8b\u5982 OCFS2\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0cCloudStack \u4e0d\u4f1a\u50cf\u4f7f\u7528 NFS \u90a3\u6837\u5c1d\u8bd5\u6302\u8f7d\u6216\u5378\u8f7d\u5b58\u50a8\u3002CloudStack \u8981\u6c42\u7ba1\u7406\u5458\u786e\u4fdd\u5b58\u50a8\u53ef\u7528\u3002<\/p>\n\n\n\n<p>\u4f7f\u7528 NFS \u5b58\u50a8\u65f6\uff0cCloudStack \u4f1a\u7ba1\u7406\u8d85\u989d\u914d\u7f6e\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5168\u5c40\u914d\u7f6e\u53c2\u6570 storage.overprovisioning.factor \u63a7\u5236\u8d85\u989d\u914d\u7f6e\u7684\u7a0b\u5ea6\u3002\u8fd9\u4e0e\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f\u7c7b\u578b\u65e0\u5173\u3002<\/p>\n\n\n\n<p>\u672c\u5730\u5b58\u50a8\u662f vSphere\u3001XenServer \u548c KVM \u7684\u4e3b\u5b58\u50a8\u9009\u9879\u4e4b\u4e00\u3002\u542f\u7528\u672c\u5730\u78c1\u76d8\u9009\u9879\u540e\uff0c\u7cfb\u7edf\u4f1a\u5728\u6bcf\u53f0\u4e3b\u673a\u4e0a\u81ea\u52a8\u521b\u5efa\u4e00\u4e2a\u672c\u5730\u78c1\u76d8\u5b58\u50a8\u6c60\u3002\u8981\u5c06\u672c\u5730\u5b58\u50a8\u7528\u4e8e\u7cfb\u7edf\u865a\u62df\u673a\uff08\u4f8b\u5982\u865a\u62df\u8def\u7531\u5668\uff09\uff0c\u8bf7\u5728\u5168\u5c40\u914d\u7f6e\u4e2d\u5c06 `system.vm.use.local.storage` \u8bbe\u7f6e\u4e3a `true`\u3002<\/p>\n\n\n\n<p>CloudStack \u652f\u6301\u96c6\u7fa4\u4e2d\u5b58\u5728\u591a\u4e2a\u4e3b\u5b58\u50a8\u6c60\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u5728\u4e3b\u5b58\u50a8\u4e2d\u914d\u7f6e 2 \u4e2a NFS \u670d\u52a1\u5668\u3002\u6216\u8005\uff0c\u60a8\u53ef\u4ee5\u5148\u914d\u7f6e 1 \u4e2a iSCSI LUN\uff0c\u7136\u540e\u5728\u7b2c\u4e00\u4e2a iSCSI LUN \u5bb9\u91cf\u63a5\u8fd1\u9971\u548c\u65f6\u6dfb\u52a0\u7b2c\u4e8c\u4e2a iSCSI LUN\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-dots\"\/>\n\n\n\n<p>\u4ee5\u4e0a\u5185\u5bb9\u4e3b\u8981\u6765\u81ea\u5bf9&nbsp;docs.cloudstack.apache.org \u7684\u5b66\u4e60\uff0c\u5728\u6b64\u7279\u522b\u58f0\u660e\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u201cHi\uff0c\u8fd9\u662f\u5c0f5\u81ea\u5b66 CloudStack \u76f8\u5173\u77e5\u8bc6\u7684\u7b2c3\u7bc7\u7b14\u8bb0\u3002\u8fd9\u671f\u6211\u4eec\u5c06\u5bf9 CloudStack \u7684\u90e8\u7f72\u67b6\u6784\u8fdb\u884c\u4ecb\u7ecd\u3002\u201d<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-471","post","type-post","status-publish","format-standard","hentry","category-9","entry"],"_links":{"self":[{"href":"https:\/\/blog.libra5.cool\/index.php?rest_route=\/wp\/v2\/posts\/471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.libra5.cool\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.libra5.cool\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.libra5.cool\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.libra5.cool\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=471"}],"version-history":[{"count":10,"href":"https:\/\/blog.libra5.cool\/index.php?rest_route=\/wp\/v2\/posts\/471\/revisions"}],"predecessor-version":[{"id":490,"href":"https:\/\/blog.libra5.cool\/index.php?rest_route=\/wp\/v2\/posts\/471\/revisions\/490"}],"wp:attachment":[{"href":"https:\/\/blog.libra5.cool\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.libra5.cool\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.libra5.cool\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}