VSAN Performance Monitoring Tool-VSAN Observer

 
 

Preface

Because in the preliminary situation, the VSAN operation information that can be found in the vSphere Web Client management interface is too little, so when a problem occurs and needs to be debugged, it is not enough. In fact, starting from the VMware vSphere 5.5 update1 version, it " includes " the VSAN operating environment monitoring tool " VSAN Observer " introduced here .

In fact , the operating efficiency of VSAN Observer is actually the result of displaying the information collected from the receipt on the HTML page through the command tool RVC (Ruby vSphere Console) .

 

Implementation environment

  • VMware vSphere ESXi 5.5 update 2 (2143827)
  • VMware vCenter Server 5.5 Update2(2183111)
 

Installation and configuration

Add local administrator permissions

Starting from the VMware vSphere 5.5 update1 version, that is, the Windows or Linux version of the vCenter Server 5.5 update1 version, there are " built-in " VSAN Observer monitoring tools. Here, the Windows version of vCenter Server will be used for description.

In this case, the execution of the VSAN observer monitoring tool ( rvc.bat ) is  executed through the " local administrator " account. (The execution path of rvc.bat is C:\Program Files\VMware\Infrastructure\VirtualCenter Server\support\rvc )
 

Therefore, when you execute rvc.bat without adding local administrator permissions to vCenter Server, a " 'parse_response':  NoPermission  : permission to perform this operation is denied. (RbVmomi :: Fault)  " error will occur  .
 

Therefore, please log in to the vSphere Web Client management interface, add the " Local Administrator  " user account on the vCenter Server page , and give the " System Administrator " permission.
 
 
 
 
 
 
 
 

Execute vsan.observer command

After completing the user permission setting, please execute rvc.bat again, match the cluster name with the vsan.observer command , and then match the "  --run-webserver  " and "  --force  " parameters.
 

If it cannot be executed smoothly and the error message is " OpenSSL::X509::CertificateError: Error obtaining time " (as shown in the figure above), just add the " --no-https " parameter.
 

After the command is successfully executed, the host information of the VSAN cluster ESXi will be collected every " 60 seconds " on a regular basis (can be modified by the --interval parameter), and the collection will be stopped after " 2 hours " is scheduled to be collected (available via --max-operating parameter modification). After that, you can open a browser to connect to vCenter Server and use port 8010 to connect to the VSAN Observer page.
 

Guess you like

Origin blog.csdn.net/z136370204/article/details/113662446