copy Basic Copy [root@test ~]# cp -R /olddirectory/ /newdirectory/ -R parameter mean that copy all subfiles and subdirectories Copy directories and files with permissions [root@test ~]# cp -R -pf /olddirectory/ /newdirectory/ blkid blkid have been using for show uuid of disk partitions. You can use uuid to add in /etc/fstab file. fstab For show all…
Tag: System Administration
Oracle and Grid User bash_profile Example on Linux
bash_profile for Oracle user # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs if [ $USER = “oracle” ]; then if [ $SHELL = “/bin/ksh” ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi…
Create Oracle Asm Disks on Oracle Linux
I will create three asm disks for GRID, FRA and DATA on Oracle Linux 6.3 on VMware. Asm disks will be GRID sdc, DATA sdd, FRA sde. Partition the Disks List Disks [root@test01 dev]# ls sd* sda sda1 sda2 sdb sdb1 sdc sdd sde For 1. Disk [root@test01 dev]# fdisk /dev/sdc Device contains neither a…
SSH Connectivity Configuration For Cluster Nodes on Oracle Linux
SSH connectivity configuration provides connection among nodes without using password. If you configure ssh, nodes can connect with ssh without password. SSH configuration parameters are in path which is /home/username/.ssh/ . You have to make SSH configuration in connection user’s home directory. For example if you use oracle user for ssh connection, you have to…
Ethernet Bonding on Oracle Linux 6
Bonding technology provides an additional benefit in that with multiple network interfaces effectively supporting the same communications channel, a fault within a single network interface in a bonded group does not stop communication. For example, you have a bonded setup with four network interfaces providing a single interface channel between two DRBD servers. If one…
Delete Folders And Files Older Than Specific Day on Windows
If you want to delete folder older than specific day, you can use below command. You can add to windows schedule job for schedule run. Delete Command For Folders forfiles /p C:\temp\ /c “cmd /c if @isdir==TRUE RMDIR /S /Q @path” /d -30 Delete Command For Files forfiles -p “C:\temp” -s -m *.* /D -30…
RAID (Redundant Array of Independent Disks)
RAID (redundant array of independent disks; originally redundant array of inexpensive disks) is a way of storing the same data in different places (thus, redundantly) on multiple hard disks. By placing data on multiple disks, I/O operations can overlap in a balanced way, improving performance. Since multiple disks increases the mean time between failures, storing…
Start and Stop Instance in Oracle Rac System
You can demand stop one instance in Oracle Rac System. This stop process have to perform step by step. Firstly, stop instance after asm and finally stop applications. The first step is to stop the Oracle instance. When the instance (and related services) is down, then bring down the ASM instance. Finally, shut down the…
Delete File or Directory from Linux System
rm and rmdir commands uses to delete from linux system. rm command use for delete file. On the other hand, rmdir command uses for delete directory from linux system. Also, rm command can delete directory with -rf option. Firstly, we would create a directory and files for test. create directory and files #> mkdir /testdirectory…