该方案适用于没有过多预算,装不了rac还想用asm特性的公司文章来源:https://www.toymoban.com/news/detail-611334.html
1.创建用户,组,路径
groupadd -g 11001 oinstall
groupadd -g 11002 dba
groupadd -g 11003 oper
groupadd -g 11004 backupdba
groupadd -g 11005 dgdba
groupadd -g 11006 kmdba
groupadd -g 11007 asmdba
groupadd -g 11008 asmoper
groupadd -g 11009 asmadmin
groupadd -g 11010 racdba
useradd -u 11011 -g oinstall -G dba,asmdba,backupdba,dgdba,kmdba,racdba,oper oracle
useradd -u 11012 -g oinstall -G asmadmin,asmdba,asmoper,dba grid
mkdir -p /u01/app/19.0.0/grid
mkdir -p /u01/app/grid
mkdir -p /u01/app/oracle
mkdir -p /u01/app/oracle/product/19.0.0/db_1
chown -R grid:oinstall /u01/app/grid
chown -R grid:oinstall /u01/app/19.0.0/grid
chown -R oracle:oinstall /u01/app/oracle
chmod -R 775 /u01/
echo "oracle" | passwd --stdin oracle
echo "grid" | passwd --stdin grid
2.安装依赖
yum -y install bc gcc gcc-c++ binutils make gdb cmake glibc ksh elfutils-libelf elfutils-lib
elf-devel fontconfig-devel glibc-devel libaio libaio-devel libXrender libXrender-devel libX11 libXau sysstat libXi libXtst libgcc librdmacm-devel libstdc++ libstdc++-devel libxcb net-tools nfs-utils compat-libcap1 compat-libstdc++ smartmontools targetcli python python-configshell python-rtslib python-six unixODBC unixODBC-devel
3.内核参数调整
详见官当文章来源地址https://www.toymoban.com/news/detail-611334.html
4.预装包
yum install -y oracle-database-preinstall-19c
5.配置裸盘,安装grid
1.裸盘配置和rac磁盘组配置类似
2.grid装完之后 ,root运行以下脚本(详见官当)
/u01/app/19.0.0/grid/crs/install/roothas.sh
/u01/app/19.0.0/grid/crs/install/roothas.sh -unlock
/u01/app/19.0.0/grid/crs/install/roothas.sh -lock
/u01/app/19.0.0/grid/crs/install/roothas.sh -unlock
/u01/app/19.0.0/grid/rdbms/install/rootadd_rdbms.sh
/u01/app/19.0.0/grid/crs/install/roothas.sh -lock
3.asmca创建磁盘组
4.grid用户下添加监听
srvctl add listener
5.安装db
6.asm备库创建密码文件
orapwd file=+B dbuniquename=orcl password=oracle format=12 force=y
到了这里,关于19c_asm单实例安装的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!