solaris11配置ldom全过程Word格式.docx
《solaris11配置ldom全过程Word格式.docx》由会员分享,可在线阅读,更多相关《solaris11配置ldom全过程Word格式.docx(11页珍藏版)》请在冰豆网上搜索。
Target9
Unit0
Disk
HITACHI
H109060SESUN600GA31A
1172123568Blocks,600GB
SASDeviceName5000cca016d91330
SASAddress5000cca016d91331
PhyNum0
Targeta
RemovableReadOnlydevice
TEAC
DV-W28SS-W
1.0A
SATAdevice
PhyNum7
Targetb
SASDeviceName5000cca016dd17ec
SASAddress5000cca016dd17ed
PhyNum1
Targetc
SASDeviceName5000cca016dd92c8
SASAddress5000cca016dd92c9
PhyNum2
Targetd
SASDeviceName5000cca016dcaa2c
SASAddress5000cca016dcaa2d
PhyNum3
Targete
SASDeviceName5000cca016dec2f4
SASAddress5000cca016dec2f5
PhyNum4
Targetf
SASDeviceName5000cca016dcd3f8
SASAddress5000cca016dcd3f9
PhyNum5
{0}okshow-volumes
Novolumestoshow
--将6块盘做成r1+0的模式
{0}ok9bcdefcreate-raid1e-volume
Target9sizeis1169920000Blocks,598GB
Targetbsizeis1169920000Blocks,598GB
Targetcsizeis1169920000Blocks,598GB
Targetdsizeis1169920000Blocks,598GB
Targetesizeis1169920000Blocks,598GB
Targetfsizeis1169920000Blocks,598GB
Thevolumecanbeanysizefrom1MBto1713750MB
Whatsizedoyouwant?
[1713750]
Volumesizewillbe3509760000Blocks,1796GB
Enteravolumename:
[0to15characters]
Volumehasbeencreated
在这里,可以看到r10的模式已经建好!
再次查看,验证创建情况
Target381Volume0
LSI
LogicalVolume
3000
3509760000Blocks,1796GB
VolumeDeviceName3cc9c69bec333347
VolumeWWID0cc9c69bec333347
Volume0Target381
TypeRAID1E(MirroringExtended)
WWID0cc9c69bec333347
Optimal
Enabled
BackgroundInitInProgress
6Members
Disk0
Member0
Target9
Disk1
Member1
Targetb
Disk2
Member2
Targetc
Disk3
Member3
Targetd
Disk4
Member4
Targete
Disk5
Member5
Targetf
3、开始安装Solaris11.1的操作系统
从光盘启动,t4是带光驱的,所以这点比较方便
{0}okbootrcdrom-install
Bootdevice:
/pci@400/pci@1/pci@0/pci@b/pci@0/usb@0,2/hub@2/hub@3/storage@2/disk@0
Fileandargs:
-install
SunOSRelease5.11Version11.164-bit
Copyright(c)1983,2012,Oracleand/oritsaffiliates.Allrightsreserved.
Remountingrootread/write
Probingfordevicenodes...
Preparingimageforuse
Donemountingimage
USBkeyboard
1.Arabic
15.Korean
2.Belgian
16.Latin-American
3.Brazilian
17.Norwegian
4.Canadian-Bilingual
18.Portuguese
5.Canadian-French
19.Russian
6.Danish
20.Spanish
7.Dutch
21.Swedish
8.Dvorak
22.Swiss-French
9.Finnish
23.Swiss-German
10.French
24.Traditional-Chinese
11.German
25.TurkishQ
12.Italian
26.UK-English
13.Japanese-type6
27.US-English
14.Japanese
Toselectthekeyboardlayout,enteranumber[default27]:
1.Chinese-Simplified
2.Chinese-Traditional
3.English
4.French
5.German
6.Italian
7.Japanese
8.Korean
9.Portuguese-Brazil
10.Spanish
Toselectthelanguageyouwishtouse,enteranumber[defaultis3]:
Userselected:
English
Configuringdevices.
Hostname:
solaris
WelcometotheOracleSolarisinstallationmenu
1
InstallOracleSolaris
2
InstallAdditionalDrivers
3
Shell
4
Terminaltype(currentlyxterm)
5
Reboot
Pleaseenteranumber[1]:
安装过程比较简单,就不再赘述,基本上都可以完成。
在安装的过程中,我们采用的是text的方式进行的!
安装完成后,要用root登录ldom,必须调整这个,确保root用户可以登录ldom
root@MYTEST:
/etc#catuser_attr
#
#Thesystemprovidedentriesarestoredindifferentfiles
#under"
/etc/user_attr.d"
.
Theyshouldnotbecopiedtothisfile.
#Onlylocalchangesshouldbestoredinthisfile.
#Thislineshouldbekeptinthisfileoritwillbeoverwritten.
#root:
:
type=role
admin:
lock_after_retries=no;
profiles=SystemAdministrator;
roles=root
--将root:
type=role这一条注释掉
4、安装EISpatch
EIS英文原名叫EnterpriseInstallationStandard,其中包含了大部分SUN产品的补丁,不限于solaris操作系统和软件,硬件的固件补丁也在其列;
还有一部分就是SUN常用的软件,例如cluster,CAM等等。
设置pkgpublisher
#pkgset-publisher-G'
*'
-M'
-g
file:
///sol11-repo/repo
solaris
运行setup-standard.sh脚本
#./setup-standard.sh
Runningsetup-standardwithEIS-DVDVn16-OCT-13
================================================
Creating/var/sunforscripts,logfilesetc...
Loading/opt/eis/bin...
Replacingoriginal/root/.profilebyfilefromEIS-DVD.
Settingup/root/.profile-EIS...
ThesystemisinstalledwithSolaris11.1.
TheinstalledSRU:
Version:
0.5.11(OracleSolaris11.1.12.5.0)
TheinstalledSolaris11groupis:
group/system/solaris-large-server
RemoteROOTloginsviaSSHprobablyenabled:
See/etc/ssh/sshd_config...
Script/etc/rc3.d/S99EIS-DVDtagloaded.
Script/etc/rc3.d/S99EIS-DVDtaghasbeenrun.
TemporarilyaddingtheSTBIPSRepotothepublisher...
AutomatedCoreFileAnalysisTool(ACT).....
DoyouwanttoinstallACT8.17fromtheEIS-DVD?
[y/n]:
y
InstallingACTpackagefromIPSRepositoryontheEIS-DVD...
Packagestoinstall:
1
Createbootenvironment:
No
Createbackupbootenvironment:
DOWNLOAD
PKGS
FILES
XFER(MB)
SPEED
Completed
1/1
5/5
0.3/0.3
0B/s
PHASE
ITEMS
Installingnewactions
27/27
Updatingpackagestatedatabase
Done
Updatingimagestate
Creatingfastlookupdatabase
Done
InstalledversionofACTis8.17
OracleExplorerDataCollector.....
NoIPSversionofExplorercurrentlyinstalled.
DoyouwanttoinstallExplorer8.1.13.9.6fromtheEIS-DVD?
InstallingExplorerpackagefromIPSRepositoryontheEIS-DVD...
1303/1303
14.5/14.5
1405/1405
InstalledversionofExploreris8.1.13.9.6
OracleSerialNumberinEEPROM(Sneep).....
NoIPSversionofSNEEPcurrentlyinstalled.
DoyouwanttoinstallSNEEP8.1.13.9.6fromtheEIS-DVD?
InstallingSNEEPpackagefromIPSRepositoryontheEIS-DVD...
7/7
0.1/0.1
25/25
InstalledversionofSNEEPis8.1.13.9.6
RemovingSTBIPSRepofromthePublisher...
******************************************************
*Pleasesupplyconfigurationinformationwithcare.*
*Especiallyenterthefollowingcustomerdetails:
*
*-CompanyName(casesensitive)
*-Systemserialnumber