AWS using Ansible? Yes, it's possible!

  Although, I've used Ansible extensively for a lot of automation and orchestration tasks, using Ansible for AWS was indeed, a new territory for me.  This turned out to be a blessing, since along with using Ansible for AWS tasks, I also learnt how to use WSL (Windows Subsystem for Linux) on a Windows machine. Though WSL's been around for some time, I still hadn't come around to using it since I was mostly using my Macbook pro. Not anymore, though!  Anyway, I have listed below the steps to: Install WSL on Windows 11 23H2 patch Install AWS CLI on Ubuntu 22.04 (Exact version - 22.04.3 LTS) Install Ansible and the amazon.aws collection Use AWS CLI to get the list of  VPCs in the region - us-east-1 (or a region of your choice) Create a python file/script to get the list of VPCs in the region - us-east-1 (or a region of your choice) Create an Ansible playbook to get the list of VPCs in the region - us-east-1 (or a region of your choice.   You may download the comple...

WGET Syntax for downloading patches from Metalink

I am sure everyone knows this but just to emphasise the point (and ease the pain somewhat), Classic MetaLink Retires November 6, 2009.

Extract of the text of email from Oracle Support:

During the weekend of November 6 – 8, 2009, My Oracle Support, Oracle's next-generation customer support platform, will be upgraded and Classic MetaLink will be retired.

Moreover (and this is the most painful part especially for Apps DBAs), the ftp to the patch site will also retire on 06-Nov-2009. :(

Below is the extract of the message displayed on updates.oracle.com ftp site:

230-  This service will be retired on November 06, 2009 and "My  Oracle Support"
230- will be the only interface for downloading the patches and updates. To
230- search and download patches from "My Oracle Support" users are required
230- to login to https://metalink.oracle.com and then go to "Patches & Updates"
230- tab.

Though I do NOT like it, I suppose I have to force myself to use wget to download patches directly on to the server, instead of downloading them to my local machine and then transferring them to the server (a much more painful process).

So, as a heads up, I would like to share with you the syntax for using wget.

Note: The below syntax worked for Solaris 10 and might not work for other flavours of UNIX since the default installation directory may be different.




/usr/sfw/bin/wget --http-user=<Metalink Username> --http-passwd=<Metalink Password> --output-document=<Name of patch>
"<URL>"

1. Get the URL in the following way:

a. Login to metalink and query up the patch.
b. Right click on the download button and click on "Copy Shortcut" (IE).

2. The name of the patch would be a subset of the URL.


eg:

/usr/sfw/bin/wget --http-user=<Metalink Username> --http-passwd=<Metalink Password> --output-document=p8618053_11i_GENERIC.zip "http://updates.oracle.com/ARULink/Download/process_form/p8618053_11i_GENERIC.zip?file_id=27640717&aru=11477117&userid=ml-693674.993&email=praveen.krishnamurthy@qwest.com&patch_password=&patch_file=p8618053_11i_GENERIC.zip"


Hope this is helpful in the painful transition from the updates.oracle.com ftp site to the Flash Player based new and "improved" Metalink.

Comments

Anonymous said…
Thank you very much for posting this. Why they want to desupport FTP downloading, I don't know....
rachel said…
the procedures provided were very useful and executable. very informative blog. keep it coming.
regards
successful erp implementation

Popular posts from this blog

Check if UTL_FILE and FND_FILE are working fine

Modify retention period of workflow queues

Clone database home (clone.pl) deprecated in Oracle 19c