Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ CentOS 6.6 x64 Oracle Database 11gR2 RAC automated installation scripts     - RedHat Linux 7 build yum source server (Server)

- To protect the temporary files for Linux security (Linux)

- To solve the Mac in question invalid BASH under configuration environment variable (Linux)

- Java memory area and memory overflow exception (Programming)

- Android Fragment really fully resolve (Programming)

- How to install Ubuntu applications Device 7 (Linux)

- Configuration based on open source Lucene Java development environment (Server)

- In-depth understanding of capture Node.js garbage collection and memory leaks (Programming)

- Terminal fun: 6 interesting Linux command-line tools (Linux)

- fcntl file locking function add (Programming)

- Oracle Enterprise Linux 64-bit install apache-tomcat-7.0.53 step (Server)

- Linux Log Clear (Linux)

- Linux using TCP-Wrapper Service Management (Linux)

- Actual custom yum repository ---- gem commands commonly used parameters (Linux)

- Remote installation of Net-SNMP whole process (Linux)

- Bootstrap 3.3.5 release download, Web front-end UI framework (Linux)

- Try to use Lets Encrypt (Linux)

- How common Linux automation tasks (Server)

- Binary tree traversal algorithm summary (recursive and non-recursive) (Programming)

- Generic mechanism C11 standard (Programming)

 
         
  CentOS 6.6 x64 Oracle Database 11gR2 RAC automated installation scripts
     
  Add Date : 2017-04-13      
         
       
         
  Os: CentOS 6.6
hostname: rac11g03, rac11g04
IP: rac11g03 192.108.56.103 192.108.96.103 192.108.26.103
    rac11g04 192.108.56.104 192.108.96.104 192.108.26.104
Oracle: 11.2.0.4
storage: openfiler 192.108.26.100:3260

Explanation:
1.centos 6.6 has done a basic installation, ip and host name has been set.
2.oracle installation files p13390677_112040_Linux-x86-64_1of7.zip, p13390677_112040_Linux-x86-64_2of7.zip, p13390677_112040_Linux-x86-64_3of7.zip rac11g03 placed under the / root, pdksh-5.2.14-30.x86_64.rpm bag on rac11g03 the / root down.
3. passwords are used selectshen, you can modify according to their needs
4. The three segments, 192.108.56.0: public, 192.108.96.0: private, 192.108.26.0: storage
5. The following script can make some adjustments in the robustness and versatility to be used in the development of rapid deployment RAC test environment.

Implementation:
#################################step one############### ##################
################### Rac11g04_init.sh, the following contents into a file, you can execute in rac11g04 under sh:
#! / Bin / bash
## Here is used to load the CD-ROM after install the missing package, it can be changed to a network mode.
mkdir / media / cdrom
mount / dev / cdrom / media / cdrom
mv /etc/yum.repos.d/*.repo / root /

cat> /etc/yum.repos.d/CentOS-Media.repo < < EOF
[C6-media]
name = CentOS- $ releasever - Media
baseurl = file: /// media / cdrom /
gpgcheck = 1
enabled = 1
gpgkey = file: /// etc / pki / rpm-gpg / RPM-GPG-KEY-CentOS-6
EOF

yum clean all
yum makecache

# Adjust hosts file
cat >> / etc / hosts < < EOF
192.108.56.103 rac11g03
192.108.56.104 rac11g04
192.108.56.203 rac11g03-vip
192.108.56.204 rac11g04-vip
192.108.56.205 rac11g-scan
192.108.96.103 rac11g03-priv
192.108.96.104 rac11g04-priv
EOF

# Turn off the firewall, selinux
chkconfig iptables off
service iptables stop
setenforce 0
sed -i 's / SELINUX = enforcing / SELINUX = disabled /' / etc / selinux / config

# Network parameter adjustment
cat >> /etc/sysctl.conf < < EOF
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.aio-max-nr = 1048576
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 1048576
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
EOF

sysctl -p

# Resource limit parameter adjustment
cat >> /etc/security/limits.conf < < EOF
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
grid soft nproc 2047
grid hard nproc 16384
grid soft nofile 1024
grid hard nofile 65536
EOF

# Landed parameter adjustment
cat >> /etc/pam.d/login < < EOF
session required /lib64/security/pam_limits.so
EOF

# Install the missing package
yum -y install gcc gcc-c ++ make binutils compat-libstdc ++ - 33 elfutils-libelf elfutils-libelf-devel glibc glibc-common glibc-devel libaio libaio-devel libgcc libstdc ++ libstdc ++ - devel unixODBC unixODBC-devel

yum -y install expect

ln -s /lib64/libcap.so.2.16 /lib64/libcap.so.1

# Clear NTP service
service ntpd stop
chkconfig ntpd off
mv /etc/ntp.conf /etc/ntp.conf.bak
mv /var/run/ntpd.pid /var/run/ntpd.pid.bak

## Create the configuration grid, oracle user
groupadd -g 1000 oinstall
groupadd -g 1100 asmadmin
groupadd -g 1200 dba
groupadd -g 1300 asmdba
useradd -u 1100 -d / home / oracle -g oinstall -G dba, asmdba oracle
useradd -u 1101 -d / home / grid -g oinstall -G asmadmin, asmdba grid
echo "selectshen" | passwd --stdin oracle
echo "selectshen" | passwd --stdin grid

cat >> /home/grid/.bash_profile < < EOF
export TMP = / tmp
export TMPDIR = $ TMP
export ORACLE_BASE = / u01 / app / grid
export ORACLE_HOME = / u01 / app / 11.2.0 / grid
export GRID_HOME = / u01 / app / 11.2.0 / grid
export ORACLE_SID = + ASM1
export ORACLE_TERM = xterm
export PATH = / usr / sbin: \ $ PATH
export PATH = \ $ ORACLE_HOME / bin: \ $ PATH
export LD_LIBRARY_PATH = \ $ ORACLE_HOME / bin: / bin: / usr / bin: / usr / local / bin: / usr / X11R6 / bin /
export CLASSPATH = \ $ ORACLE_HOME / JRE: \ $ ORACLE_HOME / jlib: \ $ ORACLE_HOME / rdbms / jlib
ulimit -u 16384 -n 65536
umask 022
EOF

. /home/grid/.bash_profile


cat >> /home/oracle/.bash_profile < < EOF
export TMP = / tmp
export TMPDIR = $ TMP
export ORACLE_BASE = / u01 / app / oracle
export ORACLE_HOME = \ $ ORACLE_BASE / product / 11.2.0 / db_1
export ORACLE_SID = rac11g
export ORACLE_TERM = xterm
export PATH = / usr / sbin: \ $ PATH
export PATH = \ $ ORACLE_HOME / bin: \ $ PATH
export LD_LIBRARY_PATH = \ $ ORACLE_HOME / bin: / bin: / usr / bin: / usr / local / bin: / usr / X11R6 / bin /
export CLASSPATH = \ $ ORACLE_HOME / JRE: \ $ ORACLE_HOME / jlib: \ $ ORACLE_HOME / rdbms / jlib
ulimit -u 16384 -n 65536
umask 022
EOF

. /home/oracle/.bash_profile


# Create an installation directory
mkdir -p /u01/app/11.2.0/grid
chown -R grid.oinstall / u01
mkdir -p /u01/app/oracle/product/11.2.0/db_1
chown -R oracle.oinstall / u01 / app / oracle
chmod -R 775 / u01

# Configure connection openfiler iscsi storage, where you want to set the actual situation, there is a disk 40G, 20G is divided into two zones
yum -y install iscsi-initiator-utils
iscsiadm -m discovery -t sendtargets -p 192.108.26.100:3260
service iscsi restart

fdisk / dev / sdb < < EOF
n
p
1

+ 20G
n
p
2


w
EOF

cat >> /etc/udev/rules.d/60-raw.rules < < EOF
ACTION == "add", KERNEL == "/ dev / sdb1", RUN + = "/ bin / raw / dev / raw / raw1% N"
ACTION == "add", ENV {MAJOR} == "8", ENV {MINOR} == "17", RUN + = "/ bin / raw / dev / raw / raw1% M% m"
ACTION == "add", KERNEL == "/ dev / sdb2", RUN + = "/ bin / raw / dev / raw / raw2% N"
ACTION == "add", ENV {MAJOR} == "8", ENV {MINOR} == "18", RUN + = "/ bin / raw / dev / raw / raw2% M% m"
KERNEL == "raw [1-2]", OWNER = "grid", GROUP = "oinstall", MODE = "660"
EOF

start_udev
ls / dev / raw / -l


# Configure ssh, used here expect to automatically respond to input
mkdir ~ / .ssh
chmod 700 ~ / .ssh
cat> /root/tempexpect.sh < < EOF
set timeout -1
spawn ssh-keygen -t rsa
expect "(/root/.ssh/id_rsa):"
send "\ r"
expect "(empty for no passphrase):"
send "\ r"
expect "again:"
send "\ r"
interact
spawn ssh-keygen -t dsa
expect "(/root/.ssh/id_dsa):"
send "\ r"
expect "(empty for no passphrase):"
send "\ r"
expect "again:"
send "\ r"
interact
EOF

expect /root/tempexpect.sh
cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
cat /root/.ssh/id_dsa.pub >> /root/.ssh/authorized_keys

Step Two ############### ################################# ##################
#################### Rac11g03_init.sh, the following contents into a file, you can execute in rac11g03 under sh:
#! / Bin / bash
## Here is used to load the CD-ROM after install the missing package, it can be changed to a network mode.
mkdir / media / cdrom
mount / dev / cdrom / media / cdrom
mv /etc/yum.repos.d/*.repo / root /

cat> /etc/yum.repos.d/CentOS-Media.repo < < EOF
[C6-media]
name = CentOS- $ releasever - Media
baseurl = file: /// media / cdrom /
gpgcheck = 1
enabled = 1
gpgkey = file: /// etc / pki / rpm-gpg / RPM-GPG-KEY-CentOS-6
EOF

yum clean all
yum makecache

# Adjust hosts file
cat >> / etc / hosts < < EOF
192.108.56.103 rac11g03
192.108.56.104 rac11g04
192.108.56.203 rac11g03-vip
192.108.56.204 rac11g04-vip
192.108.56.205 rac11g-scan
192.108.96.103 rac11g03-priv
192.108.96.104 rac11g04-priv
EOF

# Turn off the firewall, selinux
chkconfig iptables off
service iptables stop
setenforce 0
sed -i 's / SELINUX = enforcing / SELINUX = disabled /' / etc / selinux / config

# Network parameter adjustment
cat >> /etc/sysctl.conf < < EOF
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.aio-max-nr = 1048576
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 1048576
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
EOF

sysctl -p

# Resource limit parameter adjustment
cat >> /etc/security/limits.conf < < EOF
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
grid soft nproc 2047
grid hard nproc 16384
grid soft nofile 1024
grid hard nofile 65536
EOF

# Landed parameter adjustment
cat >> /etc/pam.d/login < < EOF
session required /lib64/security/pam_limits.so
EOF

# Install the missing package
yum -y install gcc gcc-c ++ make binutils compat-libstdc ++ - 33 elfutils-libelf elfutils-libelf-devel glibc glibc-common glibc-devel libaio libaio-devel libgcc libstdc ++ libstdc ++ - devel unixODBC unixODBC-devel

yum -y install expect

ln -s /lib64/libcap.so.2.16 /lib64/libcap.so.1

# Clear NTP service
service ntpd stop
chkconfig ntpd off
mv /etc/ntp.conf /etc/ntp.conf.bak
mv /var/run/ntpd.pid /var/run/ntpd.pid.bak

## Create the configuration grid, oracle user
groupadd -g 1000 oinstall
groupadd -g 1100 asmadmin
groupadd -g 1200 dba
groupadd -g 1300 asmdba
useradd -u 1100 -d / home / oracle -g oinstall -G dba, asmdba oracle
useradd -u 1101 -d / home / grid -g oinstall -G asmadmin, asmdba grid
echo "selectshen" | passwd --stdin oracle
echo "selectshen" | passwd --stdin grid

cat >> /home/grid/.bash_profile < < EOF
export TMP = / tmp
export TMPDIR = $ TMP
export ORACLE_BASE = / u01 / app / grid
export ORACLE_HOME = / u01 / app / 11.2.0 / grid
export GRID_HOME = / u01 / app / 11.2.0 / grid
export ORACLE_SID = + ASM1
export ORACLE_TERM = xterm
export PATH = / usr / sbin: \ $ PATH
export PATH = \ $ ORACLE_HOME / bin: \ $ PATH
export LD_LIBRARY_PATH = \ $ ORACLE_HOME / bin: / bin: / usr / bin: / usr / local / bin: / usr / X11R6 / bin /
export CLASSPATH = \ $ ORACLE_HOME / JRE: \ $ ORACLE_HOME / jlib: \ $ ORACLE_HOME / rdbms / jlib
ulimit -u 16384 -n 65536
umask 022
EOF

. /home/grid/.bash_profile


cat >> /home/oracle/.bash_profile < < EOF
export TMP = / tmp
export TMPDIR = $ TMP
export ORACLE_BASE = / u01 / app / oracle
export ORACLE_HOME = \ $ ORACLE_BASE / product / 11.2.0 / db_1
export ORACLE_SID = rac11g
export ORACLE_TERM = xterm
export PATH = / usr / sbin: \ $ PATH
export PATH = \ $ ORACLE_HOME / bin: \ $ PATH
export LD_LIBRARY_PATH = \ $ ORACLE_HOME / bin: / bin: / usr / bin: / usr / local / bin: / usr / X11R6 / bin /
export CLASSPATH = \ $ ORACLE_HOME / JRE: \ $ ORACLE_HOME / jlib: \ $ ORACLE_HOME / rdbms / jlib
ulimit -u 16384 -n 65536
umask 022
EOF

. /home/oracle/.bash_profile


# Create an installation directory
mkdir -p /u01/app/11.2.0/grid
chown -R grid.oinstall / u01
mkdir -p /u01/app/oracle/product/11.2.0/db_1
chown -R oracle.oinstall / u01 / app / oracle
chmod -R 775 / u01

# Configure connection openfiler iscsi storage, where you want to set the actual situation, there is a disk 40G, 20G is divided into two zones
yum -y install iscsi-initiator-utils
iscsiadm -m discovery -t sendtargets -p 192.108.26.100:3260
service iscsi restart

partprobe

cat >> /etc/udev/rules.d/60-raw.rules < < EOF
ACTION == "add", KERNEL == "/ dev / sdb1", RUN + = "/ bin / raw / dev / raw / raw1% N"
ACTION == "add", ENV {MAJOR} == "8", ENV {MINOR} == "17", RUN + = "/ bin / raw / dev / raw / raw1% M% m"
ACTION == "add", KERNEL == "/ dev / sdb2", RUN + = "/ bin / raw / dev / raw / raw2% N"
ACTION == "add", ENV {MAJOR} == "8", ENV {MINOR} == "18", RUN + = "/ bin / raw / dev / raw / raw2% M% m"
KERNEL == "raw [1-2]", OWNER = "grid", GROUP = "oinstall", MODE = "660"
EOF

start_udev
ls / dev / raw / -l


# Configure ssh
mkdir ~ / .ssh
chmod 700 ~ / .ssh
cat> /root/tempexpect.sh < < EOF
set timeout -1
spawn ssh-keygen -t rsa
expect "(/root/.ssh/id_rsa):"
send "\ r"
expect "(empty for no passphrase):"
send "\ r"
expect "again:"
send "\ r"
interact
spawn ssh-keygen -t dsa
expect "(/root/.ssh/id_dsa):"
send "\ r"
expect "(empty for no passphrase):"
send "\ r"
expect "again:"
send "\ r"
interact
EOF

expect /root/tempexpect.sh

cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
cat /root/.ssh/id_dsa.pub >> /root/.ssh/authorized_keys
# Configure ssh trust land. There is also the configuration of the root trust relationship, in order to facilitate direct operation at rac11g03 rac11g04, it can be removed after installation.
# Used here expect to respond to input, where the script may not be robust, it can be considered before the trust relationship is automatically installed on a good root configuration
cat> /root/tempexpect.sh < < EOF
set timeout -1
spawn scp 192.108.56.104:/root/.ssh/authorized_keys /root/.ssh/authorized_keys2
expect "(yes / no)?"
send "yes \ r"
expect "password:"
send "selectshen \ r"
interact
EOF

expect /root/tempexpect.sh

cat /root/.ssh/authorized_keys2 >> /root/.ssh/authorized_keys

cat> /root/tempexpect.sh < < EOF
set timeout -1
spawn scp /root/.ssh/authorized_keys 192.108.56.104:/root/.ssh/authorized_keys
expect "password:"
send "selectshen \ r"
interact
EOF
expect /root/tempexpect.sh

cat> /root/tempexpect.sh < < EOF
set timeout -1
spawn ssh rac11g03 date
expect "(yes / no)?"
send "yes \ r"
interact
spawn ssh rac11g03-priv date
expect "(yes / no)?"
send "yes \ r"
interact
spawn ssh rac11g04 date
expect "(yes / no)?"
send "yes \ r"
interact
spawn ssh rac11g04-priv date
expect "(yes / no)?"
send "yes \ r"
interact
EOF

expect /root/tempexpect.sh

scp /root/tempexpect.sh 192.108.56.104:/root/tempexpect.sh
ssh 192.108.56.104 expect /root/tempexpect.sh

cp -R /root/.ssh / home / oracle /
cp -R /root/.ssh / home / grid /
chown -R oracle.oinstall /home/oracle/.ssh
chown -R grid.oinstall /home/grid/.ssh
ssh 192.108.56.104 cp -R /root/.ssh / home / oracle /
ssh 192.108.56.104 cp -R /root/.ssh / home / grid /
ssh 192.108.56.104 chown -R oracle.oinstall /home/oracle/.ssh
ssh 192.108.56.104 chown -R grid.oinstall /home/grid/.ssh


# Extract installation files
mv / root / p13390677_112040_Linux-x86-64_3 * / home / grid /
mv / root / p13390677_112040_Linux-x86-64_ * / home / oracle /
chown -R grid.oinstall / home / grid / p13390677_112040_Linux-x86-64_ *
chown -R oracle.oinstall / home / oracle / p13390677_112040_Linux-x86-64_ *

su - grid -c "unzip /home/grid/p13390677_112040_Linux-x86-64_3of7.zip"
su - oracle -c "unzip /home/oracle/p13390677_112040_Linux-x86-64_1of7.zip"
su - oracle -c "unzip /home/oracle/p13390677_112040_Linux-x86-64_2of7.zip"

# Install the missing package
rpm -ivh /root/pdksh-5.2.14-30.x86_64.rpm
rpm -ivh /home/grid/grid/rpm/cvuqdisk-1.0.9-1.rpm

scp /root/pdksh-5.2.14-30.x86_64.rpm 192.108.56.104:~/
ssh 192.108.56.104 rpm -ivh /root/pdksh-5.2.14-30.x86_64.rpm

# Configure gi installation response file
su - grid -c cat> /home/grid/gi_install.rsp < < EOF
oracle.install.responseFileVersion = / oracle / install / rspfmt_crsinstall_response_schema_v11_2_0
ORACLE_HOSTNAME = rac11g03
INVENTORY_LOCATION = / u01 / app / oraInventory
SELECTED_LANGUAGES = en
oracle.install.option = CRS_CONFIG
ORACLE_BASE = / u01 / app / grid
ORACLE_HOME = / u01 / app / 11.2.0 / grid
oracle.install.asm.OSDBA = asmdba
oracle.install.asm.OSOPER = asmdba
oracle.install.asm.OSASM = asmadmin
oracle.install.crs.config.gpnp.scanName = rac11g-scan
oracle.install.crs.config.gpnp.scanPort = 1521
oracle.install.crs.config.clusterName = rac11g-scan
oracle.install.crs.config.gpnp.configureGNS = false
oracle.install.crs.config.gpnp.gnsSubDomain =
oracle.install.crs.config.gpnp.gnsVIPAddress =
oracle.install.crs.config.autoConfigureClusterNodeVIP = false
oracle.install.crs.config.clusterNodes = rac11g03: rac11g03-vip, rac11g04: rac11g04-vip
oracle.install.crs.config.networkInterfaceList = eth0: 192.108.56.0: 1, eth1: 192.108.96.0: 2
oracle.install.crs.config.storageOption = ASM_STORAGE
oracle.install.crs.config.sharedFileSystemStorage.diskDriveMapping =
oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations =
oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy =
oracle.install.crs.config.sharedFileSystemStorage.ocrLocations =
oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy =
oracle.install.crs.config.useIPMI = false
oracle.install.crs.config.ipmi.bmcUsername =
oracle.install.crs.config.ipmi.bmcPassword =
oracle.install.asm.SYSASMPassword = selectshen
oracle.install.asm.diskGroup.name = data
oracle.install.asm.diskGroup.redundancy = EXTERNAL
oracle.install.asm.diskGroup.AUSize = 1
oracle.install.asm.diskGroup.disks = / dev / raw / raw1, / dev / raw / raw2
oracle.install.asm.diskGroup.diskDiscoveryString = / dev / raw / raw *
oracle.install.asm.monitorPassword = selectshen
oracle.install.crs.upgrade.clusterNodes =
oracle.install.asm.upgradeASM = false
oracle.installer.autoupdates.option = SKIP_UPDATES
oracle.installer.autoupdates.downloadUpdatesLoc =
AUTOUPDATES_MYORACLESUPPORT_USERNAME =
AUTOUPDATES_MYORACLESUPPORT_PASSWORD =
PROXY_HOST =
PROXY_PORT = 0
PROXY_USER =
PROXY_PWD =
PROXY_REALM =
EOF

# Configure oracle installation response file
su - oracle -c cat> /home/oracle/db_install.rsp < < EOF
oracle.install.responseFileVersion = / oracle / install / rspfmt_dbinstall_response_schema_v11_2_0
oracle.install.option = INSTALL_DB_SWONLY
ORACLE_HOSTNAME = rac11g03
UNIX_GROUP_NAME = oinstall
INVENTORY_LOCATION = / u01 / app / oraInventory
SELECTED_LANGUAGES = en
ORACLE_HOME = / u01 / app / oracle / product / 11.2.0 / db_1
ORACLE_BASE = / u01 / app / oracle
oracle.install.db.InstallEdition = EE
oracle.install.db.EEOptionsSelection = false
oracle.install.db.optionalComponents = oracle.rdbms.partitioning: 11.2.0.4.0, oracle.oraolap: 11.2.0.4.0, oracle.rdbms.dm: 11.2.0.4.0, oracle.rdbms.dv: 11.2. 0.4.0, oracle.rdbms.lbac: 11.2.0.4.0, oracle.rdbms.rat: 11.2.0.4.0
oracle.install.db.DBA_GROUP = dba
oracle.install.db.OPER_GROUP = dba
oracle.install.db.CLUSTER_NODES = rac11g03, rac11g04
oracle.install.db.isRACOneInstall =
oracle.install.db.racOneServiceName =
oracle.install.db.config.starterdb.type = GENERAL_PURPOSE
oracle.install.db.config.starterdb.globalDBName = rac11g
oracle.install.db.config.starterdb.SID = rac11g
oracle.install.db.config.starterdb.characterSet = AL32UTF8
oracle.install.db.config.starterdb.memoryOption = true
oracle.install.db.config.starterdb.memoryLimit = 700
oracle.install.db.config.starterdb.installExampleSchemas = true
oracle.install.db.config.starterdb.enableSecuritySettings = false
oracle.install.db.config.starterdb.password.ALL = selectshen
oracle.install.db.config.starterdb.password.SYS =
oracle.install.db.config.starterdb.password.SYSTEM =
oracle.install.db.config.starterdb.password.SYSMAN =
oracle.install.db.config.starterdb.password.DBSNMP =
oracle.install.db.config.starterdb.control = DB_CONTROL
oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL =
oracle.install.db.config.starterdb.automatedBackup.enable = false
oracle.install.db.config.starterdb.automatedBackup.osuid =
oracle.install.db.config.starterdb.automatedBackup.ospwd =
oracle.install.db.config.starterdb.storageType = ASM_STORAGE
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation =
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation =
oracle.install.db.config.asm.diskGroup = DATA
oracle.install.db.config.asm.ASMSNMPPassword = selectshen
MYORACLESUPPORT_USERNAME =
MYORACLESUPPORT_PASSWORD =
SECURITY_UPDATES_VIA_MYORACLESUPPORT = false
DECLINE_SECURITY_UPDATES = true
PROXY_HOST =
PROXY_PORT =
PROXY_USER =
PROXY_PWD =
PROXY_REALM =
COLLECTOR_SUPPORTHUB_URL =
oracle.installer.autoupdates.option = SKIP_UPDATES
oracle.installer.autoupdates.downloadUpdatesLoc =
AUTOUPDATES_MYORACLESUPPORT_USERNAME =
AUTOUPDATES_MYORACLESUPPORT_PASSWORD =
EOF

Installation gi #
su - grid -c "/ home / grid / grid / runInstaller -ignorePrereq -silent -force -responseFile /home/grid/gi_install.rsp"

When gi # install the software, the installation process to become a background process at this time does not automatically perform the following, because the background installation process has not executed, so you want to manually execute the following command in the rac11g03. This problem automatically executed in testing. ..
################################################## #########################
#
# / U01 / app / oraInventory / orainstRoot.sh
#
#ssh 192.108.56.104 /u01/app/oraInventory/orainstRoot.sh
#
# / U01 / app / 11.2.0 / grid / root.sh
#
#ssh 192.108.56.104 /u01/app/11.2.0/grid/root.sh
# The following four lines are together, attention
#cat >> /u01/app/11.2.0/grid/cfgtoollogs/cfgrsp.properties < < EOF
# Oracle.assistants.asm | S_ASMPASSWORD = selectshen
# Oracle.assistants.asm | S_ASMMONITORPASSWORD = selectshen
#EOF
#su - grid -c "/u01/app/11.2.0/grid/cfgtoollogs/configToolAllCommands RESPONSE_FILE = / u01 / app / 11.2.0 / grid / cfgtoollogs / cfgrsp.properties"
################################################## ##########################

# Install the oracle software
#su - oracle -c "/ home / oracle / database / runInstaller -ignorePrereq -silent -force -responseFile /home/oracle/db_install.rsp"
# When oracle software to install, the installation process to become a background process at this time does not automatically perform the following, because the background installation process has not executed, so you want to manually execute the following command in the rac11g03. This problem automatically executed in testing. ..
################################################## #########################
# / U01 / app / oracle / product / 11.2.0 / db_1 / root.sh
#
#ssh 192.108.56.104 /u01/app/oracle/product/11.2.0/db_1/root.sh
 # Here with ASM disk groups before DATA, practice by asmca -silent -configureASM -sysAsmPassword xxx -asmsnmpPassword xxx -diskString xxx -diskGroupName MYDATA -disk xxx -redundancy xxx silently added to the disk group
#su - oracle -c "dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbName rac11g -sid rac11g -sysPassword selectshen -systemPassword selectshen -storageType ASM -diskGroupName DATA -datafileJarLocation \ $ ORACLE_HOME / assistants / dbca / templates -nodeinfo rac11g03, rac11g04 -characterset AL32UTF8 -obfuscatedPasswords false -sampleSchema false -asmSysPassword selectshen "
################################################## ##########################
     
         
       
         
  More:      
 
- MySQL loose index scan (Database)
- Linux Getting Started tutorial: Experience Xen Virtual Machine chapter (Linux)
- The YUM package management under Linux (Linux)
- Notebook computer forget password solution (Linux)
- Linux `dirname $ 0` (Linux)
- Modify grub solve computer startup error: ERROR 17 (Linux)
- Some common regular expressions (Linux)
- Linux NFS service fixed ports and firewall configuration (Linux)
- To compile and install MySQL 5.7.7 RC under CentOS 7.1 (Database)
- To install Ganglia (Linux)
- Docker + OpenvSwitch build experimental environment VxLAN (Server)
- Build your own Web server under Ubuntu Linux system (Server)
- Linux supports serial output method (Linux)
- C ++ based foundation: the difference between C and C ++ (Programming)
- Why you should choose Python Programming (Programming)
- The Java development environment to build under Ubuntu 14.04 (Linux)
- FFmpeg compiled with only H264 decoding library (Programming)
- Install Firefox 28 on Ubuntu, Linux Mint (Linux)
- File SUID, SGID, Sticky property (Linux)
- Mounting kit under Fedora Linux (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.