Powercli ssl error

When I’m trying to connect to the VC from powercli I get this error.

I tried but there is no ignore SSL option in the parameters.

I searched and I found below workaround for this

We need to set powercliconfig for this

Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false

VMWare KB-

https://developer.vmware.com/docs/powercli/latest/vmware.vimautomation.core/commands/set-powercliconfiguration/#Default

How to use vsantop

Vsanto

Vsantop is one of most useful tool to identify the performance related issues or collect the stats

Requirement-We should run vSAN 6.7 Update 3 or later version

Vsantop is like same as esxtop that we are using to identify host or vm related issues

How to use it

We need to enable SSH session to one of the node and type vsantop

By default  it will show stats relate to the domclient, but we can customize it

Example –

I need to collect latencywrite

1.press F

2.Enter the no 8 , same way we can remove the fields

3 Press Enter

Screen clipping taken: 7/10/2022 2:34 AM

Also we can change the entity by Pressing E. steps are almost same

By pressing h we can get the help by pressing h

To analyse the data the easiest way it to collect the information to csv file, you can refer to below example

Manage vSAN using Powercli

Powercli is a command line tool which based on Windows PowerShell. We can use it for automate our tasks. This article will show some of the valuable comnmads we can use to manage our vSAN infrastructure.

1. First will check what are the  available command in powercli relate to the vSAN

Syntax

Get-command *vsan*

image

2. We can check the health of vSAN cluster

Syntax

Get-Cluster|testVsanClusterHeath|fl

image

3. We can get the vSAN cluster configuration using below command

Get-VsanClusterConfiguraiton|fl

image

4. Using Get-VsanDiskGropu command we can get disk group details

Continue reading “Manage vSAN using Powercli”

How to configure SMB share on vSAN

1. First we need to enable file services on vSAN cluster

a. Login to the vCenter

b. Select the cluster

c. Click on Configure

d. Click on Services

e. Click on Enable  on File services

image

2. Click on Next

image

3. We need to provide below details

Continue reading “How to configure SMB share on vSAN”