Posts

Vault Upgrade - Path to 1.6.0

  Current Vault version:  1.4.6 Safe upgrade version = 1.5.3 latest version = 1.6.0 Only uncertain aspect of 1.6.0 is the new version of Go, and  Go 1.15 no longer treats the  CommonName  field on X.509 certificates as a host name. X.509 certificates should be validated and potentially regenerated before upgrading if they do not have Subject Alternative Names. https://www.vaultproject.io/docs/upgrading/upgrade-to-1.6.0

AWS RDS Testing

Image
  RDS Failover Test Scenario Date Result Details Database Reboot 17 Dec 2019 Standard Reboot of the Database via AWS Console.  Several errors observed in the Fusion logs around connection timeouts.  Datasource monitor in Fusion console observed several connection changed state from "Running" to "Suspended".  All recovered within 2m45s mins of the database coming back up.  Elapsed time for overall test was approx 15 minutes.  Validation with Oracle Enterprise Manager Web Console set to refresh every 15s. Database Reboot with Failover 18 Dec 2019 Reboot with Failover between AZ via AWS Console (35s).  Several errors observed in the Fusion logs around connection timeouts.  Datasource monitor in Fusion console observed several connection changed state from "Running" to "Suspended".  All recovered within 2m30s of the database coming back up.  Validation with Oracle Enterprise Manager Web Console set to refresh every 15s. D...

Log Access with Kabana

Image
  All log files generated by the FMW Fusion Middleware service are aggregated into Kibana. You can access Kibana at the following URL: https://kibana.monitoring.digital.nbrown.co.uk/_plugin/kibana/app/kibana#/home You should have been provided your access credentials to login. If you don’t have access, you can raise a service request to gain access or log a fault with the help desk for password related issues. Once logged in, you should see something similar to the above displayed. This is the default page for kibana. If you select “Discover” in the top left menu it will take you to the log page. There are a number of different services available from this page, so you need to select the correct index. Just to the right of the “Visualize” menu item, you can select an index: As shown above, click the dropdown and select “nbrown-fmw-dev*”. This will show all FMW environment logs. In order to see a specific environment, you need to add a search. At the top of the page, there is a “S...

AWS - Exporting X11 Display from EC2 to MAC

Image
  Pre-requisites MAC Tool Use SSH To connect securely to the EC2 instance XQuartz X11 server for displaying X11 windows on MAC. EC2 Required packages to install. Amazon Linux 1 yum install -y xauth 2 yum install -y xclock 3 yum install -y libXtst Ubuntu 1 apt-get install -y x11-apps .ssh/config macOS Catalina upgrade requires an additional line to be added to both the Host stanzas ForwardX11Trusted yes 1 Host cfs 2 HostName 10.227 .110.91 3 User ubuntu 4 ProxyCommand ssh -W %h:%p fmw-dev-bastion 5 ServerAliveInterval 60 6 IdentityFile ~/.ssh/infradev-cfs-linux-key-pair.pem 7 ForwardX11 yes 8 ForwardX11Trusted yes Ensure the ForwardX11 yes is included in your Host stanza Login to your EC2 You should see the following 1 /usr/bin/xauth: file /home/ubuntu/.Xauthority does not exist You should now have a file created as follows: 1 ubuntu@ip-10-227-110-91:~$ ls -al .Xauthority 2 -rw------- 1 ubuntu ubuntu 62 Jan 23 11:42 .Xauthority 3 ubuntu@ip-10-227-110-91:~$ This ...