你好,游客 登录 注册 搜索
背景:
阅读新闻

简单配置ASM

[日期:2014-08-01] 来源:Linux社区  作者:静以致远√团团 [字体:大 中 小]

安装配置ASM

上传asm包,查找对应版本,安装asm包

[root@localhost asm]# ls

Oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm

oracleasm-2.6.9-67.EL-2.0.3-1.i686.rpm

oracleasm-2.6.9-67.ELhugemem-2.0.3-1.i686.rpm

oracleasm-2.6.9-67.ELsmp-2.0.3-1.i686.rpm

oracleasm-2.6.9-67.ELxenU-2.0.3-1.i686.rpm

oracleasmlib-2.0.4-1.el4.i386.rpm

oracleasm-support-2.1.4-1.el4.i386.rpm

[root@localhost asm]# uname -a

Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux
 
[root@localhost asm]# rpm -ivh oracleasm-support-2.1.4-1.el4.i386.rpm 

warning: oracleasm-support-2.1.4-1.el4.i386.rpm: Header V3 DSA signature: NOKEY, key ID b38a8516
 
Preparing...                ########################################### [100%]

  1:oracleasm-support      ########################################### [100%]

[root@localhost asm]# rpm -ivh oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm 

warning: oracleasm-2.6.18-164.el5-2.0.5-1.el5.i686.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
 
Preparing...                ########################################### [100%]

  1:oracleasm-2.6.18-164.el########################################### [100%]

[root@localhost asm]# rpm -ivh oracleasmlib-2.0.4-1.el4.i386.rpm 

warning: oracleasmlib-2.0.4-1.el4.i386.rpm: Header V3 DSA signature: NOKEY, key ID b38a8516
 
Preparing...                ########################################### [100%]

  1:oracleasmlib          ########################################### [100%]

 

[root@localhost asm]# /etc/init.d/oracleasm configure

Configuring the Oracle ASM library driver.

 

This will configure the on-boot properties of the Oracle ASM library

driver.  The following questions will determine whether the driver is

loaded on boot and what permissions it will have.  The current values

will be shown in brackets ('[]').  Hitting <ENTER> without typing an

answer will keep that current value.  Ctrl-C will abort.

 

Default user to own the driver interface []: oracle

Default group to own the driver interface []: oinstall

Start Oracle ASM library driver on boot (y/n) [n]: y

Scan for Oracle ASM disks on boot (y/n) [y]: y

Writing Oracle ASM library driver configuration: done

Initializing the Oracle ASMLib driver:                    [  OK  ]

Scanning the system for Oracle ASMLib disks:              [  OK  ]

 

创建asmdisk

[root@localhost asm]# /etc/init.d/oracleasm createdisk asm_1 /dev/sdb1

Marking disk "asm_1" as an ASM disk:                      [  OK  ]

[root@localhost asm]# /etc/init.d/oracleasm createdisk asm_2 /dev/sdc1

Marking disk "asm_2" as an ASM disk:                      [  OK  ]

[root@localhost asm]# /etc/init.d/oracleasm createdisk asm_3 /dev/sdd1

Marking disk "asm_3" as an ASM disk:                      [  OK  ]

 

[root@localhost asm]# /etc/init.d/oracleasm scandisks

Scanning the system for Oracle ASMLib disks:              [  OK  ]

[root@localhost asm]# /etc/init.d/oracleasm listdisks

ASM_1

ASM_2

ASM_3

linux
相关资讯       ASM  ASM配置 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款