Configuring the Preinstalled Solaris 10 Operating System

12
Sun Fire X4250 Server Installation Guide CHAPTER 4 Configuring the Preinstalled Solaris 10 Operating System This chapter describes how to configure the Solaris 10 Operating System (OS) that might be preinstalled on your Sun Fire X4250 server. This chapter assumes that your server has a hard drive installed, with the Solaris operating system preinstalled. Your system might be different, depending on your hard drive configuration. This chapter includes the following topics: Solaris Preinstallation Overview Configuring the Solaris OS Configuring RAID Drives Solaris 10 OS User Information Solaris Preinstallation Overview Read this section before you set up the Solaris OS. Delivery Methods To configure the preinstalled Solaris OS, you can select a delivery option in the GRUB menu that allows you to choose a delivery method: Configure the preinstalled Solaris OS through the serial management port (default method) Configure the preinstalled Solaris 10 image using a directly connected monitor and keyboard About the GRUB Menu Solaris uses a GRUB boot loader with a GRUB menu. When you start the Solaris OS, a GRUBlevel menu appears. The GRUB menu allows you to select to direct output to either the serial port or video

description

a

Transcript of Configuring the Preinstalled Solaris 10 Operating System

  • 22/03/2015 ConfiguringthePreinstalledSolaris10OperatingSystem

    https://docs.oracle.com/cd/E1912101/sf.x4250/820421711/Chap4.html 1/12

    SunFireX4250ServerInstallationGuide

    CHAPTER4

    ConfiguringthePreinstalledSolaris10OperatingSystem

    ThischapterdescribeshowtoconfiguretheSolaris 10OperatingSystem(OS)thatmightbepreinstalledonyourSunFireX4250server.Thischapterassumesthatyourserverhasaharddriveinstalled,withtheSolarisoperatingsystempreinstalled.Yoursystemmightbedifferent,dependingonyourharddriveconfiguration.

    Thischapterincludesthefollowingtopics:

    SolarisPreinstallationOverview

    ConfiguringtheSolarisOS

    ConfiguringRAIDDrives

    Solaris10OSUserInformation

    SolarisPreinstallationOverviewReadthissectionbeforeyousetuptheSolarisOS.

    DeliveryMethods

    ToconfigurethepreinstalledSolarisOS,youcanselectadeliveryoptionintheGRUBmenuthatallowsyoutochooseadeliverymethod:

    ConfigurethepreinstalledSolarisOSthroughtheserialmanagementport(defaultmethod)

    ConfigurethepreinstalledSolaris10imageusingadirectlyconnectedmonitorandkeyboard

    AbouttheGRUBMenu

    SolarisusesaGRUBbootloaderwithaGRUBmenu.WhenyoustarttheSolarisOS,aGRUBlevelmenuappears.TheGRUBmenuallowsyoutoselecttodirectoutputtoeithertheserialportorvideo

    https://docs.oracle.com/cd/E19121-01/sf.x4250/820-4217-11/index.htmlhttps://docs.oracle.com/cd/E19121-01/sf.x4250/820-4217-11/Chap5.htmlhttps://docs.oracle.com/cd/E19121-01/sf.x4250/820-4217-11/ix.htmlhttps://docs.oracle.com/cd/E19121-01/sf.x4250/820-4217-11/Chap3.html

  • 22/03/2015 ConfiguringthePreinstalledSolaris10OperatingSystem

    https://docs.oracle.com/cd/E1912101/sf.x4250/820421711/Chap4.html 2/12

    port.

    Ifyoudonotselectanoutputwithin10secondsattheGRUBmenu,thesystembootsusingthedefaultoutput(serialmanagementportttya).Serialredirectionrequiresaconnectiontotheserialmanagementport.SeeDeterminingtheILOMServiceProcessorIPAddressandMethod1:UsingtheSerialConnection.

    BeforeYouBegin

    BeforeyouconfigurethepreinstalledSolarisOS,youmustdothefollowing:

    1.Performinitialconfigurationoftheserviceprocessor,anddeterminetheserversnetworksettings.SeeSettingUptheSunFireX4250Server.

    2.Gathertheinformationthatyouwillneedtoconfiguretheserver.SeeInstallationWorksheet.

    3.Afterthesestepsarecomplete,youcanconfigurethepreinstalledSolarisOS.SeeConfiguringtheSolarisOS.

    4.ConfigureRAID,ifnecessary.SeeConfiguringRAIDDrives.

    InstallationWorksheet

    FillinTABLE41withinformationyouneedtoconfigurethepreinstalledSolaris10OSfortheserver.Collectonlytheinformationthatappliestoyoursystem.

    TABLE41InstallationWorksheet

    InstallationInformation Description EnterSystemConfiguration:Asterisk(*)indicatesdefault.

    Language ChoosefromthelistofavailablelanguagesfortheSolaris10software.

    English*

    Locale Chooseyourgeographicregionfromthelistofavailablelocales.

    English(C7bitASCII)*

    Terminal Choosethetypeofterminalthatyouareusingfromthelistofavailableterminaltypes.

    https://docs.oracle.com/cd/E19121-01/sf.x4250/820-4217-11/Chap3.html#50446349_19103https://docs.oracle.com/cd/E19121-01/sf.x4250/820-4217-11/Chap3.html#50446349_87893https://docs.oracle.com/cd/E19121-01/sf.x4250/820-4217-11/Chap3.html#50446349_62370

  • 22/03/2015 ConfiguringthePreinstalledSolaris10OperatingSystem

    https://docs.oracle.com/cd/E1912101/sf.x4250/820421711/Chap4.html 3/12

    Networkconnection Isthesystemconnectedtoanetwork? Networked

    Nonnetworked*

    DHCP CanthesystemuseDynamicHostConfigurationProtocol(DHCP)toconfigureitsnetworkinterfaces?

    Yes

    No*

    IfyouarenotusingDHCP,notethenetworkaddress.

    IPaddress

    IfyouarenotusingDHCP,supplytheIPaddressforthesystem.

    Example:129.200.9.1

    Subnet IfyouarenotusingDHCP,isthesystempartofasubnet?

    Ifyes,whatisthenetmaskofthesubnet?

    Example:255.255.255.0

    255.255.255.0*

    IPv6 DoyouwanttoenableIPv6onthismachine? Yes

    No*

    Hostname Ahostnamethatyouchooseforthesystem.

    Kerberos DoyouwanttoconfigureKerberossecurityonthismachine?

    Ifyes,gatherthefollowinginformation:

    DefaultRealm:

    AdministrationServer:

    FirstKDC:

    (Optional)AdditionalKDCs:

    Yes

    No*

    InstallationInformation Description EnterSystemConfiguration:Asterisk(*)indicatesdefault.

  • 22/03/2015 ConfiguringthePreinstalledSolaris10OperatingSystem

    https://docs.oracle.com/cd/E1912101/sf.x4250/820421711/Chap4.html 4/12

    Nameservice:ifthesystemusesanameservice,providethefollowinginformation.

    Nameservice

    Whichnameserviceshouldthissystemuse? NIS+

    NIS

    DNS

    LDAP

    None*

    Domainname

    Providethenameofthedomaininwhichthesystemresides.

    NIS+andNIS

    Doyouwanttospecifyanameserverorlettheinstallationprogramfindone?

    SpecifyOne

    FindOne*

    DNS ProvideIPaddressesfortheDNSserver.YoumustenteratleastoneIPaddress,butyoucanenteruptothreeaddresses.

    YoucanalsoenteralistofdomainstosearchwhenaDNSqueryismade.

    IPaddresses(13):

    SearchDomains(13):

    LDAP ProvidethefollowinginformationaboutyourLDAPprofile:

    IfyouspecifyaproxycredentiallevelinyourLDAPprofile,gatherthefollowinginformation:

    ProxyBindDistinguishedName:

    ProxyBindPassword:

    Profilename:

    Profileserver:

    InstallationInformation Description EnterSystemConfiguration:Asterisk(*)indicatesdefault.

  • 22/03/2015 ConfiguringthePreinstalledSolaris10OperatingSystem

    https://docs.oracle.com/cd/E1912101/sf.x4250/820421711/Chap4.html 5/12

    Defaultroute DoyouwanttospecifyadefaultrouteIPaddressorlettheSolarisinstallationprogramfindone?

    Thedefaultrouteprovidesabridgethatforwardstrafficbetweentwophysicalnetworks.AnIPaddressisauniquenumberthatidentifieseachhostonanetwork.

    Selectoneofthefollowingroutes:

    SpecifyIPaddress.An/etc/defaultrouterfileiscreatedwiththespecifiedIPaddress.Whenthesystemisrebooted,thespecifiedIPaddressbecomesthedefaultroute.DetectIPaddress.LettheSolarisinstallationprogramdetectanIPaddress.However,thesystemmustbeonasubnetthathasarouterthatadvertisesitselfbyusingtheICMProuterdiscoveryprotocol.Ifyouareusingthecommandlineinterface,thesoftwaredetectsanIPaddresswhenthesystemisbooted.None.SelectNoneifyoudonothavearouterordonotwantthesoftwaretodetectanIPaddressatthistime.ThesoftwareautomaticallytriestodetectanIPaddressonreboot.

    SpecifyIPaddress

    DetectIPaddress

    None*

    Timezone Howdoyouwanttospecifyyourdefaulttimezone?

    Geographicregion*

    OffsetfromGM

    Timezonefile

    Rootpassword Choosearootpasswordforthesystem.

    ConfiguringtheSolarisOSToconfigurethepreinstalledSolarisOS:

    1.Logintotheserviceprocessorasanadministrator.Forexample:

  • 22/03/2015 ConfiguringthePreinstalledSolaris10OperatingSystem

    https://docs.oracle.com/cd/E1912101/sf.x4250/820421711/Chap4.html 6/12

    Login:root

    Password:changeme

    2.TostarttheILOMconsole,type

    start/SP/AgentInfoConsole

    3.FollowtheSolaris10preinstallationonscreeninstructions.

    4.Typethesystemandnetworkinformationwhenprompted.SeeTABLE41forcollectedinformation.

    Thedisplayedscreenscanvary,dependingonhowyouchosetoassignnetworkinformationtotheserver(DHCPorstaticIPaddress).

    5.Afterthesystemconfigurationinformationhasbeenentered,theOSinstallationcontinues.Oncompletion,thesystemrebootsanddisplaystheSolarisOSlogin.

    RedirectingtheConsoleOutputtotheVideoPort(Optional)

    YoumustcompletetheprocedureConfiguringtheSolarisOSandbeloggedintotheserviceprocessor(SP)beforeyoucanredirecttheconsoleoutputtothevideoport.Thisprocedureisoptional.

    NoteTheSolarisGRUBmenuallowsyoutomanuallyselectgraphicsadapterredirectionduringthebootprocess.Ifnotchosenwithin30secondsaftertheGRUBmenuisdisplayed,thesystemdefaultstoserialredirection(ttya).

    1.Rebootthesystem.

    2.Toenablevideooutput,chooseSolarisBuildGraphicsAdapterfromtheGRUBmenuChangingDefaultConsoleOutput.

    UsingtheGRUBMenu

    ThepreinstalledSolaris10OSimagedirectsconsoleoutputtotheserialportbydefault.AftertheinitialconfigurationofthepreinstalledSolarisOSiscomplete,youcanmodifytheSolaris10GRUBmenutodirectoutputtothevideoportbydefault.

    CautionThisprocedureisintendedonlyforadvancedusersoftheSolarisOS.Youcanseriouslydisruptserveroperationormaketheserverunbootableifyouintroduceaproblemin

  • 22/03/2015 ConfiguringthePreinstalledSolaris10OperatingSystem

    https://docs.oracle.com/cd/E1912101/sf.x4250/820421711/Chap4.html 7/12

    themenu.lstfile.

    Tosetthevideoportasthedefaultoutput:

    1.Openthe/boot/grub/menu.lstfileinatexteditor.

    2.Modifythefollowinglineinthefiletochangethedefaultsothattheconsoleoutputgoestothevideoport:

    default1

    3.RunthefollowingcommandtoaddtheXserverstartupscripts:

    /usr/dt/bin/dtconfige

    4.Reboottheserver.Afterthesystemreboots,theconsoleoutputgoestothevideoportbydefault.

    5.ConfigureRAIDdrives,ifnecessary.

    ConfiguringRAIDDrivesAfteryouconfiguretheSolarisOS,youmightneedtoconfiguretheRAIDdrives.

    Thissectioncontainsthefollowingtopics:

    RAIDDriveOverview

    MirroringthePreinstalledSolarisOSWithLSIRAID

    CreatingaRAIDSettoIncorporateaPreinstalledOSUsingtheSunStorageTekCard

    RAIDDriveOverview

    TheSunFireX4250serverhastwooptionalRAIDHostBusAdapter(HBA)cards.YoucanaccessRAIDconfigurationthroughtheHBAcardBIOS.ToaccesstheLSIcardBIOS,pressCtrlC.ToaccesstheSunStorageTekcardBIOS,pressCtrlA:

    TABLE42 RAIDHBACards

    RAIDHBACards PressforBIOS

    SunStorageTek CtrlA

  • 22/03/2015 ConfiguringthePreinstalledSolaris10OperatingSystem

    https://docs.oracle.com/cd/E1912101/sf.x4250/820421711/Chap4.html 8/12

    SunStorageTek CtrlA

    LSI3081E CtrlC

    ThesystemhasthepreinstalledOSonHD0.WhentheSolarisOSinstallationiscompleted,theoptiontoupgradeyoursinglediskOStoamirroredRAIDsolutionisavailable.

    Theconfigurationprocedureisdifferentforeachsupportedcontrollercard.Forexample,aSunStorageTekHBAcardhasmanymoreoptionsforRAIDconfigurationthananLSIHBAcard.ConfiguretheRAIDdependingonyourneedsasshowninTABLE43.

    NoteConfiguringtheSunFireX4250serverRAIDisoptional.BydefaultthepreinstalledSolarisimageisconfiguredinanonRAIDconfiguration.IfanythingotherthanabasicMirrorRAIDisrequired,itisrecommendedtoperformafreshinstallationoftheSolarisOperatingSystem(orotherOS)inthedesiredRAIDconfiguration.

    TABLE43showstheRAIDdriveoptions.

    TABLE43RAIDDriveOptions

    SASCard DrivesSupported

    RAIDConfigurationSupported DriveUsage

    SunStorageTek

    Seagate73GBSAS

    Volume1disk

    Fujitsu73GBSAS

    RAID0stripe2diskminimum Noredundancy

    Seagate146GBSAS

    RAID1mirror2diskminimum 50%

    RAID1E3driveminimum 50%

    RAID104driveminimum 50%

  • 22/03/2015 ConfiguringthePreinstalledSolaris10OperatingSystem

    https://docs.oracle.com/cd/E1912101/sf.x4250/820421711/Chap4.html 9/12

    RAID53driveminimum 6794%

    RAID5EE4driveminimum 5088%

    RAID506driveminimum 6794%

    RAID64driveminimum 5088%

    RAID608driveminimum 5088%

    SpannedVolume2driveminimum 100%

    RAIDVolume4driveminimum 50100%

    LSI3081E Seagate73GBSAS

    IMIntegratedMirrorarray.2diskminimum,plusupto2hotsparedisks.

    DataonPrimarydiskmightbemerged.

    Fujitsu73GBSAS

    IMEIntegratedMirrorEnhancedarray.3to8disksincludingupto2hotspares.

    Alldatawillbedeletedduringcreation.

    Seagate146GBSAS

    ISIntegratedStripingarray.2to8disks. Alldatawillbedeletedduringcreation.

    MirroringthePreinstalledSolarisOSWithLSIRAID

    TheSolarisOSsupportshardwareRAIDandcannotbeinstalledonanexistingarrayifonehasbeencreated.RefertotheSunFireX4250ServerOperatingSystemInstallationGuideoranHBAcardproductguide.

    IfyouchoosethepreinstalledSolarisOSandwanttomaketheOSpartofaRAIDset,andifyouareusingLSIRAIDonly,performthefollowingproceduretoupdatethepreinstalledSolarisOStoamirroredRAIDset.AsstatedinTABLE43,onlyIM(IntegratedMirror)allowsdataontheprimary

  • 22/03/2015 ConfiguringthePreinstalledSolaris10OperatingSystem

    https://docs.oracle.com/cd/E1912101/sf.x4250/820421711/Chap4.html 10/12

    harddiskdrive(HDD)tobepreservedormergedintoanarrayofdisks.

    ThisexampleallowsthecreationofamirrorbeforeoraftertheSolarisinstallation.Theserverhas2disks:HDD0(withtheOS)andHDD1(whichisblank).

    TocreateamirrorimageoftheSolarisOSonHDD1:

    1.Poweronyourserversystemforthefirsttime.

    2.PressCtrlCtoaccesstheLSIRAIDconfigurationutility.

    3.SelecttheSAScardSAS1068E.PressEnter.

    4.ChooseRAIDProperties.

    5.CreateanIM(IntegratedMirror)fortherequireddiskconfiguration.

    6.Selecttheharddiskstobeused.UsetherightarrowtomovethecursortotheRAIDcolumn,andpresstheSpacebartoincludeintoRAID.

    7.BecauseHDD0containsdata,selectmergeordelete:

    ChooseMtomergedataandstartasyncoperation.

    ChooseDtoerasethepreinstalledSolarisOS.

    8.PressCtocreatetheRAIDandstartthesyncoperation.

    9.ClickExittosavetheconfigurationandclosethemenu.

    10.PressEsctoexittheconfigurationutilityandreboot.

    CreatingaRAIDSettoIncorporateaPreinstalledOSUsingtheSunStorageTekCard

    TheSunStorageTekcardallowsyoutochoosefrommanyRAIDconfigurations.Howyouconfigureyoursystemdependsonyoursystemrequirementsandtheavailableharddiskdrivesinthesystem.ThefollowingexampleshowshowtomirrorthepreinstalledSolarisOS.Thisistherecommendedoption,andallremainingdisks(shouldtherebemorethan2)areincorporatedintoaDATARAIDsetusingtheavailableoptionsasshowninTABLE43.

    YouwillneedtheSunFireX4250ServerToolsandDriversCD.

    FollowthesestepstomirroryourconfiguredSolarisOS:

    1.UsingyourSolarisServer,loginandstartXserver.

    ThisgraphicaluserinterfaceisrequiredforStorageTekSoftwareManagement.

    2.FromthesuppliedToolsandDriversCD,copytheStorMan.dsapplication,locatedinthe/mountpoint/RAIDmgmt/StorageTEK/Solarisdirectory,toanewdirectoryyouchooseonyourSolarisserver,forexample,mkdir/StorMan.

  • 22/03/2015 ConfiguringthePreinstalledSolaris10OperatingSystem

    https://docs.oracle.com/cd/E1912101/sf.x4250/820421711/Chap4.html 11/12

    3.ChangethepermissionsofthenewdirectoryandStorManapplication:

    chmod777StorMan.ds

    4.Runthefollowingcommandtoinstalltheapplication:

    pkgadddStorMan.ds

    5.Choosetoinstallallcomponentswhenprompted.

    6.Toruntheapplication,typethefollowing:

    sh/usr/StorMan/StorMan.sh

    Asplitscreenappears.

    7.ClickthescreentoactivatetheManagedSystemsList.

    8.Doubleclickthelocalmachine(itisdisplayedbyIPAddressofthePrimaryENETconnection).

    Apromptappears.

    9.Attheprompt,loginasroot,usingtheOSpasswordthatwasassignedduringinstallation.

    10.ClicktheSUNSTKRAIDController.

    AllattachedharddiskdrivesonEnclosure0and1appear.

    TipHDD0(OS)shouldbeEnclosure0LogicalVolume1.

    11.TomirrortheOS,rightclickLogicalDevice1andchooseExpandorChangeLogicalDevice.

    12.ChoosetheappropriateRAIDoption(inthisexample,RAID1forMirror).

    13.ChooseadisktomirrortheOSwith,fromthephysicaldisklist.

    Selecttheharddiskdrivethatbestfitsyourneeds.

    14.AfteryouselecttheHDD,clickNext,andthenviewtheconfigurationsummary.

    15.ClickApplytostartthemirroringprocess.

    YoucanalsoclickScheduletoperformthemirroringprocessatalatertime.

    16.Onemoreconfirmationscreenisdisplayed,andwhenconfirmed,theOSwillbegintomirror.

    Mirroringmaytakeseveralhours,dependingontheamountofdataandtheHDDsize.

  • 22/03/2015 ConfiguringthePreinstalledSolaris10OperatingSystem

    https://docs.oracle.com/cd/E1912101/sf.x4250/820421711/Chap4.html 12/12

    Solaris10OSUserInformationThissectionprovidespointerstoinformationabouttheSolaris10OS.

    AccessingSolaris10UserDocumentation

    YoucanaccessthevariouscollectionsoftheSolaris10OSuserdocumentationat:

    http://docs.sun.com/app/docs/prod/solaris.10

    Specifically,youcanaccesstheSolaris10OSReleaseandInstallationcollectionat:

    http://docs.sun.com/app/docs/coll/1236.1

    DownloadingSolaris10OSSoftware

    IfyouneedtoinstalltheSolaris10OSorreinstalltheOSafterremovingit,youcandownloadtheCDorDVDimagefromthefollowingURL:

    http://www.sun.com/software/solaris/get.jsp

    Solaris108/07istheminimumsupportedversionfortheSunFireX4250server.

    SeetheSunFireX4250ServerOperatingSystemInstallationGuideforspecificinstructionsonSolaris10installation.

    Solaris10OSTraining

    Sunprovidesflexibletrainingoptionsthataccommodateyourpersonalscheduleandlearningstyle.Thetrainingoptionsincludeinstructorled,webbasedonline,CDROM,andLiveVirtualClasses.ForSolaris10TrainingandCertificationoptionsataglance,goto:http://www.sun.com/training/catalog/solaris10.html

    SunFireX4250ServerInstallationGuide 820421711

    Copyright2009SunMicrosystems,Inc.Allrightsreserved.

    http://www.sun.com/training/catalog/solaris10.htmlhttp://docs.sun.com/app/docs/prod/solaris.10https://docs.oracle.com/cd/E19121-01/sf.x4250/820-4217-11/ix.htmlhttps://docs.oracle.com/cd/E19121-01/sf.x4250/820-4217-11/Chap5.htmlhttps://docs.oracle.com/cd/E19121-01/sf.x4250/820-4217-11/copyright.htmlhttp://docs.sun.com/app/docs/coll/1236.1http://www.sun.com/software/solaris/get.jsphttps://docs.oracle.com/cd/E19121-01/sf.x4250/820-4217-11/index.htmlhttps://docs.oracle.com/cd/E19121-01/sf.x4250/820-4217-11/Chap3.html