Login to log insight page
Click on Administration
vCenter appliance is a vm and most of the time we are running it on the same ESXi cluster.
In some cases we may need to increase the disk capacity of some partition(most of the time its log file path).If our vCenter is running out of disk space, vCenter related services may not tart as expected. To resolve this issue we need to increase the free space capacity of the vCenter appliance.
How to do this
Telnet is the command which we can easily use to check the service status of the remote system.
Ex if we can telnet to vCenter server from our desktop using port 443, we can say that web services of the vCenter is up
But when we use vCenter shell or ESXi shell, we cannot use telnet command.
As an alternative option, we can use curl command. Please refer the below screen capture
curl -v telent://vcsa-01a:443
vSphere 6.7 quick boot is new feature which is integrated with update manager. When we performing patching activities with earlier versions of vSphere most of the time we need to reboot the ESX hosts. This is very painful because normayy it will take more than 5 minutes to reboot hardware server. Also sometimes we may need to login using ILO\BMC\IDRAC and check the boot status.
With the version 6.7 we can configure quick boot of ESX hosts.This feature will allow us to reboot only the hypervisor without rebooting ESX’s hardware.
Requirements of this feature-
This feature will not work with all the hardware servers.we can follow below link to get the compatible hardware models.
How to check the compatibility of your server-
We can run
And check the compatibility of our server with quick boot.
How to configure this feature
1.login to your vCenter web client
Go to the update manager
Click on Edit
Enable quick boot
Now we are going to remediate one of my esx host.
From the target host we can see qucik boot is enable on this
I used VMware hol HOL-1904-01-SDC-HOL to test this feature
In a vSphere based virtualization environment we can mainly use two disk types(Thick & Thin).I hope you all know the difference between these two.
To optimize our shared/Direct attached storage we can use thin disk. But the problem is even we delete the data from os level . It will not reclaim automatically from the storage.
To overcome this issue we have two options.
- Use third party tool(if it’s a Windows we can use sdelete) to zero-out the disk blocks and using vmkfstools we can shrink the disk
- Storage vMotion the virtual machine or VMDK to a datastore formatted with a different block size
In this article we are going to showcase how to use sdelete & vmkfstools to this operation
1.This vm we have two thin disks. We will use second disk for the our test case. Capacity of the disk is 3GB
- From the datastore we can see 80.47 GB free space
Hash table is a data structure where we can store our data.Comparing to the data arrays in powercli/powershell , the main difference is with hash table we can easily handle multiple type of data such as Integer,String,etc..
Some times we need to generate reports using some of the PowerShell commands(export-csv,out-file,add-content).With below example my requirement is to generate vm report which include VMname,Datastore name,Network port group and vmawre tools status.But to gather all the information we have to use multiple get commands and then its difficult to consolidate this data.Hash table was helped me on this.I can gather values from multiple commands and assign to hash table.I have highlghted hash table related commands in my script.
foreach ($vm in $vms)
$result+=new-object psobject -property $properties
$result|select name,datastore,network,vmwaretools|export-csv d:\mycsv.csv -append -notypeinformation
.We can use the vCenter url using port 5480
Login to the vcenter using root credential
From this page we can check the overall health
We can enable/disable ssh using Access tab
From the network tab we can see the utlizaiton and we can change the network configuration
From the update tab we can check for vCenter appliance updates. If we have updated version DVD,ISO we can mount and check the updates
From Administration tab we can change administrator password. If we want to set password expire period we can use same tab
System Configuration tab we can use to configure syslog server. Using syslog server we can forward all the syslogs to one location
CPU and Memory tab shows us the utilization of memory & cpu
Using database tab we can see all the DB related events, alerts and tasks. Continue reading “how to manage vCetner appliance”
Im preparing for VCAP 6 Deployment exam & I have creating MS one note book for that.This include some of the practicals with steps and may be useful for others.
Please find the link of the onenote.