Download Oracle Installation

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Compiere Training
Oracle Installation
Apr-04
Installation Oracle
1
Agenda

Oracle Installation






Minimum Footprint
Database (Instance) Creation
Oracle Networking & Diagnostics
Windows/Linux specific issues
Survival Tips
Firewall issues
Apr-04
Installation Oracle
2
Server Installation

Oracle Installation



Cause of Frustration
Complex Install
Outlook :-)

Oracle 10g



Apr-04
1 CD
20 Parameters max
Install in 20-30 min
Installation Oracle
3
Oracle 9i2

Media


From CD - Download
Platform

“Proper Server”


For Test


Works also on W2000 & XP Professional
Disk space


W2000 Server – Linux – Solaris
You should have 5 GB
Memory

Apr-04
You should have 512 MB (more is better ;-)
Installation Oracle
4
Oracle Install

Installation Program

Define Oracle Home




[Database Creation] – do as separate step
(Default) Listener Installation
Agent Installation

Apr-04
Example: OraHome92 – C:\oracle\ora92
Allows remote Administration
Installation Oracle
5
Database Creation

Manual: “dbca”


Database Naming

Global Name (TNS Name)


Example: “main.compiere.org”
SID


Start > Programs > Oracle – OraHome92 >
Configuration and Migration Tools >
Database Configuration Assistant
Example: “main”
Remember Passwords of System and Sys
Apr-04
Installation Oracle
6
Oracle Networking
SQL*PLUS
IMP / EXP
Java JDBC
Net8
Net8
Listener
1521
Net8
Thin
Database
Server
Processes
Bequeath
Apr-04
Installation Oracle
7
Oracle Networking

Listener


Accepts connections on port 1521 (default)
Returns new (dedicated/shared)
connection on another port

Does not work with most firewalls


Need to “fix” port or use Connection Manager
Protocols


Apr-04
Net8 (oci) – “Heavy” e.g. Oracle Tools
Thin (JDBC) – Direct TCP/IP
Installation Oracle
8
Oracle Net Manager

Manual: “netmgr”


Start > Programs > Oracle – OraHome92 >
Configuration and Migration Tools >
Net Manager
Allows you to change and test your
Network connections

Apr-04
Change test login from scott/tiger to
system/pass
Installation Oracle
9
Oracle Networking

Network tests





tnsping main.compiere.org
tnsping main
sqlplus system/[email protected]
sqlplus system/pass@main
Network files


ORACLE_HOME/network/admin/tnsnames.ora
ORACLE_HOME/network/admin/sqlnet.ora


Apr-04
NAMES.DEFAULT_DOMAIN = compiere.org
SQLNET.AUTHENTICATION_SERVICES= (none)
Installation Oracle
10
Oracle Windows Services

Automatically created – start/stop




Listener
Database
Agent
Services


Apr-04
OracleOraHome92TNSListener
OracleServiceMAIN
Installation Oracle
11
Linux/Unix Installation

Follow the book (!)

Before Install




Apr-04
Create groups (oinstall, dba, oracle)
Create user (oracle)
Reconfigure Kernel
Sufficient TEMP & SWAP space
Installation Oracle
12
Linux/Unix Installation

After Install

Set Environment


LD_LIBRARY_PATH & PATH
Create Script to start / stop


Listener – lsnrctl start
Database


Apr-04
sqlplus “system/pass as sysdba”
SQL> startup
Agent – agentctl start
Installation Oracle
13
Survival Tips


Linux: Do the pre-install Tasks
Two Steps





Installation (of code)
Creation of Database
Check the Network files
Test the connection
Reboot & Test the connection
Apr-04
Installation Oracle
14
If things failed badly: Uninstall

Run DB Configuration Assistant


Run Oracle Installer



Delete Database Instance
Select: Deinstall Products
Stop/Kill Services
Delete Oracle_Home
Apr-04
Installation Oracle
15
Oracle Uninstall (2)

Linux/Unix:



Delete Inventory /var/oracle/…
Delete Startup /etc/oratab
Windows Uninstall


Delete C:\Program Files\Oracle
Start “regedit” and delete

HKEY_LOCAL_MACHINE > SOFTWARE > Oracle


HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet
> Services

Apr-04
the node with all sub nodes
the orphaned Oracle services (optional)
Installation Oracle
16
Firewall Issues

Standard Listener: Port Switching



Contact Listener on port 1521
Returns a (dedicated) connection on another Port
Options:

Windows



Net8 compliant firewall
Connection Manager

Apr-04
USE_SHARED_SOCKET = TRUE
Port 1610
Installation Oracle
17
Network Performance

Issue: High Latency Networks




Ping > 60ms
JDBC – about 10-15 round trips
Upload Speed of 128k usually sufficient
Options


“Create Objects on Server” - Preferences Option
Tunnel via HTTP – Connection Option

Apr-04
JDBC via RMI via HTTP
Installation Oracle
18
Database Independence

We are converting



Evaluation what to do best


PL/SQL Procedures -> Java
PL/SQL Triggers -> Java
PL/SQL Functions & Views
Persistency Management beyond CMP/JDO

Apr-04
Built-in Security & Lazy Loading
Installation Oracle
19
Related documents