Access Control Lists for Roles
December events for Oracle VM
New Exam Prep Seminar for Program With PL/SQL!

For those of you preparing for the Oracle PL/SQL Developer Certified Associate certification, this seminar is a great value and and an excellent way to gain valuable insight from one of Oracle University's top Database instructors. This Exam Prep Seminar will accelerate your preparation, make your prep time more efficient and give you insight to the breadth and depth of the certification exam.
This type of exam preparation has traditionally only been available at the Oracle OpenWorld conference, but is now available to anyone through this new format. Of course with online video, you can now start, stop, rewind, and review as needed! Also note that because this seminar is in the Oracle Training On Demand format, you can also watch it on your your iPad through Oracle University's new free iPad app.
QUICK LINKS
My error with upgrading 4.0 to 4.2- What NOT to do...
Last week, I was helping a client upgrade from the 2011.1.4.0 code to the newest 2011.1.4.2 code. We downloaded the 4.2 update from MOS, upload and unpacked it on both controllers, and upgraded one of the controllers in the cluster with no issues at all. As this was a brand-new system with no networking or pools made on it yet, there were not any resources to fail back and forth between the controllers. Each controller had it's own, private, management interface (igb0 and igb1) and that's it. So we took controller 1 as the passive controller and upgraded it first. The first controller came back up with no issues and was now on the 4.2 code. Great. We then did a takeover on controller 1, making it the active head (although there were no resources for it to take), and then proceeded to upgrade controller 2.
Upon upgrading the second controller, we ran the health check with no issues. We then ran the update and it ran and rebooted normally. However, something strange then happened. It took longer than normal to come back up, and when it did, we got the "cluster controllers on different code" error message that one gets when the two controllers of a cluster are running different code. But we just upgraded the second controller to 4.2, so they should have been the same, right???
Going into the Maintenance-->System screen of controller 2, we saw something very strange. The "current version" was still on 4.0, and the 4.2 code was there but was in the "previous" state with the rollback icon, as if it was the OLDER code and not the newer code. I have never seen this happen before. I would have thought it was a bad 4.2 code file, but it worked just fine with controller 1, so I don't think that was it. Other than the fact the code did not update, there was nothing else going on with this system. It had no yellow lights, no errors in the Problems section, and no errors in any of the logs. It was just out of the box a few hours ago, and didn't even have a storage pool yet.
So.... We deleted the 4.2 code, uploaded it from scratch, ran the health check, and ran the upgrade again. once again, it seemed to go great, rebooted, and came back up to the same issue, where it came to 4.0 instead of 4.2. See the picture below.... HERE IS WHERE I MADE A BIG MISTAKE....
I SHOULD have instantly called support and opened a Sev 2 ticket. They could have done a shared shell and gotten the correct Fishwork engineer to look at the files and the code and determine what file was messed up and fixed it. The system was up and working just fine, it was just on an older code version, not really a huge problem at all.
Instead, I went ahead and clicked the "Rollback" icon, thinking that the system would rollback to the 4.2 code. Ouch... What happened was that the system said, "Fine, I will delete the 4.0 code and boot to your 4.2 code"... Which was stupid on my part because something was wrong with the 4.2 code file here and the 4.0 was just fine.
So now the system could not boot at all, and the 4.0 code was completely missing from the system, and even a high-level Fishworks engineer could not help us. I had messed it up good. We could only get to the ILOM, and I had to re-image the system from scratch using a hard-to-get-and-use FishStick USB drive. These are tightly controlled and difficult to get, almost always handcuffed to an engineer who will drive out to re-image a system. This took another day of my client's time.
So.... If you see a "previous version" of your system code which is actually a version higher than the current version... DO NOT ROLL IT BACK.... It did not upgrade for a very good reason.
In my case, after the system was re-imaged to a code level just 3 back, we once again tried the same 4.2 code update and it worked perfectly the first time and is now great and stable. Lesson learned.
By the way, our buddy Ryan Matthews wanted to point out the best practice and supported way of performing an upgrade of an active/active ZFSSA, where both controllers are doing some of the work. These steps would not have helpped me for the above issue, but it's important to follow the correct proceedure when doing an upgrade.
1) Upload software to both controllers and wait for it to
unpack
2) On controller "A" navigate to configuration/cluster and
click "takeover"
3) Wait for controller "B" to finish restarting, then login
to it, navigate to maintenance/system, and roll forward to
the new software.
4) Wait for controller "B" to apply the update and finish
rebooting
5) Login to controller "B", navigate to
configuration/cluster and click "takeover"
6) Wait for controller "A" to finish restarting, then login
to it, navigate to maintenance/system, and roll forward to
the new software.
7) Wait for controller "A" to apply the update and finish
rebooting
8) Login to controller "B", navigate to
configuration/cluster and click "failback"
Join Us at Oracle OpenWorld Latin America (Dec 4-6)
Hello to all Latin Americans,
Oracle Openworld Latin America is starting tomorrow. Oracle Linux will be showcased in different sessions and in the exhibition area. Here's some of the links and details to our sessions:
Session Schedules:
Oracle Linux sessions:
New Features in Oracle Linux: A Technical Deep Dive, Dec 4, 13:30-14:30, Mezzanine Room 7
Oracle Linux Strategy and Roadmap, Dec 4, 17:15-18:15, Mezzanine Room 5
See you there :)Oracle OpenWorld Latin America Exhibition Halls Hours
Tuesday, December 4
12:00–19:30
18:15–19:30 (Dedicated Hours)
Wednesday, December 5
11:00–19:30
18:30–19:30 (Dedicated Hours)
Thursday, December 6
11:00–19:00
17:45–19:00 (Dedicated Hours)We will also hand out the following in our booth, don't forget to visit us:
- Oracle Linux and Oracle VM DVD Kit- Server Virtualization for Dummies
'rman' cheat-sheet and rlwrap completion
I started using 'rlwrap' some monthes ago like one of my colleague does.
One can find specific Oracle extension for databases 9i, 10g and 11g (keyword textfile) over here.
This will avoid you the need to create this .oracle_keywords file.
There is 'rman' keyword file in the link above.
I experimented a little and found some missing keywords which are:
MAXCORRUPTION PRIMARY NOCFAU VIRTUAL COMPRESSION FOREIGN
With these words added, 'rman' works like this:
$rlwrap -f ~/rman $ORACLE_HOME/bin/rman Recovery Manager: Release 11.2.0.3.0 - Production on Mon Dec 3 02:56:04 2012 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. RMAN> <-- Hit TAB Display all 211 possibilities? (y or n)
As you can guess, this completion is not context aware.
I found these missing words by creating a kind of 'cheat sheet' for rman with the script like below.
This sheet contains list of verbs and 1st operands.
I uploaded to here so one can create a coffee cup with a lot of esoteric words printed on :)
validWords() { sed -n 's/^RMAN-01009: syntax error: found "identifier": expecting one of: //p' \ | sed -r 's/double-quoted-string, single-quoted-string/Some String/;s/, /""/g;s/""//' } echo "Bogus" | rman | validWords > /tmp/rman.$$ for i in $(cat /tmp/rman.$$) do i=$(echo $i | tr -d '"') echo "#### $i ####" echo "$i Bogus" | rman | validWords done
One can find more keywords in the document here.
New Supply Chain, S&OP, & TPM Analyst Reports from Gartner, IDC Now Available
Check out these analyst reports Oracle has recently made available for customers and partners on Oracle.com:
Gartner: MarketScope for Stage 3 Sales and Operations Planning - Gartner lead supply chain planning analyst, Tim Payne, discusses the evolving definition of S&OP, the Gartner S&OP maturity model, and recommendations for selecting S&OP technology solutions.
Gartner: Vendor Panorama for Trade Promotion Management in Consumer Goods - Consumer goods analyst, Dale Hagemeyer, presents an overview of the TPM market, followed by an analysis of vendor offerings.
IDC: Perspective: Oracle OpenWorld 2012 — Supply Chain as a Focus - Supply chain analyst, Simon Ellis, discusses supply chain highlights from the October OpenWorld conference. Value Chain Planning highlights include the VCP product roadmap and demand sensing presentations by Electronic Arts (Demantra) and Sony (Demand Signal Repository).
For a complete set of analyst reports, visit here.
Evaluating Solutions to Manage Product Compliance? Don’t Wait Much Longer
By Kerrie Foy, Director PLM Product Marketing, Oracle
Depending on severity, product compliance issues can cause various problems from run-away budgets to business closures. But effective policies and safeguards can create a strong foundation for innovation, productivity, market penetration and competitive advantage. If you’ve been putting off a systematic approach to product compliance, it is time to reconsider that decision.
Why now? No matter what industry, companies face a litany of worldwide and regional regulations that require proof of product compliance and environmental friendliness for market access. For example, Restriction of Hazardous Substances (RoHS), a regulation that restricts the use of six dangerous materials used in the manufacture of electronic and electrical equipment, was originally adopted by the European Union in 2003 for implementation in 2006 and has evolved over time through various regional versions for North America, China, Japan, Korea, Norway and Turkey. In addition, the RoHS directive allowed for material exemptions used in Medical Devices, but that exemption ends in 2014. Additional regulations worth watching are the Battery Directive, Waste Electrical and Electronic Equipment (WEEE), and Registration, Evaluation, Authorization and Restriction of Chemicals (REACH) directives. Additional regulations are expected from organizations such as the Food and Drug Administration in the US and similar organizations elsewhere.Meeting compliance requirements and also successfully investing in eco-friendly designs can be a major challenge. It may involve transforming business models, go-to-market strategies, supply networks, quality assurance policies and compliance processes. Without a single source of truth for product data and without proper processes in place, ensuring product compliance burgeons into a crushing task that is cost-prohibitive and overwhelming. However, the risk to consumer goodwill and satisfaction, revenue, business continuity, and market potential is too great not to solve the compliance challenge. Companies are beginning to adapt and thrive by implementing systematic approaches to product compliance that are more than functional bandages, they are revenue-generating engines.
Consider working with Oracle to help you address your compliance needs. Many of the world’s most innovative leaders and pioneers are leveraging Oracle’s Agile Product Lifecycle Management (PLM) portfolio of enterprise applications to manage the product value chain, centralize product data, automate processes, and launch more eco-friendly products to market faster. Particularly, the Agile Product Governance & Compliance (PG&C) solution provides out-of-the-box functionality to integrate actionable regulatory information into the enterprise product record from the ideation to the disposal/recycling phase.
Agile PG&C is a comprehensive solution that makes product compliance per corporate initiatives and regulations more reliable and efficient. Throughout product lifecycles, use the solution to support full material disclosures, gain rapid visibility into non-compliance issues, efficiently manage declarations with your suppliers, feed compliance data into a corrective action if a product must be changed, and swiftly satisfy audits by showing all due diligence tracked in one solution.
Given the compounding regulation and consumer focus on urgent environmental issues, now is the time to act. Implementing an enterprise-wide systematic approach to product compliance is a competitive investment. From the start, Agile PG&C enables companies to confidently design for compliance and sustainability, reduce the cost of compliance, minimize the risk of business interruption, deliver responsible products, and inspire new innovation. Don’t wait any longer!
To find out more about Agile Product Governance & Compliance download the data sheet, contact your sales representative, or call Oracle at 1-800-633-0738.
OAM11gR2: Enabling SSL in the Data Store
Enabling SSL in the Data Store of OAM11gR2 comprises of the below mentioned steps.
- Import the certificate/s required for establishing the trust with the Store(backend) in the keystore(cacerts) on the machine hosting OAM's Weblogic Admin server
- Restart the Weblogic Admin server
- Specify the <Hostname>:<SSL port> in the"Location" field of the Data Store and select the "Enable SSL" checkbox
Pre-requisite:-
- Certificate/s to be imported are available for import
- Data Store has already been created using OAM admin console and the connection to the store is successful on non-SSL port( though one can always create a Data Store with SSL settings on the first go)
Steps for importing the certificate/s:-
One can use the keytool utility that comes bundled with JDK to import the certificate. The step for importing the certificate would be same for self-signed and third party certificates (like VeriSign)
$JAVA_HOME/bin/keytool -import -v -noprompt -trustcacerts -alias <aliasname> -file <Path to the certificate file> -keystore $JAVA_HOME/jre/lib/security/cacerts
Here $JAVA_HOME refers to the path of JDK install directory
Note: In case multiple certificates are required for establishing the trust, import all those certificates using the same keytool command mentioned above
One can verify the import of the certificate/s by using the below mentioned command
$JAVA_HOME/bin/keytool -list -alias <aliasname>-v -keystore $JAVA_HOME/jre/lib/security/cacerts
When the trust gets established for the SSL communication, specifying the SSL specific settings in the Data Store (via OAM admin console) wouldn't result into the previously seen error (when Certificates are yet to be imported) and the "Test Connection" would be successful.今年もアツかった!『Oracle DBA & Developer Day 2012』 イベントレポート
「満員御礼!DBA & Developer Day ご来場ありがとうございました。でも、まだ終わりではありません!」でもお伝えしたように、DBA & Developer Day には大勢の方が来場され、とても活気に満ちたイベントとなりました。
とはいえ、当日ご参加いただけなかった方には言葉だけではその雰囲気は伝わらないと思いますので、当日の様子を OTN スタッフからレポートしたいと思います。
こちらの写真は基調講演の会場の様子です。開演直前とはいえ、「満員御礼」という言葉通り、ぎっしりと席が埋まりました。
今回の基調講演は、「Oracle Database Cloud Serviceアーキテクチャと次世代データベース技術概要」と題し、オラクル・コーポレーションのMichael Hichwa氏より、先のOracle OpenWorld 2012 で発表されたクラウド戦略や次世代データベースの技術概要が紹介されました。
Oracle Database Cloud Serviceの構成、サービスの内容、実際の使い方の説明に加えて、パートナー各社から提供されている各種アプリケーションのデモも行われました。また、後半では、Pluggable Database(プラガブルデータベース)など、次世代データベースの技術の特徴が紹介されました。
午後は、2種類のハンズオンと6つの技術テーマに分かれた24講座が行われました。技術テーマは以下の通りです。
- Oracle Database 最新チューニング
- 最大可用性構成(MAA)
- Oracle Database 最新テクノロジー
- BIG DATA
- Oracle Fusion Middleware最新テクノロジー
- Oracle Solaris
OTN ニュースレターの技術連載記事でご存知の方も多い「津島博士のパフォーマンス講座–最新のチューニング手法」は会場前方まで立ち見が出るほどの大人気のセッションでした。写真撮影のため途中から会場に入ったのですが、これだけの人が津島博士の一言一言をじっくり聞き入っている雰囲気の中でシャッターを切るのはかなり勇気が必要でした。
(お立ち見の方々、本当に申し訳ありませんでした。)
会場外には、SPARC T4-1サーバーの実機展示もありました。こうしたサーバーの中味はなかなか見ることもできないので、来場者の関心を集めていたようです。
おかげさまで大盛況のイベントでしたが、お目当てのセッションに参加できなかった方、遠方や多忙でイベントそのものへの参加が叶わなかった方、もう一度復習したい方のために、本イベントの24講座をオンライン版(動画・資料)でもご提供いたします!
只今、誠意準備中ですので、近日公開予定ですので、もうしばらくお待ち下さい。
(※お断り: 基調講演の内容は諸般の事情によりオンライン版では公開されません。あしからずご了承ください。)
LOV-Basierte, dynamische Formular-Schnellauswahlen (Quick Picks)
Schnellauswahlen (Quick Picks)
gibt es bereits seit den Anfängen von Application Express. Im
Application Builder werden Schnellauswahlen recht intensiv genutzt. Ein
Klick auf die Schnellauswahl - und der Eintrag wird in der Auswahlliste
sofort angewählt oder ins Textfeld gesetzt. Schnellauswahlen können auch
in eigenen Anwendungen genutzt werden: Bei den Eigenschaften zu jedem
Formularelement gibt es den Abschnitt Schnellauswahlenoder Quick Picks. Vom Endanwender häufiger gebrauchte Einträge eignen sich sehr gut zur Aufnahme in die Schnellauswahlen.
Allerdings werden Schnellauswahlen stets als statische Einträge konfiguriert - das bringt einige Nachteile mit sich.
- Bei Änderungen muss stets der APEX-Entwickler aktiv werden
- Einträge können nicht wiederverwendet werden
- Als Trennzeichen wird stets ein Komma verwendet - das kann nicht beeinflusst werden
- Dynamisch generierte oder gar berechnete Einträge sind nur auf dem Umweg über ausgeblendete APEX Elemente möglich
Dieser Tipp stellt ein APEX-Plugin vor, welches dynamische Schnellauswahlen, also Schnellauswahlen auf Basis einer Werteliste oder SQL-Abfrage, ermöglicht.
Pommes für alle?
Ja, liebe Partner - wie Sie sich
und Ihre Kunden vor ungewollten Zugriffen schützen, dazu gibt es nun
einen charmanten Video-Clip, der in nur einer Minute den Sprung von den
Pommes zur Oracle Access Management Suite schafft. Eine spielerische
Hinführung zum Thema Zugriffsrechte, die sich mit ihrem gelungenen Überraschungseffekt auch hervorragend im Kundengespräch nutzen lässt.
Gleich anschauen, „gefällt mir“ klicken - weiterempfehlen und verlinken!
Weiterführende Informationen zum Access Management Portfolio sind online verfügbar:
http://www.oracle.com/us/products/middleware/identity-management/access-management/overview/index.html
Auch auf die derzeit am Markt besprochenen Themen zu Mobile&Social hat Oracle eine neue Antwort:
http://www.oracle.com/technetwork/middleware/id-mgmt/overview/oamms-1696162.html
Ein weiteres sehenswertes Video finden Sie hier:
http://www.oracle.com/us/products/middleware/identity-management/oiam/overview/index.html
La Universidad Estatal de California estandariza 23 campus a través de Oracle PeopleSoft
El sistema universitario más grande de los Estados Unidos consolida la Gestión Financiera y consolidará la gestión del capital humano para mejorar la eficiencia y reducir los costes.
La Universidad Estatal de California (CSU) está estandarizando su
sistema de 23 campus y la Oficina del Rector con las aplicaciones de Oracle
PeopleSoft.
La CSU es el mayor sistema universitario público en los Estados Unidos. Los
premios CSU con 90.000 grados por año y desde su creación en 1961, ha otorgado
casi 2,6 millones.
Como parte de su plan estratégico, “Acces to Excellence”, la CSU se ha
comprometido a tomar ventaja de la tecnología para satisfacer las futuras
necesidades de educación y ha creado los Sistemas Comunes de Gestión (CMS). La
misión de CMS es brindar un servicio de calidad eficiente, eficaz y de calidad
a los estudiantes, profesores y personal de los 23 campus de la CSU y la
Oficina del Decanato.
En un esfuerzo por mejorar la eficiencia y reducir los costes de todo el
sistema, la CSU ha consolidado sus procesos de gestión financiera y los sistemas a través de PeopleSoft
Financial Management.
Para proporcionar una visión unificada de las operaciones financieras, CSU ha consolidado
22 campus en un mismo sistema a través de PeopleSoft Financials. Estas
aplicaciones incluyen: Contabilidad, Facturación, Cuentas a Pagar, Cuentas a Cobrar
y Compras. CSU también utiliza Oracle
Business Intelligence Enterprise Edition para el análisis y
presentación de informes.
CSU está consolidando en PeopleSoft
Human Capital Management (HCM) en pos de varios objetivos
estratégicoscomo,entre otros: atraer y retener al personal superior y de la
facultad.
El sistema financiero consolidad de la CSUes ahora el mayor despliegue único de educación superior de PeopleSoft
Financials en los Estados Unidos. Una centralización de esta envergadura no
tiene precedentes, y sin embargo todavía se completó a tiempo y dentro del
presupuesto. Una vez completado, la CSU también será el mayor despliegue de
educación superior de PeopleSoft HCM.
CSU también utiliza PeopleSoft
Campus Solutionspara gestionar sus operaciones académicas de los
estudiantes, incluyendo la programación y registro de clases, cálculo y
recaudación de las tasas, la concesión de la ayuda financiera y la evaluación y
el progreso académico de los estudiantes.
Las aplicaciones de Oracle PeopleSoft están diseñadas para atender las necesidades
de negocio más complejas. Estas proveen soluciones integrales de negocios y de
industria, permitiendo a las organizaciones aumentar la productividad, acelerar
el rendimiento del negocio y un menor coste total de propiedad.
PeopleSoft
de Oracle Campus Solutions
es una completa suite de software diseñado
para las necesidades cambiantes de las instituciones de educación superior.
Oracle sigue colaborando con la CSU y los colegios y universidades de todo el
mundo para ofrecer los sistemas de administración y desarrollo de estudiantes más
sensible y comprensivo y disponibles en la actualidad.
Unisys está implantando aplicaciones PeopleSoft CSU y facilitando el acceso a
los estudiantes, profesores y personal de las universidades a través de la
solución de Unisys Hosted Secure Private Cloud. Unisys es un miembro de nivel
Platino de Oracle PartnerNetwork (OPN).
"Con el fin de seguir cumpliendo los objetivos de nuestro plan
estratégico, creemos que es fundamental para estandarizar nuestros procesos
operativos - tanto en el back office como allí donde lleguen nuestros
estudiantes todos los días - maximizar nuestra inversión en tecnología y reducir
costes", dijo Larry Furukawa-Schlereth, Director de Finanzas, Sonoma State
University, y presidente del Comité Global Ejecutivo de Gestión de la CSU,
California State University. "Contar con una vista única de toda la
información importante en un sistema ayuda a la Universidad Estatal de
California a continuar ofreciendo excelentes oportunidades de educación a un
coste asequible mientras ayudamos a dar forma a la futura calidad de vida
cívica y económica en California".
Conozca más sobre Peoplesoft aquí:
- Oracle’s PeopleSoft Applications
- Oracle in Higher Education
- Oracle’s PeopleSoft Financial Management
- Oracle’s PeopleSoft Human Capital Management
- Oracle’s PeopleSoft Campus Solutions
- Oracle Human Capital Management Blog
- Oracle HCM on Twitter
- Oracle Higher Education on Facebook
- Oracle Higher Education on Diigo
Pommes für alle?
Ja, liebe Partner - wie Sie sich
und Ihre Kunden vor ungewollten Zugriffen schützen, dazu gibt es nun
einen charmanten Video-Clip, der in nur einer Minute den Sprung von den
Pommes zur Oracle Access Management Suite schafft. Eine spielerische
Hinführung zum Thema Zugriffsrechte, die sich mit ihrem gelungenen Überraschungseffekt auch hervorragend im Kundengespräch nutzen lässt.
Gleich anschauen, „gefällt mir“ klicken - weiterempfehlen und verlinken!
Weiterführende Informationen zum Access Management Portfolio sind online verfügbar:
http://www.oracle.com/us/products/middleware/identity-management/access-management/overview/index.html
Auch auf die derzeit am Markt besprochenen Themen zu Mobile&Social hat Oracle eine neue Antwort:
http://www.oracle.com/technetwork/middleware/id-mgmt/overview/oamms-1696162.html
Ein weiteres sehenswertes Video finden Sie hier:
http://www.oracle.com/us/products/middleware/identity-management/oiam/overview/index.html
Active GridLink for RACの実力やいかに? NECが詳細な機能/性能検証を実施!【前編】
NECがActive GridLink for RACの性能を緻密に検証

従来、こうした要件を満たすためには、システム構築の際に多くの工数を割いて独自に開発を行う必要があった。しかし、WebLogic Server 12cとOracle RACとの組み合わせでは、アプリケーション・サーバの標準的な機能により、上述したような連携が即座に可能となるのだ。
先ごろ、このActive GridLink for RACの動作ロジックや性能について、詳細な検証が行われた。実施したのは、オラクルのパートナーとしてWebLogic Serverの導入で豊富な実績を誇るNECである。
NECは長年にわたり、WebLogic Serverを含むFusion Middleware、さらにはOracle Databaseなどを中心とするオラクル製品全般において、数々のインテグレーション、運用サポートの実績を積み重ねてきた。両社のパートナーシップの強さは、NECが2012年度にオラクルの「Partner of the Year(最優秀賞)」を3年連続で受賞したことからも伺うことができる。
Active GridLink for RACとOracle RACを用いた詳細な性能検証は、今回が国内で初の試みとなり、検証作業には約2カ月が費やされた。検証を担当したNECの牧田氏によれば、NECではWebLogic Server担当とデータベース担当の緊密な技術連携によるユーザーへのインテグレーション支援体制を確立しているが、今回はその連携を生かして検証に臨んだという。牧田氏は入社以来、一貫してWebLogic Server、Oracle Coherence、JRockitなどFusion Middleware製品の技術支援や検証活動に従事しているが、今回は検証の計画段階からデータベースの技術者と連携したことにより、Active GridLink for RACの効果を生かすためのノウハウを生み出すことができた。
Active GridLink for RACの導入を検討する企業が多い中、NECによる詳細な検証結果はユーザーやSIerにとって貴重な参考情報となるだろう。以降では、検証内容とその結果のハイライトを紹介していく。
Active GridLink for RACの実力を探る性能検証の概要
今回の検証で主なスコープとなった技術は、「ランタイム接続ロード・バランシング」と「FCF(高速接続フェールオーバー)」である。Active GridLink for RACは、複数のデータソースを論理的に束ねて1つのデータソースとして扱う「マルチデータソース」とは異なり、複数の接続を1つのデータソース内で管理する「GridLinkデータソース」を用いるが、両者は設定や接続の管理方法が異なる。そのため、今回の検証目標の1つとして、「マルチデータソースでは不可能なことや面倒な設定が必要になることが、GridLinkデータソースでは容易に行える」ことの実証が掲げられた。
また、Active GridLink for RACでは、RACインスタンスの状態が障害や高負荷などの影響で変化した場合、その情報を「Oracle Notification Service(ONS)」を通じて受け取り、それに応じたロード・バランシングやノード/サービスのDOWN/UPイベントを発生させる。これにより、例えば特定のRACノードが障害で停止したりした場合に、WebLogic Server側でタイムアウトを待つことなく、ONSの通知を受けて他のノードへのフェールオーバーを高速に行えることになる。今回の検証のもう1つの目的として、このFCFとロード・バランシングについて重点的に検証を行い、その効果的な利用法を明らかにすることが設定された。
検証作業は、2ノードRAC、2ノードWebLogic Serverの環境を基本とし、さらにテスト内容に応じて4ノードRAC構成でも実施された。検証時の構成とハードウェアの詳細は次のとおりだ。
また、具体的な検証項目は次の5つとなる。
(1)ランタイム接続ロード・バランシング(RCLB)
(2)Webセッション・アフィニティ
(3)動的なRACノードの追加/削除
(4)高速接続フェールオーバー(FCF)
(5)GridLinkデータソースの使用の注意点
以降、それぞれの検証作業の概要と、その結果を順に紹介していく。
(1)ランタイム接続ロード・バランシング(RCLB)
ランタイム接続ロード・バランシング(RCLB)とは、アプリケーション側からデータベースへの論理接続を取得する際に実行される負荷分散の仕組みだ。ロード・バランシング機能としては、ほかに物理接続の作成時に実行される接続時ロードバランシング(CLB)があるが、今回の検証ではRCLBのみを対象とし、CLBでの負荷分散は各ノードで均等に行うよう設定した。RCLBの動作に関しては、Oracle RACのサービスに対して、どのような条件(レスポンス・タイムやスループット)を重視するかを設定できる。この設定により、さまざまな統計情報のうち、どの数値を参照して動作するかが決定される。例えば、レスポンス・タイム(SERVICE_TIME)を重視する場合は「1コール当たりの経過時間」が短いRACノードに多くのリクエストを振り分け、スループット(THROUGHPUT)重視の場合は「1秒当たりのユーザー・コールの数」が大きいRACノードに多くのリクエストを振り分けるといった具合だ。
検証においては、こうしたRCLBのバランシング動作がサービスごとに独立して行われるか(あるサービスの負荷が他のサービスのバランシングに影響を与えないか)を確認するために、まず次の3つの条件でテストを実施した。
- 検証1-a:該当サービスの負荷に応じてバランシングが働くか?
- 検証1-b:別のサービス間の負荷に応じてバランシングが働くか?
- 検証1-c:マシン間の負荷に応じて振り分けを行うか?
また、「検証1-b」、「同1-c」の結果を受け、追加の検証も行われた。該当するサービス以外の負荷はRCLBによるバランシングの発生に無関係であることを示すため、別サービスでの負荷を発生させたり、負荷が異なる別マシン間での動作を見る追加テストも実施したりして、実際に「異なるサービスの負荷とCPU使用率などマシン全体の負荷は、RCLBのバランシングに影響がない」ことを確認したのだという。
牧田氏は、「この検証により、RCLBのバランシングは当該サービスの負荷に応じて行われ、別のサービスの負荷やOracle Databaseと無関係なプロセスのCPU使用率は動作に影響しないことを確認できた。逆に言えば、CPUの実行キューが詰まっていたり、CPUを使い切っていたりといった理由から間接的にELAPSEDPERCALLやCALLSPERSECのパラメータ値に差がつく場合は、別のサービスやOracle Databaseと無関係なプロセスがバランシングに影響を与えることになる。そのため、RCLBで相互に影響を与えたくない業務処理は別サービスで動かすことが推奨される」と説明する。
RCLBについては、さらに処理内容によるバランシングの偏りや、FANイベントの情報と振り分けの割合の関係、Oracle RAC側の負荷状況の変化によるバランシング動作の状態、接続先RACノードの決定動作などを確認するための詳細な検証が行われている。牧田氏によれば、これらの検証を通じて「RCLBが高負荷なノードへの振り分けを抑え、低負荷のノードに多く振り分けようとする動作が確認できた。一方で、振り分けロジックに起因する不要な振り分けの偏りが生じるケースも確認されており、その解消が今後の課題だと考えている」という。
(2)Webセッション・アフィニティ
Active GridLink for RACのWebセッション・アフィニティは、Oracle RAC環境において各データベース・インスタンス内のキャッシュの整合性を維持する仕組みであるキャッシュ・フュージョンの発生を極力抑え、システム全体のパフォーマンスを高めるための機能だ。Webセッション・アフィニティは、HTTPセッションごとにそれぞれ別のブロックを参照/更新するアプリケーションで有効に動作する。今回は、このアフィニティの実際の効果を見るための検証も行われた。2ノードRACと4ノードRACでの検証の結果、レスポンス・タイムの短縮とインターコネクト通信量の削減において、大きな効果が認められたという。
また、このテーマでは、RCLBとセッション・アフィニティの優先関係や、セッション・レプリケーションにおけるアフィニティの引き継ぎがうまく行われるかどうかといった事項についても検証が行われている。
牧田氏は、「Webセッション・アフィニティの検証では、キャッシュ・フュージョンの抑制、レスポンス・タイムの改善、インターコネクト通信量の減少といった効果が確認された。さらに、その効果はアプリケーションのデータ・アクセスの処理方法に大きく依存することもわかった」と話す。また、RCLBのバランスの偏りによってアフィニティが無効になることや、アフィニティはWebLogic Serverクラスタ間で共有されるため、アプリケーション・サーバのクラスタ内で1つのノードに障害が起きた場合でも、キャッシュ・フュージョンの抑制効果は継続することなども確認できたという。
以上、今回はNECが実施したActive GridLink for RACに対する性能検証のうち、ランタイム接続ロード・バランシング(RCLB)とWebセッション・アフィニティの検証結果を紹介した。後編では、引き続き「動的なRACノードの追加/削除」、「高速接続フェールオーバー(FCF)」、「GridLinkデータソースの使用の注意点」に関する検証結果を紹介する。
お知らせ/カテゴリ一覧
WebLogic ChannelエンタープライズJavaアプリ開発運用や管理で役立つ情報を随時更新! 【注目の情報】[イベント] WebLogic Server勉強会@東京 2012年12月14日(金)オラクル青山センター |
Twitter 上の Nashorn への反応
はじめに
Nashorn を使用して Twitter にアクセスするサンプルがありましたので翻訳してみました。
おことわり
以下は jlaskey による Nashorn Blog への投稿の翻訳です。原文はhttps://blogs.oracle.com/nashorn/entry/nashorn_in_the_twitterverseでご覧頂けます。
訳文
Nashorn がインターネット上でどれだけ話題になっているのかを追ってみました。Project Nashorn をアナウンスしてから、Nashorn についての沢山のツイートがありましたので、Nashorn の日毎のトレンドがどうなっているのか調べてみたくなりました。出来れば結果をグラフ化出来ると面白そうです。ツイート数をひとつひとつ数えるのは賢いやり方とは言えません。集計用のプログラムを作って数えてみましょう。
実は、これこそ Nashorn + Java の組み合わせが得意としている分野です。Java には Twitter4J https://github.com/yusuke/twitter4jという素晴らしいライブラリがあり、Twitter に関することは全てお任せ出来ます。bin/getAccessToken.sh を実行し、twitter4j.properties に認証情報を記録したら、後は簡単な調査用アプリを実行するだけです。
nashorn -cp $TWITTER4J/twitter4j-core-3.0.1.jar GetHomeTimeline.js
GetHomeTimeline.js の中身はこうです。
var twitter4j = Packages.twitter4j;
var TwitterFactory = twitter4j.TwitterFactory;
var Query = twitter4j.Query;
var twitter = new TwitterFactory().instance;
var query = new Query("nashorn OR nashornjs");
query.count = 100;
do {
var result = twitter.search(query);
var tweets = result.tweets;
for each (tweet in tweets) {
print("@" + tweet.user.screenName + "\t" + tweet.text);
}
} while (query = result.nextQuery());
とても簡単ですね。さて、次は JavaFX のグラフィックライブラリと連携させてみましょう...
Capgemini report - Business Cloud: The State of Play Shifts Rapidly
Capgemini has published a recent survey on the state of play of cloud adoption. The report indicates "clear evidence that the business, rather than purely IT, is becoming involved in driving Cloud strategy, and pioneering its use for ‘edge’ growth initiatives."
Ron Tolido, Senior Vice President and Chief Technology Officer of Applications Continental Europe at Capgemini, was one of the keynote speakers at our Exadata & Manageability Partner Community event in Istanbul in March. He is one of the drivers of this survey. Read his article "3 Key Cloud Insights for 2013".
You an download the full report here: "Business Cloud: The State of Play Shifts Rapidly - Fresh Insights into Cloud Adoption Trends"
Capgemini report - Business Cloud: The State of Play Shifts Rapidly
Understanding Oracle Strategy, Cloud and Engineered Systems
Sometimes small self-explanatory videos are better than long talks... I wanted to share with you today 3 short videos explaining Oracle Strategy, our Cloud positioning and what Engineered Systems bring to your IT. Enjoy...
Oracle Strategy....
… the Cloud...
and Oracle Engineered Systems...