Introduction to Oracle Clusterware 12c
-
Upload
guatemala-user-group -
Category
Technology
-
view
114 -
download
3
Transcript of Introduction to Oracle Clusterware 12c
![Page 1: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/1.jpg)
Julio César AyapánOracle Certified Professional 11gNUVOLA – Solving is our Passion.www.nuvolacg.com
Orale Clusterware 12c
![Page 2: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/2.jpg)
JULIO AYAPÁN• Ingeniero en ciencias y sistemas
• Administrador de base de datos experto
• Oracle Certified Professional 11g
• Parte de la junta directiva del Grupo de Usuarios de Oracle de Guatemala
• Co-fundador de Nuvola S,A
• Blog http://oraclehomegt.blogspot.com/
![Page 3: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/3.jpg)
NUVOLA, S.A.• Experiencia del equipo:
– Oracle Linux Certified Implementation Specialist
– Oracle Database 11g Administrator Certified Professional (OCP 11g)
– Oracle Database 11g Administrator Certified Master (OCM 11g)
– Oracle Database 12c Administrator Certified Professional (OCP 12c)
– Oracle Service Oriented Architecture Infrastructure Implementation CertifiedExpert
– Oracle Certified Expert, Oracle Exadata X3 and X4 Administrator
– Oracle RAC 11g and Grid Infraestructure Administrator
– Oracle Real Application Clusters 12c Certified Implementation Specialist
– Oracle Database 12c Administrator Certified Master (OCM 12c)
• Soporte y Consultoría:– Bases de Datos Oracle.
– Exadata
– Middleware
• Cursos de Administración de Oracle
www.nuvolacg.com
![Page 4: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/4.jpg)
Agenda
• Introducción a Oracle Clusterware 12c
• Requisitos de instalación
• Grid Namin Services (GNS)
• Arquitectura de Oracle Clusterware
• Flex cluster
• Flex ASM
• Administración de nodos
• Alta disponibilidad de aplicaciones con Oracle Clusterware
![Page 5: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/5.jpg)
Oracle Clusterware 12c
• Cluster: grupo de computadoras independietes, interconectadas entre si, que actuan como un unico sistema.
• Tipos de arquitecturas cluster: Shared-disk cluster, Load-balancing cluster, Failover-cluster.
![Page 6: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/6.jpg)
Oracle Clusterware 12c
• Clusterware es el termino utilizado para describir el software de Oracle que provee interfaces y servicios capaces de soportar un cluster.
![Page 7: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/7.jpg)
Oracle Clusterware es:
• Parte fundamental de Oracle Grid Infraestructure
• Integrado con Oracle Automatic Storage Management (ASM)
• La base para Oracle Cluster File System
• Los cimientos para Oracle Real Application Cluster(RAC)
• Una arquitectura generalizada de cluster para todo tipo de aplicaciones
![Page 8: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/8.jpg)
Oracle Clusterware services• Administración de cluster
• Monitoreo de nodos
• Sincronización de tiempo
• Notificación de eventos
• Administración de red
• Cluster Interconnect Link
Aggregation (HAIP)
![Page 9: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/9.jpg)
Administración de cluster• ASM para almacenamiento de archivos de bases de datos
• ACFS para almacenamiento de archivos comunes
• Alta disponibilidad de aplicaciones
• Administración segura de recursos
![Page 10: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/10.jpg)
Monitoreo de nodos• Oracle Clusterware provee el servicio de Node Fencing
• Node Fencing evita corrupción de datos.
• Clusterware 12c implementa rebootless node fencing– Procesos con alto consumo de I/O son finalizados en el nodo afectado
– Se detiene y arranca el software de clusterware en el nodo afectado.
• Soporta un proceso de aislamiento remoto (IPMI – Intelligent Management Platform Interface)
![Page 11: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/11.jpg)
Monitoreo de nodos
![Page 12: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/12.jpg)
Cluster Health Monitor (CHM)• A partir de la versión 11.2.0.2, CHM esta integrado en el
software de GI.
• CHM automáticamente recolecta información y métricas de sistema operativo.
• Auxilia operaciones de node evictions, colgado de servidores o cualquier problema de performance relacionado con el sistema operativo.
![Page 13: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/13.jpg)
Cluster Health Monitor (CHM)
![Page 14: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/14.jpg)
Sincronización de Tiempo• Muchas operaciones dependen de la hora local del nodo:
– Log de aplicaciones y de base de datos
– Valores timestamp en la base de datos
• Comunmente se utiliza un servidor NTP para la sincronización de tiempos entre nodos
• Oracle Clusterware 12c puede utilizar Oracle Cluster Time Sinchonization Service Deamon
![Page 15: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/15.jpg)
Cluster Interconnect Link Aggregation (HAIP)
• Alta disponibilidad para conexiones privadas.
• Utilización de redes virtuales.
• Manejado por un recurso dentrol del cluster.
![Page 16: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/16.jpg)
Requisitos de instalación
• El sistema operativo anfitrion de cada nodo debe serpertenecer a la lista certificada por Oracle.– http://www.oracle.com/technetwork/database/clustering/tech-
generic-unix-new-166583.html
• Todos los nodos deben compartir la misma arquitectura de procesador y el mismo sistema operativo
![Page 17: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/17.jpg)
Requisitos de instalación
• Requerimientos de hardware
Grid Infraestructure12.1
Grid Infraestructure11.2
Minimal size for /tmp 1GB 1GB
Minimal size for GI install
8GB6.5GB
Minimal size for clusterware and asmlogfiles
3.5GB
Minimal memory 4GB 2.5GB
Minimal Swap Equal to memory, up to 16 GB
Equal to memory, up to 16 GB (32 bits)Equal to memory, up to 32 GB (64 bits)
Operating systemarchitecture
64 bits 32 bits64 bits
![Page 18: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/18.jpg)
Requisitos de instalación
• Requerimientos de red– Al menos 2 interfaces de red por cada nodo
– Cada interfaz para red publica debe soportar TPC/IP
– Cada interfaz para red privada debe soportar• Protocolo UDP o RDS para comunicación de plataformas LINUX y UNIX
• Procotolo TCP para comunicación de plataformas WINDOWS
– IPv4 e IPv6 es soportado
![Page 19: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/19.jpg)
Grid Naming Services (GNS)
• La única IP estatica requerida sera la del GNS Vip
• GNS recopila todos los nombres y direcciones en el cluster.
• GNS requiere de servicio DNS y un servicio DHCP.
• Se puede compartir a traves de multiples clusters.
• Componente principal de Grid Plug and Play
![Page 20: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/20.jpg)
Grid Naming Services (GNS)
![Page 21: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/21.jpg)
Single-client Access Name (SCAN)• Dirección utilizada para la conexión de clientes con el cluster
• SCAN es un host name completo, registrado ya sea en el servicio GNS o en nuestro DNS con tres direcciones IP.
• SCAN proporciona un único camino de conexión independiente de la cantidad de nodos en el cluster
PRDDW = (DESCRIPTION =(ADDRESS = (PROTOCOL =TCP) (HOST =
scan.cluster.example.com) (PORT
= 1521))(CONNECT_DATA =
(SERVER = DEDICATED)(SERVICE_NAME = PRDDW)
))
Name: cen-tlg-dbse-scanAddress: 192.0.2.243Name: cen-tlg-dbse-scanAddress: 192.0.2.243Name: cen-tlg-dbse-scanAddress: 192.0.2.243
![Page 22: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/22.jpg)
Arquitectura Oracle Clusterware
• Oracle Clusterware esta conformado por– Cluster Ready Services technology stack
– Oracle High Availability Services (OHAS) techonology stack
![Page 23: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/23.jpg)
Cluster Ready Services technology stack• Cluster Ready Services
• Cluster Synchronization Services
• Cluster Synchronization Services Agent
• Oracle ASM
• Cluster Time Sichronization Service
• Event Management
• Oracle Agent
• Oracle Notification Service
• Oracle Root Agent
![Page 24: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/24.jpg)
OHAS Technology Stack
• Appagent
• Cluster Logger Service
• Grid Interprocess Comunication
• Grid Plug and Play
• Multicast Domain Name Server
• Oracle Agent
• Oracle Root Agent
• Scriptagent
• System Monitor Service
• Grid Naming Service
![Page 25: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/25.jpg)
Oracle Clusterware Repository (OCR)
![Page 26: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/26.jpg)
CSS Voting Disk Function
![Page 27: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/27.jpg)
Flex Cluster
• En versiones anteriores de clusterware, los clustersmas largos eran capaces de soportar entre 32 y 64 nodos.
• Con Oracle Clusterware 12c aparece el concepto de Flex cluster capaz de soportar hasta 2,000 nodos.
![Page 28: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/28.jpg)
Arquitectura Flex Cluster
![Page 29: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/29.jpg)
Escalabilidad de Flex Cluster
![Page 30: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/30.jpg)
Caracteristicas de Leaf Node
• Descubre automáticamente un hub node durante su arranque.
• No requieren acceso directo al almacenamiento compartido
• Conectado al cluster a través de un hub node.
• Mismo segmento de red que hub node.
![Page 31: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/31.jpg)
Flex ASM
• El máximo número de "Disk Groups" es incrementado de 63 a 511.
• Ahora hay un comando para renombrar un "ASM Disk" en un "Disk Group".
• "Oracle Flex ASM" soporta tamaños de LUN muy grandes para base de datos 12c.
• La instancia de ASM usa Automatic MemoryManagement (AMM).
• La reconexión de una instancia de base de datos hacia otra instancia de ASM es automática.
![Page 32: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/32.jpg)
Flex ASM
![Page 33: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/33.jpg)
Administración de nodos
• Add Node:
– addNode.sh: utilizado para añadir un nodo a un ambiente Oracle Clusterware
– El nuevo nodo debe tener la misma configuración de sistema operativo que el resto de nodos:• Parametros de kernel
• Configuración de red
• Espacio y memoria
![Page 34: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/34.jpg)
Administración de nodos
• Remove Node:
– Actualización del Oracle Central Inventory
– Actualización del Oracle Cluster Registry (OCR)
![Page 35: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/35.jpg)
Alta Disponibilidad de Aplicaciones
• Oracle Clusterware provee alta disponibilidad para RAC y otras aplicaciones.
• Mantiene monitoreo periódico de todos los recursos.
• Según política de fallo, puede reiniciar aplicaciones o reubicarlas en otro nodo.
• Las aplicaciones pueden ser Oracle o no Oracle.
![Page 36: Introduction to Oracle Clusterware 12c](https://reader034.fdocuments.net/reader034/viewer/2022042600/589d10051a28ab61128b48f9/html5/thumbnails/36.jpg)
Oracle Clusterware 12c Features
• Rebootless node fencing
• Oracle Cluster Time Sincrhonization Service
• Cluster Health Monitor integrado
• Cluster Interconnect Link Aggregation (HAIP)
• IPv4 e IPv6 es soportado
• Grid Naming Services - GNS
• Flex Cluster
• Flex ASM
• Alta disponibilidad de aplicaciones