Author: tmahanta

Connecting to a vPostgres Database

Connecting to a vPostgres Database With pgAdmin:   The pgAdmin client tool is not necessary for connecting to vPostgres databases. The Data Director UI includes everything you need to manage your vPostgres databases graphically. The instructions for using pgAdmin are included for completeness. If you do not have pgAdmin installed, download the pgAdmin appropriate for your platform from the Postgres site and install it. See the Postgres site for information. To use the Postgres pgAdmin tool to connect to vPostgres databases, pgAdmin must use the Data Director libpq. The Windows pgAdmin tool works only with Windows 32-bit systems. If you run Windows 64-bit, install the 32-bit versions of the vPostgres client tools. The installer places the 32-bit tools in the C:\Program Files (x86) tree. Before you begin, obtain the following information. ■        The vPostgres connection string. See Connecting to vPostgres Databases. ■        The Data Director DB Name Service IP address. You can get the IP address from the Data Director       vApp in vSphere Client. Contact your administrator if you need help. >>      Login to vSphere Client as an administrator. >>      Locate your Data Director vApp in the Hosts and Clusters list, and expand the vApp. >>      Click DB Name Server to select it, and click the Summary tab. >>      The IP address is listed in the General pane.   Ask your system administrator for help if you do not have access to the Data Director Web UI or to the vSphere Client....

Read More

Back Up and Restore the Embedded vCenter Server Appliance Database

Back up the embedded vCenter Server Appliance database to protect the data stored in your vPostgres database. Prerequisite: Create the folder in which you want to create the backup file and verify that you have read and write permissions on this folder. Procedure: Caution: This procedure cannot be stopped. Stopping the script will cause inconsistencies in the vCenter Server appliance database and can prevent vCenter Server appliance from starting. Log in to the vCenter Server Appliance Linux console as root. Download the Linux backup and restore package 2091961_linux_backup_restore.zip attached to this Knowledge Base article and extract it on the Linux machine. Make a backup_lin.py executable. For example to save the file as /tmp/backup_lin.py , run this command: chmod 700 /tmp/backup_lin.py Run the backup_lin.py file and provide the location for the backup file. For example, if you want to save the file as /tmp/backup_VCDB.bak, run this command: python /tmp/backup_lin.py -f /tmp/backup_VCDB.bak When the backup completes, you see a message that the backup completed successfully.   Restore the vCenter Server Appliance vPostgres DatabaseIt may be required to copy the database to the new vCenter Server Appliance or Windows installed vCenter Server. After you back up the embedded vPostgres database, you can restore it from the backup file. Note: Using WinSCP on the vCenter Server Appliance may fail. For more information, see Error when uploading files to vCenter Server Appliance using WinSCP (2107727). Prerequisite: Back up the vCenter Server Appliance embedded vPostgres...

Read More

vSAN encryption

vSAN can perform data at rest encryption. Data is encrypted after all other processing, such as deduplication, is performed. Data at rest encryption protects data on storage devices, in case a device is removed from the cluster. Using encryption on your vSAN cluster requires some preparation. After your environment is set up, you can enable encryption on your vSAN cluster. vSAN encryption requires an external Key Management Server (KMS), the vCenter Server system, and your ESXi hosts. vCenter Server requests encryption keys from an external KMS. The KMS generates and stores the keys, and vCenter Server obtains the key IDs from the KMS and distributes them to the ESXihosts. vCenter Server does not store the KMS keys, but keeps a list of key IDs. Design Consider these guidelines when working with vSAN encryption. Do not deploy your KMS server on the same vSAN datastore that you plan to encrypt. Encryption is CPU intensive. AES-NI significantly improves encryption performance. Enable AES-NI in your BIOS. The witness host in a stretched cluster does not participate in vSAN encryption. Only metadata is stored on the witness host. Establish a policy regarding core dumps. Core dumps are encrypted because they can contain sensitive information such as keys. If you decrypt a core dump, carefully handle its sensitive information. ESXi core dumps might contain keys for the ESXi host and for the data on it. Always use a password when you collect a vm-support bundle. You can specify the password when you generate the support bundle from the vSphere Client or using the vm-support command. The...

Read More

Owner Abdication in VSAN

When the virtual machines attempt a snapshot consolidation there are underlying vSAN components which undergo a change of node-ownership within the cluster. When these events happen simultaneously, various behaviors may occur: An error stating Generic Configuration Fault Error occurs when a backup is taken. An error stating the virtual machine cannot continue to run due to a problem with quiescing the guest operation system, and it might crash. Error message = “An error occurred while saving the snapshot: Failed to quiesce the virtual machine” abdicateDomOwnership public java.lang.String[] abdicateDomOwnership(java.lang.String[] uuids)                                         throws RuntimeFault,                                                java.rmi.RemoteException Abdicate ownership of DOM objects. The objects must be currently owned by this host. Which host has ownership of an object at a given point in time can be queried from QueryVsanObjects() or QueryCmmds() APIs. Abdicating ownership tears down DOM owner in-memory state. Hosts in the cluster will then compete to become the new owner of the object, similar to a host failure event. There is a short interruption of IO flow while the owner re-election is going on, but it is transparent to any consumers of the object. This API is meant as a troubleshooting and debugging tool....

Read More

What is BufferCache in Esxi

VMware ESXi and ESX provide advanced configuration options that affect the behavior of various components. This article provides steps to review and set new advanced configuration options using several methods. VMware recommends that you set these configuration options under the direction of VMware Technical Support or a VMware Knowledge Base article. Numeric options have limited ranges (for example, 0-10). String options accept any value. Option values are not checked for validity beyond being in the proper range. Confirm all changes before applying them. Advanced configuration settings can be reviewed and modified on an ESXi/ESX host using the vSphere Web Client, vSphere Client, PowerCLI, Command-Line Interface, or local console. All options are grouped into sections. A given method may visually group the sections or separate the section and option names using a forward slash or period. Options are usually documented using the form.SectionName.OptionName When deploying virtual machines located on a non-shared storage to other ESXi hosts, the deployment occurs across the network (using NFC/hostd). This may have an impact on the file system buffer cache and exhaust the number of buffers, reporting a significant delay in deployment time. Advanced Options: > Login to the host console using ‘root’ credentials >Click on Manage >From System Tab please click on ‘Advanced Settings’ To prevent this issue, relocate the virtual machine templates to a shared storage that is presented to all ESXi hosts....

Read More

Recent Comments

    Select Categories and Browse