




免费预览已结束,剩余8页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
随着oracle对sun的整合,sun的小型机又开始杀回来了!目前t4系列的cpu主频已经达到3.0,而线程数,每个core为8个进程。t5系列的cpu主频达到了3.6,进程达到16。经过几年的发展,其性价比得到了非常充分的体现。solaris11,其针对oracle进行了优化,其性能得到了相当大的提升,大有打破ibm一家垄断的局面。ldom,也是虚拟化的一种,相当于lpar,从硬件层面对小机进行分区。下面就分区的过程分享给大家t4小机划分ldom过程本操作从小机加电开始操作,所有过程都是一步一步的贴出来!1、配置管理口IP地址set /SP/network/ pendingipaddress=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分区模式,用于各ldom分区共享!说明:也可以考虑将盘进行分组,每个分区独享磁盘,我这里是为了方便!-查看各个磁盘情况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 0Target 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 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 SASDeviceName 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 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 you want? 1713750Volume size will be 3509760000 Blocks, 1796 GBEnter a volume name: 0 to 15 charactersVolume has been created在这里,可以看到r10的模式已经建好!再次查看,验证创建情况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 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 Progress 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 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、开始安装Solaris11.1的操作系统从光盘启动,t4是带光驱的,所以这点比较方便0 ok boot rcdrom - installBoot device:/pci400/pci1/pci0/pcib/pci0/usb0,2/hub2/hub3/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-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. 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: 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:安装过程比较简单,就不再赘述,基本上都可以完成。在安装的过程中,我们采用的是text的方式进行的!安装完成后,要用root登录ldom,必须调整这个,确保root用户可以登录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=roleadmin:lock_after_retries=no;profiles=System Administrator;roles=root-将root:type=role这一条注释掉4、安装EIS patchEIS英文原名叫Enterprise Installation Standard,其中包含了大部分SUN产品的补丁,不限于solaris操作系统和软件,硬件的固件补丁也在其列;还有一部分就是SUN常用的软件,例如cluster,CAM等等。设置pkg publisher# pkg set-publisher -G * -M * -gfile:/sol11-repo/reposolaris运行setup-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: Version: 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 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) SPEEDCompleted 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 .6 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/1405Updating 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 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 7/7 0.1/0.1 0B/sPHASE ITEMSInstalling new actions 25/25Updating package state database DoneUpdating image state DoneCreating 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 * * - 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, 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 tocountries 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 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 Explorer 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:Contact 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 be sent to Oracle or alternatedestinations.Target:/curlSend 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, such 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. When 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: HTTPS 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: /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 .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 package state database DoneUpdating image state DoneCreating fast lookup database Done6、开始配置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 primary-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 options=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个core# ldm start-reconf primaryInitiating a delayed reconfiguration operation on the primary domain.All configuration changes 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的内存-Notice: The primary domain is in the process of a delayed reconfiguration.Any changes made to the primary domain will only take effect after it reboots.-# ldm add-config initial# ldm add-config DONE -对配置进行保存# 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 add-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/dsk/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
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 美工技术面试题目及答案
- 建设银行2025扬州市秋招笔试创新题型专练及答案
- 建设银行2025陇南市信息科技岗笔试题及答案
- 2025年3D打印技术的生物材料打印
- 邮储银行2025亳州市秋招无领导模拟题角色攻略
- 2025行业技术革新趋势报告
- 2025网络安全投资分析
- 工商银行2025中山市秋招笔试性格测试题专练及答案
- 交通银行2025吉安市金融科技岗笔试题及答案
- 工商银行2025丽江市笔试英文行测高频题含答案
- 《食安南京品牌建设指南》
- 2024年湖南交通职业技术学院高职单招(英语/数学/语文)笔试历年参考题库含答案解析
- 媒介文化与休闲异化
- 精神障碍社区康复服务投标方案技术标
- 初级电工技能培训一-电工常用工具
- 可爱的中国教案全册
- 小数除法竖式专项计算144题(有答案)
- 婚姻家庭咨询师(三级)电子教材
- 平凉市崆峒区大寨乡柳沟村地热水矿产资源开发利用方案
- 隧道安全质量培训课件
- 六年级上册语文期末复习句子专项训练及答案
评论
0/150
提交评论