Latest Posts

recovering from an unresponsive hostd after a datastore/storage goes PDL

Hostd crashes with the below: Hostd.log 2018-12-17T22:37:50.138Z info hostd[9130B80] [Originator@6876 sub=Hostsvc] Storage data synchronization policy set to invalidate_change 2018-12-17T22:37:50.140Z info hostd[9130B80] [Originator@6876 sub=Libs] lib/ssl: OpenSSL using FIPS_drbg for RAND 2018-12-17T22:37:50.140Z info hostd[9130B80] [Originator@6876 sub=Libs] lib/ssl: protocol list tls1.2 2018-12-17T22:37:50.140Z info hostd[9130B80] [Originator@6876 sub=Libs] lib/ssl: protocol list tls1.2 (openssl flags 0x17000000) 2018-12-17T22:37:50.140Z info hostd[9130B80] [Originator@6876 sub=Libs] […]


0

PostgreSQL: could not open file “/var/lib/pgsql/data/pg_clog/0726”: No such file or directory

when selecting a specific date from a table, at times due to database corruption Postgres might report the file was not found. hsphere=# select * from TABLE; ERROR:  could not access status of transaction 1918986094 DETAIL:  could not open file “/var/lib/pgsql/data/pg_clog/0726”: No such file or directory   In Such instances, we will need to re-create […]


0

joining Esxi to domain fails with LW_ERROR_INVALID_MESSAGE [code 0x00009c46]

Joining Esxi to doamin fails with the below message: [root@esx:~] ./usr/lib/vmware/likewise/bin/domainjoin-cli join ikigo.net Joining to AD Domain: ikigo.net With Computer DNS Name: esx. adm@INN.LAN’s password: Error: LW_ERROR_INVALID_MESSAGE [code 0x00009c46] The Inter Process message is invalid   Cat /etc/hosts show below: # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost.localdomain localhost 192.168.1.104 esx. esx […]


0

Few Handy VMware Powershell commandlines

Add a HDD to a virtual machine: $VM=’name of the VM’ $size=’Size in GB, Numeric only’ $Datastore=’Name of the Datastore’ $ProvisionType=”Thin/Thick/EagerZeroedThick”) $Controller=’SCSI Controller 0′ New-HardDisk -VM $VM -CapacityGB $size -Datastore $Datastore -StorageFormat $ProvisionType -Controller $Controller $DiskType   Clone VM $Name=’Name of the new VM’ $source=Name of the Source virtual machine’ $Datastore=’Datastore name’ $host=’host name or […]


0

VMware PowerCLi Install on windows 10, 1809

Install PowerCli from Windows Gallery Open powerCLI as an administrator and then run: Install-Module -Name VMware.PowerCLI List available VMware module: Get-Module -ListAvailable -Name VMware*   Import Module  Get-Module vmware* | Import-Module Set execution policy to remote signed if the importing fails: Set-ExecutionPolicy RemoteSigned   the failure generally would look like the below: PS C:\windows\system32> Import-Module […]


0

Passing through a Nvidia GTX970 to a VMware Virtual machine

Create a virtual machine with EFI boot, install windows + tools and power down the VM Open ssh to the host where the VM is registered to use VIM-cmd vmsvc/getallvms | grep *name_of_VM* cd to the datastore path cd /vmfs/volumes/NVME/nvidia/ Edit the vmx file using the vi editor and add the below lines hypervisor.cpuid.v0 = […]


0