Translate this Page

 

When we used redundant SAN Switch to present the same LUN, Linux will recognize 1 LUN become 2. In the example we can see the size of /dev/sdb as same as /dev/sde (8069.5 GB) and /dev/sdc as same as /dev/sdd (5763.9 GB), actually we only created 2 LUN in the storage:

# fdisk -l

Disk /dev/sdb: 8069.5 GB, 8069496176640 bytes
255 heads, 63 sectors/track, 981060 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 5763.9 GB, 5763927244800 bytes
255 heads, 63 sectors/track, 700757 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 8069.5 GB, 8069496176640 bytes
255 heads, 63 sectors/track, 981060 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/sde: 5763.9 GB, 5763927244800 bytes
255 heads, 63 sectors/track, 700757 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000 

To unity the different path, we can used “multipath”‘

Continue reading »

 

If we want to give root’s privilege to other users on LINUX:

1. edit /etc/sudoers

In this scenario, user opr1 will have privilege to manage cups.  Edit the file, put the parameter :

opr1    ALL=/etc/init.d/cups

2.  From the user that get the privilege, they have to add command  `sudo`

 $ sudo /etc/init.d/cups restart
 

In This Challenge, We have a Linux 32bit Server (RHEL 4) with 8GB Memory. But we can’t configure the database memory (SGA+PGA) more than 4GB.  To solve this problem then we could configure Very Large Memory (VLM) and Big SGA for Oracle RDBMS with ramfs and Hugepages.

Complete the following procedure to configure VLM on the computer:

1. Log in as a root user:

2. Edit the /etc/rc.local file and add the following entries to it to configure the computer to mount ramfs over the /dev/shm directory, whenever you start the computer: Continue reading »

 

In this article, I will share how to migration Oracle 10g DB From Linux 32bit to Linux 64bit. since both Linux 32bit and Linux 64bit have same Endian format, then at this time we only change the word size.
In the source environment :
- OS : Redhat AS 4.5 32bit
- DB : Oracle Database SE 10.2.0.2.0

In the destination environment :
- OS : Redhat AP 5.3 64bit
- DB : Oracle Database SE 10.2.0.4.0 Continue reading »

 

To get to single user mode, if you’re using LILO, type:
Code:

        linux single

at the boot prompt and hit ENTER.

If you’re using GRUB, hit ENTER at the countdown screen (booting kernel-whatever in 10 seconds…), select your kernel from the menu (the line that starts with “kernel”) and hit e. At the end of the line, add:
Code:

     single Continue reading »

 

[root@Linux ~]# mount /dev/sdd /backup
[root@Linux ~]# vi /etc/fstab
[root@Linux ~]# umount /dev/sdd /backup
umount: /dev/sdd: not mounted
umount: /dev/sdd: not mounted
[root@Linux ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
6.8G 3.3G 3.2G 51% /
/dev/sda1 99M 13M 81M 14% /boot
none 1.9G 0 1.9G 0% /dev/shm
/dev/sdb1 20G 5.6G 14G 30% /Oracle
/dev/sdc1 49G 20G 27G 43% /Oradata
[root@Linux ~]# fdisk /dev/sdd Continue reading »

© 2012 LevICORP's webnote Suffusion theme by Sayontan Sinha