Upload
nitin-bhawnani
View
215
Download
0
Embed Size (px)
Citation preview
8/13/2019 cool doc
1/6
[root@PJDEDBSVR01 msat]# lvdisplay --- Logical volume --- LV Path /dev/rootvg/homelv LV Name homelv VG Name rootvg LV UUID FZdA4W-JkOg-y04a-Wqtd-W6c0-4khw-F7pEsz LV Write Access read/write LV Creation host, time TJDEAPPSSVR01, 2013-03-08 22:28:52 +0400 LV Status available # open 1 LV Size 2.00 GiB Current LE 256 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:3--- Logical volume ---
LV Path /dev/rootvg/varlv LV Name varlv VG Name rootvg LV UUID Xkdozf-NQ2F-7ccx-8MrB-hc5D-LHax-IeoobU LV Write Access read/write
LV Creation host, time TJDEAPPSSVR01, 2013-03-08 22:28:53 +0400 LV Status available # open 1 LV Size 4.00 GiB Current LE 512 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:4--- Logical volume ---
LV Path /dev/rootvg/rootlv
LV Name rootlv VG Name rootvg LV UUID F0M10e-8C3H-0veB-NhLd-nrzo-Duw5-GirFp8 LV Write Access read/write LV Creation host, time TJDEAPPSSVR01, 2013-03-08 22:28:54 +0400 LV Status available # open 1 LV Size 4.00 GiB Current LE 512 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256
Block device 253:0--- Logical volume ---
LV Path /dev/rootvg/swaplv LV Name swaplv VG Name rootvg LV UUID gZ34ET-Yf3Z-6cx9-3vd8-vuNp-11Pe-OrGQQc LV Write Access read/write LV Creation host, time TJDEAPPSSVR01, 2013-03-08 22:28:56 +0400 LV Status available
8/13/2019 cool doc
2/6
# open 1 LV Size 32.00 GiB Current LE 4096 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:1--- Logical volume ---
LV Path /dev/rootvg/optlv LV Name optlv VG Name rootvg LV UUID yjIiB2-VK9Z-uTLi-rwoU-jj52-6QcH-WAF2kP LV Write Access read/write LV Creation host, time TJDEAPPSSVR01, 2013-03-08 22:28:57 +0400 LV Status available # open 1 LV Size 4.00 GiB Current LE 512 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256
Block device 253:5--- Logical volume ---
LV Path /dev/rootvg/usrlv LV Name usrlv VG Name rootvg LV UUID XRvdOl-gPsa-pk0W-3h3M-EM1H-DvVO-pKmZI0 LV Write Access read/write LV Creation host, time TJDEAPPSSVR01, 2013-03-08 22:28:59 +0400 LV Status available # open 1 LV Size 5.01 GiB Current LE 641
Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:6--- Logical volume ---
LV Path /dev/rootvg/tmplv LV Name tmplv VG Name rootvg LV UUID CLFlaJ-h0Wu-hXp3-aIoG-xx8k-cgFK-0tPJd4 LV Write Access read/write LV Creation host, time TJDEAPPSSVR01, 2013-03-08 22:29:01 +0400
LV Status available # open 1 LV Size 5.01 GiB Current LE 641 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:7
8/13/2019 cool doc
3/6
--- Logical volume --- LV Path /dev/rootvg/temp LV Name temp VG Name rootvg LV UUID wV02Iv-nMNf-FQMj-8GQ1-IT7q-m1W8-Z3jut1 LV Write Access read/write LV Creation host, time TJDEAPPSSVR01, 2013-08-29 12:10:20 +0400 LV Status available # open 1 LV Size 10.00 GiB Current LE 1280 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 253:8
/sbin/chkconfig ntpd on
kernel.shmmni = 4096kernel.sem = 250 32000 100 128fs.file-max = 6553600net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048576
# Controls IP packet forwardingnet.ipv4.ip_forward = 0
# Controls source route verificationnet.ipv4.conf.default.rp_filter = 1
8/13/2019 cool doc
4/6
# Do not accept source routingnet.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernelkernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.# Useful for debugging multi-threaded applications.kernel.core_uses_pid = 1
# Controls the use of TCP syncookiesnet.ipv4.tcp_syncookies = 1
# Disable netfilter on bridges.net.bridge.bridge-nf-call-ip6tables = 0net.bridge.bridge-nf-call-iptables = 0net.bridge.bridge-nf-call-arptables = 0
# Controls the default maxmimum size of a mesage queuekernel.msgmnb = 65536
# Controls the maximum size of a message, in byteskernel.msgmax = 65536
# Controls the maximum shared segment size, in byteskernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pageskernel.shmall = 4294967296
kernel.shmmni = 4096kernel.sem = 250 32000 100 128fs.file-max = 6553600net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304
net.core.wmem_default = 262144net.core.wmem_max = 1048576
===========
grid soft nproc 2047grid hard nproc 16384grid soft nofile 1024grid hard nofile 65536oracle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024
oracle hard nofile 65536
192.168.5.30
if [ $USER = "oracle" ] || [ $USER = "grid" ]; thenif [ $SHELL = "/bin/ksh" ]; then
8/13/2019 cool doc
5/6
ulimit -p 16384ulimit -n 65536elseulimit -u 16384 -n 65536fiumask 022fi
PJDEDBSVR01
PJDEDBSVR01PJDEDBSVR02-Vol1
blacklist { wwid 3600508b1001c9e963d4e433cdacfcf4f
devnode "/dev/sda"devnode /dev/mapper/mpathap1devnode "/dev/sda*"
}
multipaths {multipath {wwid 360002ac0000000000000002400006dfealias VOL1-300GBpath_grouping_policy multibus#path_checker readsector0path_selector "round-robin 0"failback manualrr_weight prioritiesno_path_retry 5
}}
360002ac0000000000000002500006dfe
package elfutils-libelf-devel is not installedpackage gcc-c++ is not installedpackage ksh is not installedpackage libaio-devel is not installedpackage libstdc++-devel is not installed
package unixODBC is not installedpackage unixODBC-devel is not installed
yum install --enablerepo=rhel-source unixODBC-2.2.14-11.el6.i686.rpmunixODBC-2.2.14-11.el6.i686.rpmunixODBC-2.2.14-11.el6.x86_64.rpmunixODBC-devel-2.2.14-11.el6.i686.rpmunixODBC-devel-2.2.14-11.el6.x86_64.rpm
8/13/2019 cool doc
6/6
elfutils-libelf-devel-0.97gcc-c++-3.4.6libaio-devel-0.3.105libaio-devel-0.3.105 (32 bit)libstdc++-3.4.6libstdc++-3.4.6 (32 bit)libstdc++-devel 3.4.6make-3.80pdksh-5.2.14sysstat-5.0.5unixODBC-2.2.11unixODBC-2.2.11 (32 bit)unixODBC-devel-2.2.11unixODBC-devel-2.2.11 (32 bit)
if ( $USER = "oracle" || $USER = "grid" ) thenlimit maxproc 16384limit descriptors 65536endif
mkfs.ext4 /dev/VOL1_VG/u01