Posts

Showing posts from September, 2025

Installing Oracle Connection Manager on Ubuntu

  Installing Oracle Connection Manager (CMAN) on Ubuntu Linux involves several steps, primarily focused on preparing the environment and then using the Oracle Universal Installer (OUI) with a response file. 1. Prepare the Ubuntu Environment: Create Oracle User and Groups:   Create a dedicated Oracle user and necessary groups like  oinstall  and  dba . Code sudo addgroup oinstall sudo addgroup dba sudo useradd -g oinstall -G dba oracle sudo passwd oracle Create Directories:   Create the Oracle Base, Oracle Home, and Oracle Inventory directories. Code sudo mkdir -p /opt/oracle/base/product/cman_home sudo mkdir -p /opt/oracle/oraInventory sudo chown -R oracle:oinstall /opt/oracle Install Prerequisites:   Ensure necessary libraries are installed. Code sudo apt-get update sudo apt-get install -y libaio1 Configure Kernel Parameters (Optional but Recommended):   Adjust kernel parameters in  /etc/sysctl.conf  ...

Backup and Restore VM Host

Image
To back up ESXi configuration: Run the following command to sync the configuration: vim-cmd hostsvc/firmware/sync_config Run the following command to generate a backup file:  vim-cmd hostsvc/firmware/backup_config Download the configuration file by going to the URL in the output. (Replace * in the URL with the IP address.) If unable to download the config file through the browser, it can be found in  /scratch/downloads/<<GUID from output in step b>>/configBundle-hostname.local.tgz . Use WinSCP to transfer the file from ESXi to the local machine or copy it to a datastore Restore configuration back to ESXi host: Make sure the same ESXi build from which the backup was taken is installed back onto the host. Copy the backup file back to the ESXi host. Use WinSCP to copy the config file back to the host  /tmp  directory. Rename the file from  configBundle-<host name>.tgz  to  configBundle.tgz . Example: cp configBundle-esxi7001.vmlab.local....

vSphere Diagnostic Tool

Image
vSphere Diagnostic Tool https://techmyth.blog/en/posts/vsphere-diag-tool/ This time I am going to show you how to use the  vSphere Diagnostic Tool , this tool is used to perform diagnostic checks on the VMware vCenter Server Appliance. This tool consists of a python script that executes diagnostic commands to validate the health status of the vCenter service. Note: As a minimum requirement it is required to have a version of vCenter Server 6.5 or higher This tool performs the following validations: vCenter Basic Info Lookup Service Check AD Check vCenter Certificate Check Core File Check Disk Check vCenter DNS Check vCenter NTP Check vCenter Port Check Root Account Check vCenter Services Check VCHA Check Here is the link so you can see the features of this tool. https://flings.vmware.com/vsphere-diagnostic-tool#summary The first step would be to download the tool from the portal of  VMware Fling After downloading the file it is required to copy it to the vCenter server. In my ...