分类: Oracle
2008-02-20 11:31:59
root@rac01 #crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora....c01.gsd application ONLINE ONLINE rac01 ora....c01.ons application ONLINE ONLINE rac01 ora....c01.vip application ONLINE ONLINE rac01 ora....c02.gsd application ONLINE ONLINE rac02 ora....c02.ons application ONLINE ONLINE rac02 ora....c02.vip application ONLINE ONLINE rac02
root@rac01 # vxdisksetup -i ams_wms0_0098 root@rac01 # vxdg init oradata12 ams_wms0_0098 root@rac01 # vxassist -g oradata12 make oradata 18G root@rac01 # vxedit -g oradata12 set user=oracle group=dba mode=644 oradata root@rac01 # timex mkfs -F vxfs /dev/vx/rdsk/oradata12/oradata version 7 layout 37748736 sectors, 18874368 blocks of size 1024, log size 65536 blocks largefiles supported real 10.30 user 0.07 sys 0.04 root@rac01 # mount -F vxfs -o largefiles /dev/vx/dsk/oradata12/oradata /oradata root@rac01 # chown oracle:dba /oradata root@rac01 # df -h /oradata/ Filesystem size used avail capacity Mounted on /dev/vx/dsk/oradata12/oradata 18G 70M 17G 1% /oradata
oracle@rac01 $ dbca -silent -createDatabase -sid orcl -sysPassword sys -systemPassword sys \ -datafileDestination /oradata -gdbName orcl -templateName General_Purpose.dbc Copying database files 1% complete 3% complete 11% complete 18% complete 26% complete 37% complete Creating and starting Oracle instance 40% complete 45% complete 50% complete 55% complete 56% complete 60% complete 62% complete Completing Database Creation 66% complete 70% complete 73% complete 85% complete 96% complete 100% complete