Download presentation
Presentation is loading. Please wait.
Published byNoel Hudson Modified over 8 years ago
1
Portable, Virtualized Oracle Environments on Solaris Sam Brunacini, ServerWare Session #127
2
Who am I? Engineer at ServerWare President of the Upstate NY Oracle Users Group (UNYOUG) Have been working with Oracle products since 1994
3
What does ServerWare do? VAR for software and hardware products Professional services Solutions that make sense for our customers – collaboration! Focus on customer satisfaction Partners: Oracle, Symantec, Sun, HP, RedHat...
4
Agenda What are Solaris Zones/Containers? How to build a virtual Solaris server How to build a portable “Oracle Zone” Real-world examples, how it all works Special features Q&A
5
What are Solaris Zones/Containers? Global zone One Solaris instance Multiple non-global zones Separate execution environment Isolated from each other
6
Solaris Zones/Containers Cont’d Resource pools Fair-share scheduler Container Licensing – equivalent to hard partitions
7
Solaris Zones/Containers Cont’d
10
Branded zones Solaris 8 or 9 Consolidate old implementations on a new server Use Flash Archive to migrate
11
How to build a virtual Solaris server Planning Physical server Storage Network Whole or sparse Resource pools
12
Build a virtual Solaris server cont’d Building Enable & create resource pools if desired Create the zone root path Configure – zonecfg Install – zoneadm Boot – zoneadm Log on & system identification – zlogin –C After reboot, log in to administer & use
13
Build a virtual Solaris server cont’d
15
# zoneadm -z orazone1 boot # zoneadm -z orazone1 list –v ID NAME STATUS PATH BRAND IP 2 orazone1 running /export/zones/orazone1/root native shared After booting for the first time, you must configure the system in the zone’s console: # zlogin -C orazone1 [Connected to zone 'orazone1' console] Select a Language 0. English 1. es 2. fr Please make a choice (0 - 2), or press h or ? for help: 0 etc...
16
Build a virtual Solaris server cont’d System identification is completed. rebooting system due to change(s) in /etc/default/init [NOTICE: Zone rebooting] SunOS Release 5.10 Version Generic_137111-06 64-bit Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Hostname: orazone1 orazone1 console login: At this point you can log in as root with the password you specified during configuration. To exit the zone console, type the two characters “~.” in succession.
17
Build a virtual Solaris server cont’d Administer & use Login to the zone as root Global # zlogin orazone1 Login to the zone as a user Global # zlogin –l oracle orazone1 Zone is ready for use!
18
How to build a portable “Oracle Zone” Obtain Storage, IPs Create Disk Groups, Volumes, Filesystems, Mounts Architecture and Infrastructure Install New Zone Create Service Groups Install Oracle Database Configure Listener Agent Configure Oracle Agent Configure ODM
19
Build a portable “Oracle Zone” cont’d Perform Oracle Failover (local) Configure Global Service Groups Configure Replication Method Configure Replication Agent Perform Oracle Failover (remote) Verify the Remote Configuration Test All Controlled Failovers Perform Security Lockdown Perform Outage Testing
20
Move the “Oracle Zone” manually A: Bring down on server 1 Database Listener Zone Mounts Volumes Disk group B: Bring up on server 2 Disk group Volumes Mounts Zone Listener Database
21
Moving the zone to another site? You will have extra steps to stop replication and restart it in the reverse direction Steps will vary depending on your replication method
22
Move the “Oracle Zone” with VCS Agents Service Groups Resources Dependencies Start, stop, monitor
23
Move the “Oracle Zone” with VCS cont’d
25
Database Listener Zone Mounts Volumes Disk Group
26
Real-world examples NY Independent System Operator (NYISO) Local HA
27
Real-world examples cont’d NYISO – HA and DR
28
Real-world examples – cont’d Large Commercial Enterprise in Upstate NY Local HA
29
Real-world examples cont’d
30
Special features Cross-platform data sharing Oracle Disk Manager (ODM) VCS HA/DR Fire Drill Volume snapshots Dynamic storage tiering
31
Special features cont’d Major solution components –Sun Solaris, of course! –Oracle RDBMS –Symantec Storage Foundation
32
Special features cont’d How can this solution apply to other *nix platforms? –virtualization technologies such as Sun LDOMs Sun DSDs IBM LPARs HP nPARs Linux - VxVI –certification with Oracle –certification with Symantec
33
Resources OpenSolaris Community: Zones http://www.opensolaris.org/os/community/zones/ http://www.opensolaris.org/os/community/zones/ BigAdmin System Administration Portal: Solaris Containers (Zones) http://www.sun.com/bigadmin/content/zones/ http://www.sun.com/bigadmin/content/zones/ Solaris Internals: Zones http://www.solarisinternals.com/wiki/index.php/Zones http://www.solarisinternals.com/wiki/index.php/Zones System Administration Guide: Solaris Containers-Resource Management and Solaris Zones (817-1592) System Administration Guide: Virtualization Using the Solaris Operating System (819-2450) Solaris Containers — What They Are and How to Use Them (819-2679); Menno Lageman, Sun Client Solutions; Sun BluePrints™ OnLine—May 2005 Best Practices for Running Oracle Databases in Solaris™ Containers (820-7195); Ritu Kamboj & Roman Ivanov, ISV Engineering; Sun BluePrints™ Online Symantec Veritas™ Storage Foundation HA/DR 5.0 (MP3) for Solaris Documentation
34
Questions & Thank You!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.