راهنمای مشاهده وضعیت هاردها و کارت رید از خط فرمان PVM
هاردهای سرور به دلیل میزبانی اطلاعات از حیاتی ترین اجزای یک سرور محسوب میشوند. از این رو بررسی دورهای وضعیت هاردهای سرور میتواند در پایداری سرویسهای سازمان نقش حیاتی داشته باشد.
در سامانه PVM دستورات اختصاصی سرورهای HP به منظور بررسی وضعیت هاردها تعبیه شده است که در ادامه به بررسی دستور ویژه بررسی وضعیت سرور میپردازیم.
دستور در ویرایشهای مختلف HP
در هر نسل از سرورهای HP دستور مشخصی مورد استفاده قرار میگیرد.
دستور hpacucli تا نسل 8 پشتیبانی میشود.
Copy to Clipboard
hpacucli ctrl all show config detail
دستور hpssacli در نسل 9 پشتیبانی میشود.
Copy to Clipboard
xxxxxxxxxx
hpssacli ctrl all show config detail
دستور ssacli مختص نسل 10 سرورهای HP میباشد.
Copy to Clipboard
xxxxxxxxxx
ssacli ctrl all show config detail
در تمام موارد فوق صرفا اسم دستور و پکیج متفاوت است، لیکن سایر آپشنها مشابه میباشد، با این تفاوت که نسبت به پیشرفته شدن هر نسل امکانات جدیدی به هر دستور اضافه شده است.
مشاهده وضعیت هاردها و کارت رید
برای این منظور از دستور زیر استفاده کنید:
Copy to Clipboard
[root@avid ~]# hpssacli ctrl all show config detail
خروجی این دستور به این شکل است:
Copy to Clipboard
x
[root@avid ~]# hpssacli ctrl all show config detail
Smart Array P440ar in Slot 0 (Embedded)
Bus Interface: PCI
Slot: 0
Serial Number: ---
Cache Serial Number: ---
RAID 6 (ADG) Status: Enabled
Controller Status: OK
Hardware Revision: B
Firmware Version: ...
Rebuild Priority: High
Expand Priority: Medium
Surface Scan Delay: 3 secs
Surface Scan Mode: Idle
Parallel Surface Scan Supported: Yes
Current Parallel Surface Scan Count: 1
Max Parallel Surface Scan Count: 16
Queue Depth: Automatic
Monitor and Performance Delay: 60 min
Elevator Sort: Enabled
Degraded Performance Optimization: Disabled
Inconsistency Repair Policy: Disabled
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 15 secs
Cache Board Present: True
Cache Status: Temporarily Disabled
Cache Status Details: Cache disabled; battery/capacitor charge is low.
Cache Ratio: 10% Read / 90% Write
Drive Write Cache: Disabled
Total Cache Size: 2.0 GB
Total Cache Memory Available: 1.8 GB
No-Battery Write Cache: Disabled
SSD Caching RAID5 WriteBack Enabled: True
SSD Caching Version: 2
Cache Backup Power Source: Batteries
Battery/Capacitor Count: 1
Battery/Capacitor Status: Recharging
SATA NCQ Supported: True
Spare Activation Mode: Activate on physical drive failure (default)
Controller Temperature (C): 58
Cache Module Temperature (C): 40
Number of Ports: 2 Internal only
Encryption: Disabled
Express Local Encryption: False
Driver Name: hpsa
Driver Version: ...
Driver Supports HPE SSD Smart Path: True
PCI Address (Domain:Bus:Device.Function): 0000:03:00.0
Negotiated PCIe Data Rate: PCIe 3.0 x8 (7880 MB/s)
Controller Mode: RAID
Controller Mode Reboot: Not Required
Latency Scheduler Setting: Disabled
Current Power Mode: MaxPerformance
Host Serial Number: ...
Sanitize Erase Supported: True
Primary Boot Volume: logicaldrive 1 (...)
Secondary Boot Volume: None
...
خطوط زیر مشخص میکنند که Cache غیر فعال شده است که این موضوع در پرفورمنس سیستم تاثیر بسیار بالایی دارد:
Copy to Clipboard
Cache Status: Temporarily Disabled
Cache Status Details: Cache disabled; battery/capacitor charge is low.
Cache Ratio: 10% Read / 90% Write
Drive Write Cache: Disabled
Total Cache Size: 2.0 GB