provisioning oracle database 12c on ibm power systems with

23
© 2016 IBM Corporation Neil Bryan – Project Lead, Technology Specialist [email protected] Provisioning Oracle Database 12c on IBM Power Systems with POWER8 processors and AIX 7.1 with IBM PowerVC 1.3.1

Upload: others

Post on 18-Apr-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

Neil Bryan – Project Lead, Technology [email protected]

Provisioning Oracle Database 12c on IBM Power Systems with POWER8 processors and AIX 7.1 with IBM PowerVC 1.3.1

Page 2: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

2

IBM PowerVC 1.3.1 – Virtualization CenterAdvanced virtualization management solution for Power Systems

PowerVC™ is the advanced virtualization management offering, built on OpenStack, that delivers advanced virtualization management for IBM AIX® and Linux environments on IBM Power® Systems servers.

PowerVC has quick time to value and low total cost of ownership, as the focus of this offering is simplicity and ease of use. IBM Power Systems servers now including POWER8™ processors which, along with PowerVC technology are designed to help clients dynamically build an infrastructure that supports a Software Defined Environment or a Cloud infrastructure.

http://www-03.ibm.com/systems/power/software/virtualization-management/

Page 3: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

3

Oracle Database 12cEfficient database management using Enterprise Manager Cloud Control

Designed for the cloud, Oracle Database 12c and Oracle Multitenant enables customers to make more efficient use of their IT resources while continuing to improve their users’ service levels and reduce IT costs. The latest release of Oracle Database 12c, Release 12.1.0.2 now features a unique in-memory column store and support for JSON document stores. Oracle Database 12c offers customers a variety of innovations to embrace the cloud and analyze enterprise data in real time through:

• Consolidating databases and enabling Database as a Service with Oracle Multitenant • Real time analytics with database in-memory optimizations • Automatically optimizing data storage and compression according to usage patterns • Providing continuous access with Oracle’s Maximum Availability Architecture • Securing enterprise data with a comprehensive defense-in-depth strategy • Simplifying the analysis and integration of Big Data

Page 4: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

4

PowerVC 1.3.1 - Virtual Application management of an Oracle Database 12cPowerVC is able to replicate (capture and deploy) Oracle Database 12c with the following capabilities:

• Capture an Oracle E-Business AIX Power installation in shutdown mode. Using cloud init tools or PowerVC activation engine.

• Little pre-capture manipulation required, just stop the database and listener.

• Fast deploy of multiple disk virtual appliance (VA) using OpenStack services.

• Multiple deployment of the same captured VA, greatly reduced deployment time.

• No manual reinstallation of Oracle Database 12c and fixes.

• Single step configuration at post deployment to have the database ready for use.

• Greatly reduced manual intervention of replication of an Oracle Database 12c environment, multiple redeployment on demand at short notice. Little or no chance of human error when replicating environments.

Page 5: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

5

PowerVC 1.3.1 – Oracle Database 12c ProvisioningElapsed time comparison of provisioning using IBM PowerVC 1.3.1 over traditional manual provisioning.

The initial Oracle Database 12c will still need be manually installed, following the Oracle documentation, but subsequent provisioning timeline using PowerVC 1.3.1 is greatly reduced.

Page 6: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

6

PowerVC1.3.1 provisioning of Oracle Database 12cProject architecture:

• ‘Manage from’ environment is a Power Systems node running Redhat Linux 7.1 or above.

• ‘Manage to’ environment is an Oracle Database 12c installation on a Power Systems server with POWER8 processors and AIX 7.2 (multiple disk installation).

• PowerVC is able to capture a multiple disk environment.

• User profile, role based security support.

• Dynamic resource allocation support.

• PowerVC is built upon Openstack.

Page 7: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

7

What is OpenStack?OpenStack is a set of software tools for building and managing cloud computing platforms for public and private clouds.

Backed by some of the biggest companies in software development and hosting, as well as thousands of individual community members, many think that OpenStack is the future of cloud computing.

OpenStack is managed by the OpenStack foundation, a non profit organization which overseas both development and community-building around the project.

Refer to the following links for more information:

http://www.openstack.org/http://www.openstack.org/foundation/

IBM is a Platinum member of the OpenStack community.

Page 8: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

8

PowerVC Virtual Appliance management of an Oracle Database 12c workloadProject scope:

Install PowerVC 1.3.1 on POWER8 RHEL 7.1.

Configure PowerVC 1.3.1

Capture a virtual image of the desired Oracle 12c database

Deploy the virtual image of the Oracle 12c Database.

Perform the post deployment steps and startup the Oracle 12c database

• Install PowerVC1.3.1 on Power Systems server with POWER8 processors and RHEL 7.1.

• Configure PowerVC1.3.1 and import the Power Systems server environment, communication to PowerVM, and the HMC, identifying storage, compatible lpars.

• Identify the LPAR to be captured, stop the Oracle Database, and use PowerVC1.3.1 to capture the virtual image. Use cloud init prior to capture to set the deployment characteristics. Capture all disks associated with the LPAR.

• Deploy the virtual image (VM) to a new LPAR name.

• Set the IP address and system name of the new LPAR, and update the listener tnsname to the new LPAR. Startup the database.

Page 9: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

9

Virtual Appliance capture and deploy – process flow

PowerVC can be installed in both Standard and Cloud versions.

http://www-933.ibm.com/support/fixcentral

It is necessary to configure the RHEL 7.1 Linux environment for YUM support prior to installation as the installation will need to install dependent packages from the standard RHEL iso image. (standard installation is version 1.3, with an additional fix pack).

Installation of the ‘Manage from’ PowerVC environment can will be on Power Systems server PPC.

2 3 4 5 6 7 8 9

Install PowerVC 1.3.1 on Power Redhat Linux 7.1.

1

Nine simple steps to VM Replication

Page 10: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

10

21 3 4 5 6 7 8 9

Resource Monitoring and Control (RMC) is required to communicate to the HMC, only if this is running on a Power Systems server with processors prior to POWER8.

On Redhat Linux this is not part of the standard iso build. Additional packages need to be installed. These packages are included in the IBM Tools for Linux repository.

The IBM Tools repository can be sourced from the following website:

https://www-304.ibm.com/webapp/set2/sas/f/lopdiags/home.html

Further information about RMC can be found at the following website:

http://www-01.ibm.com/support/knowledgecenter/SGVKBA_3.1.5/com.ibm.rsct315.trouble/rmc_hmc_overview.htm

Install Resource Monitoring and Control (RMC).Appliance capture and deploy – process flow

Page 11: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

11

Appliance capture and deploy – process flow

31 2 4 5 6 7 8 9

PowerVC installation and configuration involves importing definitions of the following Hardware management Console (HMC) devices.

Configure PowerVC to the HMC.

• HMC source

• Hosts

• Storage and fabrics

• Networks

• Virtual machines (compatible)

PowerVC is able to import definitions of all dependent devices on the defined HMC, categorized by host.

After defining the host system, there is a flag to turn on Novalink for all other communications, therefore removing the need for communication via the HMC (POWER8 only).

Page 12: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

12

Appliance capture and deploy – process flow

41 2 3 5 6 7 8 9

Identify the source Oracle 12c Database.

Identify source Oracle Database 12c (VM) which is to be captured.

This VM will need to have the following installed:

•PowerVC activation engine, or Cloud Init. Either can be used. (recommendation is to use Cloud Init).

• Ability to be shutdown for the capture process.

Multiple disk installations.

PowerVC 1.3.1 is able to support multiple disk installations.

Page 13: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

13

Appliance capture and deploy – process flow

51 2 3 4 6 7 8 9

Prepare using Cloud Init.

The recommended VM preparation method is to use Cloud Init.

Download the cloud init software from the following Url: ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/cloudinit and refer to the readme file for installation instructions.

Copy the files to the lpar to be captured.

Change the permissions on the cloudinit.sh file using ‘chmod 777 cloudinit.sh’.

Run the script command cloudinst.sh to query the status of the dependent packages.To install, run the following command: .’/cloudinst.sh –o install’. Ensure all packages are installed successfully.

The installation script will also install any package dependencies. Ensure the script completes without error.Navigate to /opt/freeware/etc/cloud/cloud.cfg and make any necessary modifications.

Page 14: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

14

Appliance capture and deploy – process flow

61 2 3 4 5 7 8 9

Capture the VM from within PowerVC.

Highlight the VM, click on capture, enter the new image name, and allow PowerVC to complete successfully. The image will be saved in the Virtual image library (VIL) and is referred to as a Virtual Appliance.

Select the disk configuration to be captured.

Capture the Oracle 12c image

Page 15: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

Appliance capture and deploy – process flow

71 2 3 4 5 6 8 9

Deploy the virtual appliance.

Deployment of the Virtual Appliance is simply a case of selecting the VA, and giving it a new unused IP address within the selected network. PowerVC will then deploy the VA to the selected HMC host.

As part of deployment, it is possible to set the number of processors, memory allocation and storage settings.

When deployment is complete, the new VM will be activated, and the activation engine in the VM will configure the network and allocate the required disk. If multiple disks were assigned, then these will be attached as symbolic links.

Ensure the new lpar is allocated at least the same number of processors and memory.

Additional disk volumes can be added at any time in the future.

Page 16: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

16

Appliance capture and deploy – process flow

81 2 3 4 5 6 7 9

Activate the new AIX VM.

The deployed VM will be activated automatically.

If deployment fails then PowerVC will log any issues. Investigate these if any, and attempt to redeploy. https://www.ibm.com/support/knowledgecenter/SSXK2N_1.3.0/com.ibm.powervc.standard.help.doc/powervc_troubleshootingforproduct_hmc.html

Page 17: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

17

Appliance capture and deploy – process flow

91 2 3 4 5 6 7 8

Post deployment steps.

Post deployment steps:

• IOCP – Tune the IOCP parameter, it must be set to ‘available’. Use the command smitty iocp to check / change this value.

• Oracle Database listener – edit the listener.ora file in /$ORACLE_HOME/network/admin to reflect the new system ip address or system name.

• Hosts – check the hosts file in /etc.

• Start the database, listener and check with:https://<fqn>:5500/em

Page 19: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

19

IBM PowerVC1.3.1- NovalinkNovalink for performance advantage.

Novalink is built into the PowerVM product for Power Systems servers with POWER8 processors. It provides a performance advantage in that it communicates directly with PowerVM, and bypasses the hardware management console (HMC) for resources.

Novalink also manages the OpenStack services on the ‘manage From’ server used to run the PowerVC cloud.

Page 20: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

20

Other features of PowerVC 1.3.1Other features of PowerVC 1.3.1 are:

• Dynamic Resource optimizer (DRO).If enabled on the host system, the optimizer will try to resolve any resource issues without the need for use intervention. Any changes are logged and are visible through the PowerVC dashboard.

It is also possible to exclude individual virtual machines from DRO.

• Compute Templates.These can be pre configured and used to build a standard base environment either manually, or using automated, ‘silent’ configuration.

• Project groups.Users can be allocated to project groups with can be restricted to certain host and resources, this also includes functional abilities.

Page 21: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

21

IBM PowerVC offers a powerful means to replicate Virtual Machine environments quickly and effortlessly, the emphasis being on simplicity and ease of use.

PowerVC is built upon OpenStack. A cloud operating system which provides services to build private and public clouds. This software is open forum based, with IBM being a leading member of the community.

PowerVC is continually evolving and being enhanced, and as such, new features will be built into the product with each release ensuring that PowerVC continues to be an industry leading VM Management product.

Summary

Page 22: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

22

Korean

Thank you!Japanese

MerciFrench

Russian

DankeGerman

GrazieItalian

GraciasSpanish

ObrigadoBrazilian Portuguese

Arabic

Simplified Chinese Traditional Chinese

Thai

Questions?

תודהHebrew

Page 23: Provisioning Oracle Database 12c on IBM Power Systems with

© 2016 IBM Corporation

23

© Copyright IBM Corporation 2016

IBM, the IBM logo, ibm.com, AIX, Power, Power Systems, POWER8, PowerVC, and PowerVM are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (R or TM), these symbols indicate U.S. Registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at ibm.com/legal/copytrade.shtml

Other company, product or service names may be trademarks or service marks of others.

The information contained in this documentation is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this documentation, it is provided “as is” without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this documentation or any other documentation. Nothing contained in this documentation is intended to, nor shall have the effect of, creating any warranties or representations from IBM (or its suppliers or licensors), or altering the terms and conditions of the applicable license agreement governing the use of IBM software.

References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way.

Trademarks and Notices