Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Simple Test of Windows 2016 S2D (3) in vSphere Environment

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

W2016 includes a number of Powershell tools to help users diagnose, view, and collect logs related to storage. In the next experiment, let's take a look at the commands related to troubleshooting.

Use the Get-StorageSubSystem command to check the name of the S2D subsystem in the test environment. For example, the following is the S2D used by the author for testing. Because the name is long, the wildcard "*" is used to replace the part except "cluster" in the following command:

2. The Enable-StorageDiagnosticLog command can be configured to collect different levels of log information (including Critical, Error, Informational, Verbose and Warning). Here we enable the collection of detailed logs:

Enable-StorageDiagnosticLog-StorageSubSystemFriendlyName * cluster*-Level Verbose

3. Then we collect the relevant logs with the following command, and put the collected logs in the C:\ tmp directory:

Get-StorageDiagnosticInfo-StorageSubSystemFriendlyName * cluster*-DestinationPath c:\ tmp-Verbose

After completion, we can find the logs of each node in the corresponding directory. As shown below, you can open the corresponding .etl and evtx files with event viewer:

4. We can also use the Get-StorageHealthAction command to view the tasks running in the background, and the Get-StorageHealthReport command to view real-time performance-related data such as storage pool read and write latency, CPU or memory usage, read and write bandwidth consumption, and so on, which is especially important for diagnosing performance problems. The command and output are as follows:

Get-StorageSubSystem-FriendlyName * cluster* | Get-StorageHealthAction

The following figure is a performance report captured when writing a large amount of data to a volume in the storage pool:

Get-StorageSubSystem-FriendlyName * cluster* | Get-StorageHealthReport-Verbose

5.Get-StorageReliabilityCounter is also a very useful tool. For example, using a similar command combination below, you can capture important information such as maximum read and write latency, number of read and write errors, temperature, write consumption and other important information of each SSD disk in the storage pool (I suspect that some data in this example cannot be fetched normally because of the use of virtual disks).

Get-PhysicalDisk |? Mediatype-eq ssd | Get-StorageReliabilityCounter-Verbose | select *

6. With the help of Performance Monitor that comes with Windows, we can further monitor the performance metrics of a VD, as shown below:

7. Like other mainstream SDS products, S2D currently has strong data protection capabilities. In the test environment, the author has simulated various situations such as single disk offline, multiple disk offline, or even accidental downtime of more than one node. In general, whether the VD in the storage pool can continue to be accessed in the event of a failure depends on the fault-tolerant layout defined at the time of creation and the definition of the failure domain. It is also important to note that no matter which fault-tolerant layout is used, it is still no substitute for backup. Regular backups of business data are still critical. When there are multiple disk disconnections, or multiple node failures, resulting in data can not be accessed normally, the first time to grab the detailed log, contact the manufacturer after-sales is the most important.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report