ORACLE PARALLEL SERVER (OPS)

제품 : ORACLE SERVER
작성날짜 : 2004-08-13
ORACLE PARALLEL SERVER (OPS)
==============================
PURPOSE
다음은 OPS(ORACLE PARALLEL SERVER) 의 구조에 대해서 알아본다.
SCOPE
Standard Edition 에서는 Real Application Clusters 기능이 10g(10.1.0) 이상 부터 지원이 됩니다.
Explanation
1. Parallel Server Architecture
OPS는 다수의 Loosely Coupled System들 간의 원활한 Resource
Sharing을 위해 제공하는 DLM(PCM)을 이용하여 동시에 다수의
사용자가 각 Node를 통해 한 Database를 Access함으로써 System의
가용성과 전체적인 성능을 극대화시키기 위한 다중처리 System
구성이다.
(1) Loosely Coupled System
SMP Machine과 같이 Tightly Coupled System들 간에 Data Files,
Print Queue 같은 Resource를 공유하기 위한 Shared Disk
Architecture로 Node간의 정보전송은 Common High-Speed Bus를
이용한다.
(2) Distributed Lock Manager(DLM)
Loosely Coupled System에서 Resource Sharing을 조정,관리하는
Software로 Application들이 같은 Resource에 대해 동시에 Access를
요구할 때 서로간의 Synchronization을 유지하며 Conflict가
발생하지 않도록 하는 기능을 담당한다.
다음은 DLM의 주요 Service이다
- Resource에 대한 Current "ownership" 유지 관리
- Application Process들의 Resource Request Accept
- 요구한 Resource가 가용할 경우 해당 Process에 공지
- Resource에 대한 Exclusive Access 허용
(3) Parallel Cache Management(PCM)
Data File내의 하나 이상의 Data Block을 관리하기 위해
할당되는 Distributed Lock을 PCM Lock이라 하며 어떤 Instance가
특정 Resource를 Access하기 위해서는 반드시 그 Resource의 Master
Copy의 "owner"가 되어야 한다.
이는 곧 그 Resource를 Cover하는 Distributed Lock의 "owner"가
됨을 의미한다. 이러한 "owner ship"은 다른 Instance가 동일
Data Block 또는 그 PCM Lock에 의해 Cover되고 있는 다른 Data
Block에 대한 Update 요구가 있을때까지 계속 유지된다.
"owner ship"이 한 Instance에 다른 Instance로 전이 되기 전에
변경된 Data Block은 반드시 Disk로 "write"하므로 각 Node의
Instance간 Cache Coherency는 철저하게 보장된다.
2. Parallel Server의 특성
- Network상의 각 Node에서 Oracle Instance 기동 가능
- 각 Instance는 SGA + Background Processes로 구성
- 모든 Instance는 Control File과 Datafile들을 공유
- 각 Instance는 자신의 Redo Log를 보유
- Control File, Datafiles, Redo Log Files는 하나 이상의
Disk에 위치
- 다수의 사용자가 각 Instance를 통해 Transaction 실행 가능
- Row Locking Mode 유지
3. Tuning Focus
서로 다른 Node를 통해서 하나의 Database 구성하의 Resource를
동시에 사용하는 OPS 환경에서 Data의 일관성과 연속성을 위한
Instance간의 Lock Managing은 불가피한 현실이다. 즉, 위에서
언급한 Instance간의 Resource "owner ship"의 전이(pinging 현상)
와 같은 Overhead를 최소화하기 위해선 효율적인 Application
Partition(Job의 분산)이 가장 중요한 현실 Factor이다.
다시 말해 서로 다른 Node를 통한 동일 Resource에의 Cross-Access
상황을 최소화해야 함을 의미한다.
다음은 OPS 환경에서 Database Structure 차원의 Tuning Point로서
PCM Lock 관련 GC(Global Constant) Parameters와 Storage에 적용할
Options 및 기타 필요한 사항이다.
(1) Initial Parameters
OPS 환경에서 PCM Locks를 의해 주는 GC(Global Constant)
Parameters는 Lock Managing에 절대적인 영향을 미치며 각 Node마다
반드시 동일한 Value로 설정(gc_lck_procs 제외)되어야 한다.
일반적인 UNIX System에서 GC Parameters로 정의하는 PCM Locks의
총합은 System에서 제공하는 DLM Configuration 중 "Number of
Resources"의 범위 내에서 설정 가능하다.
- gc_db_locks
PCM Locks(DistributedLocks)의 총합을 정의하는 Parameter로
gc_file_to_locks Parameter에 정의한 Locks의 합보다 반드시
커야 한다.
너무 작게 설정될 경우 하나의 PCM Lock이 관리하는 Data Blocks가
상대적으로 많아지므로 Pinging(False Pinging) 현상의 발생
가능성도 그만큼 커지게 되며 그에 따른 Overhead로 인해 System
Performance도 현격히 저하될 가능성이 크다. 따라서 가능한
최대의 값으로 설정해야 한다.
- False Pinging
하나의 PCM Lock이 다수의 Data Blocks를 관리하므로 자신의
Block이 아닌 같은 PCM 관할하의 다른 Block의 영향으로 인해
Pining현상이 발생할 수 있는 데 이를 "False Pinging"이라 한다.
Database Object별 발생한 Pinging Count는 다음과 같이 확인할 수
있으며 sum(xnc) > 5(V$PING) 인 경우에 더욱 유의해야 한다.
- gc_file_to_locks
결국 gc_db_locks에 정의된 전체 PCM Locks는 각 Datafile 당
적절히 안배가 되는데 전체 Locks를 운용자의 분석 결과에 의거
각 Datafile에 적절히 할당하기 위한 Parameter이다.
운용자의 분석 내용은 각 Datafile 내에 존재하는 Objects의 성격,
Transaction Type, Access 빈도 등의 세부 사항을 포함하되 전체
PCM Locks 대비 Data Blocks의 적절하고도 효율적인 안배가
절대적이다.
이 Parameter로 각 Datafile당 PCM Locks를 안배한 후 Status를
다음의 Fixed Table로 확인할 수 있다.
Sample : gc_db_locks = 1000
gc_file_to_locks = "1=500:5=200"
X$KCLFI ----> 정의된 Bucket 확인
Fileno      Bucket     
1     1     
2      0      
3     0     
4      0     
5     2     
X$KCLFH ----> Bucket별 할당된 Locks 확인
Bucket     Locks     Grouping     Start     
0     300     1     0     
1     500     1     300     
2     200     1     800     
gc_files_to_locks에 정의한 각 Datafile당 PCM Locks의 총합은 물론
gc_db_locks의 범위를 초과할 수 없다.
다음은 각 Datafile에 할당된 Data Blocks의 수를 알아보는 문장이다.
select e.file_id id,f.file_name name,sum(e.blocks) allocated,
f.blocks "file size"
from dba_extents e,dba_data_files f
where e.file_id = f.file_id
group by e.file_id,f.file_name,f.blocks
order by e.file_id;
- gc_rollback_segments
OPS로 구성된 각 Node의 Instance에 만들어진 Rollback Segment
(Init.ora의 rollback_segments에 정의한)의 총합을 정의한다.
다수의 Instance가 Rollback Segment를 공용으로 사용할 수는 있으나
OPS 환경에서는 그로 인한 Contention Overhead가 엄청나므로 반드시
Instance당 독자적인 Rollback Segment를 만들어야 하며 Instance간
동일한 이름의 부여는 불가하다.
select count(*) from dba_rollback_segs
where status='ONLINE';
위의 결과치 이상의 값으로 정해야 한다.
- gc_rollback_locks
하나의 Rollback Segment에서 동시에 변경되는 Rollback Segment
Blocks에 부여하는 Distributed Lock의 수를 정의한다.
Total# of RBS Locks = gc_rollback_locks * (gc_rollback_segments+1)
위에서 "1"을 더한 것은 System Rollback Segment를 고려한 것이다.
전체 Rollback Segment Blocks 대비 적절한 Locks를 정의해야 한다.
다음은 Rollback Segment에 할당된 Blocks의 수를 알아보는 문장이다.
select s.segment_name name,sum(r.blocks) blocks
from dba_segments s,dba_extents r
where s.segment_name = r.segment_name
and s.segment_type = 'ROLLBACK'
group by s.segment_name;
- gc_save_rollback_locks
특정 시점에서 어떤 Tablespace 내의 Object를 Access하고 있는
Transaction이 있어도 그 Tablespace를 Offline하는 것은 가능하다.
Offline 이후에 발생된 Undo는 System Tablespace내의 "Differred
Rollback Segment"에 기록, 보관 됨으로써 Read Consistency를
유지한다. 이 때 생성되는 Differred Rollback Segment에 할당하는
Locks를 정의하는 Parameter이다.
일반적으로 gc_rollback_locks의 값과 같은 정도로 정의하면 된다.
- gc_segments
모든 Segment Header Blocks를 Cover하는 Locks를 정의한다. 이 값이
작을 경우에도 Pinging 발생 가능성은 그 만큼 커지므로 해당
Database에 정의된 Segments 이상으로 설정해야 한다.
select count(*) from dba_segments
where segment_type in ('INDEX','TABLE','CLUSTER');
- gc_tablespaces
OPS 환경에서 동시에 Offline에서 Online으로 또는 Online에서
Offline으로 전환 가능한 Tablespace의 최대값을 정의하는 것으로
안전하게 설정하기 위해서 Database에 정의된 Tablespace의 수만큼
설정한다.
select count(*) from dba_tablespaces;
- gc_lck_procs
Background Lock Process의 수를 정하는 것으로 최대 10개까지
설정(LCK0-LCK9)할 수 있다. 기본적으로 하나가 설정되지만 필요에
따라 수를 늘려야 한다.
(2) Storage Options
- Free Lists
Free List는 사용 가능한 Free Blocks에 대한 List를 의미한다.
Database에서 새롭게 가용한 Space를 필요로 하는 Insert나
Update시엔 반드시 Free Space List와 관련 정보를 가지고 있는
Blocks Common Pool을 검색한 후 필요한 만큼의 충분한 Blocks가
확보되지 않으면 Oracle은 새로운 Extent를 할당하게 된다.
특정 Object에 동시에 다수의 Transaction이 발생한 경우 다수의
Free Lists는 그만큼 Free Space에 대한 Contention을 감소시킨다.
결국 Free List의 개수는 Object의 성격과 Access Type에 따라
적절히 늘림으로써 커다란 효과를 거둘 수 있다.
예를 들면 Insert나 크기가 늘어나는 Update가 빈번한 Object인
경우엔 Access 빈도에 따라 3 - 5 정도로 늘려줘야 한다.
- freelist groups
Freelist group의 수를 정의하며 전형적으로 OPS 환경에서
Instance의 수만큼 설정한다. 특정 Object의 Extent를 특정
Instance에 할당하여 그 Instance에 대한 Freelist Groups를
유지하므로 Instance별 Free List 관리도 가능하다.
(3) 기타
- Initrans
동시에 Data Block을 Access할 때 필요한 Transaction Entries에
대한 초기치를 의미하며 Entry당 23Byte의 Space를 미리 할당한다.
기본값은 Table이 "1" 이고 Index와 Cluster는 "2" 이다. Access가
아주 빈번한 Object인 경우 Concurrent Transactions를 고려하여
적절히 설정한다.
4. Application Partition
OPS Application Design의 가장 중요한 부분으로 Partitioning의
기본 원리는 다음과 같다.
. Read Intensive Data는 Write Intensive Data로부터 다른
Tablespaces로 분리한다.
. 가능한 한 하나의 Application은 한 Node에서만 실행되도록
한다. 이는 곧 다른 Application들에 의해 Access되는 Data에
대한 Partition을 의미한다.
. 각 Node마다 Temporary Tablespaces를 할당한다.
. 각 Node마다 Rollback Segments를 독립적으로 유지한다.
5. Backup & Recovery
일반적으로 OPS 환경의 Sites는 대부분 24 * 365 Online 상황이므로
전체적인 Database 운영은 Archive Log Mode & Hot Backup으로 갈
수에 없으며 Failure 발생시 얼마나 빠른 시간 안에 Database를
완벽하게 복구 할 수 있는 지가 최대 관건이라 하겠다.
모든 Backup & Recovery에 관한 일반적인 내용은 Exclusive Mode
Database 운영 환경에서와 동일하다.
(1) Backup
- Hot Backup Internal
Archive Mode로 DB를 정상적으로 운영하며 Online Data Files를
Backup하는 방법으로 Tablespace 단위로 행해진다.
alter tablespace - begin backup이 실행되면 해당 Tablespace를
구성하는 Datafiles에 Checkpoint가 발생되어 Memory상의 Dirty
Buffers를 해당 Datafiles(Disk)에 "Write"함과 동시에 Hot Backup
Mode에 있는 모든 Datafiles의 Header에 Checkpoint SCN을 Update
하는데 이는 Recovery시에 중요한 Point가 된다.
또한 alter tablespace - end backup이 실행되기 전까지 즉,
Hot Backup이 행해지는 동안 해당 Datafiles는 "fuzzy" Backup
Data가 생성되며 특정 Record의 변형 시에도 해당 Block이 Redo
Log에 기록 되므로 다수의 Archive File이 더 생성되는 것을 볼 수
있다. 따라서 Admin이 해당 Datafiles를 모두 Backup하고도 end
backup을 실행하지 않으면 전체 인 System 성능에 심각한 영향을
미치게 되므로 특히 주의해야 한다.
Hot Backup 중인지의 여부는 다음 문장을 통해 확인할 수 있다.
select * from v$backup; -> status 확인
- Hot Backup Step (Recommended)
① alter system archive log current
② alter tablespace tablespacename begin backup
③ backup the datafiles,control files,redo log files
④ alter tablespace tablespacename end backup
⑤ alter database backup controlfile to 'filespec'
⑥ alter database backup controlfile to trace noresetlogs(safety)
⑦ alter system archive log current
(2) Recovery
- Instance Failure시
OPS 환경에서 한 Instance의 Failure시 다른 Instance의 SMON이
즉시 감지하여 Failed Instance에 대한 Recovery를 자동으로
수행한다. 이 때 운영중인 Instance는 Failed Instance가 생성한
Redo Log Entries와 Rollback Images를 이용하여 Recovery한다.
Multi-Node Failure시엔 바로 다음에 Open 된 Instance가 그 역할을
담당하게 된다. 아울러 Failed Instance가 Access하던 모든 Online
Datafiles에 대한 Recovery도 병행되는 데 이런 과정의 일부로
Datafiles에 관한 Verification이 실패하여 Instance Recovery가 되지
않을 경우엔 다음 SQL Statement를 실행시키면 된다.
alter system check datafiles global;
- Media Failure시
다양한 형태로 발생하는 Media Failure시엔 Backup Copy를
Restore한 후 Complete 또는 Incomplete Media Recovery를 행해야
하며 이는 Exclusive Mode로 Database를 운영할 때와 전혀 다르지
않다.
Node별 생성된 즉, Thread마다 생성된 모든 Archived Log Files는
당연히 필요하며 많은 OPS Node 중 어디에서든지 Recovery 작업을
수행할 수 있다.
- Parallel Recovery
Instance 또는 Media Failure시 ORACLE 7.1 이상에서는 Instance
Level(init.ora) 또는 Command Level(Recover--)에서 Parallel
Recovery가 가능하다. 여러 개의 Recovery Processes를 이용하여
Redo Log Files를 동시에 읽어 해당 After Image를 Datafiles에
반영시킬 수 있다. Recovery_Parallelism Parameter는 Concurrent
Recovery Processes의 수를 정하며 Parallel_Max_Servers Parameter의
값을 초과할 수는 없다.
(3) 운영 시 발생 가능한 Error
- ORA-1187 발생
ORA-1187 : can not read from file name because it
failed verification tests.
(상황) 하나의 Node에서 create tablespace ... 한 상태에
정상적으로 운영하던 중 다른 Node를 통해 특정 Object를
Access하는데 ORA-1187 발생.
(원인) 다른 Node에서 raw disk의 owner, group, mode 등을
Tablespace가 생성된 후 뒤늦게 전환.
(Admin의 Fault)
(조치) SQL> alter system check datafiles global;
Reference Documents
--------------------

hal lavender wrote:
Hi,
I am trying to achieve Load Balancing & Failover of Database requests to two of the nodes in 8i OPS.
Both the nodes are located in the same data center.
Here comes the config of one of the connection pools.
<JDBCConnectionPool CapacityIncrement="5" ConnLeakProfilingEnabled="true"
DriverName="oracle.jdbc.driver.OracleDriver" InactiveConnectionTimeoutSeconds="0"
InitialCapacity="10" MaxCapacity="25" Name="db1Connection598011" PasswordEncrypted="{3DES}ARaEjYZ58HfKOKk41unCdQ=="
Properties="user=ts2user" Targets="ngusCluster12,ngusCluster34" TestConnectionsOnCreate="false"
TestConnectionsOnRelease="false" TestConnectionsOnReserve="true" TestFrequencySeconds="0"
TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@192.22.11.160:1421:dbinst01" />
<JDBCConnectionPool CapacityIncrement="5" ConnLeakProfilingEnabled="true"
DriverName="oracle.jdbc.driver.OracleDriver" InactiveConnectionTimeoutSeconds="0"
InitialCapacity="10" MaxCapacity="25" Name="db2Connection598011" PasswordEncrypted="{3DES}ARaEjYZ58HfKOKk41unCdQ=="
Properties="user=ts2user" Targets="ngusCluster12,ngusCluster34" TestConnectionsOnCreate="false"
TestConnectionsOnRelease="false" TestConnectionsOnReserve="true" TestFrequencySeconds="0"
TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@192.22.11.161:1421:dbinst01" />
<JDBCMultiPool AlgorithmType="Load-Balancing" Name="pooledConnection598011"
PoolList="db1Connection598011,db2Connection598011" Targets="ngusCluster12,ngusCluster34" />
Please let me know , if you need further information
HalHi Hal. All that seems fine, as it should be. Tell me how you
enact a failure so that you'd expect one pool to still be good
when the other is bad.
thanks,
Joe

Similar Messages

  • Setting up oracle parallel server(ops)

    hi
    Can any one help me.
    what is osd(operating system dependent) layer.How can I install this
    from where would i get this.
    This is asked while installing ops(oracle parallel server).
    Thanks
    from
    pradeep

    hi
    Can any one help me.
    what is osd(operating system dependent) layer.How can I install this
    from where would i get this.
    This is asked while installing ops(oracle parallel server).
    Thanks
    from
    pradeep

  • Oracle Parallel Server Overview PDF

    The Oracle Parallel Server Overview PDF file seems corrupted; can't browse past page 1.
    http://otn.oracle.com/deploy/availability/pdf/Oracle8i_Parallel_Server_Whitepaper.pdf
    (from http://otn.oracle.com/deploy/performance/content.html)

    I'm not sure what you did wrong, but I got OPS working fine under SuSE Linux 7.0.

  • Newbie question about Oracle Parallel Server and Real Application Cluster

    I am trying to find out what kind of storage system is supported by the 9i Real Applicaton cluster. I have looked at the 8i Oracle Parallel Server which requires raw partitions and therefore NAS (network attached storage) that provides an interface at the file level will not work. Does anyone know if the 9i Real Application cluster has a similar requirement for raw partitions? any suggestions of whether SAN or other technology will be suitable? pointers to more information is appreciated.
    Robert

    Hi Derik,
    I know this is a really broad question. No, it happens all the time! Here is a similar issue:
    http://blog.tuningknife.com/2008/09/26/oracle-11g-performance-issue/
    +"In the end, nothing I tried could dissuade 11g from emitting the “PARSING IN CURSOR #d+” message for each insert statement. I filed a service request with Oracle Support on this issue and they ultimately referred the issue to development as a bug. Note that Support couldn’t reproduce the slowness I was seeing, but their trace files did reflect the parsing messages I observed."+
    I would:
    1 - Start by examining historical SQL execution plans (stats$sql_plan or dba_hist_sql_plan). Try to isolate the exact nature of the decreased performance.
    Are different indexes being used? Are you geting more full-table scans?
    2 - Migrate-in your old 10g CBO statistics
    3 - Confirm that all init.ora parms are identical
    4 - Drill into each SQL with a different execution plan . . .
    Raid 5 Don't believe that crap that all RAID-5 is evil. . . .
    http://www.dba-oracle.com/t_raid5_acceptable_oracle.htm
    But at the same time, consider using the Oracle standard, RAID-10 . . .
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/t_oracle_tuning_book.htm
    "Time flies like an arrow; Fruit flies like a banana".

  • Oracle Parallel Server

    This is a question about availability of
    Oracle Parallel Server on linux. I tried to
    ask OTN but their answer was really strange :
    they adviced me to go to discussion board!
    I suppose that Parallel was not realized
    for linux oficially yet but this is a possibility
    to use server compiled for another OS as
    it was with Informix on SCO. Please, could you clarify this question for me?

    This is a lie on behalf of Oracle.
    What they mean to say is they supply some of the underlying sub-systems such as Parallel server manager.
    If you mean parallel server and not Oracle Failsafe, you need an OSD layer. This is a certified layer tested by Oracle for parallel operation. The guidelines for the exact kit will will run on are strick and it comes from your hardware suppliers. Compaq's is around 4k for example.
    Hope this helps,
    Pete

  • Instance names with Oracle Parrallel Server (OPS)

    Hi. I was "reviewing" an Oracle 8 OPS implementation and I noticed that the instances on both nodes have the same name. In another word, the instance on node 1 is named I1 and the instance on node 2 is named I1. While the system appears to work, during a failure of one instance, both instances fail. Does this make sense? Has anyone else had a similar experience? Does anyone know of the possible effect of having the same name.
    The clients are weblogic applications using the thin-driver.
    Any help you can give me would be appreciated.

    Hi,
    While the system appears to work, during a failure of one instance, both instances fail. Does this make sense?As per OPS architecture point of view,both instance should be have different name.
    and failure of one instance doesn't effect on other availability and other should be up and running ,that is the true menaing of high availabilty in OPS.
    again check ur configuration,verify ur parameters in init.ora file is configure properly or not.
    also check alert log files of both instance.and put different name of each instance.
    **instance_number should be different on both instance
    Kuljeet

  • Oracle parallel server redhat 6.2/oracle 8.1.7 on 1 piii server/ 3 ppro clients

    hi,
    what a bloody maze! i have two immediate problems:
    1) node db instances are unable to access control file raw
    devices on server;
    2) opsctl (opsd) command returns: error in loading shared
    libraries: libskgxp8.so has invalid ELF header.
    please advise. thanks.
    regards,
    kp

    i have been unable to resolve this problem.
    kp

  • OS dependent layer for Oracle Parallel Server

    Hi,
    I am trying to configure OPS. But I don't understand the OS
    dependent layer for Win2000. What should I configure in OS level
    for clustering and OS dependent layer?
    Thanks,
    Tarek

    Should I need to put this on Metalink?

  • Need Opinions on Connect-time failover for Oracle Parallel Server

    Has anyone had any experience using the (failover=on) setting in TNSNAMES.ora file?
    Specifically has anyone had any issues using this feature from a JDBC application?
    Horror stories? Good news? Anything?
    Thanx....

    Should I need to put this on Metalink?

  • Oracle 8 Enterprise/Parallel Server availability on Linux

    I have not downloaded the Linux port of Oracle 8 yet so please
    bear with me... I would like to know whether Oracle Parallel
    Server
    is included in the distribution for Linux. Specifically, I
    would like to build a system that has a failover node for a
    client with
    high-availability/reliability needs. Has anyone done this on
    Linux yet?
    I have looked at the Marketing blurb on Oracle Parallel Server
    and it looks like OPS should suit my purpose. Any comments?
    Caveats?
    Thanks in advance,
    Ty Haeber
    Quetzal Systems Inc.
    Vancouver, B.C.
    null

    Bud Alverson (guest) wrote:
    : The Beowulf project supports clustering with Linux. Redhat
    even
    : has a release called "Extreme" that supports it in a fashion.
    : In fact, Los Alamos has achieved the upper tier of the top 500
    : fastest supercomputers in the world using Linux (#114, see:
    : http://www.top500.org/top500.list.html). It's named Avalon and
    : has 140 Alphas clustered via Redhat Linux 5.0. Read about it
    at:
    : http://loki-www.lanl.gov/papers/sc98/
    To run Oracle Parallel Server (OPS) on a Linux-Cluster you would
    need (Virtual) Shared Disks with Concurrent Access from all
    Cluster-Nodes. As far as I know Beowulf does not provide
    (Virtual) Shared Disks (a la VSD/RVSD on RS/6000 SP). NFS, etc.
    will not work as substitute for Virtual Shared Disks since Raw
    Partitions (Logical Volumes) with Concurrent Access are needed.
    Maybe DB2 UDB EEE (a Shared-Nothing architecture) might become
    available more easily as MPP DBMS on Linux, since it does not
    need (Virtual) Shared Disks.
    : Bud Alverson
    : CrossNet Communications
    : Michael Daskaloff (guest) wrote:
    : : Ty haeber (guest) wrote:
    : : : I have not downloaded the Linux port of Oracle 8 yet so
    : please
    : : : bear with me... I would like to know whether Oracle
    Parallel
    : : : Server
    : : : is included in the distribution for Linux. Specifically, I
    : : : would like to build a system that has a failover node for a
    : : : client with
    : : : high-availability/reliability needs. Has anyone done this
    on
    : : : Linux yet?
    : : : I have looked at the Marketing blurb on Oracle Parallel
    : Server
    : : : and it looks like OPS should suit my purpose. Any
    : comments?
    : : : Caveats?
    : : : Thanks in advance,
    : : : Ty Haeber
    : : : Quetzal Systems Inc.
    : : : Vancouver, B.C.
    : : Dear friend,
    : : what I'd tell you might be wrong but you might consider my
    : words.
    : : I'm not very knoledgable about linux but I think there is
    : : currently no hardware and software to support clusters on
    : linux.
    : : I'm sure Oracle Corp. will do the most of them to make I
    : : Parallel Server (I think, yet there is no Enterprise Edition
    : for
    : : Linux) option for Linux as soon as there is such a
    combination
    : of
    : : hardware/software.
    : : Meanwhile if you really need I working and stable solution
    : : go get Dec Alpha or RS/6000. There is already Parallel Server
    : : for NT, which IMO currently runs only on Compaq hardware.
    : : However I think You'd better you UNIX for your Parallel
    Server
    : : enviroment.
    : : If you just need to reduce downtime You can you a feature of
    : : Oracle called 'Standby Database' which is available for all
    : : versions and Editions of Oracle8 (including that for Linux).
    null

  • (ORACLE 8.X OPS)  INSTANCE GROUP

    제품 : ORACLE SERVER
    작성날짜 : 2004-08-13
    [ORACLE 8.X OPS] INSTANCE GROUP
    ================================
    SCOPE
    Oracle Parallel Server(OPS) Option은 8~9i Standard Edition에서는 지원하지
    않는다.
    Explanation
    Oracle 8이상부터 관리상의 목적으로 인스턴스들을 몇개의 논리적 그룹으로 나누어,
    그룹단위로 작업을 수행할 수 있다.
    인스턴스 그룹은 특정한 목적을 ( 자원 할당, parallel query 등 ) 위해 인스턴스들을 그룹화 시킨 것이다.
    따라서 자원에 대한 partition을 효율적으로 할 수 있게 한다.
    1. Instance Group의 지정방법
    인스턴스 그룹을 지정하기 위해서는 인스턴스 그룹에 포함시킬 인스턴스에서
    initSID.ora file에 INSTANCE_GROUPS를 지정하여야 한다.
    예를 들어 instance 1에서는 파라미터 값을 다음과 같이 지정할 수 있다.
    INSTANCE_GROUPS = groupB, groupD
    그리고 instance 3에서는 다음과 같이 지정되어 있을 수 있다.
    INSTANCE_GROUPS = groupA, groupD
    위와 같은 상황에서 instance 1과 3은 모두 인스턴스 그룹 group D에 속한다. 뿐만 아니라 다른 그룹에도 속한다.
    2. Instance Group의 사용방법
    인스턴스 그룹을 다음 두가지 이유에 따라 사용할 수 있다.
    1) Parallel operation 작업시 group 지정 ( PARALLEL_INSTANCE_GROUP )
    2) GV$에 대한 조회시, 결과를 돌려줄 인스턴스의 지정 ( OPS_ADMIN_GROUP: oracle8.0에서만 사용가능함 )
    PARALLEL_INSTANCE_GROUP과 OPS_ADMIN_GROUP의 기본값은, 실행중인 모든 인스턴스이다.
    a. PARALLEL_INSTANCE_GROUP
    Parallel Operation을 처리할 때 인스턴스 그룹을 지정하기 위해서는 initSID.ora 파일에 다음과 같이 지정해야 한다.
    PARALLEL_INSTANCE_GROUP = groupname
    PARALLEL_INSTANCE_GROUP 파라미터가 지정된 인스턴스에서 발생한
    모든 parallel operation은 그룹내에서 처리된다.
    PARALLEL_INSTANCE_GROUP은 ALTER SESSION이나 ALTER SYSTEM 문으로 값을 바꿀 수 있는 dynamic 파라미터이다.
    기본값은 현재 실행중인 모든 인스턴스이다. PARALLEL_INSTANCE_GROUP에는 그 값을 지정한 인스턴스가 포함되지 않아도 된다.
    b. OPS_ADMIN_GROUP ( Oracle 8.0 ops only)
    GV$ 관련 뷰를 조회할 때 결과를 취합할 인스턴스들은 OPS_ADMIN_GROUP 파라미터로 지정한다.
    Example
    1. Instance Group의 member 조회 방법
    인스턴스 그룹의 멤버들을 조회하기 위해서는 GV$PARAMETER를 조회하면 된다.
    조회 결과로는 INSTANCE_GROUPS 파라미터의 값들이 출력된다.
    2. case study
    인스턴스 1의 initialization 파라미터 파일에 다음과 같이 지정되어 있다.
    INSTANCE_GROUPS = Ga, Gb
    PARALLEL_INSTANCE_GROUP = Gb
    인스턴스 2의 initialization 파라미터 파일에 다음과 같이 지정되어 있다.
    INSTANCE_GROUPS = Gb, Gc
    PARALLEL_INSTANCE_GROUP = Gc
    인스턴스 1에서 다음과 같은 명령을 수행할 때는 Gb 그룹에 속하는 인스턴스들에서 작업이 수행된다.
    두개의 parallel server process가 인스턴스 1과 2에서 생성된다.
    ALTER TABLE table PARALLEL (DEGREE 2 INSTANCES 2);
    SELECT COUNT(*) FROM table;
    만약 아래 명령을 인스턴스 2에서 수행시키면 Gc 그룹이 사용된다. 이때 두개의 parallel server process는 인스턴스 2에서만 생성된다.
    ALTER SESSION SET PARALLEL_INSTANCE_GROUP = 'Gc';
    SELECT COUNT(*) FROM table;
    다음 명령을 인스턴스 1에서 실행시키면 기본 인스턴스 그룹 ( 모든 인스턴스 ) 이 사용된다.
    두개의 parallel server process가 인스턴스 1, 2 에서 생성된다.
    ALTER SESSION SET PARALLEL_INSTANCE_GROUP = '';
    SELECT COUNT(*) FROM table;
    Reference Ducumment
    Oracle8 Parallel Server Concepts & Administration

    제품 : ORACLE SERVER
    작성날짜 : 2004-08-13
    [ORACLE 8.X OPS] INSTANCE GROUP
    ================================
    SCOPE
    Oracle Parallel Server(OPS) Option은 8~9i Standard Edition에서는 지원하지
    않는다.
    Explanation
    Oracle 8이상부터 관리상의 목적으로 인스턴스들을 몇개의 논리적 그룹으로 나누어,
    그룹단위로 작업을 수행할 수 있다.
    인스턴스 그룹은 특정한 목적을 ( 자원 할당, parallel query 등 ) 위해 인스턴스들을 그룹화 시킨 것이다.
    따라서 자원에 대한 partition을 효율적으로 할 수 있게 한다.
    1. Instance Group의 지정방법
    인스턴스 그룹을 지정하기 위해서는 인스턴스 그룹에 포함시킬 인스턴스에서
    initSID.ora file에 INSTANCE_GROUPS를 지정하여야 한다.
    예를 들어 instance 1에서는 파라미터 값을 다음과 같이 지정할 수 있다.
    INSTANCE_GROUPS = groupB, groupD
    그리고 instance 3에서는 다음과 같이 지정되어 있을 수 있다.
    INSTANCE_GROUPS = groupA, groupD
    위와 같은 상황에서 instance 1과 3은 모두 인스턴스 그룹 group D에 속한다. 뿐만 아니라 다른 그룹에도 속한다.
    2. Instance Group의 사용방법
    인스턴스 그룹을 다음 두가지 이유에 따라 사용할 수 있다.
    1) Parallel operation 작업시 group 지정 ( PARALLEL_INSTANCE_GROUP )
    2) GV$에 대한 조회시, 결과를 돌려줄 인스턴스의 지정 ( OPS_ADMIN_GROUP: oracle8.0에서만 사용가능함 )
    PARALLEL_INSTANCE_GROUP과 OPS_ADMIN_GROUP의 기본값은, 실행중인 모든 인스턴스이다.
    a. PARALLEL_INSTANCE_GROUP
    Parallel Operation을 처리할 때 인스턴스 그룹을 지정하기 위해서는 initSID.ora 파일에 다음과 같이 지정해야 한다.
    PARALLEL_INSTANCE_GROUP = groupname
    PARALLEL_INSTANCE_GROUP 파라미터가 지정된 인스턴스에서 발생한
    모든 parallel operation은 그룹내에서 처리된다.
    PARALLEL_INSTANCE_GROUP은 ALTER SESSION이나 ALTER SYSTEM 문으로 값을 바꿀 수 있는 dynamic 파라미터이다.
    기본값은 현재 실행중인 모든 인스턴스이다. PARALLEL_INSTANCE_GROUP에는 그 값을 지정한 인스턴스가 포함되지 않아도 된다.
    b. OPS_ADMIN_GROUP ( Oracle 8.0 ops only)
    GV$ 관련 뷰를 조회할 때 결과를 취합할 인스턴스들은 OPS_ADMIN_GROUP 파라미터로 지정한다.
    Example
    1. Instance Group의 member 조회 방법
    인스턴스 그룹의 멤버들을 조회하기 위해서는 GV$PARAMETER를 조회하면 된다.
    조회 결과로는 INSTANCE_GROUPS 파라미터의 값들이 출력된다.
    2. case study
    인스턴스 1의 initialization 파라미터 파일에 다음과 같이 지정되어 있다.
    INSTANCE_GROUPS = Ga, Gb
    PARALLEL_INSTANCE_GROUP = Gb
    인스턴스 2의 initialization 파라미터 파일에 다음과 같이 지정되어 있다.
    INSTANCE_GROUPS = Gb, Gc
    PARALLEL_INSTANCE_GROUP = Gc
    인스턴스 1에서 다음과 같은 명령을 수행할 때는 Gb 그룹에 속하는 인스턴스들에서 작업이 수행된다.
    두개의 parallel server process가 인스턴스 1과 2에서 생성된다.
    ALTER TABLE table PARALLEL (DEGREE 2 INSTANCES 2);
    SELECT COUNT(*) FROM table;
    만약 아래 명령을 인스턴스 2에서 수행시키면 Gc 그룹이 사용된다. 이때 두개의 parallel server process는 인스턴스 2에서만 생성된다.
    ALTER SESSION SET PARALLEL_INSTANCE_GROUP = 'Gc';
    SELECT COUNT(*) FROM table;
    다음 명령을 인스턴스 1에서 실행시키면 기본 인스턴스 그룹 ( 모든 인스턴스 ) 이 사용된다.
    두개의 parallel server process가 인스턴스 1, 2 에서 생성된다.
    ALTER SESSION SET PARALLEL_INSTANCE_GROUP = '';
    SELECT COUNT(*) FROM table;
    Reference Ducumment
    Oracle8 Parallel Server Concepts & Administration

  • Using Oracle's Parallel Server for synchronizing databases with different tables

    Hello,
    I have a problem and I was searching through the Oracle documentation.
    Then I mentioned the Oracle's Parallel Server (OPS) feature.
    The problem I want to fix is the following:
    I want to make a copy of a database. Subsequently I want to make changes to the copy of the original database. (possible changes could be extra columns).
    Now I want to synchronize the data of both databases...
    Is it possible to use Oracle's Parallel Server feature for this task?
    Greets,
    Harm

    Hello,
    I have a problem and I was searching through the Oracle documentation.
    Then I mentioned the Oracle's Parallel Server (OPS) feature.
    The problem I want to fix is the following:
    I want to make a copy of a database. Subsequently I want to make changes to the copy of the original database. (possible changes could be extra columns).
    Now I want to synchronize the data of both databases...
    Is it possible to use Oracle's Parallel Server feature for this task?
    Greets,
    Harm

  • How to install oracle817 as Parallel server?

    hi:
    i am new to oracle parallel server. i have download oracle 817
    enterprise edition, but when i install on my win2000 profession
    , there's seems no option for me to install as a parallel server.
    i have checked the docuemnt and i was told that a operating system-dependent clusterware (OSD) is needed , but where can i get this components . it's said oracle provided the cluster manager for window but where to download?
    i am rather confused about this and need you help
    [email protected]
    regards

    Daniel.
    The OSD layer is supplied by the hardware manufacturer of your servers and shared disk arrays. Compaq for example sell theirs separately and don't force you to buy a pre-build rack like Dell and HP do.
    Compaq cost is around 4000 for their layer for 8i using fibre channel arrays (you cannot use scsi drives with Compaq kit)
    Hope this helps,
    Pete Knapp

  • Clustering vs. parallel server

    Pardon me for asking silly questions. I need to clarify the following:
    We are going to install the cluster server software for Oracle for solaris, which means we will have clustering option for our db. Currently we install Oracle8.1.7 Enterprise edition as a standalone db server. Does this same db can be used with the clustering software? Do I need to install oracle parallel server?
    or is the enterprise edition same with parallel server?
    Thanks
    Minny

    There is little point in clustering iAS for forms and reports, because the client connection will always crash if one node fails; the user will have to connect again. What I usually do is configure a load balancer (hardware or software) in front of the the two (or N) servers.

  • HACMP & Oracle's parallel server

    Michelin Tire Corporation
    At Michelin, we are trying to implement a failover
    service object using Oracle 7.3 on RS6000 platform (AIX 4.1.4).
    We understand that we need to use HACMP (Clustering) and
    Oracle's parallel server. This way the DB Service objects
    on two different computer nodes can access the same database.
    Has anyone used this configuration? If so, have you had any
    problems? and how well does it work?
    We would appreciate any information on this subject.
    Thanks in advance,
    Thomas Sams

    Tommy Sams wrote:
    >
    Michelin Tire Corporation
    At Michelin, we are trying to implement a failover
    service object using Oracle 7.3 on RS6000 platform (AIX 4.1.4).
    We understand that we need to use HACMP (Clustering) and
    Oracle's parallel server. This way the DB Service objects
    on two different computer nodes can access the same database.
    Has anyone used this configuration? If so, have you had any problems?
    and how well does it work?
    We would appreciate any information on this subject.
    Thanks in advance,
    Thomas SamsAt CSI, we have planned to use HACMP with Forte' failover to provide a
    high availability architecture for one of our customer.
    There are a lot of stuff to consider, some related to hacmp
    configuration, some to forte' mechanisms.
    In particular we should use HACMP for managing RDBMS backup and Forte'
    capabilities to deal with partitions/envs/nodemgrs failover. We have not
    take into account Oracle's parallel server at the moment ( althought it
    could be a good solution ) because we don't really need to access oracle
    from 2 different nodes at the same time, but "just" to have a "realtime"
    dbms backup in case of primary server fault.
    The architecure we choosen is based on tre AIX server ( 1 application
    server, 1 main dbms server, 1 backup server ( oracle failover, envs
    failover).
    We have started testing it using forte 2.0.h, but we realized that a
    more complete functionality will be offered using 3.0 KEEP_ALIVE
    features. So I could give you more feedback in the near future.
    What type of solution have you in mind ?
    Regards
    Fabrizio Barbero
    Barbero Fabrizio
    CSI-PIEMONTE
    Cso Unione Sovietica 216
    10134 Torino ITALY
    tel: +39 11 3168515
    fax: +39 11 3168212
    e-mail: [email protected]

Maybe you are looking for

  • .mov to .gif (animated gif)

    Hi Apple fans I have the worst case never resolve to submit in the history of Apple. Have spent in total 2 and half hours on the phone with Apple customer service and nobody found an answer. I am building up a website and I want to insert an animated

  • Flash Builder 4.7 interrupts while working

    Hi all. First, I expect more from Flash Builder 4.7 (x64) - to work much faster instead of FB 4.6, but It seems that it's not like that. Probably FB 4.6 and FB 4.7 works same in some way, but I like the fact that I can make a release build for iOS on

  • Rented movie not playing

    my rented movie won't play on iTunes on my computer. I have a Windows PC

  • Im deigning a new mac infrastructure, any tips on sites of guides?

    I hope somebody can offer some advice, but im after some advise or pointers on where to start on the design of our new Mac infrastructure. I would love to get some help in with this, but unfortunately with the way the budgets have worked out, there i

  • Do I have to store all of my iTunes on each iOS device I have or can I share

    Instead of having all my music on my iPhone, iPad and iMac which takes 6gb of storage can I use one device or do I have to use I match and pay for the privilege?