Installing and Administering Solaris Container Manager 1.1 SunMicrosystems,Inc. 4150NetworkCircle SantaClara,CA95054 U.S.A. PartNo:817–7551–10 June2005 Copyright2005SunMicrosystems,Inc. 4150NetworkCircle,SantaClara,CA95054U.S.A. Allrightsreserved. Thisproductordocumentisprotectedbycopyrightanddistributedunderlicensesrestrictingitsuse,copying,distribution,anddecompilation.No partofthisproductordocumentmaybereproducedinanyformbyanymeanswithoutpriorwrittenauthorizationofSunanditslicensors,ifany. Third-partysoftware,includingfonttechnology,iscopyrightedandlicensedfromSunsuppliers. PartsoftheproductmaybederivedfromBerkeleyBSDsystems,licensedfromtheUniversityofCalifornia.UNIXisaregisteredtrademarkintheU.S. andothercountries,exclusivelylicensedthroughX/OpenCompany,Ltd. Sun,SunMicrosystems,theSunlogo,docs.sun.com,AnswerBook,AnswerBook2,JDK,N1,andSolarisaretrademarksorregisteredtrademarksofSun Microsystems,Inc.intheU.S.andothercountries.AllSPARCtrademarksareusedunderlicenseandaretrademarksorregisteredtrademarksof SPARCInternational,Inc.intheU.S.andothercountries.ProductsbearingSPARCtrademarksarebaseduponanarchitecturedevelopedbySun Microsystems,Inc. TheOPENLOOKandSun™GraphicalUserInterfacewasdevelopedbySunMicrosystems,Inc.foritsusersandlicensees.Sunacknowledgesthe pioneeringeffortsofXeroxinresearchinganddevelopingtheconceptofvisualorgraphicaluserinterfacesforthecomputerindustry.Sunholdsa non-exclusivelicensefromXeroxtotheXeroxGraphicalUserInterface,whichlicensealsocoversSun’slicenseeswhoimplementOPENLOOKGUIs andotherwisecomplywithSun’swrittenlicenseagreements. Netscape,™NetscapeNavigator™,andMozilla™aretrademarksorregisteredtrademarksofNetscapeCommunicationsCorporationintheUnited Statesandothercountries. ORACLE®isaregisteredtrademarkofOracleCorporation. U.S.GovernmentRights–Commercialsoftware.GovernmentusersaresubjecttotheSunMicrosystems,Inc.standardlicenseagreementand applicableprovisionsoftheFARanditssupplements. DOCUMENTATIONISPROVIDED“ASIS”ANDALLEXPRESSORIMPLIEDCONDITIONS,REPRESENTATIONSANDWARRANTIES, INCLUDINGANYIMPLIEDWARRANTYOFMERCHANTABILITY,FITNESSFORAPARTICULARPURPOSEORNON-INFRINGEMENT,ARE DISCLAIMED,EXCEPTTOTHEEXTENTTHATSUCHDISCLAIMERSAREHELDTOBELEGALLYINVALID. Copyright2005SunMicrosystems,Inc. 4150NetworkCircle,SantaClara,CA95054U.S.A. Tousdroitsréservés. Ceproduitoudocumentestprotégéparuncopyrightetdistribuéavecdeslicencesquienrestreignentl’utilisation,lacopie,ladistribution,etla décompilation.Aucunepartiedeceproduitoudocumentnepeutêtrereproduitesousaucuneforme,parquelquemoyenquecesoit,sans l’autorisationpréalableetécritedeSunetdesesbailleursdelicence,s’ilyena.Lelogicieldétenupardestiers,etquicomprendlatechnologierelative auxpolicesdecaractères,estprotégéparuncopyrightetlicenciépardesfournisseursdeSun. DespartiesdeceproduitpourrontêtredérivéesdusystèmeBerkeleyBSDlicenciésparl’UniversitédeCalifornie.UNIXestunemarquedéposéeaux Etats-Unisetdansd’autrespaysetlicenciéeexclusivementparX/OpenCompany,Ltd. Sun,SunMicrosystems,lelogoSun,docs.sun.com,AnswerBook,AnswerBook2,JDK,N1,etSolarissontdesmarquesdefabriqueoudesmarques déposées,deSunMicrosystems,Inc.auxEtats-Unisetdansd’autrespays.TouteslesmarquesSPARCsontutiliséessouslicenceetsontdesmarques defabriqueoudesmarquesdéposéesdeSPARCInternational,Inc.auxEtats-Unisetdansd’autrespays.LesproduitsportantlesmarquesSPARCsont baséssurunearchitecturedéveloppéeparSunMicrosystems,Inc. L’interfaced’utilisationgraphiqueOPENLOOKetSun™aétédéveloppéeparSunMicrosystems,Inc.poursesutilisateursetlicenciés.Sunreconnaît leseffortsdepionniersdeXeroxpourlarechercheetledéveloppementduconceptdesinterfacesd’utilisationvisuelleougraphiquepourl’industrie del’informatique.SundétientunelicencenonexclusivedeXeroxsurl’interfaced’utilisationgraphiqueXerox,cettelicencecouvrantégalementles licenciésdeSunquimettentenplacel’interfaced’utilisationgraphiqueOPENLOOKetquienoutreseconformentauxlicencesécritesdeSun. Netscape,™NetscapeNavigator™,etMozilla™sontmarquesdeNetscapeCommunicationsCorporationauxEtats-Unisetdansd’autrespays. ORACLE®estunemarquedéposéeregistredeOracleCorporation. CETTEPUBLICATIONESTFOURNIE“ENL’ETAT”ETAUCUNEGARANTIE,EXPRESSEOUIMPLICITE,N’ESTACCORDEE,YCOMPRISDES GARANTIESCONCERNANTLAVALEURMARCHANDE,L’APTITUDEDELAPUBLICATIONAREPONDREAUNEUTILISATION PARTICULIERE,OULEFAITQU’ELLENESOITPASCONTREFAISANTEDEPRODUITDETIERS.CEDENIDEGARANTIENE S’APPLIQUERAITPAS,DANSLAMESUREOUILSERAITTENUJURIDIQUEMENTNULETNONAVENU. 050511@11223 Contents Preface 13 1 IntroductiontoSolarisContainerManager1.1 17 ContainerManagerOverview 18 ContainerManagerandOtherResourceManagementUtilities 18 SolarisContainerModel 19 ResourceManagement 21 ResourcePools 23 ResourceControls 23 Zones 23 GlobalZones 24 Non-GlobalZones 24 ResourceUtilizationReportsandExtendedAccountingData 25 BeforeUsingContainerManager 25 ServerConsolidation 25 ContainerManagerExamples 26 MultipleProjectsWithaZoneforOracle 26 DynamicResourcePoolExample 27 ApplicationsSharingtheSameContainer 27 Oracle10gRackonMultipleSystems 27 MultipleSystemsWithMultipleResourcePools 27 NewFeaturesandChangesinSolarisContainerManager1.1 27 ZoneManagement 28 DynamicResourcePools 29 BandwidthControlUsingIPQoS 29 FlexibleProcessManagement 29 3 TimesharingScheduler 29 ContainerEnhancements 30 ContainerManagerDocumentation 30 GettingStarted 31 2 ContainerManagerInstallationandSetup 33 ContainerManagerSoftwareDescription 33 InstallingContainerManagerSoftware 36 (cid:1)ToInstallContainerManagerDuringUpgradetoSunManagementCenter3.5 Update1b 37 (cid:1)ToInstallContainerManagerIndividually 37 SettingUpContainerManagerSoftware 39 (cid:1)ToSetUpContainerManagerDuringSunManagementCenterInstallationor Upgrade 40 (cid:1)ToSetUpContainerManagerIndividually 40 BackupandRestore 43 AgentUpdate 43 UninstallingContainerManagerSoftware 43 (cid:1)ToRemovetheContainerManagerSoftware 44 3 AboutContainersandStartingtheProduct 45 ContainerManagementOverview 45 AboutContainerProperties 46 ProjectStates 49 ContainersandProjects 49 ProjectActivation 50 InactiveProject 50 ContainerManagerGUI 50 (cid:1)ToStarttheContainerManagerGUI 51 (cid:1)ToRestartJavaWebConsole 52 ContainerManagerGUITabs 52 HostsView 54 ContainersView 57 OrganizingHostsandContainersWithGroups 57 (cid:1)ToCreateaContainerGrouporHostGroup 58 (cid:1)ToMoveaContainerorHosttoaDifferentGroup 58 DefaultContainers 59 AboutContainerCreation 60 4 InstallingandAdministeringSolarisContainerManager1.1(cid:127)June2005 ProjectTypes 61 AboutMakingResourceReservations(CPUShares) 62 4 ManagingProjects 73 CreatingProjects 73 (cid:1)ToStarttheNewProjectWizard 74 CreatingaUser-BasedorGroup-BasedProject 77 (cid:1)ToCreateaUser-BasedorGroup-BasedProject 77 CreatinganApplication-BasedProject 80 (cid:1)ToDeterminetheMatchExpressionforanApplication 81 (cid:1)ToCreateanApplication-BasedProject 82 MovingorStartingProcessesinaProject 85 (cid:1)ToMoveProcessesIntoanApplication-BasedProjectIndividually 85 (cid:1)ToStartanApplicationinaProject 87 ActivatingorDeactivatingProjects 88 (cid:1)ToActivateaProject 88 (cid:1)ToActivateanInactiveProject 89 (cid:1)ToDeactivateanActiveProject 90 ViewingProjectProcesses 90 (cid:1)ToViewtheProcessesRunninginaProjectFromtheHostsView 92 (cid:1)ToViewtheProcessesRunninginaProjectFromtheContainersView 92 ModifyingContainersandProjects 93 (cid:1)ToModifyaContainerUsingaPropertySheet 95 (cid:1)ToModifyaProjectUsingaPropertySheet 96 ModifyingProjectsWithaResourceChangeJob 97 (cid:1)ToModifyaProjectUsingaResourceChangeJob 99 (cid:1)ToEditaPendingResourceChangeJob 100 (cid:1)ToViewaResourceChangeJobLog 101 DeletingProjects 101 (cid:1)ToDeleteaContainer 102 5 ManagingResourcePools 103 ResourcePoolOverview 103 CreatingNewResourcePools 104 (cid:1)ToCreateaNewResourcePool 104 ModifyingResourcePools 106 (cid:1)ToModifyaResourcePool 107 5 DeletingResourcePools 107 (cid:1)ToDeleteaResourcePool 107 6 ManagingZones 109 ZonesOverview 109 Non-GlobalZoneStates 110 CreatingNon-GlobalZones 110 BeforeYouBegin 111 (cid:1)ToCreateaNon-GlobalZone 111 CopyingNon-GlobalZones 115 (cid:1)ToCopyaNon-GlobalZone 115 Deleting,Booting,orShuttingDownNon-GlobalZones 116 (cid:1)ToDelete,Boot,orShutDownaNon-GlobalZone 117 ViewingtheLogFilesofZones 117 (cid:1)ToViewtheLogFileofaZone 117 7 ManagingAlarms 119 AlarmManagement 119 AboutSettingAlarms 119 (cid:1)ToSetanAlarmThreshold 120 (cid:1)ToRemoveanAlarmThreshold 121 (cid:1)ToViewOpenAlarms 121 8 CreatingReportsandUsingExtendedAccountingData 123 AboutReports 123 DataCollectionProcess 126 RequestingaReport 126 (cid:1)ToRequestaResourceUtilizationReportForaHost 127 (cid:1)ToRequestaResourceUtilizationReportforanActiveProject 128 (cid:1)ToRequestaResourceUtilizationReportforaContainer 129 (cid:1)ToRequestaResourceUtilizationReportforaResourcePool 130 (cid:1)(Solaris10Only)ToRequestaResourceUtilizationReportForaZone 131 A InstallingAttheCommandLine 133 InstallingContainerManagerSoftware 133 (cid:1)ToInstallContainerManagerDuringSunManagementCenter Installation 134 6 InstallingandAdministeringSolarisContainerManager1.1(cid:127)June2005 (cid:1)ToInstallContainerManagerDuringUpgradetoSunManagementCenter3.5 Update1 134 (cid:1)ToInstallContainerManagerIndividually 134 SettingUpContainerManager 136 (cid:1)ToSetUpContainerManagerDuringSunManagementCenterInstallationor Upgrade 136 (cid:1)ToSetUpContainerManagerIndividually 136 RemovingtheContainerManagerSoftware 139 (cid:1)ToRemoveContainerManagerUsinges-uninst 139 Glossary 141 Index 143 7 8 InstallingandAdministeringSolarisContainerManager1.1(cid:127)June2005 Tables TABLE1–1 ChangedTermsinSolarisContainerManager1.1 28 TABLE1–2 NewFeaturesinSolarisContainerManager1.1 28 TABLE1–3 DocumentationResources 30 TABLE2–1 SunManagementCenterandSolarisContainerManagerSystem Requirements 34 TABLE2–2 ContainerManagerFeaturesbySolarisOSVersion 36 TABLE3–1 ContainerManagerGUITabs 52 TABLE3–2 ProjectTypeDetails 61 TABLE4–1 PropertySheetDetails 93 TABLE4–2 SampleofResourceChangeJobScheduling 98 TABLE7–1 AlarmThresholdNames 120 TABLE8–1 TypesofUtilizationReports 124 9 10 InstallingandAdministeringSolarisContainerManager1.1(cid:127)June2005
Description: