oracle 12c databases on hyper converged … migration of oracle database using vmware vmotion...

26
Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6 TECHNICAL WHITE PAPER

Upload: trankien

Post on 15-Apr-2018

235 views

Category:

Documents


1 download

TRANSCRIPT

Oracle 12c Databases on

Hyper Converged Infrastructure

using VMware vSphere 6 T E C H N I C A L W H I T E P A P E R

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Executive summary .......................................................................................................................................... 3

Introduction ...................................................................................................................................................... 3

HPE Hyper Converged 380 family .............................................................................................................. 4

Solution overview ............................................................................................................................................. 4

Solution components ....................................................................................................................................... 6

Hardware .................................................................................................................................................... 6

Software ...................................................................................................................................................... 7

Application software .................................................................................................................................... 8

Test configuration and test scenarios ............................................................................................................... 8

Capacity and sizing ........................................................................................................................................ 10

Scale-up scenario ..................................................................................................................................... 11

Scale-out scenario .................................................................................................................................... 13

Consolidation scenario .............................................................................................................................. 14

Live migration of Oracle database using VMware vMotion ....................................................................... 14

Best practices and configuration guidance for the solution ............................................................................ 15

Analysis and recommendations ................................................................................................................ 17

Summary ....................................................................................................................................................... 18

Appendix A: Oracle Virtual machine configuration ......................................................................................... 18

Resources and additional links ...................................................................................................................... 25

About the Authors .......................................................................................................................................... 26

Acknowledgements ........................................................................................................................................ 26

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Executive summary

Target audience:

Document purpose:

Introduction

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

HPE Hyper Converged 380 family

Solution overview

Figure 1.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

HPE Hyper

Converged 380

Cluster

HPE Hyper

Converged 380

Cluster

HPE Hyper

Converged 380

Cluster

HPE StoreVirtual VSA

ESXi Node

1

ESXi Node

2

ESXi Node

3

ESXi Node

4

HPE Hyper Converged 380 Cluster

HPE Hyper

Converged 380

Cluster

VMware

vSphere

6

HC 380 Nodes

Managemnt

VM

ESXi Network

Storage

Network

Oracle VM1

Oracle VM2

Oracle VM3

Oracle VM

Network

Oracle Load Generator

Servers

Oracle VM4

Figure 2.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Figure 3.

Solution components

Hardware

Figure 4.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Figure 5.

Figure 6.

Software

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Application software

Table 1.

Software Version

Test configuration and test scenarios

Table 2.

Datastore VSA volume name Adaptive Optimization Size

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Figure 7.

Figure 8.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Appendix B

Table 3.

Capacity and sizing

hammerdb.com/hammerdb_transactionintro.pdf

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Scale-up scenario

Figure 9.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Figure 10.

Figure 11.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Scale-out scenario

Figure 12.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Consolidation scenario

Figure 13.

Live migration of Oracle database using VMware vMotion

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Figure 14.

Best practices and configuration guidance for the solution

vMotion Start vMotion End

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Resources and additional links

On all servers, the following BIOS settings were enabled:

For volumes created on HPE StoreVirtual VSA:

For VMware vSphere:

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2069356

Appendix B.

For the Oracle Database:

Appendix C

For RHEL 7.2:

Appendix D

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Analysis and recommendations

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Summary

Appendix A: Oracle Virtual machine configuration

Figure 15.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Reserve all guest memory (All locked)

Figure 16.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

CPU Hot Add Enable CPU Hot Add

Figure 17.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Figure 18.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

SCSI controller 0 LSI Logic SAS VMware Paravirtual

Figure 19.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

VMXNET 3 Adapter Type

Figure 20.

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Manage Storage

Round Robin (VMware)

Figure 21.

for i in `esxcfg-scsidevs -c |awk '{print $1}' | grep naa.*`; do esxcli storage nmp psp roundrobin

deviceconfig set --type=iops --iops=1 --device=$i; done

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

Resources and additional links HPE Hyper Converged systems

hpe.com/info/hyperconverged

https://www.hpe.com/us/en/product-catalog/convergedsystems/hyper-converged/pip.hyper-converged-

300.1008591219.html

http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=c05102727

http://h20195.www2.hpe.com/V2/GetDocument.aspx?docname=4AA4-9000ENW

http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=c05102727

hpe.com/info/RA

hpe.com/servers

hpe.com/storage

hpe.com/networking

hpe.com/us/en/services/consulting.html

vmware.com/content/dam/digitalmarketing/vmware/en/pdf/solutions/vmware-oracle-databases-on-vmware-best-

practices-guide.pdf

VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com

Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a

registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Oracle 12c Databases on Hyper Converged Infrastructure using VMware vSphere 6

About the Authors

HS Siddalinga Aradhya, Oracle Engineer, HPE Bob Augustine, Lead Oracle Engineer, HPE Karen Dorhamer-Fadden, Lead Oracle Engineer, HPE Kannan Mani, WW Principal Product Manager/Architect – Enterprise Data Platforms, HPE Sudhir Balasubramanian, Staff Solutions Architect, VMware Don Sullivan, Product Line Marketing Manager for Business Critical Applications, VMware

Acknowledgements

The authors thank Scott Salyer (VMware), Joe Sullivan, Don Wilson, Kimberly Kato, Said A. Syed, Rudy Castillo, Jodie Jordanger and Janet Runberg (HPE)