Posts

The Ultimate guide to DevOps Tools Part #2 : Docker

This article will continue the basic for docker which is consider one of the DevOps Tools after finishing these series i will choose another tools that could help DBA to automate their works.

In this post i will show you how to build your first application using docker, without docker if you need to programming using language first you should install that language on your PC and test it on your development environment and for sure the production should be ready to sync and test your code again on it seems a lot of work.😥

But now with docker you just pull/grab that image, no installation needed, and run your code on that image.🎉

But how we can control what happening inside the environment, like Accessing to resources like networking interfaces and disk drives is virtualized inside this environment which is isolated from the rest of your system all of this happening by something called Dockerfile.

The Following example taken from Docker Documentation:

# Use an official Python runtime …

The Ultimate guide to DevOps Tools Part #1 : Docker

Image
I will try to cover the Docker basics in different posts to allow people and reader understand more about this tools, also i will provide reference in each of the posts in case you need more information:-


Set up your Docker environmentBuild an image and run it as one containerScale your app to run multiple containersDistribute your app across a clusterStack services by adding a backend databaseDeploy your app to production
Docker Concept:-
To Understand docker more you can imagine or can been seen as computer inside your current computer, the most cool thing about docker is that you will not even feel that there is another computer running inside your computer and share the same resource of your computer, include to that if you friend ask for the  same container all you have to do is send it to them and they will have the same output for anything running at this container.
Why Should i use docker when there are similar solution :-
Very simple to configure.Docker provides this same capabi…

Clone Weblogic Software from One Machine to another

Cloning is the process of copying an existing entity to a different location while preserving its state. Some situations in which cloning Oracle Fusion Middleware is useful are:

Creating a Middleware home or Oracle home that is a copy of a production, test, or development environment. Cloning enables you to create a new Middleware home or an Oracle home with all patches applied to it in a single step. This is in contrast to separately installing, configuring and applying any patches to separate Oracle homes.Preparing a "gold" image of a patched home and deploying it to many hosts. When you move a Middleware home, you create an archive of the source Middleware home and use the archive to create the copy of the Middleware home:
./copyBinary.sh -javaHome /u01/jdk -archiveLoc /u01/test.jar -sourceOracleHomeLoc /u01/Oracle/Middleware/fmw_soa
After this copy the jar file to new location and run the following command :-
./pasteBinary.sh -javaHome /u01/jdk -archiveLoc /u01/test.jar -t…

Oracle API Gateway Installation as cluster and single node

I wrote this article because there is no much information about this product to configure it as cluster so i choose to write it step by step to help people around the world in case they need information about this product.

this article is fully details and working on Solaris but the same steps could be follow for Unix/Linux and windows.

The Link here

Cheers
Osama

Oracle Database 18c (18.3) is now available / Oracle XE

Now you can download Oracle Database 18c (18.3) from OTN , Time for testingHereAlso now you can download Oracle Database XE , free for everyone:-Free Oracle Database for Everyone: Up to 12 GB of user dataUp to 2 GB of database RAMUp to 2 CPU threadsUp to 3 Pluggable DatabasesHere

Thank
Osama Mustafa

Change Hostname in Oracle Solaris 11.3

In this post i will share how to change hostname in Solaris 11.3 , i never test this way on other version but regarding to Oracle it will be working without any issue.


as root user, list the current hostname using the below command :-
# svccfg -s system/identity:node listprop config config                                                         application
config/enable_mapping            boolean     true
config/ignore_dhcp_hostname boolean     false
config/loopback                        astring
config/nodename                      astring       solarisdb1

change hostname to new one# svccfg -s system/identity:node setprop config/nodename="solarisdbnew1"
Refresh and restart# svcadm refresh system/identity:node# svcadm restart system/identity:node

 Check the configuration# svccfg -s system/identity:node listprop config

 Thank you

Osama

Integrate Weblogic With Active Directory Using LDAPS

Image
In this post i will show how to integrate weblogic with active directory under LDAPS Port 636 and now using the 389, This is usually will work on different version of weblogic in my case i am using weblogic 12C.

I tried to make this article as simple as it's, since i faced different issue during this and couldn't find any articles or Oracle Support document that related to any of the issue i faced so i am writing this blog to share it and could be useful for people.

Weblogic Server comes with an Embedded LDAP Server which acts as the Default Provider for authentication, authorization and role mapping .Since authentication is based on JAAS ( Java Authentication and Authorization Service), we can have external providers as well one of these external provider is Active directory authentication. 

Important note :- Before start any of these steps you should ask your system administrator to create active directory user the purpose of this use only to read active directory informatio…