1、启动CSS服务
bash-3.2# /export/home/oracle/app/ora10g/product/10gr2/bin/localconfig add |
2、创建初始化实例文件
[[email protected] ~/app/ora10g/product/10gr2/dbs 12:33:48]$cat asmpfile.ora instance_type=asm processes=100 |
3、修改磁盘归属
[[email protected] dev]# ll /dev/sd* brw-r----- 1 root disk 8, 0 09-20 09:28 /dev/sda brw-r----- 1 root disk 8, 1 09-20 09:29 /dev/sda1 brw-r----- 1 root disk 8, 2 09-20 09:28 /dev/sda2 brw-r----- 1 root disk 8, 3 09-20 09:29 /dev/sda3 brw-r----- 1 oracle oinstall 8, 16 09-20 09:28 /dev/sdb brw-r----- 1 oracle oinstall 8, 32 09-20 09:28 /dev/sdc brw-r----- 1 oracle oinstall 8, 48 09-20 09:28 /dev/sdd brw-r----- 1 oracle oinstall 8, 64 09-20 09:28 /dev/sde brw-r----- 1 oracle oinstall 8, 80 09-20 09:28 /dev/sdf |
4、修改asm_diskstring、asm_diskgroups、asm_power_limit参数
SQL> alter system set asm_diskstring=‘/dev/sd*‘; SQL>CREATE DISKGROUP data EXTERNAL REDUNDANCY DISK ‘/dev/sdb‘; SQL>alter system set asm_diskgroups=‘DATA‘; |
?
时间: 2024-10-05 04:58:12