linux vmware image with informatica , oracle and rundeck scheduler

22
Ubuntu Linux VMWare image with Informatica & Oracle http://dw-informatica-resources.blogspot.com/2014/10/linux- vmware-image-with-informatica-951.html

Upload: pcherukumalla

Post on 05-Jul-2015

527 views

Category:

Education


6 download

TRANSCRIPT

Ubuntu Linux VMWare image with Informatica & Oracle

http://dw-informatica-resources.blogspot.com/2014/10/linux-

vmware-image-with-informatica-951.html

The Ubuntu VMWare image with Informatica and Oracle

11g XE is solely for Educational, Demo and Evaluation

purposes

• You will get a downloadable link (valid for 1 month) once you paid and send the payment

screenshot to [email protected] and the link contains a INFA_OracleXE_VMWare

directory with the below listed files. You need to download all four files and move them to a

directory called Informatica_OracleXE_Ubuntu64

Extract all the 4 .rar files in Informatica_OracleXE_Ubuntu64 directory. After extraction, the VMWare files

will be seen as below. Preserve the rar files in some other folder for future use if your image corrupts for some reasons.

You now need to download and install VMWare Workstation (not a freeware) or VMWare Player (freeware) as shown below

Click on the VMWare Player icon that exists on your desktop or from All Programs

Click on “Open a Virtual Machine” icon and browse to the below file under Informatica_OracleXE_Ubuntu64 directory and click on Open

Select Informatica_OracleXE_Ubuntu64 and click on “Play virtual machine” to start the VMWare

image. Click on “I copied it” when prompted as it may happen for the first time. And wait till the login window appears

The below is login window to enter into Ubuntu linux desktop. There are three users available with this image.

username: root password: pw4root! (root user with all permissions. You can’t login with root user )

username: infa password: pw4infa! (informatica user to start informatica services)username: oracle password: pw4oracle! (oracle user). Type pw4infa! Under infaorcl to login to machine.

You have logged into the Ubuntu Linux machine successfully and click on cancel when below

error prompted and it doesn’t harm the system. And click on the red marked icon to “enter full screen”

This is the full screen view and you are good to start using the linux machine. Open the terminal window (double click on it) to check oracle XE database is started and to start informatica services

Type ps –ef|grep oracle in terminal and enter to check oracle XE DB is started. You will see a number of processes running with oracle which indicate Oracle XE db is started successfully. Oracle DB will be started automatically when VMWare machine is started/rebooted

Linux hostname is infaorcl. Run ifconfig command in terminal to get the ip address of linux. open hosts file in windows

and add ip address and hotstname at the end of file and save the file. Ip address may change with vmware reboot so

please confirm the windows hosts file ip address is matching with linux ip address. To access and work with the DB in windows and to access informatica reposity with client tools in windows, this check needs to be performed.

The below details indicate Oracle Home directory and TNSNAMES files paths.

Copy the tnsnames of XE DB from linux as shown below and paste it in windows tnsnames file or paste in the

TNSNames editor of Toad tool and save it to access the linux XE db in windows and to work with DB tables and queries

The below screenshots show infa & oracle users home paths, changing to directories and, listing directories and files and sqldeveloper tool path and its files

Start Informatca services with the below steps as shown in screenshot.

- cd /home/infa/Desktop/startupScripts

- ./start_infaservices.sh and click enter after seeing the services started message

- wait for 3-4 minutes to start the services completely.

- run ps –ef|grep INFAHOME to check the below services are running which means Informatica services including

Repository service and Integration service are started successfully

As you have added the linux machine ip address and hostname to windows hosts file, you should be able to access

informatica administrator from any browser in the windows. You can also login to Administrator from linux using firefox

browser. You can see both Repository and Integration services are running. - Informatica Administrator - Username: Administrator and Password: Administrator

Open PowerCenter Repository Manager client tool and perform below steps to configure domains

- click on Repository Configure Do Domains click on the blue marked icon under Configure Domains

- enter Domain_infaorcl for Domain field, infaorcl for Gateway Host field, 6005 for Gateway Port field and click OK click on OK

- check in the REPO_ETL box and click OK and you have successfully configured the domain and added REPO_ETL repository

Right click on REPO_ETL repository click on Connect Username: Administrator, Password: Administrator click on Connect.

You have successfully connected the repository.

Click on Folder tab click on Create Name the folder click on OK open Designer from Repository Manager by clicking on

D or Open designer client tool and connect to the repository by entering the username and password and then right click on the folder and select open. You are now good to start creating informatica objects and execute them in linux machine.

Sqldeveloper tool can be used in linux to access DB incase of client tools like Toad isn’t

available in windows machine. Run su - (su hyphen) and enter pw4root! to change the user

from infa to root and run cd /opt/sqldeveloper run ll *.sh run ./sqldeveloper.sh &

- you have opened sqldeveloper tool from linux successfully.

You can add the schemas to SQL Developer tool to work with DB tables and data in the linux machine itself

as shown in the screenshot. There are 5 important schemas, you may want to work with. Scott schema isn’t

available with Oracle XE DB.

Schemas: 1. sys 2. system 3. INFA_ADMIN 4. INFA_USER and 5. HRand all 5 schemas the password – Password_123

- 1st screenshot shows the power options

- don’t select “Delete from Disk” option unless you want to remove the VMWare image.- 3rd screenshot shows how to open multiple terminal windows simultaneously

Thank You