How To Simulate ASM Disks In Microsoft Windows

Often need to create test environments simple and quick to create tests. In this case we will see how easy it is to create a couple of ASM disks to use in Windows format. Of course, it would be best to create real disk partitions or create a virtual machine.

 

Once you have installed the software (you have to have created the CSS service), execute the asmtool command to create the disk;

 

asmtool -create c:\asm\asmdsk01 5000
asmtool -create c:\asm\asmdsk02 5000

 

This will create two files in c:\, inside the asm directory, with 5 gigas .

 

The trick now is to tell Oracle to create the discs are raws, so we must put asm instance init.ora these two parameters, the second would not need,but it does tell you where you need to start looking , he may later put the entire way.

 

_ASM_ALLOW_ONLY_RAW_DISKS= FALSE

ASM_DISKSTRING=’c:\asm\*’

 

 

HTH – Antonio NAVARRO

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s