In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
VSAN is a distributed fault-tolerant storage system developed by VMware for vSphere series products and optimized for virtual environment. VSAN is a way or a new technology used by VMware for centralized management and space allocation of ESXi host local storage devices (including SSD and HDD). Now some vSphere data centers have used distributed storage composed of vSAN instead of traditional, professional shared storage and achieved better performance. During the process of using vSAN storage, some "inaccessible" objects may appear. Although these "inaccessible" objects will not affect the normal operation of the virtual machine, because there are "inaccessible" objects, in normal vSAN maintenance or vSAN disk mode upgrade, these "inaccessible" objects cannot be migrated to other hosts will cause failure to enter maintenance mode or upgrade vSAN disk format. If you want to solve this problem, you need to force the deletion of these "inaccessible" objects. The following is introduced through specific examples.
(1) A standard vSAN cluster of four ESXi hosts has "inaccessible" objects in the "data → vSAN object Health" of "Monitoring → vSAN → Health", as shown in figure 1-1. Clicking the repair object now button cannot be repaired.
Figure 1-1 vSAN object health check to inaccessible object
(2) these four hosts were originally running vSphere 6.7.0 and vsan disk format is version 6.0, as shown in figure 1-2.
Figure 1-2 View the current vSAN disk format
(3) after upgrading vSphere 6.7.0 to 6.7.0 U1 (this includes the upgrade of vCenter Server and 4 ESXi hosts), prepare to upgrade the vSAN disk format. Click the "pre-check upgrade" button in "configure → vSAN → General" in "disk format version". If an error occurs after the pre-check is complete, click "details", as shown in figure 1-3.
Figure 1-3 pre-check upgrade
(4) in the "vSAN Cluster-upgrade pre-check problem" prompt "cannot upgrade the cluster, object …" Inaccessible objects are displayed in this dialog box This is shown in figure 1-4. Use the mouse to select "unable to upgrade cluster, object." Right-click to copy the information and save it in notepad for backup.
Figure 1-4 inaccessible objects in vSAN
[description] the information in figure 1-4 is:
Unable to upgrade cluster: objects db6f235b-b856-89dd-6324-0010181a9981, 6238115c-0828-2cc6-3dd3-b8aeedb7689f, c19a245b-f031-9b4f-9b10-b8aeedb7689f are not accessible in vSAN.
(5) Log in to one of the ESXi hosts using SSH client software (such as xShell) (you need to start the SSH service on this host). After logging in to the shell interface, execute the cd / vmfs/volumes/vsanDatastore command to enter the vSAN data store, and then use the objtool command to delete the inaccessible objects in figure 1-4 (record the object's UUID).
Objtool in the / usr/lib/vmware/osfs/bin/ directory, there are three inaccessible objects in figures 1-4, and their UID is as follows:
Db6f235b-b856-89dd-6324-0010181a9981
6238115c-0828-2cc6-3dd3-b8aeedb7689f
C19a245b-f031-9b4f-9b10-b8aeedb7689f
Then execute the following command in SSH (under the root directory of the vSAN data store):
/ usr/lib/vmware/osfs/bin/objtool delete-f-u db6f235b-b856-89dd-6324-0010181a9981
/ usr/lib/vmware/osfs/bin/objtool delete-f-u 6238115c-0828-2cc6-3dd3-b8aeedb7689f
/ usr/lib/vmware/osfs/bin/objtool delete-f-u c19a245b-f031-9b4f-9b10-b8aeedb7689f
This is shown in figure 1-5.
Figure 1-5 Delete inaccessible objects
(6) after deleting the inaccessible objects, click the "pre-check upgrade" button in "configure → vSAN → General" to perform the pre-check before the upgrade, and after the execution is completed, prompt that the pre-check has been completed successfully, and click the "upgrade" button, as shown in figure 1-6.
Figure 1-6 upgrade disk format
(7) Click the Yes button in the vSAN Cluster-upgrade dialog box, as shown in figure 1-7.
Figure 1-7 upgrade
(8) display "all XX disks on version 7.0" in "disk format version" after the upgrade is completed, as shown in figure 1-8.
Figure 1-8 upgrade completed
(8) you can see that the disk format has been upgraded to 7 in "configuring → vSAN → disk Management", as shown in figure 1-9.
Figure 1-9 disk format upgrade completed
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.