11g init DB software and database
oadmin->administrator
2.169
set ORACLE_HOME=C:\app\oracle\product\11.2.0\dbhome_1
set ORACLE_SID=csmsdb
set TNS_ADMIN=C:\app\oracle\product\11.2.0\dbhome_1\network\admin
set PATH=%ORACLE_HOME%\bin;%ORACLE_HOME%\OPatch;%PATH%
C:\app\software\RSP\db.rsp
修改主机名
mkdir -p C:\app\oracle\product\11.2.0\dbhome_1
mkdir -p C:\app\oracle\archivelog
cd C:\app\software\p13390677_112040_MSWIN-x86-64\database
setup.exe -silent -debug -force -waitforcompletion -responseFile "C:\app\software\RSP\db.rsp"
C:\app\oracle\product\11.2.0\dbhome_1\OPatch\ocm\bin\emocmrsp.bat
已成功创建 OCM 配置响应文件 (ocm.rsp)。
cd C:\app\software\p23530402_112040_MSWIN-x86-64
opatch apply -silent 23530402 -ocmrf C:\app\software\RSP\ocm.rsp
cd C:\app\software\p23515277_112040_MSWIN-x86-64\
opatch apply -silent 23515277 -ocmrf C:\app\software\RSP\ocm.rsp
--dbca
demo
check administrator 属于ora_dba组
dbca -silent -createDatabase -templateName New_Database.dbt -gdbname csmsdb -sid csmsdb -datafileDestination C:\app\oracle\oradata\csmsdb -responseFile NO_VALUE -characterset AL32UTF8 -memoryPercentage 30 -emConfiguration LOCAL
C:\> dbca -silent -createDatabase -templateName New_Database.dbt -gdbname csmsdb
-sid csmsdb -datafileDestination C:\app\oracle\oradata\csmsdb -responseFile N
O_VALUE -characterset AL32UTF8 -memoryPercentage 30 -emConfiguration LOCAL
输入 SYS 用户口令:oracle123
输入 SYSTEM 用户口令:
输入 DBSNMP 用户口令:
输入 SYSMAN 用户口令:
正在创建并启动 Oracle 实例
--
copy network file to uat to prod
----
关掉防火墙
1.copy env_csmsdb_uat.sql to prod
2.init tablespace and resize tablespace
3.init user
4.init archivelog
--5.exp and imp
---
mkdir -p d:\dba\utility
C:\dba\utility
----4.47
ngtest1:/home/dba/oracle [dtaruat] >crontab -l |grep dt
0,30 * * * * find /dtaruatdblog -user oracle -name '*.dbf' -ctime +2 -exec rm {} \; 1>/dev/null 2>&1
0,30 * * * * find /dtaruatdb/adump -user oracle -name '*.aud' -ctime +2 -exec rm {} \; 1>/dev/null 2>&1
0,30 * * * * find /dtaruatdb/diag/rdbms/dtaruat/dtaruat/trace -user oracle -name '*.tr*' -ctime +15 -exec rm {} \; 1>/dev/null 2>&1
---
手工包错:
[Worker 2] [ 2016-12-07 14:37:09.240 CST ] [RemoteExecCommand.execute:838] Nati
veException occured while setting up RemoteExecService. err msg:PRKN-1040 : 无法
删除节点 "vcsmsdb" 上的目录 "\\vcsmsdb\C$\Users\ADMINI~1\AppData\Local\Temp\3\\o
raremservice\"
图形包错:
原因 - 无法访问临时位置。
操作 - 请确保当前用户具有访问临时位置所需的权限。
附加信息:
所有节点上的框架设置检查都失败 失败节点概要 vcsmsdb - 无法从节点 "vcsmsdb" 检索 exectask 的版本
solution:
http://blog.csdn.net/qq_33562122/article/details/52137288
11g init DB software and database的更多相关文章
- 10g duplicate and 11g dupliacte db for standby
###################10g Creating a Physical Standby Database OASSTBY Make sure database is in archive ...
- 通过RMAN克隆11g数据库(基于active database)
11g的RMAN duplicate 可以通过Active databaseduplicate和Backup-based duplicate两种方法实现.这里的测试使用的是Active databas ...
- pg_dump: [archiver (db)] connection to database “dbase” failed: FATAL: Peer authentication failed for user “postgres”
"Peer authentication" means that it's comparing your database username against your Linux ...
- Install Oracle 11G Release 2 (11.2) on Centos Linux 7
Install Oracle 11G Release 2 (11.2) on Centos Linux 7 This article presents how to install Oracle 11 ...
- Software Development Engineer, RDS Database Engines, Seattle
DESCRIPTION About UsAmazon Aurora is an exciting new area of innovation for AWS, and the PostgreSQL- ...
- 微信破解,解密?How To Decrypt WeChat EnMicroMsg.db Database?
20元现金领取地址:http://jdb.jiudingcapital.com/phone.html内部邀请码:C8E245J (不写邀请码,没有现金送) 国内私募机构九鼎控股打造,九鼎投资是在全国股 ...
- Oracle Grid control 11g及Active DataGuard 11g安装部署
Oracle Grid control 11g及Active DataGuard 11g安装部署(一) 原贴 http://blog.csdn.net/lichangzai/article/detai ...
- [Oracle][RMAN] Use RMAN to Migrate database from CentOS_5-11201-SingleDB to OracleLinux_5-11204-SingleDB
リンク:How to Move/Restore DB to New Host and File System using RMAN (Doc ID 1338193.1)https://docs.ora ...
- solaris下安装oracle 11g与11g rac
1.To Find Swap, RAM, and OS Version 对于 Solaris 操作系统,查看 Swap, RAM, and OS Version 的方法: swap -l /usr/s ...
随机推荐
- [妙味DOM]第四课:Event-事件详解2
知识点总结 事件捕获 obj.addEventListener('click',fn,true) 从外往里 obj.addEventListener('click',fn,false) 从里往外(冒泡 ...
- Spring MVC集成slf4j-logback
转自: Spring MVC集成slf4j-logback 1. Spring MVC集成slf4j-log4j 关于slf4j和log4j的相关介绍和用法,网上有很多文章可供参考,但是关于logb ...
- 火狐中,设置align="center"失效的解决方法
如下: <img align="center" style="vertical-align:top"></img> 只需要加上: ver ...
- jquery 画板折叠
<!doctype html><html lang="en"><head> <meta charset="utf-8" ...
- jQuery Post 提交内容中有标签报错
Post编辑一点内容要传后台数据库: var html = editor2.html() console.log(encodeURIComponent(html)); //console.log(&q ...
- git config and options core.bare hard
In Lynda course Building a Web Interface with React.js 003 Using the exercises > git clone --bare ...
- CEdit实现文本换行
CEdit控件若要在字符串中插入换行字符("\r\n")实现换行效果,必须指定两个风格 ES_MULTILINE和ES_WANTRETURN. 1: DWORD dwStyle = ...
- sql参数化查询避免注入漏洞的原因探析
网上其他同学的都说是重用执行计划,将用户输入的作为文本查询,到底如何实现,我用下面三行代码来解析一下. DECLARE @test NVARCHAR() SET @test=' or 1='1 SEL ...
- MFC下对文件及文件夹的操作(复制、剪切、删除、创建文件夹,写文件)
一.文件夹的创建 void CFileOperationDlg::OnButtonMakeFolder() { // TODO: Add your control notification handl ...
- while循环与i--
int i = 5; while(i-- > 0){ System.out.println("i="+i); } 打印 ...