Script to Copy Yesterdays DB Backup to Remote Site

October 9, 2019 Jordansphere Linux

The following script will pick out yesterdays backup file and copy it over to a remote site using SCP Note: The format of the backup files are in this format : db-08-10-2019.bak.gz Note: You will need to install sshpass (eg yum -y install sshpass) and be comfortable with your password being in cleartext. #!/usr/bin/bash # […]

More

vRops Vcloud Director Tenant Portal – Access Denied after Upgrade to 2.2

September 26, 2019 Jordansphere vCloud Director

Problem After upgrading from vcloud director tenant portal 2.0 -> 2.2 all tenants were getting an Access Denied error when trying to view via Operation Manager drop down     Resolution All looked okay. The Services were started and no errors anywhere. The fix was to simply disable -> re-enable plugin Access per tenant (like below)

More

access denied, tenant portal 2.0, tenant portal 2.2, Vcloud Director Tenant Portal,

 User “postgres” Has No Password Assigned

September 25, 2019 Jordansphere Linux

Problem When trying to remotely connect to Postgres 10.10 install for the first time I got and authentication error via pgadmin From the log files (/var/lib/pgsql/10/data/log/postgresql-Wed.log) 2019-09-25 14:05:38.970 BST [22665] FATAL:  password authentication failed for user "postgres" 2019-09-25 14:05:38.970 BST [22665] DETAIL:  User "postgres" has no password assigned.         Connection matched pg_hba.conf […]

More

Debug NSX Edge Traffic

September 24, 2019 Jordansphere NSX

OS: NSX Edge: 6.4.x   Show routing table show ip route   Show Interfaces show int   Display debug information on a specific interface debug packet display interface {int_name} eg debug packet display interface vNic_2   Display debug information on specific interface and remote host debug packet display interface {int_name} host_{IP Address}  eg debug packet display […]

More

Debu NSx edge routing, Debug NSX routing, nsx edge, routing, vhsield edge,

Script to Customize CentOS 7 Install in a VMware Environment

September 16, 2019 Jordansphere Linux

#!/bin/bash echo "#######################################################################"; echo "This script will Update the OS, install useful tools and configure NTP"; echo "#######################################################################"; #Update OS yum update -y #install useful tools yum install telnet -y yum install bind-utils -y # install vmware tools yum install -y open-vm-tools systemctl enable vmtoolsd.service systemctl status vmtoolsd.service # Disable selinux /usr/bin/sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config […]

More

Route Commands on ESXi, VCSA, Linux & Windows

August 28, 2019 Jordansphere Linux

Sample route commands    Windows Show routing table route print Add a persistent route ROUTE -p ADD 10.10.129.0 MASK 255.255.255.0 10.5.72.254   ESXi Show routing table esxcfg-route -l  Show routing table for specific stack esxcfg-route -l -N (stack name) Add route esxcli network ip route ipv4 add –gateway 10.5.72.254 –network 10.10.129.0/24   VCSA Show routing […]

More

routing table ESxi, routing table Linux, routing table VCSA, routing table Windows, static route Centos,

Cross vCenter-vMotion Fails

August 22, 2019 Jordansphere VMware

Scenario: Site A (source) – vCenter 6.0 U3 – Vmks in vmotion TCP/IP Stack Site B (destination) – VCSA 6.7 U2 – Vmks in vmotion TCP/IP Stack Error Message on destination host: From vpxa.logs on destination host 2019-08-15T12:40:47.088Z cpu57:2346322)WARNING: Migrate: 6189: 1565872539754355 D: Migration considered a failure by the VMX.  It is most likely a timeout, […]

More

Check the vMotion network settings and physical network configuration, cross vcernter vmotion, cross venter vmotion, The vMotion migrations failed because the ESX hosts were not able to connect over the vMotion network,

VCSA Backups Fail

August 22, 2019 Jordansphere VMware

Issue Using FTPS to backup the VCSA 6.7 U2 configuration I got the following error: Error: Structure com.vmware.appliance.recovery.backup.job.details.info has a union with a field not required for this case = end_time Resolution Investigating the issue it appears the FTP login was a success and the directories were created successfully but when the process tried to […]

More

Error: Structure com.vmware.appliance.recovery.backup.job.details.info has a union with a field not required for this case = end_time,

File System Specific Implementation of LookupAndOpen[file] Failed

August 15, 2019 Jordansphere Veeam

Issue: A Veeam Proxy VM halted during a back up run and powering back on was unsuccessful   Troubleshooting When trying to restart I was presented with the following error and the VM failed to start File system specific implementation of LookupAndOpen[file] failed   Solution Upon further investigation the Veeam Proxy had a Hot-Added disk still attached. I […]

More

File System Specific Implementation of LookupAndOpen[file] Failed, Hot Add, veeam, Veeam Proxy,

Vmkping Using vMotion Stack

August 14, 2019 Jordansphere VMware

Issue: I wanted to test connectivity via the vMotion Stack on a vSphere 6.7 host   Syntax   vmkping -I {vmk} -S vmotion {IP} eg vmkping -I vmk1 -S vmotion 10.3.4.10  

More

vmkping over vmotion stack,

« Previous Posts

Powered by WordPress. Designed by elogi.