Download presentation
Presentation is loading. Please wait.
Published byAnnabelle Garrison Modified over 9 years ago
1
Installing Oracle9i RAC Release 2 on HP OpenVMS Systems
2
page 2 Installation notes Oracle Real Application Cluster will be installed on two nodes using a single disk that is shared cluster wide. The node names are “Path1” and “Path2.” The RAC cluster interconnect will be the through the Ethernet devices in each node using TCP/IP as the transport.
3
page 3 Specifications (1 of 3) Installation example demonstrates install and build of an Oracle9i RAC Release 2 database on an OpenVMS Cluster. Hardware used is a PC running Xcursion and a 4 Processor ES40 configured as a 2-node Galaxy. We booted on disk DKA0: on each node. Oracle account is on a cluster shared disk DKA100. Oracle and the database will be installed on DKA100. Install disk MUST be ODS-5. Installation uses the 9.2 kit that was obtained from the Oracle website. It comes in a Java JAR file.
4
page 4 Specifications (2 of 3) Oracle ships a JRE with its product. However, you will have to install Java on OpenVMS so you can unpack the 9.2 JAR file that comes from the Oracle website. Unpack the JAR file as described on the Oracle website. This creates two.BCK files. Follow the instructions in the VMS_9202_README.txt file to restore the two backup save sets. When the two backup saves sets files are restored, you will have two directories: – [disk1] directory – [disk2] directory These directories will be in the root of a disk. In this example they are in the root of DKA100.
5
page 5 Specifications (3 of 3) OUI requires X-Windows. If the Alpha system that you are using for installation does not have a graphic head, you can use a PC with an X-Windows terminal emulator such as Xcursion. Installation instructions tell you to run @DKA100:[disk1]runinstaller. However RUNINSTALLER.COM file is not in the root of DKA100:[disk1]. You must first copy it from the dka100:[disk1.000000] directory into dka100:[disk1]: $ Copy dka100:[disk1.000000]runinstaller.com dka100:[disk1] Execute @DKA100:[disk1]runinstaller from a terminal window.
6
page 6 Oracle Universal Installer Oracle Installer starts.
7
page 7 Welcome window Click Next to start installation.
8
page 8 Assign name and directory structure Assign a name for your Oracle home. Assign the directory structure for the home. For example: Ora_home Dka100:[oracle.oracle9] This is where the OUI will install Oracle. OUI will create the directories as necessary.
9
page 9 Select product to install Select database. Click Next.
10
page 10 Select installation type Select Enterprise Edition. Click Next.
11
page 11 Enable RAC Select Yes. This will be a member of a RAC. Click Next.
12
page 12 View product summary OUI displays a list of products that will be installed Click Install.
13
page 13 Installation begins Installation begins. Installation time varies from 45 minutes to an hour.
14
page 14 Installation ends Installation finishes. Click Exit.
15
page 15 Database Configuration Assistant Oracle is now installed. In the example it was installed in DKA100:[oracle.oracle9]. To create the first database, you must first set up Oracle logicals. To do this use a terminal and execute @[.oracle9]orauser. Tool to create and manage databases is DBCA. On the terminal type DBCA to launch the Database Assistant.
16
page 16 Welcome to Database Configuration Assistant Database Configuration Assistant starts. Click Next.
17
page 17 Create a database Select Create a database. Click Next.
18
page 18 Select a template Select New Database. Click Next.
19
page 19 Specify database information Enter the Database name and Oracle System Identifier (SID). In this example, database name is DB9I and the SID is DB9I1. Click Next.
20
page 20 Select database features Select which demo databases are installed. In the example we selected all of the possible databases. Click Next
21
page 21 Select default mode In the example we selected Shared Server. Click Next.
22
page 22 Select installation parameters We left this screen at the default. Click Next.
23
page 23 Specify storage parameters Select the device and directory. Use UNIX device syntax: – DKA100:[oracle.oracle9.data base] would be: /DKA100/oracle/oracle9/database/ We accepted default settings in the example. Click Next.
24
page 24 Create a template Creating a template can save time the next time you create a database. Click Finish.
25
page 25 Template example Accept template to be used to create database. Click OK.
26
page 26 Database builds Database built from template. If it completes successfully, click Exit. If it does not build successfully, build it again.
27
page 27 View database Type show system to see the Oracle database up and running. Set up some files to start and stop the database.
28
page 28 Example of a start file Example sets the logicals to manage the database. Next line starts the Listener (needed for client connects). Final lines start the database.
29
page 29 Stopping the database Example of how to stop the database.
30
page 30 Test database server Use Enterprise Manager Console to test database server.
31
page 31 Oracle Enterprise Manager Enter the address of the server and SID. Enter a name. Click OK.
32
page 32 Enter database connect information Enter the system account and password. Change the connection box to read AS SYSDBA. Click OK.
33
page 33 View database information Database is opened and information displayed.
34
page 34 Listener.ora file (1 of 2) Listener.ora file is not necessary unless you have some special information to provide to the TNS listener. You should delete the Listener.ora file. The Listener will automatically pick up the SID from the database. Start the Listener before the database and the SID will show up right away in the listener. If you start the database before the Listener, the SID may not immediately display.
35
page 35 Listener.ora file (2 of 2) To see if the SID is registered in the Listener type: $lsnrctl stat The SID appears as shown in the example.
36
page 36 Unlock a username To unlock a username, type: ORACLE_MARV1>>sqlplus "/as sysdba" SQL> alter user oe identified by oe account unlock; User altered. SQL> exit Preferred method is to use the Enterprise Manager Console.
37
page 37 Configuring second node in cluster (1 of 6) In UNIX, LINUX, and Windows this is done with the DBCA. In OpenVMS however, you must configure the second node by hand. Remember: – Two nodes in this example are Path1 and Path2. – Their TCPIP addresses are 10.2.3.1 ( Path1) and 10.2.3.2 (Path2).
38
page 38 Configuring second node in cluster (2 of 6) Log in to the Oracle account on PATH1 and execute: $ @[.oracle9]orauser db9i1 In the example Oracle was installed in a directory [.oracle9] and the SID assigned was db9i1. The com file executed in the example will set up the logicals needed to manage the newly created database. Next, create and modify some files to include the second cluster node PATH2. The SID for the second node will be assigned DB9I2.
39
page 39 Configuring second node in cluster (3 of 6) Set default ora_root:[network]. Create a file using a command procedure.
40
page 40 Configuring second node in cluster (4 of 6) Create another file using a command procedure.
41
page 41 Configuring second node in cluster (5 of 6) Next, type: Set def ora_root:[dbs] Copy DB9I1password file to DB9I2 password file: $ Copy orapwdb9i1 orapwdb9i2 Create a copy of the instance specific Init.ora file: $ copy initdb9i1.ora initdb9i2.ora Create a copy of the property file: $ copy sid_db9i1.properties sid_db9i2.properties
42
page 42 Configuring second node in cluster (6 of 6) These are the items that need to be modified in the INITSIDB.ORA file: Delete the undo file reference at the bottom of the file. Place the new lines anywhere in the file. cluster_database =true undo_tablespace = UNDOTBS1 or UNDOTBS2 service_names = sidA or sidB instance_name = sidA or sidB instance_number = 1 or 2 thread = 1 or 2 cluster_interconnects = 10.2.3.1 remote_login_passwordfile = SHARED
43
page 43 Create redo files
44
page 44 appendix: node 1 (1 of 3) The following steps are provided with the assumption that: Instance on node1 is sidA. Instance on node2 is sidB. 1. Set up your environment: $ @orauser sidA $ set default ora_root:[network] 2. Create the DCL script needed for bequeath connections : $ @create_orasrv_beq And $ @create_orasrv_netv2 For example: $ @create_orasrv_beq DISK$DISK1:[Oracle.oracel9.ORADATA.DB9I] - _$ sidB DB9I And $ @create_orasrv_netv2 DISK$DISK1:[Oracle.oracel9.ORADATA.DB9I] - _$ sidB DB9I $ set default ora_root:[dbs]
45
page 45 appendix: node 1 (2 of 3) 3.Create a copy of the Password file: $ copy orapwsidA.; orapwsidB.; 4.Create a copy of the instance specific parameter file: $ copy initsidA.ora initsidB.ora The new file must be modified. 5.Create a copy of the properties file: $ copy sid_sidA.properties sid_sidB.properties The new file must be modified. 6.Edit the files that were created in Step 4 and Step 5. (Before starting the instance, refer to the "List Of Parameters" following these numbered steps.) 7.Ensure that parameter remote_login_passwordfile is set to SHARED (default: EXCLUSIVE).
46
page 46 appendix: node 1 (3 of 3)
47
page 47 appendix: node 2 1. Set up your environment: $ @orauser sidB SQL> connect / as sysdba SQL> startup 2. Define list of parameters before starting an instance that will participate in RAC: cluster_database=true undo_tablespace= UNDOTBS1 or UNDOTBS2 service_names=sidA or sidB instance_name= sidA or sidB instance_number= 1 or 2 thread= 1 or 2 cluster_interconnects=10.2.3.1 remote_login_passwordfile=SHARED cluster_database_instances= 4 # optional
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.