Solaris 11 Consolidation Tools
April 6, 2018 | Author: Anonymous |
Category:
Technology
Description
1. Инструменты консолидации в Oracle Solaris 11 Roman Ivanov 1 Principal Software Engineer Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 2. 2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 3. Agenda • • • 3 P2V (physical to virtual) ● Перенос Solaris с устаревшего оборудования на новое BE (boot environments) ● Обновление Solaris Live Migration ● Миграция без остановки Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 4. Стоит ли держаться за старое? ● ● ● Мощность систем возросла в десятки раз Ниже производительность на единицу площади (объема) Ниже производительность на единицу потребленного электричества, выделенного тепла и прочее...... ● ● 4 Да еще надо платить за поддержку Высокие риски! Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 5. P2V 5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 6. Вариант 1: Solaris 8, 9 или 10 на UFS ● Исходная система: Solaris 8, 9 или 10 на UFS ● Целевая система: Solaris 10 LDom ● ● 6 Операционная система обновляется до Solaris 10 Возможно сохранить hostid/MAC Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 7. Подготовка и создание образа операционной системы Настроить Control Domain (primary) ● Создать NFS директорию, доступную с обоих серверов ● Скопировать и запустить скрипт ldmp2v: ● ● 7 ./ldmp2v collect -d /net/server/p2v Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 8. Разворачивание образа операционной системы На целевом сервере ● ● ldmp2v prepare -d /net/server/p2v ldg1 ● Отключить исходный сервер ● На целевом ● ● ldm bind ldg1 ● ldm start ldg1 ● 8 ldmp2v convert -i solaris10.iso -d /net/server/p2v ldg1 telnet 0 5000 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 9. Вариант 2: Solaris 8 или 9 перенос в зону ● ● Исходная система: Solaris 8 или 9 Целевая система: Solaris branded Zone в Solaris 10 LDom ● Эмуляция hostid ● Эмуляция sun4u 9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 10. Перенос системы в зону ● Необходимо скачать с Oracle Software Delivery Cloud и установить пакеты Oracle Solaris Legacy Containers в домен Solaris 10 ● ● Платформа Oracle Solaris on SPARC (64-bit) ● ● Выбрать продукт Oracle Solaris # pkgadd -d ./Product SUNWs8brandk На исходном сервере создается образ системы ● 10 # flarcreate -S -n s8-system /net/server/s8-system.flar Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 11. Перенос системы в зону Создаем branded зону ● ● global# zonecfg -z s8-zone ● zonecfg:s8-zone> create -t SUNWsolaris8 Переносим образ системы в зону ● ● global# zoneadm -z s8-zone install -p -a /net/server/s8-system.flar Стартуем зону ● ● ● 11 global# zoneadm -z s8-zone boot global# zlogin -C s8-zone Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 12. Вариант 3: Solaris 10 и/или 11 ● Исходная система: Solaris 10 или 11 ● Целевая система: ● ● 12 Solaris 10 GZ → Solaris 11 "solaris10" NGZ ● ● Solaris 10 GZ → Solaris 10 "native" NGZ Solaris 11 GZ → Solaris 11 “solaris” NGZ Утилита для проверки возможности миграции: zonep2vchk Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 13. Solaris 10 GZ → Solaris 11 "solaris10" NGZ ● # pkg install brand-solaris10 ● Проверить исходную систему с zonep2vchk ● # flarcreate -n s10-system /net/target/ex/s10-system.flar ● zonecfg create zone ● zoneadm install -a s10-system.flar 13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 14. Перенос зон между физическими серверами ● host1# zoneadm -z zonename detach ● host1# zonecfg -z zonename export > zone.cfg ● Перенести zonepath на новый хост ● host2# zonecfg -z zonename -f zone.cfg ● host2# zoneadm -z zonename attach -F ● ● host2# /usr/lib/brand/solaris8/s8_p2v zonename ● 14 -F необходимо использовать для branded зон, чтобы избежать проверки пакетов, установленных в зоне Необходимо дополнительно выпонить команду для branded зоны перед еë запуском Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 15. Полезные ссылки How to Migrate Oracle Database from Oracle Solaris 8 to Oracle Solaris 11 http://www.oracle.com/technetwork/articles/servers-storage-admin/ migrate-s8db-to-s11-1867397.html ● Oracle Solaris Containers www.oracle.com/technetwork/server-storage/solaris/containers-169727.html ● Oracle Software Delivery Cloud https://edelivery.oracle.com/ ● System Administration Guide: Oracle Solaris 8 Containers http://docs.oracle.com/cd/E22645_01/html/820-2914/toc.html ● 15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 16. BE 16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 17. ZFS Boot Environments § Safety Net For Your Data Center Operations § Является частью ОС § Надежны и легки в использовании Active BE § Быстрая перезагрузка – уменьшение времени простоя § Поддерживаются зоны Active BE New BE Active BE Updated BE 17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 18. Проверка наличия обновлений Обновление информации о пакетах в репозитории # pkg refresh Список обновленных пакетов # pkg list -u Получение информации о конкретном пакете в репозитории # pkg info -r entire 18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 19. Обновление системы Информация об имеющихся BE # beadm list BE -solaris-11.1.10.5.0 solaris-11.1.12.5.0 Active -----NR Mountpoint ---------/ Space ----75.84M 33.23G Policy -----static static Created ------2013-08-20 11:35 2013-10-18 09:18 # pkg update –be-name=solaris-11.1.13.6.0 …. # init 6 # beadm list BE Active Mountpoint Space ------- ---------- ----solaris-11.1.10.5.0 75.84M solaris-11.1.12.5.0 21.23M Solaris-11.1.13.6.0 NR / 34.35G Policy -----static static static Created ------2013-08-20 11:35 2013-10-18 09:18 2013-11-19 15:20 Обновление системы 19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 20. Если что-то пошло не так # beadm activate solaris-11.1.12.5.0 # beadm list BE Active Mountpoint ------- ---------solaris-11.1.10.5.0 solaris-11.1.12.5.0 R Solaris-11.1.13.6.0 N / Space ----75.84M 21.23M 34.35G Policy -----static static static Created ------2013-08-20 11:35 2013-10-18 09:18 2013-11-19 15:20 # init 6 # beadm list BE -solaris-11.1.10.5.0 solaris-11.1.12.5.0 Solaris-11.1.13.6.0 Space ----75.84M 31.23G 34.35M Policy -----static static static Created ------2013-08-20 11:35 2013-10-18 09:18 2013-11-19 15:20 20 Active -----NR - Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Mountpoint ---------/ - 21. Полезные ссылки How to Update Oracle Solaris 11 Systems From Oracle Support Repositories http://www.oracle.com/technetwork/articles/servers-storage-admin/ o11-018-howto-update-s11-1572261.html ● 21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 22. Live Migration 22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 23. Secure Live Migration Позволяет избежать существенного простоя • • Live Migration между серверами SPARC T-Series и SPARC M-Series одного или даже разных поколений Все передаваемые данные зашифрованы ● ● • Дополнительное оборудование не требуется Выделенная сеть так же не требуется Безопасно и удобно 23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Shared Storage 24. Live Migration Best Practices • No specific requirements on number of CPUs in Control Domains. • • • • • Experience shows that > 8 vCPUs is best. Recommend 16 or more vCPUs to minimize suspend time and overall migration time. Workloads that heavily modify memory pages will have longer migration times Review the documentation, especially the Admin Guide for planning Live Migration Visit OTN page for best practices white paper http://www.oracle.com/technetwork/server-storage/vm/overview/index.html 24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 25. Solaris 11 zones 25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 26. Zones for Solaris 11: Big Ideas ● ● ● ● ● ● ● ● Rationalized installation, system configuration, and update Greatly improved p2v Greater runtime “completeness”: NFS server, lofi, and more Networking ● Shared Stack → Exclusive Stack ● Automatic networking ● Network Resource Management Immutable Zones Storage enhancements Accurate Utilization Monitoring Solaris 10 Zones 26 27. Fast Zone Updates Increase consolidation ratios without increasing maintenance windows New with Solaris 11.1 § Zone updates now execute 4x less downtime during maintenance windows in parallel § Time savings exponential across datacenter Minutes Updating a T4 System with 20 Zones 27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 28. Easy Mobility for Zones New with Solaris 11.1 Move zones around between systems quickly and easily § Zones on shared storage § Zones framework automatically • • • • manages Configuration/un-configuration of storage services Attach/detach of storage devices zpool creation, import, export For SAN and iSCSI 28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ZZ oo ZZ nn oo ee BB nn ee AA ZZ oo nn ee CC 29. Zone Clusters for Solaris 10 Applications New with Solaris Cluster 4.1 Take advantage of the latest server platforms Protect application investment § Safe deployment of mission critical Solaris 10 applications in Solaris 10 Zone Clusters § More control and flexibility with support of exclusive IP § Improved resource and priority management for zone clusters § Simplified Zone cluster set-up through configuration wizard Solaris 11 Solaris 11 Zone Zone Solaris 11 Solaris 11 Zone Zone Application Tier Solaris 10 Solaris 10 Zone Zone Solaris 11 Solaris 11 Zone Zone 29 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Web Tier Solaris 10 Solaris 10 Zone Zone Database Tier Solaris 11 Solaris 11 Zone Zone 30. Oracle SuperCluster § Oracle’s Fastest and Most Scalable Engineered Systems The best system for running databases and applications in memory • COMPLETE Software Compute + Storage + Networking 30 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Ideal for consolidation and cloud • Best for IBM/HP and SPARC refreshes and new deployments • 31. Oracle SuperCluster § Extending the Product Family SuperCluster T5-8 § Best Price / performance § High consolidation ratios § Run database and § § § § § 31 applications on a single rack Scalable configurations Exadata database optimizations Exalogic software and other application optimizations Layered Optimized Virtualization Virtual Tuning Assistant Copyright © 2013, Oracle and/or its affiliates. All rights reserved. SuperCluster M6-32 All SuperCluster T5-8 benefits, PLUS… § § Vertical scaling In-memory applications using big memory capacity § § Oracle Database12c and applications optimized Mainframe-class RAS 32. Oracle SuperCluster § At A Glance SuperCluster Processors Memory Exadata Storage Servers 32 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. SuperCluster T5-8 SuperCluster M6-32 Half Rack Full Rack Minimum Maximum 8 16 16 32 2TB 4TB 8 TB 32 TB 4 8 9 33. 33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 34. 34 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 35. -IB стэк - Net installation - описание VM2 - организация виртуальных сетей - виртуализация и управление виртуальными машинами 35 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Comments
Copyright © 2024 UPDOCS Inc.