Skip to main content

Posts

How to regenerate system configuration for esxi

If your esxi failed to  regenerate system configuration check logs first: /var/log/syslog.log and if you see the eror as : 2019-09-13T11:01:01Z crond[33359]: crond: USER root pid 16925832 cmd /sbin/auto-backup.sh 2019-09-13T11:01:03Z root: failed to regenerate system configuration ~ resolution: [root@esxi65u21:~] /sbin/auto-backup.sh Files /etc/vmware/dvsdata.db and /tmp/auto-backup.6086849//etc/vmware/dvsdata.db differ Saving current state in /bootbank Clock updated. Time: 06:51:41   Date: 09/13/2019   UTC [root@esxi65u21:~]

ESXi host disconnects intermittently from vCenter Server

we should be able to increase the timeout  for esxi in config. vSphere Web Client:   Open the vSphere Web Client and connect to the vCenter Server. In the vSphere Web Client, navigate to the vCenter Server instance. Select the Manage tab. Select Advanced Settings. Click Edit. In the Key field, type: config.vpxd.heartbeat.notRespondingTimeout   In the Value field, type: 120   Click Add. Click OK. Run this command to restart the vCenter Server service: vCenter Server Appliance 6.x: service-control --stop vmware-vpxd; service-control --start vmware-vpxd

How to Join Vcenter server to active directory

1. log in to Vcenter server using https://<IP>:5480 and login with root access 2. Go to network and edit     Include AD domain IP  3. ssh root@IP VCSA    a)vi /etc/hosts :      add domain IP and name    b)vi /etc/resolv.conf      add "search domain.com" 4. run the below command to join:   /opt/likewise/bin/domainjoin-cli join <domain name> <username> <passed>  Example: root@vcsa92 [ ~ ]# /opt/likewise/bin/domainjoin-cli join ranji.local administrator@ranji.local netapp1! Joining to AD Domain:   ranji.local With Computer DNS Name: vcsa92.ranji.local SUCCESS root@vcsa92 [ ~ ]#