INSTALLATION DOCUMENTS BY RAVI

Saturday, November 11, 2017

Step by step Apache Hadoop cluster configuration

 Prerequisites:
1.  Create number of nodes we want for clustering
2. Set ip and hostname on each node properly
3. Setup ssh connectivity between all the nodes and test it

COMMON CONFIGURATION FOR ALL NODES

UPDATE CORE-SITE.XML FILE (In all nodes):









































UPDATE HDFS-SITE.XML
On Master node:

























On slave nodes:
























UPDATE YARN-SITE.XML (all nodes):
















































UPDATE MAPRED-SITE.XML (on all nodes):














































Add or modify masters and slaves files on Name node only as below:















































FORMAT THE NAME NODE IN MASTER NODE ONLY:
Note: Do not format a running cluster because this will erase all existing data in the HDFS file system





















START THE CLUSTER:



















Now to check whether all daemons are running or not, type the following command: (In Master node)







Now to check whether all daemons are running or not, type the following command: (In Slave node)







REVIEW IN CONSOLE

If all the daemons started successfully in all nodes then you can see the nodes in the listed in the console.
You can type the following command in terminal and verify that:

Command > hadoop dfsadmin -report


























You can type the following url and verify that:










































Thursday, November 2, 2017

Steps for copying files between remote windows systems from command prompt using xcopy

1. We can copy the files between two windows systems using xcopy

2. Share a folder on target machine where we want to copy the files



















Right click on the folder
Select share with and then click on Specific people


















Add Everyone and set permission level to Read/Write
Click on Share


















Click on Done



















3. Source system folder





















4. On the source system open the command prompt as an administrator and run the below command to copy files between source and target

xcopy source_folder_path  \\target_hostname\target_folder_path  /E

























Here we got "Invalid drive specification" error
Note: To work with xcopy we need to map the network shared path at least ones or we need the access the shared folder ones from the source system
click windows + r button
In the resulting window typed the network shared path and click ok














Enter the username and password and click ok















Click ok





















Close it and again try to copy the files using xcopy

























Now open the target folder on remote system and check for the files




















Wednesday, November 1, 2017

How to get EBS (Oracle E-Business Suite) version, patch set and modules

1. SQL query to get the EBS version

Login to EBS database and run the below query to get EBS version

SELECT RELEASE_NAME FROM FND_PRODUCT_GROUPS;
















2. SQL query to get the EBS patch set number

SELECT PATCH_LEVEL FROM FND_PRODUCT_INSTALLATIONS WHERE PATCH_LEVEL LIKE '%AD%' ;















3. SQL query to get the EBS modules

SELECT APPLICATION_ID, APPLICATION_SHORT_NAME, APPLICATION_NAME FROM FND_APPLICATION_V1;
















Tuesday, October 31, 2017

Copying files between widows to linux from command prompt using ftp

Open the command prompt as an administrator on windows machine
Try to connect to linux machine using ftp and try to copy a file













Here we are getting the message as "Not connected"

To resolve this we need to modify "vsftpd.conf" on linux machine as below:





uncomment the following line below and save the file
local_enable=YES
write_enable=YES
anon_upload_enable=YES
















Now restart the ftp server as below:






Now again try to connect from windows machine






Here we tried to connect as root user but it got failed.
By default ftp server was not open to linux as root user so try with normal user.






Copy a file from windows to linux using "put" command in ftp prompt





Now check for the file in linux machine





Basic ftp commands:

1. ls
List the contents of remote directory










2. cd
Change the remote working directory









3. dir
List contents of remote directory









4. get
To receive file from the linux machine to windows machine





Check for the file on windows machine













5. lcd
Change the local working directory on windows machine


















6. mget
Getting multiple files from linux machine










Checking files on windows machine













7. mput
Sending multiple files to linux machine












Checking files on linux machine







8. rename
Renaming a file name




Checking for the renamed file






9. bye
Terminating the ftp session




10. close
Terminating the ftp connection







11. help
Displays the local help information










  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...