Starting with 12c Release 1, Oracle introduced a completely new architecture concept for its database - the Container Database.
With this new architecture, new challenges came up but with the same breath a wide branch of new opportunities.
The presentation will address the capabilities to create fast and easy new (test) databases or clones for a running production database. Five different ways will be discussed.
- Using Local and Remote Cloning
- Using an Unplugged PDB (predefined master)
- Using Refreshable PDBs as a master for new (test) databases
- Snapshot Carousel
Another point of the agenda is the usage of the Snapshot features of ACFS and Direct NFS to speed up the creation process.
Starting with 12c Release 1, Oracle introduced a completely new architecture concept for its database - the Container Database.
With this new architecture, new challenges came up but with the same breath a wide branch of new opportunities.
The presentation will address the capabilities to create fast and easy new (test) databases or clones for a running production database. Five different ways will be discussed.
- Using Local and Remote Cloning
- Using an Unplugged PDB (predefined master)
- Using Refreshable PDBs as a master for new (test) databases
- Snapshot Carousel
Another point of the agenda is the usage of the Snapshot features of ACFS and Direct NFS to speed up the creation process.
With the Oracle Multitenant option of Oracle Database 12c, the services of individual pluggable databases (PDBs) can be opened selectively on specified nodes of an Oracle Real Application Clusters (Oracle RAC) cluster. A true symbiotic relationship: the Oracle Multitenant option makes Oracle RAC better, and Oracle RAC makes the Oracle Multitenant option better! UPDATE for IOUG 2014.
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesMarkus Michalewicz
This presentation discusses operational best practices considering the increasing tendency to use automation to tackle repetitive tasks, which changes how best practices are applied. The presentation therefore introduces and explains which Oracle tools can and should be used to apply best practices. It also discusses "smart features" that one will benefit from automatically after upgrading to Oracle RAC 12c Rel. 2. This presentation was first presented during UKOUG Tech17.
Oracle Database performance tuning using oratopSandesh Rao
Oratop is a text-based user interface tool for monitoring basic database operations in real-time. This presentation will go into depth on how to use the tool and some example scenarios. It can be used for both RAC and single-instance databases and in combination with top to get a more holistic view of system performance and identify any bottlenecks.
Oracle Open World (OOW) 2014 presentation on Oracle Cache Fusion; how it works and how to use it in an optimized fashion to scale an Oracle RAC system.
Understanding Oracle RAC 12c Internals as presented during Oracle Open World 2013 with Mark Scardina.
This is part two of the Oracle RAC 12c "reindeer series" used for OOW13 Oracle RAC-related presentations.
Oracle RAC is an option to the Oracle Database Enterprise Edition. At least, this is what it is known for. This presentation shows the many ways in which the stack, which is known as Oracle RAC can be used in the most efficient way for various use cases.
MySQL Database Architectures - InnoDB ReplicaSet & ClusterKenny Gryp
Following MySQL InnoDB Cluster as our first, fully integrated MySQL High Availability solution based on Group Replication, MySQL Shell 8.0.19 includes MySQL InnoDB ReplicaSet which delivers another complete solution, this time based on MySQL Replication.
The basic idea for InnoDB ReplicaSet is to do the same for classic MySQL Replication as InnoDB Cluster did for Group Replication. We take a strong technology that is very powerful but can be complex, and provide an easy-to-use AdminAPI for it in the MySQL Shell.
In just a few easy to use Shell commands, a MySQL Replication database architecture can be configured from scratch including:
Data provisioning using MySQL CLONE, Setting up replication,
Performing manual switchover/failover.
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
In this session, I will cover under-the-hood features that power Oracle Real Application Clusters (Oracle RAC) 19c specifically around Cache Fusion and Service management. Improvements in Oracle RAC helps in integration with features such as Multitenant and Data Guard. In fact, these features benefit immensely when used with Oracle RAC. Finally we will talk about changes to the broader Oracle RAC Family of Products stack and the algorithmic changes that helps quickly detect sick/dead nodes/instances and the reconfiguration improvements to ensure that the Oracle RAC Databases continue to function without any disruption
PostgreSQL Replication High Availability MethodsMydbops
This slides illustrates the need for replication in PostgreSQL, why do you need a replication DB topology, terminologies, replication nodes and many more.
MySQL InnoDB Cluster provides a complete, high-availability solution for MySQL. Learn how with a few easy-to-use Shell commands, how to set up a MySQL database architecture.
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudMarkus Michalewicz
This presentation discusses the support guidelines for using Oracle Real Application Clusters (RAC) in virtualized environments, for which general Oracle Database support guidelines are discussed shortly first.
First presented during DOAG 2021 User Conference, this presentation replaces its predecessor from 2016: https://www.slideshare.net/MarkusMichalewicz/how-to-use-oracle-rac-in-a-cloud-a-support-question
Oracle RAC on Extended Distance Clusters - Customer ExamplesMarkus Michalewicz
This presentation show cases some Extended RAC customers and provides some background on their motivation. It is best consumed together with the more technical presentation http://www.slideshare.net/MarkusMichalewicz/oracle-rac-on-extended-distance-clusters and the the respective white paper http://www.slideshare.net/MarkusMichalewicz/extended-oracle-racclusters
The more components a system has, the more challenging its maintenance becomes. Oracle Exadata marries storage with computation through a fast, reliable network, and patching all of these seems daunting. Many companies seem to struggle with it, with some even avoiding it altogether by keeping it “pending.” This session presents tested, applied, and working tips to make the Oracle Exadata patching experience smooth as silk, like vacationing in Hawaii.
Oracle RAC 12c Practical Performance Management and Tuning as presented during Oracle Open World 2013 with Michael Zoll.
This is part three of the Oracle RAC 12c "reindeer series" used for OOW13 Oracle RAC-related presentations.
This part concludes the main part of the "reindeer series" except for one bonus track "Oracle Multitenant meets Oracle RAC 12c" (available via SlidesShare, too).
With the Oracle Multitenant option of Oracle Database 12c, the services of individual pluggable databases (PDBs) can be opened selectively on specified nodes of an Oracle Real Application Clusters (Oracle RAC) cluster. A true symbiotic relationship: the Oracle Multitenant option makes Oracle RAC better, and Oracle RAC makes the Oracle Multitenant option better! UPDATE for IOUG 2014.
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesMarkus Michalewicz
This presentation discusses operational best practices considering the increasing tendency to use automation to tackle repetitive tasks, which changes how best practices are applied. The presentation therefore introduces and explains which Oracle tools can and should be used to apply best practices. It also discusses "smart features" that one will benefit from automatically after upgrading to Oracle RAC 12c Rel. 2. This presentation was first presented during UKOUG Tech17.
Oracle Database performance tuning using oratopSandesh Rao
Oratop is a text-based user interface tool for monitoring basic database operations in real-time. This presentation will go into depth on how to use the tool and some example scenarios. It can be used for both RAC and single-instance databases and in combination with top to get a more holistic view of system performance and identify any bottlenecks.
Oracle Open World (OOW) 2014 presentation on Oracle Cache Fusion; how it works and how to use it in an optimized fashion to scale an Oracle RAC system.
Understanding Oracle RAC 12c Internals as presented during Oracle Open World 2013 with Mark Scardina.
This is part two of the Oracle RAC 12c "reindeer series" used for OOW13 Oracle RAC-related presentations.
Oracle RAC is an option to the Oracle Database Enterprise Edition. At least, this is what it is known for. This presentation shows the many ways in which the stack, which is known as Oracle RAC can be used in the most efficient way for various use cases.
MySQL Database Architectures - InnoDB ReplicaSet & ClusterKenny Gryp
Following MySQL InnoDB Cluster as our first, fully integrated MySQL High Availability solution based on Group Replication, MySQL Shell 8.0.19 includes MySQL InnoDB ReplicaSet which delivers another complete solution, this time based on MySQL Replication.
The basic idea for InnoDB ReplicaSet is to do the same for classic MySQL Replication as InnoDB Cluster did for Group Replication. We take a strong technology that is very powerful but can be complex, and provide an easy-to-use AdminAPI for it in the MySQL Shell.
In just a few easy to use Shell commands, a MySQL Replication database architecture can be configured from scratch including:
Data provisioning using MySQL CLONE, Setting up replication,
Performing manual switchover/failover.
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
In this session, I will cover under-the-hood features that power Oracle Real Application Clusters (Oracle RAC) 19c specifically around Cache Fusion and Service management. Improvements in Oracle RAC helps in integration with features such as Multitenant and Data Guard. In fact, these features benefit immensely when used with Oracle RAC. Finally we will talk about changes to the broader Oracle RAC Family of Products stack and the algorithmic changes that helps quickly detect sick/dead nodes/instances and the reconfiguration improvements to ensure that the Oracle RAC Databases continue to function without any disruption
PostgreSQL Replication High Availability MethodsMydbops
This slides illustrates the need for replication in PostgreSQL, why do you need a replication DB topology, terminologies, replication nodes and many more.
MySQL InnoDB Cluster provides a complete, high-availability solution for MySQL. Learn how with a few easy-to-use Shell commands, how to set up a MySQL database architecture.
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudMarkus Michalewicz
This presentation discusses the support guidelines for using Oracle Real Application Clusters (RAC) in virtualized environments, for which general Oracle Database support guidelines are discussed shortly first.
First presented during DOAG 2021 User Conference, this presentation replaces its predecessor from 2016: https://www.slideshare.net/MarkusMichalewicz/how-to-use-oracle-rac-in-a-cloud-a-support-question
Oracle RAC on Extended Distance Clusters - Customer ExamplesMarkus Michalewicz
This presentation show cases some Extended RAC customers and provides some background on their motivation. It is best consumed together with the more technical presentation http://www.slideshare.net/MarkusMichalewicz/oracle-rac-on-extended-distance-clusters and the the respective white paper http://www.slideshare.net/MarkusMichalewicz/extended-oracle-racclusters
The more components a system has, the more challenging its maintenance becomes. Oracle Exadata marries storage with computation through a fast, reliable network, and patching all of these seems daunting. Many companies seem to struggle with it, with some even avoiding it altogether by keeping it “pending.” This session presents tested, applied, and working tips to make the Oracle Exadata patching experience smooth as silk, like vacationing in Hawaii.
Oracle RAC 12c Practical Performance Management and Tuning as presented during Oracle Open World 2013 with Michael Zoll.
This is part three of the Oracle RAC 12c "reindeer series" used for OOW13 Oracle RAC-related presentations.
This part concludes the main part of the "reindeer series" except for one bonus track "Oracle Multitenant meets Oracle RAC 12c" (available via SlidesShare, too).
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...NETWAYS
This talk will start with a quick walk through the setup of all required components for a cloud based icinga2, icingaweb2 & icingaweb2-director environment. Focus will be on the configuration and monitoring of keepalived, HAProxy and Galera. Keepalived for example is used to interact with DigitalOcean and manage floating IPs. Examples will show how to use DigitalOcean loadbalancer instead of HAProxy. The talk will end with a summary of experienced limitations and pitfalls.
Making MySQL highly available using Oracle Grid InfrastructureIlmar Kerm
This presentation describes how Oracle Grid Infrastructure can be used to bring high availability to any application and example is given using MySQL.
Publicly delivered:
OUGE Meetup Feb, 2014
Oracle Technology Day in Tallinn 2014
OUGN Spring Conference 2014
OUGF Harmony 2014
A duplicate (clone or snapshot) database is useful for a variety of purposes, most of which involve testing &
upgrade
• You can perform the following tasks in a duplicate database:
• Test backup and recovery procedures
• Test an upgrade to a new release of Oracle Database
• Test the effect of applications on database performance
• Create a standby database (Dataguard) with DG Broker
• Leverage on Transient Logical Standby to perform an upgrade
• Generate reports
RAC-Installing your First Cluster and DatabaseNikhil Kumar
RAC - Installing your First RAC
Abstract : Oracle Real Application Clusters have been one of the hottest technologies in the market since 2001 prior this is know OPS in 8i. Oracle has brought revolution in the field of database by enhancing RAC technologies in it each version. This presentation will give introduction of RAC and features introduced in each version of RAC. This presentation contains the demo of building Oracle clusterware from the scratch. Also we will discuss the new components and its features during installation. This presentation and demo will be done on version 11GR2. Which will be used as a base for our next presentation Viz. Upgradation of RAC 11GR2 to 12C RAC.
This presentation will give brief insight information of RAC infrastructure setup. Sometimes DBA doesn’t fully aware of prerequisite and verification steps that needs to perform before installing clusterware, So this session will cover thing to consider before installing clusterware and best practices followed during the whole process.
Agenda
Introduction of RAC
Installation of Clusterware.
Creating diskgroup / Adding disk to Diskgroup using ASMCA.
Creation of ACFS Volume.
Installation of RAC Database using DBCA.
Running E-Business Suite Database on Oracle Database ApplianceMaris Elsins
This is my Collaborate 13 presentation.
ODA is a pre-configured, simple setup, high performance engineered system running 11gR2 cluster. It is a great choice for small to medium sized DBs and if you wish it can be used for Oracle EBS DB too. This paper will show you how the standardized configuration of ODA can be adjusted to comply with the specific requirements of e-Business Suite without sacrificing ODA’s flexibility and supportability. The paper will also share author’s experience migrating, running and maintaining R12 database tier on ODA.
Oracle RAC 12c Best Practices with Customer Example (Sanger) as presented during Oracle Open World 2013 (OOW13).
This is part one of the Oracle RAC 12c "reindeer series" used for OOW13 Oracle RAC-related presentations.
Listen to the keynote address and hear about the latest developments from Rachana Ananthakrishnan and Ian Foster who review the updates to the Globus Platform and Service, and the relevance of Globus to the scientific community as an automation platform to accelerate scientific discovery.
Software Engineering, Software Consulting, Tech Lead.
Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Security,
Spring Transaction, Spring MVC,
Log4j, REST/SOAP WEB-SERVICES.
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Globus
The U.S. Geological Survey (USGS) has made substantial investments in meeting evolving scientific, technical, and policy driven demands on storing, managing, and delivering data. As these demands continue to grow in complexity and scale, the USGS must continue to explore innovative solutions to improve its management, curation, sharing, delivering, and preservation approaches for large-scale research data. Supporting these needs, the USGS has partnered with the University of Chicago-Globus to research and develop advanced repository components and workflows leveraging its current investment in Globus. The primary outcome of this partnership includes the development of a prototype enterprise repository, driven by USGS Data Release requirements, through exploration and implementation of the entire suite of the Globus platform offerings, including Globus Flow, Globus Auth, Globus Transfer, and Globus Search. This presentation will provide insights into this research partnership, introduce the unique requirements and challenges being addressed and provide relevant project progress.
Large Language Models and the End of ProgrammingMatt Welsh
Talk by Matt Welsh at Craft Conference 2024 on the impact that Large Language Models will have on the future of software development. In this talk, I discuss the ways in which LLMs will impact the software industry, from replacing human software developers with AI, to replacing conventional software with models that perform reasoning, computation, and problem-solving.
How Recreation Management Software Can Streamline Your Operations.pptxwottaspaceseo
Recreation management software streamlines operations by automating key tasks such as scheduling, registration, and payment processing, reducing manual workload and errors. It provides centralized management of facilities, classes, and events, ensuring efficient resource allocation and facility usage. The software offers user-friendly online portals for easy access to bookings and program information, enhancing customer experience. Real-time reporting and data analytics deliver insights into attendance and preferences, aiding in strategic decision-making. Additionally, effective communication tools keep participants and staff informed with timely updates. Overall, recreation management software enhances efficiency, improves service delivery, and boosts customer satisfaction.
Into the Box Keynote Day 2: Unveiling amazing updates and announcements for modern CFML developers! Get ready for exciting releases and updates on Ortus tools and products. Stay tuned for cutting-edge innovations designed to boost your productivity.
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...Juraj Vysvader
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I didn't get rich from it but it did have 63K downloads (powered possible tens of thousands of websites).
Designing for Privacy in Amazon Web ServicesKrzysztofKkol1
Data privacy is one of the most critical issues that businesses face. This presentation shares insights on the principles and best practices for ensuring the resilience and security of your workload.
Drawing on a real-life project from the HR industry, the various challenges will be demonstrated: data protection, self-healing, business continuity, security, and transparency of data processing. This systematized approach allowed to create a secure AWS cloud infrastructure that not only met strict compliance rules but also exceeded the client's expectations.
Strategies for Successful Data Migration Tools.pptxvarshanayak241
Data migration is a complex but essential task for organizations aiming to modernize their IT infrastructure and leverage new technologies. By understanding common challenges and implementing these strategies, businesses can achieve a successful migration with minimal disruption. Data Migration Tool like Ask On Data play a pivotal role in this journey, offering features that streamline the process, ensure data integrity, and maintain security. With the right approach and tools, organizations can turn the challenge of data migration into an opportunity for growth and innovation.
Unleash Unlimited Potential with One-Time Purchase
BoxLang is more than just a language; it's a community. By choosing a Visionary License, you're not just investing in your success, you're actively contributing to the ongoing development and support of BoxLang.
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamtakuyayamamoto1800
In this slide, we show the simulation example and the way to compile this solver.
In this solver, the Helmholtz equation can be solved by helmholtzFoam. Also, the Helmholtz equation with uniformly dispersed bubbles can be simulated by helmholtzBubbleFoam.
Why React Native as a Strategic Advantage for Startup Innovation.pdfayushiqss
Do you know that React Native is being increasingly adopted by startups as well as big companies in the mobile app development industry? Big names like Facebook, Instagram, and Pinterest have already integrated this robust open-source framework.
In fact, according to a report by Statista, the number of React Native developers has been steadily increasing over the years, reaching an estimated 1.9 million by the end of 2024. This means that the demand for this framework in the job market has been growing making it a valuable skill.
But what makes React Native so popular for mobile application development? It offers excellent cross-platform capabilities among other benefits. This way, with React Native, developers can write code once and run it on both iOS and Android devices thus saving time and resources leading to shorter development cycles hence faster time-to-market for your app.
Let’s take the example of a startup, which wanted to release their app on both iOS and Android at once. Through the use of React Native they managed to create an app and bring it into the market within a very short period. This helped them gain an advantage over their competitors because they had access to a large user base who were able to generate revenue quickly for them.
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
Keep tabs on your field staff effortlessly with Informap Technology Centre LLC. Real-time tracking, task assignment, and smart features for efficient management. Request a live demo today!
For more details, visit us : https://informapuae.com/field-staff-tracking/
Accelerate Enterprise Software Engineering with PlatformlessWSO2
Key takeaways:
Challenges of building platforms and the benefits of platformless.
Key principles of platformless, including API-first, cloud-native middleware, platform engineering, and developer experience.
How Choreo enables the platformless experience.
How key concepts like application architecture, domain-driven design, zero trust, and cell-based architecture are inherently a part of Choreo.
Demo of an end-to-end app built and deployed on Choreo.
A Comprehensive Look at Generative AI in Retail App Testing.pdfkalichargn70th171
Traditional software testing methods are being challenged in retail, where customer expectations and technological advancements continually shape the landscape. Enter generative AI—a transformative subset of artificial intelligence technologies poised to revolutionize software testing.
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus
As part of the DOE Integrated Research Infrastructure (IRI) program, NERSC at Lawrence Berkeley National Lab and ALCF at Argonne National Lab are working closely with General Atomics on accelerating the computing requirements of the DIII-D experiment. As part of the work the team is investigating ways to speedup the time to solution for many different parts of the DIII-D workflow including how they run jobs on HPC systems. One of these routes is looking at Globus Compute as a way to replace the current method for managing tasks and we describe a brief proof of concept showing how Globus Compute could help to schedule jobs and be a tool to connect compute at different facilities.
Globus Connect Server Deep Dive - GlobusWorld 2024Globus
We explore the Globus Connect Server (GCS) architecture and experiment with advanced configuration options and use cases. This content is targeted at system administrators who are familiar with GCS and currently operate—or are planning to operate—broader deployments at their institution.
How to Position Your Globus Data Portal for Success Ten Good PracticesGlobus
Science gateways allow science and engineering communities to access shared data, software, computing services, and instruments. Science gateways have gained a lot of traction in the last twenty years, as evidenced by projects such as the Science Gateways Community Institute (SGCI) and the Center of Excellence on Science Gateways (SGX3) in the US, The Australian Research Data Commons (ARDC) and its platforms in Australia, and the projects around Virtual Research Environments in Europe. A few mature frameworks have evolved with their different strengths and foci and have been taken up by a larger community such as the Globus Data Portal, Hubzero, Tapis, and Galaxy. However, even when gateways are built on successful frameworks, they continue to face the challenges of ongoing maintenance costs and how to meet the ever-expanding needs of the community they serve with enhanced features. It is not uncommon that gateways with compelling use cases are nonetheless unable to get past the prototype phase and become a full production service, or if they do, they don't survive more than a couple of years. While there is no guaranteed pathway to success, it seems likely that for any gateway there is a need for a strong community and/or solid funding streams to create and sustain its success. With over twenty years of examples to draw from, this presentation goes into detail for ten factors common to successful and enduring gateways that effectively serve as best practices for any new or developing gateway.
4. ایران اوراکل کاربران ه
Agenda
• About Oracle ASM Filter Driver (AFD)
• Configuring Oracle AFD During Installation
• Configuring Oracle AFD After Installation
• Migrating to Oracle ASMLIB From AFD
• Check Oracle AFD has been configured
• Oracle AFD management commands
5. ایران اوراکل کاربران ه
Agenda
• About Oracle ASM Filter Driver (AFD)
• Configuring Oracle AFD During Installation
• Configuring Oracle AFD After Installation
• Migrating to Oracle ASMLIB From AFD
• Check Oracle AFD has been configured
• Oracle AFD management commands
6. ایران اوراکل کاربران ه
About Oracle ASM Filter Driver (AFD)
Kernel module that resides in the
I/O path of the Oracle ASM disks.
Preventing user I/O
and Disk corruption
Simplifies the configuration and management
eliminating the need to rebind disk devices
7. ایران اوراکل کاربران ه
About Oracle ASM Filter Driver (AFD)
Root:
dd if=/dev/zero of=/dev/sdb1 count=30
DB> crate tablespace mas;
Grid:
echo “masoud” > /dev/sdb1
ASM> alter diskgroup data rebalance;
8. ایران اوراکل کاربران ه
About Oracle ASM Filter Driver (AFD)
• Limitation:
1. The AFD is available on Linux from 12.1.0.2 onward
2. The AFD is available on Solaris from 12.2.0.1 onward
3. Other OS are not supported yet
4. AFD and ASMLIB are mutually exclusive
9. ایران اوراکل کاربران ه
Agenda
• About Oracle ASM Filter Driver (AFD)
• Configuring Oracle AFD During Installation
• Configuring Oracle AFD After Installation
• Migrating to Oracle ASMLIB From AFD
• Check Oracle AFD has been configured
• Oracle AFD management commands
16. ایران اوراکل کاربران ه
Configuring Oracle AFD After Installation
As root user:
[root@mydb2 bin]# /u01/app/grid/product/12.2/gi_1/bin/crsctl stop has
.
CRS-2677: Stop of 'ora.driver.afd' on 'mydb2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'mydb2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[root@mydb2 bin]# /u01/app/grid/product/12.2/gi_1/bin/acfsload stop
[root@mydb2 bin]# oracleasm exit
Unmounting ASMlib driver filesystem: /dev/oracleasm
Unloading module "oracleasm": oracleasm
17. ایران اوراکل کاربران ه
Configuring Oracle AFD After Installation
[root@mydb2 bin]# oracleasm status
Checking if ASM is loaded: no
Checking if /dev/oracleasm is mounted: no
[root@mydb2 bin]# ./asmcmd afd_configure
AFD-9323: Creating module dependencies - this may take some time.
AFD-9154: Loading 'oracleafd.ko' driver.
AFD-649: Verifying AFD devices.
AFD-9156: Detecting control device '/dev/oracleafd/admin'.
AFD-638: AFD installation correctness verified.
22. ایران اوراکل کاربران ه
Configuring Oracle AFD After Installation
[grid@mydb2 ~]$ srvctl config asm
ASM home: <CRS home>
Password file: +DATA/orapwasm
Backup of Password file:
ASM listener: LISTENER
Spfile: +DATA/ASM/ASMPARAMETERFILE/registry.253.969025733
ASM diskgroup discovery string: AFD:*
[grid@mydb2 ~]$ asmcmd afd_state
ASMCMD-9526: The AFD state is 'LOADED' and filtering is 'ENABLED' on host 'mydb2'
23. ایران اوراکل کاربران ه
Agenda
• About Oracle ASM Filter Driver (AFD)
• Configuring Oracle AFD During Installation
• Configuring Oracle AFD After Installation
• Migrating to Oracle ASMLIB From AFD
• Check Oracle AFD has been configured
• Oracle AFD management commands
24. ایران اوراکل کاربران ه
Migrating to Oracle ASMLIB From AFD
• Why if you do not like to use AFD? You could flow instructions below to
come back to our old love, ASMLIB
As grid user:
[grid@mydb2 ~]$ asmcmd dsget
parameter: AFD:*
profile:AFD:*
[grid@mydb2 ~]$ asmcmd dsset ’AFD:*’, ‘/dev/oracleasm/disks/*’
[grid@mydb2 ~]$ asmcmd dsget
parameter:AFD:*,/dev/oracleasm/disks/*
profile:AFD:*,/dev/oracleasm/disks/*
25. ایران اوراکل کاربران ه
Migrating to Oracle ASMLIB From AFD
As root user:
[root@mydb2 bin]# /u01/app/grid/product/12.2/gi_1/bin/crsctl stop has
.
.
.
CRS-2677: Stop of 'ora.driver.afd' on 'mydb2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'mydb2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
26. ایران اوراکل کاربران ه
Migrating to Oracle ASMLIB From AFD
[root@mydb2 bin]# /u01/app/grid/product/12.2/gi_1/bin/acfsload stop
[root@mydb2 bin]# /u01/app/grid/product/12.2/gi_1/bin/asmcmd afd_deconfigure
AFD-632: Existing AFD installation detected.
AFD-634: Removing previous AFD installation.
AFD-635: Previous AFD components successfully removed.
Modifying resource dependencies - this may take some time.
[root@mydb2 bin]# yum install oracleasm-support –y
Installed:
oracleasm-support.x86_64 0:2.1.11-1.el7
Complete!
27. ایران اوراکل کاربران ه
Migrating to Oracle ASMLIB From AFD
[root@mydb2 bin]# oracleasm configure –i
Default user to own the driver interface []: grid
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
[root@mydb2 bin]# oracleasm init
Loading module "oracleasm": oracleasm
Configuring "oracleasm" to use device physical block size
Mounting ASMlib driver filesystem: /dev/oracleasm
28. ایران اوراکل کاربران ه
Migrating to Oracle ASMLIB From AFD
[root@mydb2 bin]# oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@mydb2 bin]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "AFDDISK01“
[root@mydb2 bin]# oracleasm listdisks
AFDDISK01
29. ایران اوراکل کاربران ه
Migrating to Oracle ASMLIB From AFD
[root@mydb2 bin]# ll /dev/oracleasm/disks/*
brw-rw----. 1 grid asmadmin 8, 17 Feb 25 15:06 /dev/oracleasm/disks/AFDDISK01
[root@mydb2 bin]# /u01/app/grid/product/12.2/gi_1/bin/crsctl start has
CRS-4123: Oracle High Availability Services has been started.
As grid user:
[grid@mydb2 ~]$ crsctl check has
CRS-4638: Oracle High Availability Services is online
[grid@mydb2 ~]$ asmcmd dsset '/dev/oracleasm/disks/*'
[grid@mydb2 ~]$ srvctl status asm
ASM is running on mydb2
30. ایران اوراکل کاربران ه
Migrating to Oracle ASMLIB From AFD
[grid@mydb2 ~]$ asmcmd dsget
parameter:/dev/oracleasm/disks/*
profile:/dev/oracleasm/disks/*
[grid@mydb2 ~]$ asmcmd lsdsk -p
Group_Num Disk_Num Incarn Mount_Stat Header_Stat Mode_Stat State Path
1 0 4034024175 CACHED MEMBER ONLINE NORMAL /dev/oracleasm/disks/AFDDISK01
[grid@mydb2 ~]$ asmcmd afd_state
ASMCMD-9530: The AFD state is 'NOT SUPPORTED'
32. ایران اوراکل کاربران ه
Agenda
• About Oracle ASM Filter Driver (AFD)
• Configuring Oracle AFD During Installation
• Configuring Oracle AFD After Installation
• Migrating to Oracle ASMLIB From AFD
• Check Oracle AFD has been configured
• Oracle AFD management commands
33. ایران اوراکل کاربران ه
Check Oracle AFD has been configured
Is it possible to add another AFD disk ? Definitely yes
Let do it with the follow instructions:
Block device
sdc1
Make AFD Disk
AFDDISK02
Add AFD Disk
To diskgroup
34. ایران اوراکل کاربران ه
Check Oracle AFD has been configured
As all you know, you could use fdisk or any alternatives to format
Block device.
[root@mydb2 bin]# fdisk -l /dev/sdc
Disk /dev/sdc: 21.5 GB, 21474836480 bytes, 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00ec3a6d
Device Boot Start End Blocks Id System
/dev/sdc1 2048 41943039 20970496 83 Linux
Block device
sdc1
35. ایران اوراکل کاربران ه
Check Oracle AFD has been configured
As root user:
[root@mydb2 bin]# ./asmcmd afd_label AFDDISK02 /dev/sdc1 --init
ASMCMD-9521: AFD is already configured
[root@mydb2 bin]# ./asmcmd afd_label AFDDISK02 /dev/sdc1
[root@mydb2 bin]# ./asmcmd afd_lslbl
--------------------------------------------------------------------------------
Label Duplicate Path
=================================================
AFDDISK01 /dev/sdb1
AFDDISK02 /dev/sdc1
Make AFD Disk
AFDDISK02
36. ایران اوراکل کاربران ه
Check Oracle AFD has been configured
As grid user:
[grid@mydb2 ~]$ asmcmd lsdsk --candidate
Path
AFD:AFDDISK02
ASM> alter diskgroup data add disk 'AFD:AFDDISK02';
Diskgroup altered.
[grid@mydb2 ~]$ asmcmd lsdsk -p -G data
Group_Num Disk_Num Incarn Mount_Stat Header_Stat Mode_Stat State Path
1 0 4042477514 CACHED MEMBER ONLINE NORMAL AFD:AFDDISK01
1 1 4042477516 CACHED MEMBER ONLINE NORMAL AFD:AFDDISK02
Add AFD Disk
To diskgroup
37. ایران اوراکل کاربران ه
Check Oracle AFD has been configured
The value of the AFD_STATE parameter of SYS_ASMFD_PROPERTIES specifies
whether Oracle ASMFD is configured for the Oracle ASM instance.
ASM> SELECT SYS_CONTEXT('SYS_ASMFD_PROPERTIES', 'AFD_STATE') FROM DUAL;
SYS_CONTEXT('SYS_ASMFD_PROPERTIES','AFD_STATE')
--------------------------------------------------------------------------------
CONFIGURED
You can check the state of Oracle AFD with the ASMCMD afd_state
command
[grid@mydb2 ~]$ asmcmd afd_state
ASMCMD-9526: The AFD state is 'LOADED' and filtering is 'ENABLED' on host 'mydb2'
38. ایران اوراکل کاربران ه
Check Oracle AFD has been configured
It is worth mentioning path of ‘AFD:*’ is not block device, they are text file:
[root@mydb2 bin]# file /dev/oracleafd/disks/*
/dev/oracleafd/disks/AFDDISK01: ASCII text
/dev/oracleafd/disks/AFDDISK02: ASCII text
Actually they are references:
[grid@mydb2 ~]$ cat /dev/oracleafd/disks/AFDDISK01
/dev/sdb1
[grid@mydb2 ~]$ asmcmd afd_dsget
AFD discovery string: /dev/sd*
39. ایران اوراکل کاربران ه
Check Oracle AFD has been configured
Originality of references and labels:
AFD:*
/dev/oracleafd/disks/*
AFDDISK01 AFDDISK02Label:
block device: /dev/sdb1 /dev/sdc1
41. ایران اوراکل کاربران ه
Check Oracle AFD has been configured
Checking AFD:
[root@mydb2 bin]# dd if=/dev/zero of=/dev/sdb1 count=30
30+0 records in
30+0 records out
15360 bytes (15 kB) copied, 0.000210336 s, 73.0 MB/s
[root@mydb2 bin]# vim /var/log/messages
Feb 26 18:07:07 mydb2 kernel: F 4388703.592/180226143707 flush-8:16[39886] oracleafd:18:0894:Write
IO to ASM managed device: [8] [17]
Feb 26 18:07:07 mydb2 kernel: Buffer I/O error on device sdb1, logical block 0
Feb 26 18:07:07 mydb2 kernel: lost page write due to I/O error on sdb1
42. ایران اوراکل کاربران ه
Check Oracle AFD has been configured
Is it possible to turn off I/O filtering in the AFD? Yes, but it is not best practice
As root user:
[root@mydb2 bin]# ./asmcmd afd_filter -d /dev/sdb1
[root@mydb2 bin]# ./asmcmd afd_lsdsk
--------------------------------------------------------------------------------
Label Filtering Path
=================================================
AFDDISK01 DISABLED /dev/sdb1
AFDDISK02 ENABLED /dev/sdc1
44. ایران اوراکل کاربران ه
Check Oracle AFD has been configured
[grid@mydb2 ~]$ srvctl start diskgroup -diskgroup data
PRCR-1079 : Failed to start resource ora.DATA.dg
CRS-5017: The resource action "ora.DATA.dg start" encountered the following error:
ORA-15032: not all alterations performed
ORA-15017: diskgroup "DATA" cannot be mounted
ORA-15040: diskgroup is incomplete
. For details refer to "(:CLSN00107:)" in
"/u01/app/grid/diag/crs/mydb2/crs/trace/ohasd_oraagent_grid.trc".
CRS-2674: Start of 'ora.DATA.dg' on 'mydb2' failed
45. ایران اوراکل کاربران ه
Agenda
• About Oracle ASM Filter Driver (AFD)
• Configuring Oracle AFD During Installation
• Configuring Oracle AFD After Installation
• Migrating to Oracle ASMLIB From AFD
• Check Oracle AFD has been configured
• Oracle AFD management commands
46. ایران اوراکل کاربران ه
Oracle AFD management commands
afd_configure
Configures AFD on the local node. This command requires the Oracle Clusterware stack to be down on the
local node. The command must be executed by a privileged user. After afd_configure execution the default
filtering state is enabled.
Synopsis
afd_configure [-d | -e] [-f]
Description
The options for afd_configure are described below
-d - disable AFD filtering mode
-e - enable AFD filtering mode
-f - force AFD configuration
47. ایران اوراکل کاربران ه
Oracle AFD management commands
afd_deconfigure
Deconfigures AFD from the local node. This command requires the Oracle Clusterware stack to be down on
the local node. The command must be executed by a privileged user.
Synopsis
afd_deconfigure [-f]
Description
The options for afd_deconfigure are described below
-f - force AFD deconfiguration
48. ایران اوراکل کاربران ه
Oracle AFD management commands
afd_di
Manipulates the data integrity state in the AFD driver. One of the specified options must be provided in
order to execute this command.
Synopsis
afd_di {-e | -d | -q}
Description
The options for afd_di are described below
-e - enable data integrity
-d - disable data integrity
-q - query data integrity
49. ایران اوراکل کاربران ه
Oracle AFD management commands
afd_dsget
Retrieves the AFD discovery diskstring value
Synopsis
afd_dsget [--all]
Description
The options for the afd_dsget command are described below.
--all - Get clusterwide AFD discovery diskstring.
50. ایران اوراکل کاربران ه
Oracle AFD management commands
afd_dsset
Sets the AFD discovery diskstring value
Synopsis
afd_dsset <afddiskstring> [--all]
Description
The options for the afd_dsset command are described below.
--all - Set clusterwide AFD discovery diskstring.
51. ایران اوراکل کاربران ه
Oracle AFD management commands
afd_filter
Sets the AFD filtering mode on a given disk path. If the command is executed without specifying a disk path
then filtering is set at node level.
Synopsis
afd_filter {-e | -d } [<disk-path>] [--all]
Description
The options for afd_filter are described below
-e - enable AFD filtering mode
-d - disable AFD filtering mode
--all - set clusterwide AFD filtering mode
52. ایران اوراکل کاربران ه
Oracle AFD management commands
afd_label
To set the given label to the specified disk. '--init' option is not allowed if AFD is already loaded.
Synopsis
afd_label <label> <disk> [--rename | --migrate] [--init]
Description
label - label for the disk
disk - disk path
--rename - to relabel a disk that was labeled earlier
--migrate - to label a disk that was provisioned for ASM
--init - to set AFD label during initialize stage
54. ایران اوراکل کاربران ه
Oracle AFD management commands
afd_lslbl
Scans OS disks using the given discovery string and lists the disks that contain AFD labels. If the command is
executed without specifying a disk string then it uses the configured afd_diskstring value.
Synopsis
afd_lslbl [<disk-string>]
Examples
The following example uses afd_lslbl to scan OS disks
for AFD labels and lists them.
ASMCMD [+] >afd_lslbl '/dev/sd*'
55. ایران اوراکل کاربران ه
Oracle AFD management commands
afd_refresh
Refreshes AFD disks using the afd discovery string. It uses the configured afd_diskstring value.
Synopsis
afd_refresh [--all]
Description
The options for the afd_refresh command are described below.
--all - clusterwide afd refresh
56. ایران اوراکل کاربران ه
Oracle AFD management commands
afd_scan
Scans for AFD disks using the given discovery string. If the command is executed without specifying a disk
string then it uses the configured afd_diskstring value.
Synopsis
afd_scan [<disk-string>] [--all]
Description
The options for the afd_scan command are described below.
--all - clusterwide afd scan
57. ایران اوراکل کاربران ه
Oracle AFD management commands
afd_state
Returns the state of AFD
Synopsis
afd_state [--all]
Description
The options for afd_state are described below
--all - clusterwide afd state check
Examples
ASMCMD [+] >afd_state
ASMCMD-9526: The AFD state is 'LOADED' and filtering is 'DEFAULT' on host 'myhost'
58. ایران اوراکل کاربران ه
Oracle AFD management commands
afd_unlabel
To clear an existing label from a disk using either its label or disk path. If a disk needs to be unlabeled during
initialization stage it can be done only by using its disk path. '-f' option will not clear the label if there are
pending opens.
Synopsis
afd_unlabel { <label> | <'disk'> } [-f] [--init]
Description
label - label to clear
disk - disk path
-f - forcibly clear the label if ASM member disk and no pending opens of the disk
--init - to clear AFD label during initialize stage
60. ایران اوراکل کاربران ه
https://ir.linkedin.com/in/masoud-haji-hassan-pour
Masoud Haji Hassan Pour
Mas.Hassanpour@gmail.com
Thanks
for your attention
http://masoudhhp.me/