Services allow grouping of related sessions in an Oracle RAC environment for high availability and workload management. Key aspects of services include configuring and managing services using tools like DBCA and Enterprise Manager, using services with applications and components like the Resource Manager and Scheduler, setting performance metrics and thresholds on services, and configuring service aggregation and tracing.
Oracle Drivers configuration for High Availability, is it a developer's job?Ludovico Caldara
UCP, GridLink, TAF, AC, TAC, FAN… The configuration of Oracle Drivers for application high availability is not an easy job. The developers often care about the minimal working configuration, while the DBAs are busy with the operations. In this session I will try to demystify application server’s connectivity to the database and give a direction toward the highest availability, using Real Application Clusters and new Oracle features like TAC and CMAN TDM.
VMworld 2013: Performance Management of Business Critical Applications using ...VMworld
VMworld 2013
Vas Mitra, VMware
David Overbeek, VMware
Learn more about VMworld and register at http://www.vmworld.com/index.jspa?src=socmed-vmworld-slideshare
Presentation of the Ph. D. dissertation SLA-Driven Cloud Computing Domain Representation and Management. This presentation explains a new methodology for the representation and management of Cloud services using SLA fragments. Cloud resources are described as independent SLA fragments, which are composed on the fly to create complete Cloud services.
An architecture for the management of Cloud services is also presented.
Cloudcompaas, an open source SLA-driven framework is introduced. Cloudcompaas implements the methodology and architecture presented earlier and enables the management of the complete lifecycle of Cloud services.
Finally a set of experiments to validate the utility and performance of the contributions is presented.
Oracle Drivers configuration for High Availability, is it a developer's job?Ludovico Caldara
UCP, GridLink, TAF, AC, TAC, FAN… The configuration of Oracle Drivers for application high availability is not an easy job. The developers often care about the minimal working configuration, while the DBAs are busy with the operations. In this session I will try to demystify application server’s connectivity to the database and give a direction toward the highest availability, using Real Application Clusters and new Oracle features like TAC and CMAN TDM.
VMworld 2013: Performance Management of Business Critical Applications using ...VMworld
VMworld 2013
Vas Mitra, VMware
David Overbeek, VMware
Learn more about VMworld and register at http://www.vmworld.com/index.jspa?src=socmed-vmworld-slideshare
Presentation of the Ph. D. dissertation SLA-Driven Cloud Computing Domain Representation and Management. This presentation explains a new methodology for the representation and management of Cloud services using SLA fragments. Cloud resources are described as independent SLA fragments, which are composed on the fly to create complete Cloud services.
An architecture for the management of Cloud services is also presented.
Cloudcompaas, an open source SLA-driven framework is introduced. Cloudcompaas implements the methodology and architecture presented earlier and enables the management of the complete lifecycle of Cloud services.
Finally a set of experiments to validate the utility and performance of the contributions is presented.
Optimising Service Deployment and Infrastructure Resource ConfigurationRECAP Project
This is a presentation delivered by Alec Leckey (Intel) at the 2nd Data Centre Symposium held in conjunction with the National Conference on Cloud Computing and Commerce (http://2018.nc4.ie/) on April 10, 2018 in Dublin, Ireland.
Learn more about the RECAP project: https://recap-project.eu/
Install the Intel Landscaper: https://github.com/IntelLabsEurope/landscaper
This presentation was prepared for a Webcast where John Yerhot, Engine Yard US Support Lead, and Chris Kelly, Technical Evangelist at New Relic discussed how you can scale and improve the performance of your Ruby web apps. They shared detailed guidance on issues like:
Caching strategies
Slow database queries
Background processing
Profiling Ruby applications
Picking the right Ruby web server
Sharding data
Attendees will learn how to:
Gain visibility on site performance
Improve scalability and uptime
Find and fix key bottlenecks
See the on-demand replay:
http://pages.engineyard.com/6TipsforImprovingRubyApplicationPerformance.html
Watch this succinct guide to the benefits of modern scheduling and how HashiCorp Nomad can help you move your organization toward more modern deployment patterns.
Serverless technologies and capabilities are here and are accessible now more than ever.
The power of infinite scale and system capabilities has never been more accessible. This also affects traditional front end development as serverless technologies allow for easy construction of backend support for any frontend with ease and simplicity.
In this talk, we will demonstrate how to build a fully functional Graphql endpoint for FE applications using Apollo Server and Client libraries, utilizing different cloud providers. We will also demonstrate the usage of Servless.com framework to set up the required infrastructure as code to simplify and support this setup
The video of the presentation (Hebrew):
https://youtu.be/8ba4cpdtK-8
GE IOT Predix Time Series & Data Ingestion Service using Apache Apex (Hadoop)Apache Apex
This presentation will introduce usage of Apache Apex for Time Series & Data Ingestion Service by General Electric Internet of things Predix platform. Apache Apex is a native Hadoop data in motion platform that is being used by customers for both streaming as well as batch processing. Common use cases include ingestion into Hadoop, streaming analytics, ETL, database off-loads, alerts and monitoring, machine model scoring, etc.
Abstract: Predix is an General Electric platform for Internet of Things. It helps users develop applications that connect industrial machines with people through data and analytics for better business outcomes. Predix offers a catalog of services that provide core capabilities required by industrial internet applications. We will deep dive into Predix Time Series and Data Ingestion services leveraging fast, scalable, highly performant, and fault tolerant capabilities of Apache Apex.
Speakers:
- Venkatesh Sivasubramanian, Sr Staff Software Engineer, GE Predix & Committer of Apache Apex
- Pramod Immaneni, PPMC member of Apache Apex, and DataTorrent Architect
Optimizing Apache HBase for Cloud Storage in Microsoft Azure HDInsightHBaseCon
Nitin Verma, Pravin Mittal, and Maxim Lukiyanov (Microsoft)
This session presents our success story of enabling a big internal customer on Microsoft Azure’s HBase service along with the methodology and tools used to meet high-throughput goals. We will also present how new features in HBase (like BucketCache and MultiWAL) are helping our customers in the medium-latency/high-bandwidth cloud-storage scenario.
Mike Guthrie - Revamping Your 10 Year Old Nagios InstallationNagios
Mike Guthrie - Revamping Your 10 Year Old Nagios Installation - Mike Merideth from VictorOps talks about the challenges of
sharing responsibility for monitoring in the DevOps world. Learn several strategies for keeping your configuration correct,
consistent, and up-to-date when several people are working on it.
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...Andrejs Prokopjevs
This presentation covers the idea of logical hostname feature and its possible use case with E-Business Suite, why it is a must-have configuration for DR, how it can improve your test/dev instance cloning and lifecycle processes, especially in a cloud deployment, support overview by 11i/R12.0/R12.1, and why it is a very hot topic right now for R12.2. Additionally, we will describe possible advanced configuration scenarios like container based virtualization. The content is based on real client environment implementation experience.
Are your Oracle databases highly available? You have deployed Real Application Clusters (RAC), Data Guard, or Failover Clusters and are well protected against server failures? Great – the prerequisites for a highly available environment are given. However, to assure that backend infrastructure failures also remain transparent to the client, an appropriate configuration is a prerequisite.
This lecture will discuss the Oracle technologies that can be used to achieve automatic client failover functionality. What are the advantages, but also the limitations of these technologies?
Reduce SRE Stress: Minimizing Service Downtime with Grafana, InfluxDB and Tel...InfluxData
NetApp is a global cloud-led, data-centric software company. They are an industry leader in hybrid cloud data services and data management solutions. Their platform enables their customers to store and share large quantities of digital data across physical and hybrid cloud environments. NetApp Engineering’s Site Reliability Engineering team is tasked with supporting their internal build environment, test, and automation infrastructure. After collecting their time-stamped data in InfluxDB, they are using Kapacitor to push alerts directly to Slack via webhooks. Their globally distributed SRE team are able to seamlessly collaborate and troubleshoot. Discover how NetApp uses a time series platform to detect trends in real time that can result in failures within their environments, and to provide key metrics used in SRE postmortems.
Join this webinar as Dustin Sorge will dive into:
NetApp's approach to monitoring their SRE team's metrics — including SLO's and SLI's
Their best practices and techniques for monitoring memory usage and CPU usage
How they use InfluxDB and Telegraf to detect trends and coordinate fixes faster.
Integrating Infrastructure as Code into a Continuous Delivery Pipeline | AWS ...Amazon Web Services
Ansible is a simple, but powerful automation tool with an agentless footprint that allows for the definition of architecture, intent, and policy as code that can be deployed across both on-prem and cloud infrastructure. This enables customers to extend their enterprise and applications into AWS in a way that maintains a consistent, secure posture as part of a continuous delivery pipeline. Customers can then natively integrate with AWS to seamlessly configure and deploy a range of AWS services such as Amazon Aurora, Amazon Redshift, Amazon EMR, Amazon Athena, Amazon CloudFront, Amazon Route 53, and Elastic Load Balancing from within Red Hat OpenShift across a secure, consistent hybrid cloud infrastructure. In this session, we will demonstrate how infrastructure can be instantiated with code as part of a continuous delivery pipeline and describe how that integrates with an OpenShift hybrid cloud deployment. Learn More: https://aws.amazon.com/government-education/
Oracle Drivers configuration for High AvailabilityLudovico Caldara
... is it a developer's job?
UCP, GridLink, TAF, AC, TAC, FAN… The configuration of Oracle Drivers for application high availability is not an easy job. The developers often care about the minimal working configuration, while the DBAs are busy with the operations. In this session I will try to demystify application server’s connectivity to the database and give a direction toward the highest availability, using Real Application Clusters and new Oracle features like TAC and CMAN TDM.
Optimising Service Deployment and Infrastructure Resource ConfigurationRECAP Project
This is a presentation delivered by Alec Leckey (Intel) at the 2nd Data Centre Symposium held in conjunction with the National Conference on Cloud Computing and Commerce (http://2018.nc4.ie/) on April 10, 2018 in Dublin, Ireland.
Learn more about the RECAP project: https://recap-project.eu/
Install the Intel Landscaper: https://github.com/IntelLabsEurope/landscaper
This presentation was prepared for a Webcast where John Yerhot, Engine Yard US Support Lead, and Chris Kelly, Technical Evangelist at New Relic discussed how you can scale and improve the performance of your Ruby web apps. They shared detailed guidance on issues like:
Caching strategies
Slow database queries
Background processing
Profiling Ruby applications
Picking the right Ruby web server
Sharding data
Attendees will learn how to:
Gain visibility on site performance
Improve scalability and uptime
Find and fix key bottlenecks
See the on-demand replay:
http://pages.engineyard.com/6TipsforImprovingRubyApplicationPerformance.html
Watch this succinct guide to the benefits of modern scheduling and how HashiCorp Nomad can help you move your organization toward more modern deployment patterns.
Serverless technologies and capabilities are here and are accessible now more than ever.
The power of infinite scale and system capabilities has never been more accessible. This also affects traditional front end development as serverless technologies allow for easy construction of backend support for any frontend with ease and simplicity.
In this talk, we will demonstrate how to build a fully functional Graphql endpoint for FE applications using Apollo Server and Client libraries, utilizing different cloud providers. We will also demonstrate the usage of Servless.com framework to set up the required infrastructure as code to simplify and support this setup
The video of the presentation (Hebrew):
https://youtu.be/8ba4cpdtK-8
GE IOT Predix Time Series & Data Ingestion Service using Apache Apex (Hadoop)Apache Apex
This presentation will introduce usage of Apache Apex for Time Series & Data Ingestion Service by General Electric Internet of things Predix platform. Apache Apex is a native Hadoop data in motion platform that is being used by customers for both streaming as well as batch processing. Common use cases include ingestion into Hadoop, streaming analytics, ETL, database off-loads, alerts and monitoring, machine model scoring, etc.
Abstract: Predix is an General Electric platform for Internet of Things. It helps users develop applications that connect industrial machines with people through data and analytics for better business outcomes. Predix offers a catalog of services that provide core capabilities required by industrial internet applications. We will deep dive into Predix Time Series and Data Ingestion services leveraging fast, scalable, highly performant, and fault tolerant capabilities of Apache Apex.
Speakers:
- Venkatesh Sivasubramanian, Sr Staff Software Engineer, GE Predix & Committer of Apache Apex
- Pramod Immaneni, PPMC member of Apache Apex, and DataTorrent Architect
Optimizing Apache HBase for Cloud Storage in Microsoft Azure HDInsightHBaseCon
Nitin Verma, Pravin Mittal, and Maxim Lukiyanov (Microsoft)
This session presents our success story of enabling a big internal customer on Microsoft Azure’s HBase service along with the methodology and tools used to meet high-throughput goals. We will also present how new features in HBase (like BucketCache and MultiWAL) are helping our customers in the medium-latency/high-bandwidth cloud-storage scenario.
Mike Guthrie - Revamping Your 10 Year Old Nagios InstallationNagios
Mike Guthrie - Revamping Your 10 Year Old Nagios Installation - Mike Merideth from VictorOps talks about the challenges of
sharing responsibility for monitoring in the DevOps world. Learn several strategies for keeping your configuration correct,
consistent, and up-to-date when several people are working on it.
Optimize DR and Cloning with Logical Hostnames in Oracle E-Business Suite (OA...Andrejs Prokopjevs
This presentation covers the idea of logical hostname feature and its possible use case with E-Business Suite, why it is a must-have configuration for DR, how it can improve your test/dev instance cloning and lifecycle processes, especially in a cloud deployment, support overview by 11i/R12.0/R12.1, and why it is a very hot topic right now for R12.2. Additionally, we will describe possible advanced configuration scenarios like container based virtualization. The content is based on real client environment implementation experience.
Are your Oracle databases highly available? You have deployed Real Application Clusters (RAC), Data Guard, or Failover Clusters and are well protected against server failures? Great – the prerequisites for a highly available environment are given. However, to assure that backend infrastructure failures also remain transparent to the client, an appropriate configuration is a prerequisite.
This lecture will discuss the Oracle technologies that can be used to achieve automatic client failover functionality. What are the advantages, but also the limitations of these technologies?
Reduce SRE Stress: Minimizing Service Downtime with Grafana, InfluxDB and Tel...InfluxData
NetApp is a global cloud-led, data-centric software company. They are an industry leader in hybrid cloud data services and data management solutions. Their platform enables their customers to store and share large quantities of digital data across physical and hybrid cloud environments. NetApp Engineering’s Site Reliability Engineering team is tasked with supporting their internal build environment, test, and automation infrastructure. After collecting their time-stamped data in InfluxDB, they are using Kapacitor to push alerts directly to Slack via webhooks. Their globally distributed SRE team are able to seamlessly collaborate and troubleshoot. Discover how NetApp uses a time series platform to detect trends in real time that can result in failures within their environments, and to provide key metrics used in SRE postmortems.
Join this webinar as Dustin Sorge will dive into:
NetApp's approach to monitoring their SRE team's metrics — including SLO's and SLI's
Their best practices and techniques for monitoring memory usage and CPU usage
How they use InfluxDB and Telegraf to detect trends and coordinate fixes faster.
Integrating Infrastructure as Code into a Continuous Delivery Pipeline | AWS ...Amazon Web Services
Ansible is a simple, but powerful automation tool with an agentless footprint that allows for the definition of architecture, intent, and policy as code that can be deployed across both on-prem and cloud infrastructure. This enables customers to extend their enterprise and applications into AWS in a way that maintains a consistent, secure posture as part of a continuous delivery pipeline. Customers can then natively integrate with AWS to seamlessly configure and deploy a range of AWS services such as Amazon Aurora, Amazon Redshift, Amazon EMR, Amazon Athena, Amazon CloudFront, Amazon Route 53, and Elastic Load Balancing from within Red Hat OpenShift across a secure, consistent hybrid cloud infrastructure. In this session, we will demonstrate how infrastructure can be instantiated with code as part of a continuous delivery pipeline and describe how that integrates with an OpenShift hybrid cloud deployment. Learn More: https://aws.amazon.com/government-education/
Oracle Drivers configuration for High AvailabilityLudovico Caldara
... is it a developer's job?
UCP, GridLink, TAF, AC, TAC, FAN… The configuration of Oracle Drivers for application high availability is not an easy job. The developers often care about the minimal working configuration, while the DBAs are busy with the operations. In this session I will try to demystify application server’s connectivity to the database and give a direction toward the highest availability, using Real Application Clusters and new Oracle features like TAC and CMAN TDM.
Ethnobotany and Ethnopharmacology:
Ethnobotany in herbal drug evaluation,
Impact of Ethnobotany in traditional medicine,
New development in herbals,
Bio-prospecting tools for drug discovery,
Role of Ethnopharmacology in drug evaluation,
Reverse Pharmacology.
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
Andreas Schleicher presents at the OECD webinar ‘Digital devices in schools: detrimental distraction or secret to success?’ on 27 May 2024. The presentation was based on findings from PISA 2022 results and the webinar helped launch the PISA in Focus ‘Managing screen time: How to protect and equip students against distraction’ https://www.oecd-ilibrary.org/education/managing-screen-time_7c225af4-en and the OECD Education Policy Perspective ‘Students, digital devices and success’ can be found here - https://oe.cd/il/5yV
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
2. Objectives
• After completing this lesson, you should be
able to:
– Configure and manage services in a RAC
environment
– Use services with client applications
– Use services with the Database Resource Manager
– Use services with the Scheduler
– Set performance-metric thresholds on services
– Configure services aggregation and tracing
6. RAC and Data Warehouse: An Optimal
Solution
– Maximum total workload used for system sizing:
Size(Workload max total) < Σ Size(workload max components)
– The entire workload is evenly spread across all
nodes at any point in time.
ETL
DB
EUT
8. What Is a Service?
– Is a means of grouping sessions that are doing the
same kind of work
– Provides a single-system image instead of a
multiple-instances image
– Is a part of the regular administration tasks that
provide dynamic service-to-instance allocation
– Is the base for High Availability of connections
– Provides a new performance-tuning dimension
9. High Availability of Services in RAC
– Services are available continuously with load shared
across one or more instances.
– Additional instances are made available in response
to failures.
– Preferred instances:
• Set the initial cardinality for the service
• Are the first to start the service
– Available instances are used in response to
preferred-instance failures.
10. Possible Service Configuration with
RAC
AP
RAC01 RAC02 RAC03
GL
AP
GL
AP
RAC01 RAC02 RAC03
GL
AP
GL
AP
GL
AP
RAC01 RAC02 RAC03
GL
AP
GL
AP
GL
Active/spare
Active/symmetric Active/asymmetric
11. Service Attributes
– Global unique name
– Network name
– Load Balancing Advisory goal*
– Distributed transactions flag*
– Advance queuing notification characteristics for OCI
and ODP.NET clients*
– Failover characteristics*
– Connection load-balancing algorithm*
– Threshold
– Priority
– High-availability configuration*
12. Service Types
– Application services:
• Limit of 100 services per database
– Internal services:
• SYS$BACKGROUND
• SYS$USERS
• Cannot be deleted or changed
13. Service Goodness
– Value that reflects the ability of a node and instance
to deliver work for a service
– Appropriate metrics used to compute goodness
depending on the service goal:
• Service time
• Service throughput
– Automatically computed at each instance by MMNL
15. Create Services with SRVCTL
$ srvctl add service –d PROD –s GL -r RAC02 -a RAC01
$ srvctl add service –d PROD –s AP –r RAC01 -a RAC02
AP
RAC01
GL AP
RAC02
GL
17. Modify Services with the
DBMS_SERVICE Package
• Modify a service in RAC with the following:
– SRVCTL
– Enterprise Manager
– DBMS_SERVICE.MODIFY_SERVICE
exec DBMS_SERVICE.MODIFY_SERVICE (
'SELF-SERVICE', 'SELF-SERVICE.us.oracle.com',
goal => DBMS_SERVICE.GOAL_SERVICE_TIME,
clb_goal => DBMS_SERVICE.CLB_GOAL_SHORT);
18. Everything Switches to Services
– Data dictionary maintains services.
– The AWR measures the performance of services.
– The Database Resource Manager uses services in
place of users for priorities.
– Job scheduler, Parallel Query (PQ), and Streams
queues run under services.
– RAC keeps services available within a site.
– Data Guard Broker with RAC keeps primary services
available across sites.
20. Use Services with the Resource
Manager
– Consumer groups are automatically assigned to sessions
based on session services.
– Work is prioritized by service inside one instance.
AP
Instance resources
BATCH
75%
25%
AP
BATCH
Connections
27. Use Services with Parallel Operations
– Slaves inherit the service from the coordinator.
– Slaves only execute on instances running the service.
ERP
Execution
coordinator
Parallel
Execution
server
Shared disks
Node 4
Node 1 Node 2 Node 3
ERP
ERP
ERP
ERP
ERP
ERP
ERP
ERP
28. Use Services with Metric Thresholds
– You can define service-level thresholds:
• ELAPSED_TIME_PER_CALL
• CPU_TIME_PER_CALL
– Server-generated alerts are triggered on threshold
violations.
– You can react on generated alerts:
• Change priority.
• Relocate services.
• Add instances for services.
SELECT service_name, elapsedpercall, cpupercall
FROM V$SERVICEMETRIC;
30. Services and Metric Thresholds:
Example
• Thresholds must be set on each instance supporting the service.
exec DBMS_SERVER_ALERT.SET_THRESHOLD(-
METRICS_ID => dbms_server_alert.elapsed_time_per_call,
WARNING_OPERATOR => dbms_server_alert.operator_ge,
WARNING_VALUE => '500000',
CRITICAL_OPERATOR => dbms_server_alert.operator_ge,
CRITICAL_VALUE => '750000',
OBSERVATION_PERIOD => 15,
CONSECUTIVE_OCCURRENCES => 3,
INSTANCE_NAME => 'I0n',
OBJECT_TYPE => dbms_server_alert.object_type_service,
OBJECT_NAME => 'ERP');
31. Service Aggregation and Tracing
– Statistics are always aggregated by service to
measure workloads for performance tuning.
– Statistics can be aggregated at finer levels:
• MODULE
• ACTION
• Combination of SERVICE_NAME, MODULE, ACTION
– Tracing can be done at various levels:
• SERVICE_NAMES
• MODULE
• ACTION
• Combination of SERVICE_NAME, MODULE, ACTION
– This is useful for tuning systems that use shared
sessions.
33. Service Aggregation Configuration
– Automatic service aggregation level of statistics
– DBMS_MONITOR used for finer granularity of
service aggregations:
• SERV_MOD_ACT_STAT_ENABLE
• SERV_MOD_ACT_STAT_DISABLE
– Possible additional aggregation levels:
• SERVICE_NAME/MODULE
• SERVICE_NAME/MODULE/ACTION
– Tracing services, modules, and actions:
• SERV_MOD_ACT_TRACE_ENABLE
• SERV_MOD_ACT_TRACE_DISABLE
– Database settings persist across instance restarts.
34. Service Aggregation: Example
– Collect statistics on service and module:
– Collect statistics on service, module, and action:
– Trace all sessions of an entire service:
– Trace on service, module, and action:
exec DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE(-
'AP', 'PAYMENTS');
exec DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE(-
'AP', 'PAYMENTS', 'QUERY_DELINQUENT');
exec DBMS_MONITOR.SERV_MOD_ACT_TRACE_ENABLE('AP');
exec DBMS_MONITOR.SERV_MOD_ACT_TRACE_ENABLE(-
'AP', 'PAYMENTS', 'QUERY_DELINQUENT');
36. Service Performance Views
– Service, module, and action information in:
• V$SESSION
• V$ACTIVE_SESSION_HISTORY
– Service performance in:
• V$SERVICE_STATS
• V$SERVICE_EVENT
• V$SERVICE_WAIT_CLASS
• V$SERVICEMETRIC
• V$SERVICEMETRIC_HISTORY
• V$SERV_MOD_ACT_STATS
• DBA_ENABLED_AGGREGATIONS
• DBA_ENABLED_TRACES
– Twenty-eight statistics for services
37. Generalized Trace Enabling
– For all sessions in the database:
– For a particular session:
EXEC dbms_monitor.DATABASE_TRACE_ENABLE(TRUE,TRUE);
EXEC dbms_monitor.DATABASE_TRACE_DISABLE();
EXEC dbms_monitor.SESSION_TRACE_ENABLE(session_id =>
27, serial_num => 60, waits => TRUE, binds =>
FALSE);
EXEC dbms_monitor.SESSION_TRACE_DISABLE(session_id
=> 27, serial_num => 60);
38. Manage Services
– Use EM or SRVCTL to manage services:
• Start: Allow connections
• Stop: Prevent connections
• Enable: Allow automatic restart and redistribution
• Disable: Prevent starting and automatic restart
• Relocate: Temporarily change instances on which services
run
• Modify: Modify preferred and available instances
• Get status information
• Add or remove
– Use the DBCA:
• Add or remove
• Modify services
42. Manage Services: Example
– Start a named service on all preferred instances:
– Stop a service on selected instances:
– Disable a service at a named instance:
– Set an available instance as a preferred instance:
$ srvctl start service –d PROD –s AP
$ srvctl stop service –d PROD –s AP –i RAC03,RAC04
$ srvctl disable service –d PROD –s AP –i RAC04
$ srvctl modify service –d PROD –s AP -i RAC05 –r
44. Using Distributed Transactions with RAC
– Scope of application: XA or MS DTC
– Fully supported by default on RAC (GTXn background)
– Or all transaction branches occur on same instance:
S0 RAC01
S1 S2
S0 RAC02
S1 S2
S0 RAC03
S1 S2
Mid-tier
partition 1
Mid-tier
non-DT
Mid-tier
partition 2
S1
S0
S2
dbms_service.modify_service(service_name=>'S1', DTP=>TRUE)
dbms_service.modify_service(service_name=>'S2', DTP=>TRUE)
46. Restricted Session and Services
ALTER SYSTEM
ENABLE RESTRICTED SESSION;
ERP
RAC01
ERP
RAC02
ERP ERP
ERP
Oracle
Clusterware
ERP
1
2
3
4
5
47. Summary
• In this lesson, you should have learned how to:
– Configure and manage services in a RAC environment
– Use services with client applications
– Use services with the Database Resource Manager
– Use services with the Scheduler
– Set performance-metric thresholds on services
– Configure services aggregation and tracing
48. Practice 7: Overview
• This practice covers the following topics:
– Defining services by using DBCA
– Managing services by using Enterprise Manager
– Using server-generated alerts in combination with
services