iis服务器助手广告广告
返回顶部
首页 > 资讯 > 数据库 >oracle12.2RAC 配置
  • 363
分享到

oracle12.2RAC 配置

2024-04-02 19:04:59 363人浏览 独家记忆
摘要

yum install -y binutils-yum install -y compat-libcap1yum install -y compat-libstdcyum install -y elfuti

yum install -y binutils-
yum install -y compat-libcap1
yum install -y compat-libstdc

yum install -y elfutils-libelf
yum install -y elfutils-libelf-devel-

yum install -y glibc
yum install -y glibc-common

yum install -y glibc-devel
yum install -y glibc-headers

yum install -y ksh-2
yum install -y libaio

yum install -y libaio-devel
yum install -y libGCc

yum install -y libstdc++
yum install -y libstdc++-devel

yum install -y make
yum install -y sysstat

yum install -y unixODBC
yum install -y unixODBC-devel

#cp /etc/sysctl.conf /etc/sysctl.conf.bak
cat >> /etc/sysctl.conf << EOF
###############
vm.swappiness = 1
vm.dirty_background_ratio = 3
vm.dirty_ratio = 80
vm.dirty_expire_centisecs = 500
vm.dirty_writeback_centisecs = 100
kernel.shmmax = 4398046511104
kernel.shmall = 1073741824
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
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
fs.aio-max-nr = 1048576
kernel.panic_on_oops = 1
fs.file-max = 6815744
EOF

groupadd --gid 1000 oinstall
groupadd --gid 1001 dba
groupadd --gid 1002 asmdba
groupadd --gid 1003 asmoper
groupadd --gid 1004 asmadmin
groupadd --gid 1005 oper
groupadd --gid 1006 backupdba
groupadd --gid 1007 dgdba
groupadd --gid 1008 kmdba
useradd --uid 1000 --gid oinstall --groups dba,oper,asmdba,asmoper,backupdba,dgdba,kmdba oracle
passwd oracle
useradd --uid 1001 --gid oinstall --groups dba,asmadmin,asmdba,asmoper grid
passwd grid

mkdir -p /u01/app/
chmod -R 775 /u01/app/
mkdir -p /u01/app/oraInventory
chown -R grid:oinstall /u01/app/oraInventory
chmod -R 775 /u01/app/oraInventory
mkdir -p /u01/app/grid
mkdir /u01/app/12.2.0/grid/product/grid -p
mkdir -p /u01/app/oracle
mkdir -p /u01/app/oracle/cfgtoollogs
chown -R grid:oinstall /u01/app/12.2.0
chown -R grid:oinstall /u01/app/grid
chown -R oracle:oinstall /u01/app/oracle/
chmod -R 775 /u01/app/oracle/
chmod -R 775 /u01/app/grid

touch /etc/security/limits.d/99-grid-oracle-limits.conf
cat >> /etc/security/limits.d/99-grid-oracle-limits.conf << EOF
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
oracle hard stack 32768
grid soft nproc 16384
grid hard nproc 16384
grid soft nofile 1024
grid hard nofile 65536
grid soft stack 10240
grid hard stack 32768
EOF

cd /etc/profile.d/
touch oracle-grid.sh

cat >> oracle-grid.sh << EOF
#Setting the appropriate ulimits for oracle and grid user
if [ $USER = "oracle" ]; then
if [ $shell = "/bin/ksh" ]; then
ulimit -u 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
EOF

grid:

export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/app/12.2.0/grid/product/grid
export PATH=$PATH:/u01/app/12.2.0/grid/product/grid/bin
export ORACLE_SID=+ASM1

oracle:
export PATH
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/12.2.0/dbhome_1
export PATH=$PATH:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export ORACLE_SID=prod

您可能感兴趣的文档:

--结束END--

本文标题: oracle12.2RAC 配置

本文链接: https://www.lsjlt.com/news/41622.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • 【配置】JDK8的安装与配置
    文章目录 JDK8的安装与配置1、选择哪个版本的JDK?2、官网下载2.1 找到导航栏里的Resources下的 Java Downloads2.2 寻找存档版本 Java archive2....
    99+
    2023-09-09
    java 开发语言
  • Python配置与OpenCV进行配置
    最近学习机器学习手写数字识别的过程中需要安装Python与OpenCV,并在Pycharm上运行,在安装配置过程中遇到了很多问题,为此将解决办法记录下来。 一、首先需要安装Python:https://www.python.org...
    99+
    2023-01-31
    Python OpenCV
  • SpringBoot配置 Druid 三种方式(包括纯配置文件配置)
    记录一下在项目中用纯 YML(application.yml 或者 application.properties)文件、Java 代码配置 Bean 和注解三种方式配置 Alibab...
    99+
    2024-04-02
  • Maven安装与配置,Idea配置Maven
    文章目录 一、安装本地Maven二、安装三、配置环境变量四、配置settings文件五、idea配置 一、安装本地Maven 选择你需要的maven版本下载:官网下载传送门 我使用的是3.6.1版本:maven-3.6.1-bi...
    99+
    2023-08-16
    intellij-idea maven java
  • yml配置文件中map的配置
      @Configuration@ConfigurationProperties(prefix = "stable")@Getter@Setter@ToStringpublic class StableCoinConfig { pr...
    99+
    2023-09-03
    java spring mysql
  • cisco 交换机设置及Vlan配置配置(2)
    一、实验目的 1.掌握局域网的划分; 2.掌握 Cisco Packet Tracer 网络设备模拟器的使用; 3.掌握 Cisco2950 交换机的基本命令。。 二、实验场景 实际拓扑图: 三、实验...
    99+
    2023-10-23
    网络 服务器 java
  • dbcp基本配置和重连配置
    转自:http://agapple.iteye.com/blog/772507 最近在看一些dbcp的相关内容,顺便做一下记录,免得自己给忘记了。 ...
    99+
    2024-04-02
  • DolphinScheDuler配置
    一、配置前置准备工作 JDK:下载JDK (1.8+),安装并配置 二进制包:在下载页面下载 DolphinScheduler 二进制包 数据库:PostgreSQL (8.2.15+) 或者 MyS...
    99+
    2023-09-20
    linux 服务器 运维
  • 配置node_exporter
    在Prometheus的架构设计中,PrometheusServer并不直接服务监控特定的目标,其主要任务负责数据的收集,存储并且对外提供数据查询支持。因此为了能够能够监控到某些东西,如主机的CPU使用率,我们需要使用到Exporter。P...
    99+
    2023-09-13
    linux 运维 centos Powered by 金山文档
  • django_mysql_配置
    配置 1. 安装Pymysql pip install PyMySQL   然后在项目同名_init__添加 from pymysql import install_as_MySQLdb install_as_MySQLdb() 如下 ...
    99+
    2023-01-31
  • H3C 配置
    H3C 2126进入系统视图   system-view 配置Web网管用户  localuser user_name password 1 进入VTY界面视图  user-interface vty 0 设置Telnet用户登录密码  s...
    99+
    2023-01-31
    H3C
  • mysql_rhcs配置
    mysql==cluster <xml version="1.0"> <cluster config_version="43" name="web-cluster1">  ...
    99+
    2024-04-02
  • H3c配置
    转自:http://www.cnblogs.com/jhtchina/articles/2169775.html华为3COM交换机配置命令详解1、配置文件相关命令[Quidway]display current-configuration ...
    99+
    2023-01-31
    H3c
  • 3W配置
    所需软件:httpd-2.2.3-11.el5_1.3Apache主配置文件vim /etc/httpd/conf/httpd.conf`57   ServerRoot "/etc/httpd"   设置Apache的根目录,通常使用绝对路...
    99+
    2023-01-31
  • Spring:xml 配置
    Bean 配置 xml 配置 反射模式 工厂方法模式 Factory Bean 模式 配置 在 Spring 中,配置 bean 实例一...
    99+
    2023-08-16
    Spring Bean xml 配置
  • PHP.ini配置
    位置 /etc/php5/apache2/php.ini 修改后重启sudo /etc/init.d/apache2 restart ; 这个文件控制了PHP许多方面的性能和行为。 为了让PHP正确读取这个文件, ; 它必须被命名为'ph...
    99+
    2023-08-31
    经验分享
  • innodb_flush_log_at_trx_commit配置
    配置项说明文档写的很清楚:0如果innodb_flush_log_at_trx_commit的值为0,log buffer每秒就会被刷写日志文件到磁盘,提交事务的时候不做任何操作。1当设为默认值1的时候,每...
    99+
    2024-04-02
  • mongodb配置
    安装说明系统环境:Centos-6.3安装软件:mongodb-linux-x86_64-2.2.2.tgz下载地址:http://www.mongodb.org/downloads安装机器:192.168...
    99+
    2024-04-02
  • windows7的最低配置和推荐配置
    下面是win7的最低配置和推荐电脑。 ...
    99+
    2023-06-03
    win7 配置要求 配置 推荐 windows7
  • IIS中如何安装配置PHP5.3配置
    小编给大家分享一下IIS中如何安装配置PHP5.3配置,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!IIS安装配置PHP5.3配置的方法:首先在IIS中启用CGI...
    99+
    2023-06-20
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作