版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、 隨著oracle對(duì)sun的整合,sun的小型機(jī)又開(kāi)始?xì)⒒貋?lái)了!目前t4系列的cpu主頻已經(jīng)達(dá)到3.0,而線程數(shù),每個(gè)core為8個(gè)進(jìn)程。t5系列的cpu主頻達(dá)到了3.6,進(jìn)程達(dá)到16。經(jīng)過(guò)幾年的發(fā)展,其性價(jià)比得到了非常充分的體現(xiàn)。solaris11,其針對(duì)oracle進(jìn)行了優(yōu)化,其性能得到了相當(dāng)大的提升,大有打破ibm一家壟斷的局面。ldom,也是虛擬化的一種,相當(dāng)于lpar,從硬件層面對(duì)小機(jī)進(jìn)行分區(qū)。下面就分區(qū)的過(guò)程分享給大家t4小機(jī)劃分ldom過(guò)程本操作從小機(jī)加電開(kāi)始操作,所有過(guò)程都是一步一步的貼出來(lái)!1、配置管理口IP地址set /SP/network/ pendingipaddres
2、s=1set /SP/network/ pendingipdiscovery=staticset /SP/network/ pendingipnetmask=set /SP/network/ pendingipgateway=54set /SP/network/ commitpending=trueset /SP/network/ state=enabledset /HOST/bootmode script=setenv auto-boot? false2、配置硬raid1+0,將里面的6塊盤做成1+0分區(qū)模式,用于各l
3、dom分區(qū)共享!說(shuō)明:也可以考慮將盤進(jìn)行分組,每個(gè)分區(qū)獨(dú)享磁盤,我這里是為了方便!-查看各個(gè)磁盤情況0 ok select scsi0 ok show-childrenFCode Version 1.00.63, MPT Version 2.00, Firmware Version 9.05.00.00Target 9 Unit 0 Disk HITACHI H109060SESUN600G A31A 1172123568 Blocks, 600 GB SASDeviceName 5000cca016d91330 SASAddress 5000cca016d91331 PhyNum 0Targ
4、et a Unit 0 Removable Read Only device TEAC DV-W28SS-W 1.0A SATA device PhyNum 7Target b Unit 0 Disk HITACHI H109060SESUN600G A31A 1172123568 Blocks, 600 GB SASDeviceName 5000cca016dd17ec SASAddress 5000cca016dd17ed PhyNum 1Target c Unit 0 Disk HITACHI H109060SESUN600G A31A 1172123568 Blocks, 600 GB
5、 SASDeviceName 5000cca016dd92c8 SASAddress 5000cca016dd92c9 PhyNum 2Target d Unit 0 Disk HITACHI H109060SESUN600G A31A 1172123568 Blocks, 600 GB SASDeviceName 5000cca016dcaa2c SASAddress 5000cca016dcaa2d PhyNum 3Target e Unit 0 Disk HITACHI H109060SESUN600G A31A 1172123568 Blocks, 600 GB SASDeviceNa
6、me 5000cca016dec2f4 SASAddress 5000cca016dec2f5 PhyNum 4Target f Unit 0 Disk HITACHI H109060SESUN600G A31A 1172123568 Blocks, 600 GB SASDeviceName 5000cca016dcd3f8 SASAddress 5000cca016dcd3f9 PhyNum 50 ok show-volumesNo volumes to show-將6塊盤做成r1+0的模式0 ok 9 b c d e f create-raid1e-volumeTarget 9 size
7、is 1169920000 Blocks, 598 GBTarget b size is 1169920000 Blocks, 598 GBTarget c size is 1169920000 Blocks, 598 GBTarget d size is 1169920000 Blocks, 598 GBTarget e size is 1169920000 Blocks, 598 GBTarget f size is 1169920000 Blocks, 598 GBThe volume can be any size from 1 MB to 1713750 MBWhat size do
8、 you want? 1713750Volume size will be 3509760000 Blocks, 1796 GBEnter a volume name: 0 to 15 charactersVolume has been created在這里,可以看到r10的模式已經(jīng)建好!再次查看,驗(yàn)證創(chuàng)建情況0 ok show-childrenFCode Version 1.00.63, MPT Version 2.00, Firmware Version 9.05.00.00Target a Unit 0 Removable Read Only device TEAC DV-W28SS-W
9、 1.0A SATA device PhyNum 7Target 381 Volume 0 Unit 0 Disk LSI Logical Volume 3000 3509760000 Blocks, 1796 GB VolumeDeviceName 3cc9c69bec333347 VolumeWWID 0cc9c69bec3333470 ok show-volumesVolume 0 Target 381 Type RAID1E (Mirroring Extended) WWID 0cc9c69bec333347 Optimal Enabled Background Init In Pro
10、gress 6 Members 3509760000 Blocks, 1796 GB Disk 0 Member 0 Optimal Target 9 HITACHI H109060SESUN600G A31A PhyNum 0 Disk 1 Member 1 Optimal Target b HITACHI H109060SESUN600G A31A PhyNum 1 Disk 2 Member 2 Optimal Target c HITACHI H109060SESUN600G A31A PhyNum 2 Disk 3 Member 3 Optimal Target d HITACHI
11、H109060SESUN600G A31A PhyNum 3 Disk 4 Member 4 Optimal Target e HITACHI H109060SESUN600G A31A PhyNum 4 Disk 5 Member 5 Optimal Target f HITACHI H109060SESUN600G A31A PhyNum 53、開(kāi)始安裝Solaris11.1的操作系統(tǒng)從光盤啟動(dòng),t4是帶光驅(qū)的,所以這點(diǎn)比較方便0 ok boot rcdrom - installBoot device:/pci400/pci1/pci0/pcib/pci0/usb0,2/hub2/hub3
12、/storage2/disk0 File and args: - installSunOS Release 5.11 Version 11.1 64-bitCopyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.Remounting root read/writeProbing for device nodes .Preparing image for useDone mounting imageUSB keyboard1. Arabic 15. Korean2. Belgian 16. Latin
13、-American3. Brazilian 17. Norwegian4. Canadian-Bilingual 18. Portuguese5. Canadian-French 19. Russian6. Danish 20. Spanish7. Dutch 21. Swedish8. Dvorak 22. Swiss-French9. Finnish 23. Swiss-German10. French 24. Traditional-Chinese11. German 25. TurkishQ12. Italian 26. UK-English13. Japanese-type6 27.
14、 US-English14. JapaneseTo select the keyboard layout, enter a number default 27:1. Chinese - Simplified2. Chinese - Traditional3. English4. French5. German6. Italian7. Japanese8. Korean9. Portuguese - Brazil10. SpanishTo select the language you wish to use, enter a number default is 3:User selected:
15、 EnglishConfiguring devices.Hostname: solarisWelcome to the Oracle Solaris installation menu 1 Install Oracle Solaris 2 Install Additional Drivers 3 Shell 4 Terminal type (currently xterm) 5 RebootPlease enter a number 1:安裝過(guò)程比較簡(jiǎn)單,就不再贅述,基本上都可以完成。在安裝的過(guò)程中,我們采用的是text的方式進(jìn)行的!安裝完成后,要用root登錄ldom,必須調(diào)整這個(gè),確保ro
16、ot用戶可以登錄ldomrootMYTEST:/etc# cat user_attr# The system provided entries are stored in different files# under /etc/user_attr.d. They should not be copied to this file.# Only local changes should be stored in this file.# This line should be kept in this file or it will be overwritten.#root:type=rolead
17、min:lock_after_retries=no;profiles=System Administrator;roles=root-將root:type=role這一條注釋掉4、安裝EIS patchEIS英文原名叫Enterprise Installation Standard,其中包含了大部分SUN產(chǎn)品的補(bǔ)丁,不限于solaris操作系統(tǒng)和軟件,硬件的固件補(bǔ)丁也在其列;還有一部分就是SUN常用的軟件,例如cluster,CAM等等。設(shè)置pkg publisher# pkg set-publisher -G * -M * -gfile:/sol11-repo/reposolaris運(yùn)行se
18、tup-standard.sh腳本# ./setup-standard.shRunning setup-standard with EIS-DVD Vn 16-OCT-13=Creating /var/sun for scripts, log files etc.Loading /opt/eis/bin.Replacing original /root/.profile by file from EIS-DVD.Setting up /root/.profile-EIS.The system is installed with Solaris 11.1.The installed SRU: V
19、ersion: 0.5.11 (Oracle Solaris .0)The installed Solaris 11 group is: group/system/solaris-large-serverRemote ROOT logins via SSH probably enabled: See /etc/ssh/sshd_config.Script /etc/rc3.d/S99EIS-DVDtag loaded.Script /etc/rc3.d/S99EIS-DVDtag has been run.Temporarily adding the STB IPS Repo
20、 to the publisher.Automated Core File Analysis Tool (ACT).Do you want to install ACT 8.17 from the EIS-DVD? y/n: yInstalling ACT package from IPS Repository on the EIS-DVD. Packages to install: 1 Create boot environment: NoCreate backup boot environment: NoDOWNLOAD PKGS FILES XFER (MB) SPEEDComplete
21、d 1/1 5/5 0.3/0.3 0B/sPHASE ITEMSInstalling new actions 27/27Updating package state database DoneUpdating image state DoneCreating fast lookup database DoneInstalled version of ACT is 8.17Oracle Explorer Data Collector.No IPS version of Explorer currently installed.Do you want to install Explorer 8.
22、 from the EIS-DVD? y/n: yInstalling Explorer package from IPS Repository on the EIS-DVD. Packages to install: 1 Create boot environment: NoCreate backup boot environment: NoDOWNLOAD PKGS FILES XFER (MB) SPEEDCompleted 1/1 1303/1303 14.5/14.5 0B/sPHASE ITEMSInstalling new actions 1405/1405Upd
23、ating package state database DoneUpdating image state DoneCreating fast lookup database DoneInstalled version of Explorer is .6Oracle Serial Number in EEPROM (Sneep).No IPS version of SNEEP currently installed.Do you want to install SNEEP .6 from the EIS-DVD? y/n: yInstalling SNEEP p
24、ackage from IPS Repository on the EIS-DVD. Packages to install: 1 Create boot environment: NoCreate backup boot environment: NoDOWNLOAD PKGS FILES XFER (MB) SPEEDCompleted 1/1 7/7 0.1/0.1 0B/sPHASE ITEMSInstalling new actions 25/25Updating package state database DoneUpdating image state DoneCreating
25、 fast lookup database DoneInstalled version of SNEEP is .6Removing STB IPS Repo from the Publisher. * * Please supply configuration information with care. * * Especially enter the following customer details: * * - Company Name (case sensitive) * * - System serial number * * - Contact Name *
26、* - Contact email address * * - Address details * * The contract ID is not vital at this stage. * *Press RETURN to continue.-Oracle Corporation respects your desire for privacy. Personal informationcollected from this form will not be shared with organizations external toOracle without your consent,
27、 except to process data on Oracles behalf inconnection with this transaction. We will use your personal information forcommunications regarding Oracle equipment and service related topics associatedwith the data submitted.Oracle, as a global company, may transfer your personal information tocountrie
28、s which may not provide an adequate level of protection. Oracle,however, is committed to providing a suitable & consistent level of protectionfor your personal information regardless of the country in which it resides.Completing the form below implies agreement with the above processing.If you have
29、any questions please refer to the Oracle Privacy Policy or contactus. Note that entry of personal information into Explorer is optional.If you have any questions about this form or in the future wish to update ordelete any of the information provided, please contact Oracle.-Absolute path of the Expl
30、orer defaults file?/etc/explorer/default/explorer:Absolute path of the Explorer output top location?/var/explorer/output:Should Explorer create /var/explorer/output (y/n)?y:Retrieving serial number . (can take time)Company name:Contract Identifier:System (MYTEST, 863adf9a) serial numberAK00151939:Co
31、ntact name:Contact email address:Phone number:Address (line 1):Address (line 2):City:State:Zip:Select your geography from this list: 1) AMERICAS 2) EMEA 3) APACAMERICAS 3APACTwo-character country code or ? for a list of countries: CNAutomatic SubmissionAt the completion of Explorer, all output may b
32、e sent to Oracle or alternatedestinations.Target:Send explorer output via HTTPS when -P is specified (y/n)?Choose n to specify an alternate target, such as your Secure File Transport(SFT) listener: nWhen -P is specified, would you like Explorer output to be sent to analternate target destination, su
33、ch as your Secure File Transport (SFT)listener (y/n)?If yes, then enter the https:/server:portOtherwise, enter only a single - for your reply.HTTPS destination or a -: -If you would like to be notified by email when your explorer output is uploadedinto the repository, enter the email address here. W
34、hen notification is notneeded, enter a single -.: -You have answered: Company name: Contract ID: System serial number: AK00151939 Contact name: Contact email address: Phone number: Address (line 1): Address (line 2): City: State: Zip: Country: China Country Code: CN Geography: APAC Post output to: H
35、TTPS proxy server: Mail output from: Mail on data load:Are these values okay (y/n)?: yDo you wish to schedule explorer in cron (y/n)?: nNov 20 15:39:16 MYTEST3080 explorer: Explorer defaults file updated.Nov 20 15:39:16 MYTEST3080 explorer: Run /usr/sbin/explorer with options to collect data.Note: /
36、root/.profile was created - please check/edit this file!You must log out & back in for the environment to be updatedAlternative: to test beforehand enter . /root/.profilesetup-standard completed.?# . /root/.profilerootMYTEST:/# pkg info entire | grep Version Version: 0.5.11 (Oracle Solaris
37、.0)5、安裝圖形界面solaris-desktop# pkg install solaris-desktop Packages to install: 338 Create boot environment: NoCreate backup boot environment: Yes Services to change: 14DOWNLOAD PKGS FILES XFER (MB) SPEEDCompleted 338/338 51001/51001 529.2/529.2 0B/sPHASE ITEMSInstalling new actions 82287/82287Updating
38、 package state database DoneUpdating image state DoneCreating fast lookup database Done6、開(kāi)始配置LDOM-首先配置primary域,管理域不安裝任何程序,資源各方面都不劃分太多# ldm add-vds primary-vds0 primary# ldm add-vcc port-range=5000-5100 primary-vcc0 primary# ldm add-vsw net-dev=net0 primary-vsw0 primary# ldm add-vsw net-dev=net1 prim
39、ary-vsw1 primary# ldm add-vsw net-dev=net2 primary-vsw2 primary# ldm add-vsw net-dev=net3 primary-vsw3 primary# ldm add-vdsdev options=ro /install_image/sol-11_1-text-sparc.isosol11.1primary-vds0# ldm add-vdsdev options=ro /install_image/EIS-DVD-ONE-16OCT13.isoEIS-oneprimary-vds0# ldm add-vdsdev opt
40、ions=ro /install_image/EIS-DVD-TWO-16OCT13.isoEIS-twoprimary-vds0# ldm add-vdsdev options=ro /install_image/sol-11_1-repo-full.isosol11-fullprimary-vds0# ldm set-core 1 primary -配置1個(gè)core# ldm start-reconf primaryInitiating a delayed reconfiguration operation on the primary domain.All configuration c
41、hanges for other domains are disabled until the primarydomain reboots, at which time the new configuration for the primary domainwill also take effect.# ldm set-memory 8G primary -配置8g的內(nèi)存-Notice: The primary domain is in the process of a delayed reconfiguration.Any changes made to the primary domain
42、 will only take effect after it reboots.-# ldm add-config initial# ldm add-config DONE -對(duì)配置進(jìn)行保存# ldm list-configfactory-defaultinitial current# init 6# svcadm enable vntsd# svcs |grep vntsdonline 17:28:33 svc:/ldoms/vntsd:default-配置guest域配置MYTEST1:rootMYTEST# ldm add-domain MYTEST1rootMYTEST# ldm ad
43、d-core 2 MYTEST1Must use set-core to enable the whole-core constraintrootMYTEST# ldm add-vcpu 16 MYTEST1rootMYTEST# ldm add-memory 16G MYTEST1rootMYTEST# ldm add-vnet vnet1 primary-vsw1 MYTEST1rootMYTEST# zfs create -V 150G rpool/zvol-MYTEST1 -從我們剛才的盤中劃分150g供其使用rootMYTEST# ldm add-vdsdev /dev/zvol/d
44、sk/rpool/zvol-MYTEST1MYTEST1-disk0primary-vds0rootMYTEST# ldm add-vdisk vcdromsol11.1primary-vds0MYTEST1rootMYTEST# ldm add-vdisk vdisk0MYTEST1-disk0primary-vds0MYTEST1rootMYTEST# ldm add-io /SYS/MB/PCIE0 -配置光纖口rootMYTEST# ldm list-ioNAME TYPE BUS DOMAIN STATUS- - - - -pci_0 BUS pci_0 primary IOVpci_1 BUS pci_1 primary IOVniu_0 NIU niu_0 primaryniu_1 NIU niu
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024辣椒購(gòu)銷合同爭(zhēng)議的解決方式
- 2025年度智能化廚房設(shè)備采購(gòu)與安裝一體化合同4篇
- 2025年投標(biāo)采購(gòu)心得體會(huì)總結(jié)與合同管理創(chuàng)新合同3篇
- 個(gè)人房屋轉(zhuǎn)讓協(xié)議書合同范本
- 2024年駕校場(chǎng)地使用權(quán)益轉(zhuǎn)讓合同
- 2025年度煤礦廢棄資源煤矸石回收利用合同4篇
- 2025年度油氣田鉆井工程合同執(zhí)行監(jiān)督合同范本4篇
- 全新2025年度醫(yī)療設(shè)備采購(gòu)與安裝合同5篇
- 2025版污水處理廠智能化改造與運(yùn)營(yíng)維護(hù)協(xié)議3篇
- 2025版領(lǐng)隊(duì)與紀(jì)念品供應(yīng)商合作協(xié)議范本4篇
- 2024-2030年中國(guó)護(hù)肝解酒市場(chǎng)營(yíng)銷策略分析與未來(lái)銷售渠道調(diào)研研究報(bào)告
- 人教版高中數(shù)學(xué)必修二《第十章 概率》單元同步練習(xí)及答案
- 智慧校園信息化建設(shè)項(xiàng)目組織人員安排方案
- 浙教版七年級(jí)上冊(cè)數(shù)學(xué)第4章代數(shù)式單元測(cè)試卷(含答案)
- 一病一品成果護(hù)理匯報(bào)
- AQ-T 1009-2021礦山救護(hù)隊(duì)標(biāo)準(zhǔn)化考核規(guī)范
- 鹽酸??颂婺崤R床療效、不良反應(yīng)與藥代動(dòng)力學(xué)的相關(guān)性分析的開(kāi)題報(bào)告
- 消防設(shè)施安全檢查表
- 組合結(jié)構(gòu)設(shè)計(jì)原理 第2版 課件 第6、7章 鋼-混凝土組合梁、鋼-混凝土組合剪力墻
- 建筑公司資質(zhì)常識(shí)培訓(xùn)課件
- GB/T 26316-2023市場(chǎng)、民意和社會(huì)調(diào)查(包括洞察與數(shù)據(jù)分析)術(shù)語(yǔ)和服務(wù)要求
評(píng)論
0/150
提交評(píng)論