Anda di halaman 1dari 62

ASM on Windows

June 2005

Author: Esteban Bernal

ASM on Windows
INTRODUCTION

Automatic Storage Management (ASM) is a highperformance storage management solution for Oracle database files that is consistent across all supported platforms. Designed specifically to simplify the job of the database administrator (DBA), Automatic Storage Management provides you with a flexible storage solution that simplifies the management of a dynamic database environment. Automatic Storage Management makes most manual I/O performance tuning tasks unnecessary.

ASM on Windows
I) HARDWARE REQUIREMENTS

RAM: 256 MB minimum, 512 MB recommended Virtual memory: double the amount of RAM Hard disk space: 2.78 GB (10g Software) Hard disk(s) space: Raw Devices (ASM/Database(s)) Temp disk space: 100 MB Video adapter: 256 color Processor: 200 MHz minimum
3

ASM on Windows
II) OS REQUIREMENTS

Windows 2000 with service pack 1 or higher. All editions, including Terminal Services and Windows 2000 MultiLanguage Edition (MLE), are supported. Windows Server 2003 Windows XP Professional ASM is not supported on Windows NT

ASM on Windows
III) ORACLE REQUIREMENTS

Oracle Enterprise/Standard Edition . Oracle Cluster Synchronization Services (CSS).

ASM on Windows
IV) Cluster Synchronization Services (CSS)

CSS (OracleCSService) is required to setup ASM . The first time you install Oracle Database on a system, Oracle Universal Installer configures and starts a single-node version of the Oracle Cluster Synchronization Services (CSS) service. The CSS service is required to enable synchronization between an Automatic Storage Management (ASM) instance and the database instances that rely on it for database file storage. It is configured and started even if you do not choose Automatic Storage Management as a storage mechanism for database files. Because it must be running before any Automatic Storage Management instance or database instance starts, Oracle Universal Installer configures it to start automatically when the system starts.
6

ASM on Windows
IV) Cluster Synchronization Services (Continuation)

For Oracle Real Application Clusters installations, the CSS service is installed with Oracle Cluster Ready Services (CRS) in a separate Oracle home directory (also called the CRS home directory). For single-node installations, the CSS service is installed in and runs from the same Oracle home as Oracle Database.

ASM on Windows
V) Detecting Available Disks

The available disks need to be discovered through the Disk Management (GUI):

ASM on Windows
VI) Creating Raw Devices with the DISKPART OS Command.

In order to setup ASM on Windows we need to create Raw Devices using the DISKPART OS command. Raw devices are disk partitions (Primary Partition) or logical volumes (Logical Partition) that have not been formatted with a file system. Syntax: DISKPART> select disk 0 DISKPART> create partition {Primary | Logical} size=#MB

ASM on Windows
VI) Creating Raw Devices with the DISKPART OS Command. (continuation)

10

ASM on Windows
VI) Creating Raw Devices with the DISKPART OS Command. (continuation)

11

ASM on Windows
VI) Creating Raw Devices with the DISKPART OS Command. (continuation)

12

ASM on Windows
VI) Creating Raw Devices with the DISKPART OS Command. (continuation)

13

ASM on Windows
VI) Creating Raw Devices with the DISKPART OS Command. (continuation)

14

ASM on Windows
VI) Creating Raw Devices with the DISKPART OS Command. (continuation)

15

ASM on Windows
VI) Creating Raw Devices with the DISKPART OS Command. (continuation)

16

ASM on Windows
VI) Creating Raw Devices with the DISKPART OS Command. (continuation)

17

ASM on Windows
VI) Creating Raw Devices with the DISKPART OS Command. (continuation)

18

ASM on Windows
VI) Creating Raw Devices with the DISKPART OS Command. (continuation)

19

ASM on Windows
VI) Creating Raw Devices with the DISKPART OS Command. (continuation)

20

ASM on Windows
VII) Stamping the Raw Devices with the asmtoolg (GUI).

To use Automatic Storage Management with direct attached storage (DAS) or storage area network (SAN) storage, the disks (raw devices) must be stamped with a header by asmtool or asmtoolg (GUI version). asmtoolg is a graphical interface for creating device names. Use asmtoolg to add, change, delete, and examine the devices available for use in Automatic Storage Management. asmtool is a command-line interface for stamping disks

21

ASM on Windows
VII) Stamping the Raw Devices with the asmtoolg. (continuation)

22

ASM on Windows
VII) Stamping the Raw Devices with the asmtoolg. (continuation)

23

ASM on Windows
VII) Stamping the Raw Devices with the asmtoolg. (continuation)

24

ASM on Windows
VII) Stamping the Raw Devices with the asmtoolg. (continuation)

25

ASM on Windows
VII) Stamping the Raw Devices with the asmtoolg. (continuation)

26

ASM on Windows
VII) Stamping the Raw Devices with the asmtoolg. (continuation)

27

ASM on Windows
VII) Stamping the Raw Devices with the asmtoolg. (continuation)

28

ASM on Windows
VII) Stamping the Raw Devices with the asmtoolg. (continuation)

29

ASM on Windows
VII) Stamping the Raw Devices with the asmtoolg. (continuation)

30

ASM on Windows
VII) Stamping the Raw Devices with the asmtoolg. (continuation)

31

ASM on Windows
VII) Stamping the Raw Devices with the asmtoolg. (continuation)

32

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA

In order to create an ASM Instance, the OracleCSService must be running:

33

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

34

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

35

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

36

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

37

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

38

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

39

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

40

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

41

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

42

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

43

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

44

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

45

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

46

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

47

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

48

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

49

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

50

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

51

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

52

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

53

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

54

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

55

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

56

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

57

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

58

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

59

ASM on Windows
VIII) Creating an ASM Instance and Database using the DBCA. (continuation)

60

ASM on Windows
IX) References

Oracle Database Installation Guide 10g Release 1 (10.1.0.2.0) for Windows Part No. B10130-02 Oracle Database Administrator's Guide 10g Release 1 (10.1) Part Number B10739-01

61

ASM on Windows

QUESTIONS?

62

Anda mungkin juga menyukai