2019-12-27 07:52 PM 2019-12-27 07:53 PM 更新
本ドキュメントでは Cisco VIM (CVIM) を構成するノードのRAIDドライブの健全性確認の方法を説明します。
RAIDドライブの確認のためにManagement ノードにログインし、ciscovim diskmgmt コマンドを実行します。
[root@cvim-mpod-mgmtnode ~]# ciscovim help diskmgmt usage: ciscovim diskmgmt [--server <node1,node2,...>] [--id <id>] [--locator {on,off}] [--json-display] [-y] <create|delete|list|show> <check-disks|replace-disks> <all|management|control|compute> HDD maintenance helper Positional arguments: <create|delete|list|show> The control command to perform <check-disks|replace-disks> The identity of the task/action <all|management|control|compute> The role of the target host(s) Optional arguments: --server <node1,node2,...> List of specific control/compute host names within the target role. --id <id> ID used to identify specific item to show/delete. --locator {on,off} Turn on|off locator LED for server with bad disks and for the physical drives. --json-display Show output will be in JSON format. -y, --yes Yes option to perform the action
"ciscovim diskmgmt create check-disks control" コマンドを実行し、3台の Controller Node のRAIDドライブの健全性を確認します。
[root@cvim-mpod-mgmtnode ~]# ciscovim diskmgmt create check-disks control +------------+--------------------------------------+ | Field | Value | +------------+--------------------------------------+ | action | check-disks | | command | create | | created_at | 2019-12-27T10:29:15.932523+00:00 | | id | da13b9a1-3bae-4ae0-b31d-de0d1c27c927 | | locator | False | | result | | | role | control | | servers | None | | status | not_run | | updated_at | None | +------------+--------------------------------------+
最後の引数を all にすることで、すべてのCVIMノードの健全性確認を実行できます。同様に computeとすることで、Computeノード、storage とすることで Storage ノードのみの健全性を確認します。
check-disks は完了までに数分間時間がかかりますので以下のコマンドを実行し、check-disks の進捗状況を確認します。
[root@cvim-mpod-mgmtnode ~]# ciscovim diskmgmt list check-disks control +--------------------------------------+-------------+---------+----------+---------------------------+ | ID | Action | Role | Status | Created | +--------------------------------------+-------------+---------+----------+---------------------------+ | da13b9a1-3bae-4ae0-b31d-de0d1c27c927 | check-disks | control | Complete | 2019-12-27 10:29:15+00:00 | +--------------------------------------+-------------+---------+----------+---------------------------+
Status が Running から Complete になると実行完了です。
以下のコマンドで結果を確認します。--id の引数は前の手順で確認した結果の UUID を指定します。
[root@cvim-mpod-mgmtnode ~]# ciscovim diskmgmt show check-disks control --id da13b9a1-3bae-4ae0-b31d-de0d1c27c927 +----------------------------+-------------------+-------------------------------+---------------+--------------------------+ | Message | Host | Role | Server | State | +----------------------------+-------------------+-------------------------------+---------------+--------------------------+ | Raid Health Status | micropod-server-1 | block_storage control compute | 192.168.21.11 | Optimal | | | micropod-server-2 | block_storage control compute | 192.168.21.12 | Optimal | | | micropod-server-3 | block_storage control compute | 192.168.21.13 | Optimal | | | | | | | | VD Health Status | micropod-server-1 | block_storage control compute | 192.168.21.11 | Optimal | | | micropod-server-2 | block_storage control compute | 192.168.21.12 | Optimal | | | micropod-server-3 | block_storage control compute | 192.168.21.13 | Optimal | | | | | | | | RAID Level and Type | micropod-server-1 | block_storage control compute | 192.168.21.11 | Type - HW; Level - RAID1 | | | micropod-server-2 | block_storage control compute | 192.168.21.12 | Type - HW; Level - RAID1 | | | micropod-server-3 | block_storage control compute | 192.168.21.13 | Type - HW; Level - RAID1 | | | | | | | | Number of Physical Disks | micropod-server-1 | block_storage control compute | 192.168.21.11 | 8 | | | micropod-server-2 | block_storage control compute | 192.168.21.12 | 8 | | | micropod-server-3 | block_storage control compute | 192.168.21.13 | 8 | | | | | | | | Number of Virtual Disks | micropod-server-1 | block_storage control compute | 192.168.21.11 | 1 | | | micropod-server-2 | block_storage control compute | 192.168.21.12 | 1 | | | micropod-server-3 | block_storage control compute | 192.168.21.13 | 1 | | | | | | | | Boot Drive Disk Media-Type | micropod-server-1 | block_storage control compute | 192.168.21.11 | HDD | | | micropod-server-2 | block_storage control compute | 192.168.21.12 | HDD | | | micropod-server-3 | block_storage control compute | 192.168.21.13 | HDD | +----------------------------+-------------------+-------------------------------+---------------+--------------------------+
Raid Health Status及びVD Health Status が Optimal であることを確認して下さい。
検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう
シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします
下記より関連するコンテンツにアクセスできます