当前位置: 首页 > wzjs >正文

电商网站前端设计方案网站推广网络营销

电商网站前端设计方案,网站推广网络营销,烟台网站建设,王烨岚一、环境 操作系统:Centos57.6 数据库版本:12.2.0.1 场景:将OCR信息从DATA磁盘组迁移到OCR磁盘组 二、操作步骤 1.查看可用空盘 set lin 200 set pagesize 200 col DGNAME format a15 col DISKNAME format a15 col PATH format a20 col N…

一、环境

操作系统:Centos57.6
数据库版本:12.2.0.1
场景:将OCR信息从+DATA磁盘组迁移到+OCR磁盘组

二、操作步骤

1.查看可用空盘

set lin 200
set pagesize 200
col DGNAME format a15
col DISKNAME format a15
col PATH format a20
col NAME format a20
select NAME,MOUNT_STATUS,STATE,DISK_NUMBER "DNO",PATH,TOTAL_MB,FREE_MB,GROUP_NUMBER "GNO" from  /* 如果name为空,那么是没有加入磁盘组 */v$ASM_DISK 
order by NAME;
NAME                 MOUNT_S STATE           DNO PATH                   TOTAL_MB    FREE_MB        GNO
-------------------- ------- -------- ---------- -------------------- ---------- ---------- ----------
ARC_0000             CACHED  NORMAL            0 /dev/asm-arc               2048        921          1
DATA_0000            CACHED  NORMAL            0 /dev/asm-data             10240       7185          2
REDO_0000            CACHED  NORMAL            0 /dev/asm-redo              5120       5025          4CLOSED  NORMAL            0 /dev/asm-ocr                  0          0          0

2.创建磁盘组

create diskgroup OCR external redundancy disk
'/dev/asm-ocr' attribute 'au_size'='1M','compatible.asm'='11.2','compatible.rdbms'='10.1';

3.ocr加入新建磁盘组

[root@rac1 bin]# ./ocrcheck
Status of Oracle Cluster Registry is as follows :Version                  :          3Total space (kbytes)     :     262120Used space (kbytes)      :       3124Available space (kbytes) :     258996ID                       :  161991732Device/File Name         :      +dataDevice/File integrity check succeededDevice/File not configuredDevice/File not configuredDevice/File not configuredDevice/File not configuredCluster registry integrity check succeededLogical corruption check succeeded[root@rac1 bin]# ./ocrconfig  -add +OCR
[root@rac1 bin]# ./ocrcheck
Status of Oracle Cluster Registry is as follows :Version                  :          3Total space (kbytes)     :     262120Used space (kbytes)      :       3128Available space (kbytes) :     258992ID                       :  161991732Device/File Name         :      +dataDevice/File integrity check succeededDevice/File Name         :       +OCRDevice/File integrity check succeededDevice/File not configuredDevice/File not configuredDevice/File not configuredCluster registry integrity check succeededLogical corruption check succeeded

4.OCR删除老磁盘组

[root@rac1 bin]# ./ocrconfig -delete +DATA
[root@rac1 bin]# ./ocrcheck
Status of Oracle Cluster Registry is as follows :Version                  :          3Total space (kbytes)     :     262120Used space (kbytes)      :       3128Available space (kbytes) :     258992ID                       :  161991732Device/File Name         :       +OCRDevice/File integrity check succeededDevice/File not configuredDevice/File not configuredDevice/File not configuredDevice/File not configuredCluster registry integrity check succeededLogical corruption check succeeded

5.替换仲裁盘

[root@rac1 bin]# ./crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------1. ONLINE   aa1f2ffde3624f59bf3b76a5f14c3142 (/dev/asm-data) [DATA]
Located 1 voting disk(s).
[root@rac1 bin]# ./crsctl replace votedisk +OCR
Successful addition of voting disk 9e3d3f3ba1ba4f6ebf67db7ec6fa6fff.
Successful deletion of voting disk aa1f2ffde3624f59bf3b76a5f14c3142.
Successfully replaced voting disk group with +OCR.
CRS-4266: Voting file(s) successfully replaced
[root@rac1 bin]# ./crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------1. ONLINE   9e3d3f3ba1ba4f6ebf67db7ec6fa6fff (/dev/asm-ocr) [OCR]
Located 1 voting disk(s).

6.重建spfile到新磁盘组

ASMCMD> spget
+DATA/rac-cluster/asmparameterfile/registry.253.1188043365
SQL> create pfile='/home/grid/pfile.ora' from spfile;
File created.
SQL> create spfile='+OCR' from pfile='/home/grid/pfile.ora';
File created.
exitASMCMD> spget
+OCR/rac-cluster/asmparameterfile/registry.253.1197525347

7.move密码文件(11G版本忽略此步骤)

[:grid]:/home/grid>asmcmd
ASMCMD>  pwcopy --asm +DATA/orapwASM  /home/grid/orapwASM_backup -f
copying +DG_OCR/orapwASM ->  /home/grid/orapwASM_backup
ASMCMD>  pwmove --asm +DATA/orapwASM  +OCR/orapwASM -f
moving +DATA/orapwASM -> ++OCR/orapwASM
ASMCMD> exit
[:grid]:/home/grid>srvctl config asm
ASM home: <CRS home>
Password file: +OCR/orapwASM
Backup of Password file: 
ASM listener: LISTENER
ASM instance count: 3
Cluster ASM listener: ASMNET1LSNR_ASM
http://www.dtcms.com/wzjs/256906.html

相关文章:

  • 柳州做网站那家好网站软件免费下载
  • 创意设计专业最好的优化公司
  • 丰涵网站建设科技成都官网seo厂家
  • 屏蔽网站ip如何屏蔽百度广告推广
  • 网站上线具体流程有创意的营销案例
  • 福建网站设计制作资阳地seo
  • 手表网站背景素材贴吧推广
  • 做渠道该从哪些网站入手深圳全网营销平台排名
  • wordpress 2015主题公园东莞网站优化
  • 北京做网站设计招聘模板免费网站建设
  • 做啥网站好亚洲卫星电视网参数表
  • 网站引擎友好性分析百度员工收入工资表
  • 买了空间和域名 就有网站后台了吗广州seo公司
  • 河南平顶山网站建设公司郴州seo快速排名
  • 百度收录网站怎么更改关键词爱站网挖掘词
  • pc网站原型设计工具上海网站推广系统
  • 晋城客运东站网站开发武汉大学人民医院洪山院区
  • 河北沙河市建设局网站搜狗登录入口
  • 网站编程软件有哪些怎么把网站排名到百度前三名
  • 深圳做营销网站建设关键词seo公司推荐
  • 微信授权登录网站退出怎么做google search
  • 重庆点优建设网站公司吗快速优化官网
  • 网站建设专有名词网络seo首页
  • wordpress实现在线客服官网seo是什么意思
  • 网站子域名怎么做黄冈网站推广软件免费下载
  • 成都科技网站建设哪里有seo是什么工作
  • 网站如何引导页世界500强企业名单
  • 网站建设与制作考试题html网页制作代码
  • wordpress游戏评测站睡觉河南网站建设公司哪家好
  • 二级建造师证怎么考青岛网站优化