UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

December 6, 2018 Jordansphere Linux

Problem A CentOS VM was rebooted but failed to start with the following error: /dev/ampper/VolGroup-lv_root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY Solution 1)  Enter CLI {Enter root password} 2) Run filesystem check . In my case. # fsck -y /dev/ampper/VolGroup-lv_root 3 Reboot system # reboot  

More

Change Default Gateway of NSX Controller

December 5, 2018 Jordansphere NSX

Problem A default gateway on the IP Pool servicing the NSX controllers had been mistyped during installtion. I needed to change this so my montioring system could route traffic to the 3 controllers.   Versions: NSX .6.4.3 vCenter 6.7   Caveats NTP Server was on a different subnet so current controllers could not route to […]

More

vCloud Director 9.5 – The VCD Entity Does Not Exist

November 28, 2018 Jordansphere vCloud Director

Problem When logged in as a vCloud Sys Admin in the Tenant (HTML5) interface and trying to delete any ISO from the Media section in vCloud Director 9.5 the following error appeared:   Resolution VMware have identified this as a bug and are working on a patch. The workaround is to login in as an orginization […]

More

Backup Postgres DB and Rotate using Logrotate – CentOS

November 5, 2018 Jordansphere Linux

Here is a rudimentary script to backup a specific Postgres DB. Logrotate then takes care of the log rotation. As you'll see below we will keep 7 days worth of compressed files.   #! /bin/bash # This script is called from logrotate /etc/logrotate.d/my-dumps # It backs up myDB every evening and logrotate takes care of compression […]

More

automatically backup postrgres database,

Install NRPE on CentOS 7

October 26, 2018 Jordansphere Linux

1) Install required packages yum -y install wget openssl-devel 2)  Download latest NRPE agent   cd /tmp wget http://assets.nagios.com/downloads/nagiosxi/agents/linux-nrpe-agent.tar.gz   3)  Unzip NRPEagent tar xzf linux-nrpe-agent.tar.gz 4)  Install agent   cd linux-nrpe-agent ./fullinstall You will get asked which hosts to add. include your Nagios Server here In this case my Nagios server is 10.0.0.50 6)  […]

More

Test Outbound Connectivity on VCSA using Telnet

October 25, 2018 Jordansphere VMware

By default, telnet is not installed in the VCSA appliance. In fact its not installed in most VMware appliances. However there is a work around to test connectivity by using CURL Syntax: curl -v telnet://host:port   Here are a couple of examples: curl -v telnet://www.google.co.uk:443 curl -v telnet://my.amqpserver:5672  

More

curl, telnet, vcsa, vmware appliance,

Apply New Certificate to Tenant App Portal for vCloud Director

October 25, 2018 Jordansphere vCloud Director

Here are the steps to apply a new certificate to the tenant portal app (1.2.0)   1. Login into the appliance using the vsphere Web Client using the root username Note: I could not find any documentation on what the root password was so I had to reset the password by entering the GRUB menu.and booting […]

More

Install Postgres 10 for vCloud Director 9.5

October 25, 2018 Jordansphere Database

Here are the steps to install Postgres 10 on CentOS 7 Spec: OS:          CentOS 7 DB:          Postgres 10.x RAM:       16GB vCPU:      4 HDD:       100 GB   OS Installation: Use Guided GUI installation. Select to partition manually so that all data is on /root LVM.    […]

More

Migrate vCloud Director Database from MSSQL to Postgres

October 24, 2018 Jordansphere MS SQL

As vcloud director 9.5 is the last iteration to support MS SQL we decided to migrate the database to Postgres Here are the instructions to migrate the database   Pre-requisites 1) Snapshot all Cells 2) Snapshot MSSQL DB 3) Backup MSSQL DB   Procedure: 4) Shutdown all cells  service vmware-vcd stop      5) On […]

More

Configure Load Balancer on NSX Edge

October 4, 2018 Jordansphere NSX

The following guide describes how to set up LB on an NSX 6.4.1 Edge   1. Click Manage tab -> Load Balancer -> Edit -> Global Configuration -> Enable Load Balancer -> Enable Logging       2. Under Pools -> Select + (sign) -> {Enter details like below}  3. Click + (sign) -> {Enter details like […]

More

« Previous Posts

Powered by WordPress. Designed by elogi.