How to use VMDK sharing for Guest OS clustering

Tags

, , , , , ,

Operating system clustering is one of the major and popular high availability mechanism in system infrastructure products. Advantage of the os clustering is it can identify the application level failure.

As a systems administrators most of the time we may need to work with MS windows failover clusters. Most of the file servers and SQL clusters are depend on this failover cluster technology. Most of the situation one of the main requirement is this failover cluster is shared lus/disk. Earlier most of the time we sued to have minimum two physical servers for this cluster operation which is directly connect to SAN device(Shared storage). But to get the benefits of virtualization platform and reduce the cost , now we have to use same cluster features on top of the virtualization platform.

1. In my below example Im using two test virtual machines.

image

2. Now we need to add new scsi controller per this vm


Continue reading

How to increase disk space of vCenter appliance

Tags

, , , ,

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

Continue reading

ESXI shell register all the *.vmx files in datastore/s

Using below bash script we can register all the vms in datastores with ESXi host.This has tested in vSphere 6.5 & 6.7 Hol

 

for myvm in $(find / -name *.vmx);

do

vim-cmd solo/registervm $myvm

done

if we want we can find on specific datastore. please refer the below example

find /vmfs/voluems/datastore10R10/ -name *.vmx

(datastore10R10 is my datatore name)

 

 

 

 

 

 

Configure backup & restore vCenter 6.7

Tags

, , , , , , , ,

This is a very useful feature when its working with changes.This is the easiest way to restore our vCenter.

As a destination backup media we need to have http,https,ftp or ftps server. Since I had windows server. Just I add web roles with ffp feature sfrom server manager.

Once I completed that process. I have to do the following configuration on windows server.

Open Internet information service manager

clip_image001 Continue reading

how to use telnet command in vCenter appliance putty session

Tags

,

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.

clip_image001

As an alternative option, we can use curl command. Please refer the below screen capture

clip_image002

 

curl -v telent://vcsa-01a:443