実家用ESXサーバを作ろう その4
先日リビングESXのHDDをSSHDにチェンジして、1TB HDDが2個余ったのでいよいよ実家用ESXを本格的に構築していこうと思います。
実家用ESXは先日ESXi 6.7U1をセットアップしたんですが、やはりリビングESXと同様にvSphere Clientでアクセスできた方がいいな… って事で、ESXi 6.5に入れ直しました。 😎
LSI MegaRAIDのWebBIOS(GUI)でのセットアップを試みたんですが、前回と同じ方法でやったつもりなんですが画面が表示されず… 🙁
仕方ないので、MegaCliを使ってRAIDを構築してみましたので記録しておきます。
参考にしたサイトはコチラ
[root@Closet-ESX:~] MegaCli -PDList -aALL ← ディスクのEnclosureIDとSlotNumberを確認 Enclosure Device ID: 252 Slot Number: 2 Enclosure position: N/A Device Id: 11 WWN: Sequence Number: 1 Media Error Count: 0 Other Error Count: 3 Predictive Failure Count: 0 Last Predictive Failure Event Seq Number: 0 PD Type: SATA Raw Size: 931.512 GB [0x74706db0 Sectors] Non Coerced Size: 931.012 GB [0x74606db0 Sectors] Coerced Size: 931.0 GB [0x74600000 Sectors] Sector Size: 0 Firmware state: Unconfigured(good), Spun Up Device Firmware Level: A560 Shield Counter: 0 Successful diagnostics completion on : N/A SAS Address(0): 0x229726297798295 Connected Port Number: 2(path0) Inquiry Data: JA10001024D75PHGST HTS541010A9E680 JA0OA560 FDE Capable: Not Capable FDE Enable: Disable Secured: Unsecured Locked: Unlocked Needs EKM Attention: No Foreign State: None Device Speed: 6.0Gb/s Link Speed: 3.0Gb/s Media Type: Hard Disk Device Drive Temperature : N/A PI Eligibility: No Drive is formatted for PI information: No PI: No PI Port-0 : Port status: Active Port's Linkspeed: 3.0Gb/s Drive has flagged a S.M.A.R.T alert : No Enclosure Device ID: 252 Slot Number: 3 Enclosure position: N/A Device Id: 12 WWN: Sequence Number: 1 Media Error Count: 0 Other Error Count: 3 Predictive Failure Count: 0 Last Predictive Failure Event Seq Number: 0 PD Type: SATA Raw Size: 931.512 GB [0x74706db0 Sectors] Non Coerced Size: 931.012 GB [0x74606db0 Sectors] Coerced Size: 931.0 GB [0x74600000 Sectors] Sector Size: 0 Firmware state: Unconfigured(good), Spun Up Device Firmware Level: A560 Shield Counter: 0 Successful diagnostics completion on : N/A SAS Address(0): 0x142987769b838e88 Connected Port Number: 3(path0) Inquiry Data: JA4000C0GHEAACHGST HTS541010A9E680 JA0OA560 FDE Capable: Not Capable FDE Enable: Disable Secured: Unsecured Locked: Unlocked Needs EKM Attention: No Foreign State: None Device Speed: 6.0Gb/s Link Speed: 3.0Gb/s Media Type: Hard Disk Device Drive Temperature : N/A PI Eligibility: No Drive is formatted for PI information: No PI: No PI Port-0 : Port status: Active Port's Linkspeed: 3.0Gb/s Drive has flagged a S.M.A.R.T alert : No Exit Code: 0x00 [root@Closet-ESX:~] [root@Closet-ESX:~] MegaCli -LDInfo -Lall -aALL ← 現状の論理ドライブを確認 Adapter 0 -- Virtual Drive Information: Virtual Drive: 0 (Target Id: 0) Name : RAID Level : Primary-0, Secondary-0, RAID Level Qualifier-0 Size : 222.562 GB Sector Size : 512 Parity Size : 0 State : Optimal Strip Size : 64 KB Number Of Drives : 2 Span Depth : 1 Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU Default Access Policy: Read/Write Current Access Policy: Read/Write Disk Cache Policy : Disabled Encryption Type : None Is VD Cached: No Exit Code: 0x00 [root@Closet-ESX:~] [root@Closet-ESX:~] MegaCli -CfgLdAdd -r1 [252:2,252:3] -a0 ← RAIDレベル、上で調べたEnclosureとSlotIDとアダプタ番号を指定 Adapter 0: Created VD 1 Adapter 0: Configured the Adapter!! Exit Code: 0x00 [root@Closet-ESX:~] [root@Closet-ESX:~] MegaCli -LDInfo -Lall -aALL ← 新しく論理ドライブが作成されたことを確認 Adapter 0 -- Virtual Drive Information: Virtual Drive: 0 (Target Id: 0) Name : RAID Level : Primary-0, Secondary-0, RAID Level Qualifier-0 Size : 222.562 GB Sector Size : 512 Parity Size : 0 State : Optimal Strip Size : 64 KB Number Of Drives : 2 Span Depth : 1 Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU Default Access Policy: Read/Write Current Access Policy: Read/Write Disk Cache Policy : Disabled Encryption Type : None Is VD Cached: No Virtual Drive: 1 (Target Id: 1) Name : RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0 Size : 931.0 GB Sector Size : 512 Mirror Data : 931.0 GB State : Optimal Strip Size : 64 KB Number Of Drives : 2 Span Depth : 1 Default Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU Current Cache Policy: WriteThrough, ReadAheadNone, Direct, No Write Cache if Bad BBU Default Access Policy: Read/Write Current Access Policy: Read/Write Disk Cache Policy : Disabled Encryption Type : None Is VD Cached: No Exit Code: 0x00 [root@Closet-ESX:~]
これで論理ドライブが作成されたので、データストアを作成! 😀
あとは、実家で稼働中の旧光輪サーバの移行先となるLinuxのセットアップをぼちぼち開始中… 🙄