Debian server change hostname using:
hostnamectl set-hostname <machine-name-here>
Debian server change hostname using:
hostnamectl set-hostname <machine-name-here>
ESXI in HA config have the error:
This host currently has no management network redundancy
Solution:
1. SSH into your vCenter Server
2. Open the vpxd config file:
vi /etc/vmware-vpxd/vpxd.cfg
3. Search for <vcls> inside the file
4. You will see something similar to this (if you have any other clusters that you have disabled vCLS on, you will also see them):
<vcls>
<clusters>
<domain-c1003:1f309344-8dbb-4c9f-b0cb-b3b61fa8513f>
<enabled>False</enabled>
</domain-c1003:1f309344-8dbb-4c9f-b0cb-b3b61fa8513f>
<domain-c13>
<enabled>False</enabled>
</domain-c13>
</clusters>
</vcls>
5. You will have to modify this file and remove the record you do not want . In your case, you will have to delete this tag (incl. its content):
<domain-c1003:1f309344-8dbb-4c9f-b0cb-b3b61fa8513f>
<enabled>False</enabled>
</domain-c1003:1f309344-8dbb-4c9f-b0cb-b3b61fa8513f>
!!! If you do not have any other clusters, where vCLS is disabled on, you will have the following configuration:
<vcls>
<clusters>
<domain-c1003:1f309344-8dbb-4c9f-b0cb-b3b61fa8513f>
<enabled>False</enabled>
</domain-c1003:1f309344-8dbb-4c9f-b0cb-b3b61fa8513f>
</clusters>
</vcls>
In this case, please remove the whole <vcls> ... </vcls> entry. !!!
6. Save the changes to the file.
7. Restart vpxd:
service-control --restart vmware-vpxd
8.Upon successful restart you should receive the following message:
Successfully restarted service vpxd
9. If you go the Advanced Settings tab in the vSphere Client now, the changes should have taken place.
Use the below command to ping google.com using curl from Linux and Windows
C:\Users\p>curl -Is google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Date: Thu, 10 Mar 2022 10:55:40 GMT
Expires: Sat, 09 Apr 2022 10:55:40 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN
Configure Network/DNS/Hostname/Gateway using command line.
Login to vCenter server using ssh.
login to shell prompt
run below command:
root@vcsa[~]# /opt/vmware/share/vami/vami_config_net Main Menu 0) Show Current Configuration (scroll with Shift-PgUp/PgDown) 1) Exit this program 2) Default Gateway 3) Hostname 4) DNS 5) Proxy Server 6) IP Address Allocation for eth0
Error: With Firefox driver /gecko driver Could not start a new session. Response code 500. Message: Expected browser binary location, but u...