IAC 2024 - IA Fast Track to Search Focused AI Solutions
Oracle database appliance my first 90 days
1. 04 de Agosto de 2018, São Paulo, Brasil
TITLE
Speaker
2. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Rogerio Bacchi Eguchi
• Oracle DBA Sênior com extensa experiência em ambientes OLTP de missão crítica
e que empregam as tecnologias da Oracle Maximum Availability Architecture
• 4 anos como DBA no Oracle Advanced Customer Support Services (2002-2005)
• 10 anos como DBA/SysAdmin no UOL/UOLDiveo/PagSeguro (2005-2015)
• 2 anos como DBA/DMA/SysAdmin na TOTVS (2016 > )
• 12 Artigos publicados no OTN Brasil (http://bit.ly/2wxGhkZ)
• Blogger: http://reguchi.wordpress.com
• Twitter: reguchi_br
• Linkedin: www.linkedin.com/in/rogerio-bacchi-eguchi
3. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Oracle Database 12c
Administrator Certified
Professional
Oracle
Certificações
Oracle Database 11g
Administrator Certified
Professional
Oracle
Oracle Database 10g
Administrator Certified
Professional
Oracle
Oracle Database 8i
Administrator Certified
Professional
Oracle
Oracle Database 9i
Administrator Certified
Professional
Oracle
4. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Certificações
Oracle Database 12c:
RAC and Grid
Infrastructure
Administrator
Oracle
Oracle Exadata X3 and
X4 Administrator
Oracle
RedHat
Cerfitied
Engenieer
RedHat
5. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Agenda
• ODA X5-2
• Appliance Manager
• Pre Install
• Install
• Vlan
• ACFS
• Oakcli
• Patching
• HW Maintenance
6. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
ODA X5-2
7. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
ODA X5-2
• 1 and 2: server nodes
Two 18-core 2.3 GHz Intel Xeon® E5-2699 v3 processors per server node
256 GB per server node (Optional memory expansion to 512 GB or 768 GB)
Two 2.5 inch 600 GB SAS2 HDDs reserved for operating system storage
and system booting
• 3: Storage shelf
Sixteen 3.5 inch 4 TB SAS2 HDDs in slots 0-15 (+DATA and +RECO)
Four 2.5 inch 400 GB medium endurance SAS SSDs in slots 16-19 (+FLASH)
Four 2.5 inch 200 GB high endurance SAS SSDs in 20-23 (+REDO)
• 4: Optional storage shelf expansion
Same as storage shelf
8. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
ODA X5-2
• Integrated package of software, compute, networking, and storage that’s been optimized and
engineered to offer performance and scale for your Oracle Databases and applications.
• It reduces complexity, saves time, and gets you up and running faster.
• low entry price and flexible licensing options
• you can quickly scale up storage or memory when you’re ready
• Quicker provisioning times and lower operational expenses
9. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Component Component Contents
ODA Operating System Image Oracle Appliance Manager command-line interface
Oracle Appliance Manager Configurator
Oracle Linux
Hardware drivers
ODA Patch-Set Bundle Basic input/output system (BIOS)
Hardware drivers and management pack and
firmware drivers for various components
Oracle Appliance Manager
Oracle Linux
Oracle VM
Java Development Kit (JDK)
Oracle Integrated Lights Out Manager (Oracle ILOM)
Oracle Database Patch Set Update (PSU)
Oracle Automated Service Request (ASR)
Oracle Grid Infrastructure
Oracle Intelligent Platform Management Interface
(IPMI)
Java Development Kit (JDK)
Software for Oracle Database Appliance
10. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Component Component Contents
ODA End-User Bundle Oracle Database clone binaries
Oracle Database templates, customized for Oracle
Database Appliance deployments
Oracle Grid Infrastructure clone binaries
ODA_BASE template Oracle Database clone binaries
Oracle Database templates, customized for Oracle
Database Appliance deployments
Oracle Grid Infrastructure clone binaries
Software for Oracle Database Appliance
11. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Oracle Appliance Manager
12. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Select Environment: Bare Metal
System Information:
- database backup location
- disk group redundancy
My ODA configuration: Normal Redundancy and External Backup
More info:
https://docs.oracle.com/cd/E89147_01/doc.122/e88751/database-appliance-software-configuration-
defaults.htm#GUID-FE280580-F361-494F-B377-10137A6BEA34
13. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Pre Install
• Register your Support Identifier (SI) for Oracle Database Appliance with My Oracle
Support to obtain software and support from Oracle.
• Configure network names and addresses on your Domain Name System (DNS) server.
• Mount ODA hardware into a rack @DC
• Connect power and required cables
• Open SR on MOS for ODA deployment
14. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Install
• It is done by Oracle Field Support with no cost
• ODA Reimage to the latest Patch-Set Bundle
• Download and copy the Oracle Database Appliance end-user bundle to Oracle
Database Appliance.
• It takes 6 hours (if nothing goes wrong )
15. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Link Aggregation Control Protocol (LACP)
Also known as 802.3ad is a methods of combining multiple physical network connections into one logical connection to increase
throughput and provide redundancy in case one of the links should fail. The protocol requires both – the server and the
switch(es) to have the same settings to allow LACP to work properly.
To configure LACP you need to change your bonding device configuration in /etc/sysconfig/network-scripts/ifcfg-bond0 similarly
to this:
DEVICE=bond0
IPADDR=192.168.0.2
NETMASK=255.255.255.0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no
MTU=9000
BONDING_OPTS="mode=4 miimon=100 downdelay=5000 updelay=5000 num_grat_arp=100 xmit_hash_policy=layer3+4 lacp_rate=1"
The key here is setting the MTU=9000 and establishing the transmit hash policy as layer3+4. This transmit policy is intended to
more-evenly distribute the traffic across the physical links of the bonded device.
This is is the preferred mode of network bonding, but requires that the network is configured correctly on the switch.
16. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
VLAN
Virtual Local Area Networks (VLANs) are used to separate Broadcast Domains in the Network. To share the separation
information on which packet belongs to which VLAN between switches and end systems, Ethernet frames gets the
VLAN identification number inserted into the header. This number is called the VLAN tag. If you need additional
networks for external access and prefer to enable isolation among them, 8021.Q based VLAN tagging is a solution.
ODA (Oracle Database Appliance): Enable 8021.Q VLAN Tagged Interfaces for external client access networks (Doc ID
1500709.1)
17. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Oracle ACFS
• Oracle ASM Cluster File System
• File systems are created automatically in the Oracle Database Appliance ASM disk
groups (DATA, RECO, REDO, and FLASH) when Appliance Manager 12.1.2+ patchset
is deployed or imaged.
• Performance is similar to ASM
• Main features: snapshots, encryption, security, replication, auditing
18. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
oakcli
• Command-line utility to manage and maintain Oracle Database Appliance components
• Create, upgrade, and patch databases
• Create and upgrade Oracle homes
• Create and modify database creation parameter files
19. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
oakcli
Mostrar versão do software do ODA
oakcli show version –detail
Mostrar todas as oracle RDBMS homes
oakcli show dbhomes
Mostrar todos os databases incluindo database home
oakcli show databases
Listar todos os filesystems para database
oakcli show dbstorage
Criar um database usando o oakcli
oakcli create database -db db_name -oh dbhome -params param -storage storage_type
Deletar um database usando o oakcli
oakcli delete database -db db_name
Validar ODA components
oakcli validate -a
Listar todos os registros do oak inventory
oakcli inventory –q
20. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
oakcli
Creating a RAC db: 15 min
21. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
oakcli
Upgrading a DB from 12.1 to 12.2: 21 min
22. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Patching
Check MOS Oracle Database Appliance - 18.1, 12.X, and 2.X Supported ODA Versions &
Known Issues (Doc ID 888888.1) note for updates
Process
1. Update Server (Mandatory): Operating System, ILOM,BIOS, Hardware
Management Pack, IPMI, OAK, ASR and local disks.For virtualized environment, it
also includes the Dom0 updates. Oracle Grid Infrastructure (GI) Stack including
ASM, ACFS and TFA.
2. Update Storage (Recommended): Shared storage including HDD, SSD, Controller,
and Expander
3. Update Database (Optional): RDBMS
More info: http://www.oracle.com/technetwork/pt/articles/database-
performance/atualizando-odb-app-x5-4481604-ptb.html
23. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Oracle Auto Service Request (ASR)
1. Automatically generates a service request with Oracle when specific hardware faults
occur
2. Parts are dispatched upon diagnosis of issues within a service request
24. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Hardware Maintenance
1. Customer Replaceable Unit (CRU): Customer personnal should service CRUs
I. Do not require server power-off
I. Service the storage drives.
II. Service the fan modules.
III. Service the power supplies.
II. Require server power-off
I. Service the DIMMs.
II. Service the PCIe Risers.
III. Service the PCIe cards.
IV. Service the internal USB flash drives.
V. Service the battery.
2. Field Replaceable Unit (FRU): Only authorized Oracle Services personnel should service FRUs.
I. Processors
II. motherboard
III. Oracle PCIe NVMe switch card
IV. internal host bus adapter (HBA)
V. Oracle PCIe NVMe switch card cables.
More information: https://docs.oracle.com/cd/E41059_01/html/E48312/napsm.html
25. 04 de Agosto de 2018, São Paulo, Brasil
Oracle Developer Community LAD Tour 2018
Thanks for coming