linux 11g rac on rhel7 vmware-凯发app官方网站

凯发app官方网站-凯发k8官网下载客户端中心 | | 凯发app官方网站-凯发k8官网下载客户端中心
  • 博客访问: 3503009
  • 博文数量: 718
  • 博客积分: 1860
  • 博客等级: 上尉
  • 技术积分: 7790
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-07 08:51
个人简介

偶尔有空上来看看

文章分类

全部博文(718)

文章存档

2024年(4)

2023年(74)

2022年(134)

2021年(238)

2020年(115)

2019年(11)

2018年(9)

2017年(9)

2016年(17)

2015年(7)

2014年(4)

2013年(1)

2012年(11)

2011年(27)

2010年(35)

2009年(11)

2008年(11)

最近访客
相关博文
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·

分类: oracle

2020-11-17 13:20:09


cd "c:\program files (x86)\vmware\vmware workstation\"
mkdir c:\vm\sharedisk\tk
vmware-vdiskmanager.exe -c -s 1g -a lsilogic -t 2 "c:\vm\sharedisk\tk\grid10.vmdk"
vmware-vdiskmanager.exe -c -s 1g -a lsilogic -t 2 "c:\vm\sharedisk\tk\grid20.vmdk"
vmware-vdiskmanager.exe -c -s 1g -a lsilogic -t 2 "c:\vm\sharedisk\tk\grid30.vmdk"
vmware-vdiskmanager.exe -c -s 3g -a lsilogic -t 2 "c:\vm\sharedisk\tk\data1.vmdk" 
vmware-vdiskmanager.exe -c -s 3g -a lsilogic -t 2 "c:\vm\sharedisk\tk\data2.vmdk" 




#share


scsi1.present = "true"
scsi1.virtualdev = "lsilogic"
scsil.sharedbus = "virtual"
scsi1:0.present = "true"
scsi1:0.mode = "independent-persistent"
scsi1:0.filename = "c:\vm\sharedisk\tk\grid1.vmdk"
scsi1:0.devicetype = "disk"
scsi1:0.redo = ""
scsi1:1.present = "true"
scsi1:1.mode = "independent-persistent"
scsi1:1.filename = "c:\vm\sharedisk\tk\grid2.vmdk"
scsi1:1.devicetype = "disk"
scsi1:1.redo = ""
scsi1:2.present = "true"
scsi1:2.mode = "independent-persistent"
scsi1:2.filename = "c:\vm\sharedisk\tk\grid3.vmdk"
scsi1:2.devicetype = "disk"
scsi1:2.redo = ""
scsi1:3.present = "true"
scsi1:3.mode = "independent-persistent"
scsi1:3.filename = "c:\vm\sharedisk\tk\data1.vmdk"
scsi1:3.devicetype = "disk"
scsi1:3.redo = ""
scsi1.pcislotnumber = "37"
disk.locking = "false"


disklib.datacachemaxsize = "0"
disklib.datacachemaxreadaheadsize = "0"
disklib.datacacheminreadaheadsize = "0"
disklib.datacachepagesize = "4096"
disklib.maxunsyncedwrites = "0"


disk.enableuuid="true"




192.168.204.98       trade1
192.168.204.99       trade2
192.168.204.100      trade1vip
192.168.204.101      trade2vip
192.168.204.102      tradescan


192.168.101.98      trade1priv
192.168.101.99      trade2priv


192.168.204.97trade_gj
172.21.3.97trade_cp
192.168.204.51    gjtradenbu


cat >> /etc/sysctl.conf < kernel.shmmax = 137438953472
kernel.shmall = 33554432
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
kernel.panic_on_oops = 1
kernel.randomize_va_space = 0
fs.file-max = 6815744
fs.aio-max-nr = 4194304
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
net.ipv4.ipfrag_high_thresh = 16777216
net.ipv4.ipfrag_low_thresh = 15728640
net.ipv4.ipfrag_time = 60
vm.min_free_kbytes = 524288
vm.swappiness = 0
# vm.nr_hugepages = 43008
eof


./sshusersetup.sh -user grid -hosts "trade1 trade2" -advanced –nopromptpassphrase
./sshusersetup.sh -user oracle -hosts " trade1 trade2" -advanced -nopromptpassphrase


rm -f /etc/udev/rules.d/99-oracle-asmdevices.rules
for i in   b;
do
echo "kernel==\"sd*\", env{devtype}==\"disk\", subsystem==\"block\", program==\"/usr/lib/udev/scsi_id -g -u -d \$devnode\", result==\"`/usr/lib/udev/scsi_id -g -u /dev/sd$i`\", run =\"/bin/sh -c 'mknod /dev/asmdisk$i b \$major \$minor; chown grid:asmadmin /dev/asmdisk$i; chmod 0660 /dev/asmdisk$i'\"" >> /etc/udev/rules.d/99-oracle-asmdevices.rules
done
cat /etc/udev/rules.d/99-oracle-asmdevices.rules


/sbin/udevadm control --reload-rules
/sbin/udevadm trigger --type=devices --action=change
sleep 2
ll /dev/asm*


while true; do clear; date; ps -ef|grep d.bin;  sleep 2; echo; done




/u01/app/11.2/grid/opatch/opatch auto /tmp/28980134/28813878 -oh /u01/app/11.2/grid  -ocmrf /home/grid/ocm.rsp
/u01/app/oracle/product/11.2/db_1/opatch/opatch auto /tmp/28980134/28813878 -oh /u01/app/oracle/product/11.2/db_1  -ocmrf /home/oracle/ocm.rsp
阅读(846) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
")); function link(t){ var href= $(t).attr('href'); href ="?url=" encodeuricomponent(location.href); $(t).attr('href',href); //setcookie("returnouturl", location.href, 60, "/"); }
网站地图