global data consolidation - aioug · learn the capabilities of gds - 12c global data consolidation...

27
Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha

Upload: buithien

Post on 04-Apr-2018

219 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

Learn the capabilities of GDS - 12c

Global Data Consolidation

Author & Presenter

Nassyam Basha

Page 2: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

Oracle ACE Director

Oracle Certified Master 11g

Co-Author of Data Guard 11gR2

Co-Founder of Oraworld Team.

MOSC Certified Guru

OTN Super Hero

Blogger www.oracle-ckpt.com

Writer @Oracle, Toad world, UKOUG

Linkedin: /nassyambasha

Twitter @oracle_ckpt

At Pythian since 2013

Page 3: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

Pythian is a global IT services company that specializes

in designing, implementing, and managing systems that

directly contribute to revenue and business success. We

help companies adopt disruptive technologies to advance

innovation and increase agility. Our highly skilled

technical teams work as an integrated extension of our

clients’ organizations to deliver continuous transformation

and uninterrupted operational excellence.

ABOUT PYTHIAN

Top 5% talent worldwide

9 Oracle ACEs

4 Oracle ACE Directors

18 years in business

400+ employees

270+ customers worldwide

Page 4: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

HIGHLIGHTS• Traditional services

• Fundamentals of Global Data Services

• Components of Global services framework

• GDS Limitations

• Installation of GSM

• Configuration of GDS

• GDS Administration

• Service Failover Test

Page 5: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

LOCAL SERVICE – BACK TO BASICSSQL> exec dbms_service.create_service(service_name=>'HR',network_name=>'CONHR');

SQL> exec dbms_service.start_service(service_name=>'HR');

CONHR =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = ORA-C1.localdomain)(PORT = 1521))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME=CONHR)

)

)

[oracle@ORA-C1 admin]$ sqlplus system/oracle@conhr

...

..

SQL> select username,sid,serial#,status,service_name from v$session where service_name='HR';

USERNAME SID SERIAL# STATUS SERVICE_NAME

---------- ---------- ---------- -------- ------------

SYSTEM 30 52569 ACTIVE HR

SQL>

Page 6: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

LOCAL SERVICE – EXAMPLE

Page 7: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

LOCAL SERVICES – CONS WITH END TO END

• No Service Load Balancing

• No Service High Availability

• Forget centralized workload management

Page 8: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

DA

TA

CE

NT

ER

-1 D

ATA

CE

NT

ER

2

DATA GUARD DATA GUARD DATA GUARD

DATA GUARDGOLDEN GATE

STORAGE MIRRORINGDATA GUARD

LOCAL STANDBY RAC

SINGLE INSTANCE

ADG

SINGLE

INSTANCE

ADG

ADG

RAC RAC (IDLE)

WHY GDS?OE, HR, FIN, COBOL, AE Services CRYSTAL, NVISION, BI Publisher

PSQuery, RAT, Monitor, SQR

CRYSTAL, NVISION, BI Publisher

PSGG, RAT, FINRW, AFSRW

CRYSTAL, NVISION, BI Publisher OE, HR, FIN, COBOL, AE Services

Page 9: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

WHAT GDS CAN DO?

• GDS uses distributed framework to centralizes Configuration

Maintenance

Monitoring the GDS configuration

Enables load balancing

Failover for services defined by GDS

Measures network latency

Can manage Local or Geographical data centers

Can be managed with EM12c/13c

Page 10: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

GDS ARCHITECTURE

Page 11: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

GDS FRAMEWORK & LIMITATIONS

Physical

Components

Logical Components

GSM Configuration

GDS Catalog GDS Pools

GDSCTL(Utility) GDS Regions

Notification servers Global Service

300 Database instances

1000 Global services

20 GDS pools

10 GDS regions

5 GSMs per Region

1000 Mid-tier connection Pool

Page 12: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

GDS USERS AND ROLES

GDS Catalog database GDS Target (ex: Primary)

Unlock GSMCATUSER GSMUSER unlock

Change password of GSMCATUSER Change password of GSMUSER

Create GSMADM user

Grant GSADMIN_ROLE to GSMADM

Page 13: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

GSM/GDS

• Catalog database can accommodate only one configuration

• Recommends 3 GSMs per Region

• 12.1.0.2 Supports both administrator and policy based databases.

• EM 12.1.0.5 with additional plug-in supported to manage GSM and

fully operated from 13c.

• Highly recommended to have RAC or Data Guard for catalog

database.

• Catalog can be hosted either in RMAN or EM repository server.

• GSM gathers performance metrics from Targets.

Page 14: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

GDS VS. DATABASE

• License of either Active Data Guard or Golden Gate

• Must be Enterprise Edition

• Database version should be >= 12.1

• GDS Supports Stand alone, RAC, Exadata

• Either CDB or non-CDB

• No matter heterogeneous or non-heterogeneous platforms

• Support of 3rd party replications

• GDS version should be same or higher than catalog database

• Instances to be start with SPFILE.

Page 15: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

DATA CENTER 2DATA CENTER 1

Replica DB

ORACLE GLOBAL DATA SERVICES

Active Data GuardPRIMARY OR

MASTER

Data Guard

LOAD BALANCING

Order Entry &

Reporting

REPORTING

SERVICE

ORDER

ENTRY

SERVICE

Replica

Page 16: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

DATA CENTER 2DATA CENTER 1

Replica DB

ORACLE GLOBAL DATA SERVICES

Active Data GuardPRIMARY OR

MASTER

Data Guard

LOAD BALANCING WITH ADG

Order Entry &

Reporting

REPORTING

SERVICE

ORDER

ENTRY

SERVICE

Bi-Repl

Page 17: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

GSM FAILURE

Buddy Region

(DESCRIPTION=

(FAILOVER=on)

(ADDRESS_LIST=

(LOAD_BALANCE=ON)

(ADDRESS=(HOST=ORA-C1.localdomain)(PORT=1521)(PROTOCOL=TCP))

)

(ADDRESS_LIST=

(LOAD_BALANCE=ON)

(ADDRESS=(HOST=ORA-C2.localdomain)(PORT=1521)(PROTOCOL=TCP))

)

(ADDRESS_LIST=

(LOAD_BALANCE=ON)

(ADDRESS=(HOST=ORA-X1.localdomain)(PORT=1521)(PROTOCOL=TCP))

)

(CONNECT_DATA=

(SERVICE_NAME=app_engine.psfin.oradbcloud)

(REGION=WESTCAN)))

Page 18: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

DATA GUARD WITH GDS

RW

SRV

RPT

SRV

DATA GUARD

Page 19: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

DATA GUARD WITH GDS

RW

SRV

RPT

SRV

DATA GUARD

GLOBAL DATA SERVICES

GDS

Page 20: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data
Page 21: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data
Page 22: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data
Page 23: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

DATA GUARD WITH GDS

APP ENGINE NVISION RPT

DATA GUARD

GLOBAL DATA SERVICES

GDS

Page 24: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

SERVICE FAILOVER - GDS

PRIMARY ACTIVE STANDBY

DATA GUARD

GLOBAL DATA SERVICES

APP ENGINE

NVISION RPT

GDS

Page 25: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data
Page 26: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

ARTICLES• ABC's of Global Data Services - 12c

– http://www.toadworld.com/platforms/oracle/w/wiki/11516.abc-s-of-global-data-services-12c

• Installing, configuring and getting started with GDS - 12c

– http://www.toadworld.com/platforms/oracle/w/wiki/11518.installing-configuring-and-getting-

started-with-gds-12c

• Integrating Global Service Manager (GSM) and Managing Global Data Services (GDS) with EM

Cloud Control 13c

– http://www.ukoug.org/what-we-offer/library/integrating-global-service-manager-gsm-and-

managing-global-data-services-gds-with-em-cloud-control-13c/

• Managing Global Data Services and Failover Test - GDS 12c

– http://www.toadworld.com/platforms/oracle/w/wiki/11581.managing-global-data-services-and-

failover-test-gds-12c

• GSM endpoint not found in GSM.ora

– http://www.oracle-ckpt.com/gsm-endpoint-not-found-in-gsm-ora/GSM endpoint not found in

GSM.ora

• GSM endpoint not found in GSM.ora

– http://www.oracle-ckpt.com/gsm-vs-rac-database-type-vs-patchset

Page 27: Global Data Consolidation - AIOUG · Learn the capabilities of GDS - 12c Global Data Consolidation Author & Presenter Nassyam Basha. ... • Highly recommended to have RAC or Data

THANK YOU AND Q&A

[email protected]

@oracle_ckpt

www.oracle-ckpt.com

© 2015 Pythian27