Category Archives: Linux commands for DBA

How to set IP in Linux Machine

Add the following Lines to ifcfg-eth0 file as below. [root@db ~]#vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=”eth0″ HWADDR=”08:00:27:67:E4:56″ NM_CONTROLLED=”yes” ONBOOT=”Yes” IPADDR=172.17.174.231 NETWORK=172.17.174.0 NETMASK=255.255.255.0 GETWAY=172.17.174.1 [root@db ~]# update the host file as well [root@db ~]# vi /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain … Continue reading

Posted in Linux commands for DBA | Leave a comment

This kernel requires the following features not present: pae

  Today I was ┬áinstalling ┬áRHEL6.2 i386 as a virtual machine. As soon I started up I faced an error message like: This kernel requires the following features not present: pae Unable to boot – please use a kernel appropriate … Continue reading

Posted in Linux commands for DBA | Leave a comment

Add disk or mount point to Oracle RAC servers

How to add disk to Oracle RAC servers as OCFS2 500GB Disk partition has added from SAN to all four nodes for Database Logical Backup. How to Detect a New Hard Disk without Rebooting Linux Servers This command is very … Continue reading

Posted in Linux commands for DBA, Ocfs2, Oracle RAC | Tagged | Leave a comment

Tar a file or copy them with the same permission in linux

Tar a file with the same permission cd /u01 #tar cvpzf /mnt/backup/u01-app_orac1.tar.gz app Copy the zip file to another server and unizp it like cd /mnt/backup/ #tar xpvzf u01-app_orac1.tar.gz To copy folder including sub folder and files with the same … Continue reading

Posted in Linux commands for DBA | Leave a comment

Raid Level recomendation for Oracle Database

RAID Type of RAID Control Database Redo Log Archive Log File File File File 0 Striping Avoid* OK* Avoid* Avoid* 1 Shadowing OK OK Recommended Recommended 0+1 Striping + OK Recommended OK Avoid Shadowing 3 Striping with OK Avoid Avoid … Continue reading

Posted in Database administration, Linux commands for DBA | Leave a comment

Create Local Repository for Linux rpm

How To Make Local Repository for Linux We are facing problem while installing rpm to Linux server, it is keep asking there are dependent rpm may be 1 or more then that. To resolve it, we can create local repository … Continue reading

Posted in Linux commands for DBA | Leave a comment

How Do I Link Linux Files

  Create Folder Link: [oracle@DR-SERVER test]$ln -s /database/arch /home/oracle/test The above command will create link folder arch inside /home/oracle/test. [oracle@DR-SERVER test]$ ls -rlt total 0 lrwxrwxrwx 1 oracle oinstall 14 Oct 29 14:25 arch -> /database/arch [oracle@DR-SERVER test]$ pwd /home/oracle/test … Continue reading

Posted in Linux commands for DBA | 7 Comments