如何理解“云计算”,中国的中国云计算产业发展前景

ThinkServer服务器远程管理模块的配置使用_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
ThinkServer服务器远程管理模块的配置使用
上传于|0|0|文档简介
&&ThinkServer服务器远程管理模块的配置使用
阅读已结束,如果下载本文需要使用1下载券
想免费下载本文?
定制HR最喜欢的简历
下载文档到电脑,查找使用更方便
还剩6页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢4270人阅读
系统维护(4)
我使用的服务器是联想ThinkServer TD340,与一哥们遇到完全一样的问题,就是安装时可以识别RAID并且分区没问题,但是在grub写入时,出现错误,无论选择/dev/md126还是其他的选项,都是错误。感谢本文作者和转载者,把我从两天的折腾中解救了出来!!
关键点是在安装ubuntu的时候,安装grub所产生了错误,导致系统无法启动。其实ubuntu 12.04已经支持了这块服务器的megaraid软RAID的驱动,在内核目录能看到驱动程序(也可以从官网上下载)。所以在做分区的时候,其实也是能搜索到这个磁盘的,只是dev的名字有点怪,叫/dev/md126
关键点是需要手工echo &(hd0) /dev/md126&&&&/boot/device.map?,然后grub-install 到/dev/md126上。
因为在raid的安装上,如果要mount到合适的/boot分区,就必须mount到/dev/md126pX这种设备上,而这些设备是没有所谓MBR的,而GRUB的安装参数则必须要放到/dev/md126上,这个小小的差异就导致了问题。
The point is error of install grub to the mega raid disk.
The way to get through this problem is :
I suppose your RD330 is the default BIOS setup (include the RAID setup).
And you need a DVD of Ubuntu amd64 installation.
And then you can boot up from the DVD, install the Ubuntu step by step.
In the step of partition, install program will report that it found a ATA-RAID device, you should chose &use it&, then you will partition the hard-disk by manual, I use the full disk for &/& root directory. You should note that, the disk device file is strange--/dev/md126p1,
/dev/md126p2, /dev/md126p5...
OK, you should go next, until you got the error &install GRUB to disk& step. Don't worry, just go through, and restart by DVD againt.
Once you restart , you should enter the ubuntu command-line mode provided by the DVD.
Now we start to install GRUB by our hand:
# mount /dev/md126p1 /target
if you had partition the /home to a seperated partition, you should do next:
# mount /dev/md126pX /target/home
&X& is your partion dev number, you should know it from prev installation process.
# mount -o bind /proc /target/proc
# mount -o bind /sys /target/sys
# mount --rbind /dev /target/dev
(Now we do a chroot to the mount system.)
?# chroot /target /bin/bash
(Now create the file device.map, used by GRUB.)
# echo &(hd0) /dev/md126& & /boot/device.map?
NOTE THAT: use /dev/md126, NOT /dev/md126p1, it should the &md126&!
# cp /boot/device.map /boot/grub/
Now install grub
# grub-install --root-directory=/ /dev/md126
# grub-setup /dev/md126
我电脑上没有此工具,不执行也没什么问题。
?# update-grub?
It will build the file: /boot/grub/grub.cfg
The key process is&# echo &(hd0) /dev/md126& & /boot/device.map?
Becaulse the Ubuntu installation program use the /target partition /dev/md126p1 directory in grub-install, so it can't be done in a raid. The RAID MBR is not on the first partition /dev/md126p1, &but on the base devices file /dev/md126.
&&相关文章推荐
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:64474次
排名:千里之外
原创:29篇
评论:12条
(1)(1)(1)(2)(1)(1)(1)(1)(1)(1)(1)(1)(5)(1)(1)(1)(2)(10)在强制使用software&raid的联想ThinkServer&RD330服务器安装UBUNTU的经验
关键点是在安装ubuntu的时候,安装grub所产生了错误,导致系统无法启动。其实ubuntu
12.04已经支持了这块服务器的megaraid软RAID的驱动,在内核目录能看到驱动程序(也可以从官网上下载)。所以在做分区的时候,其实也是能搜索到这个磁盘的,只是dev的名字有点怪,叫/dev/md126
关键点是需要手工echo "(hd0) /dev/md126" &
/boot/device.map
,然后grub-install 到/dev/md126上。
因为在raid的安装上,如果要mount到合适的/boot分区,就必须mount到/dev/md126pX这种设备上,而这些设备是没有所谓MBR的,而GRUB的安装参数则必须要放到/dev/md126上,这个小小的差异就导致了问题。
The point is error of install grub to the mega raid disk.
The way to get through this problem is :
I suppose your RD330 is the default BIOS setup (include the RAID
And you need a DVD of Ubuntu amd64 installation.
And then you can boot up from the DVD, install the Ubuntu step by
In the step of partition, install program will report that it found
a ATA-RAID device, you should chose "use it", then you will
partition the hard-disk by manual, I use the full disk for "/" root
directory. You should note that, the disk device file is
strange--/dev/md126p1, /dev/md126p2, /dev/md126p5...
OK, you should go next, until you got the error "install GRUB to
disk" step. Don't worry, just go through, and restart by DVD
Once you restart , you should enter the ubuntu command-line mode
provided by the DVD.
Now we start to install GRUB by our hand:
# mount /dev/md126p1
if you had partition the /home to a
seperated partition, you should do next:
# mount /dev/md126pX /target/home
"X" is your partion dev number, you should know it from prev
installation process.
# mount -o bind /proc
/target/proc
# mount -o bind /sys /target/sys
# mount --rbind /dev /target/dev
(Now we do a chroot to the mount

# chroot /target
(Now create the file device.map, used by GRUB.)
# echo "(hd0) /dev/md126" & /boot/device.map

NOTE THAT: use /dev/md126, NOT /dev/md126p1, it should the
# cp /boot/device.map /boot/grub/
Now install grub
# grub-install --root-directory=/ /dev/md126
# grub-setup /dev/md126

# update-grub
grub
It will build the file: /boot/grub/grub.cfg
The key process is&# echo "(hd0) /dev/md126" &
/boot/device.map

Becaulse the Ubuntu installation program use the /target partition
/dev/md126p1 directory in grub-install, so it can't be done in a
raid. The RAID MBR is not on the first partition /dev/md126p1,
&but on the base devices file /dev/md126.
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。一:服务器概况
  服务器是联想旗下ThinkServer品牌TD340型号服务器,服务器标配32G内存,1T硬盘。其中服务器使用RAID(磁盘阵列)技术,拥有一个RAID卡,服务器标配一个大小为1T的磁盘,可以通过插入更多磁盘的方式来扩展服务器容量。此时需要使用RAID卡来管理多磁盘的情况,即使只有一个磁盘的情况下,服务器也使用raid卡来管理磁盘。因此在为服务器安装操作系统的情况下,需要特别考虑RAID卡驱动的情况,没有相应驱动支持的操作系统是无法安装到本本服务器中的。联想官方支持的操作系统是red hat enterprice linux和suse enterprise版本,另外有具体的型号要求。因为cent os系统与red hat enterprice linux拥有相同的内核,因此可以使用rhel的驱动来安装cent os操作系统,但是要注意版本对应。
二:red hat安装
  联想官方支持red hat enterprice linux 6.4,6.5,7.0版本(包括32位与64位)和suse的操作系统。服务器附带一个引导光盘,引导光盘可以帮助安装官方支持的操作系统。
  首先需要在引导光盘中新建一个raid控制器,然后选择安装特定的操作系统。没有新建控制器的情况下是无法选择新建操作系统的,选择要安装的操作系统并且完成相应的常规配置后服务器重启。重启进入系统后按F1键进入boot选项,选择通过RAID Controller进入系统,此时系统会提示插入相应版本的安装光盘,下面按照提示步骤就可以顺利完成系统的安装。(因为在系统引导阶段进行了一些基本的安装配置,在利用装机光盘安装系统时跳过一些基本的配置直接进入系统安装阶段。)  
三:cent os安装
  因为cent os操作系统与red hat系统拥有相同的内核,因此可以使用red hat的驱动在服务器上安装cent os操作系统。因为cent os不是官方支持的操作系统,因此无法使用引导盘引导安装。但是需要使用引导光盘来下载相应版本的red hat驱动来供cent os系统安装使用。将一个u盘插入服务器,选择相应的服务器版本后可以点击保存按钮来将驱动保存到u盘中。安装cent os时需要安装光盘和u盘同时插入系统。利用光盘安装操作系统,利用u盘来加载驱动。
  在进入系统时,选择raid controller进入系统,系统会自动从光盘加载操作系统安装文件。在进入cent os安装界面时,使用tab键进入一个命令编辑界面,在原有命令的基础上键入 linux dd blacklist=isci quiet然后按回车进入安装界面。进入安装界面时,系统会提示选择保存驱动程序的驱动盘。通过查找u盘中的文件找到一个img文件来加载驱动。U盘中保存的文件就是通过引导光盘安装的驱动文件。在这些文件中不是所有的img文件都是可用的,如果不可用可以继续加载其他img驱动文件,如果img可用则不会报错(根据经验最好加载所有的img文件进行尝试,以防止缺失驱动)。然后就根据提示安装系统,安装成功重启动系统时,第一次启动cent os可能花费很长时间,请耐心等待。
&&&&&& 在为TD340安装操作系统的过程中,最核心的内容就是RAID驱动问题,这一点也是服务器安装系统与普通PC安装系统的最大不同之处。服务器相比于普通PC机而言多了很多其他设备,这些设备要想正常在安装过程中被识别出来是需要驱动程序支持的,普通的操作系统安装镜像可能没有包括这些驱动,此时需要在安装过程中手动加载这些驱动程序。
阅读(...) 评论()实验环境:
1、服务器型号 ThinkServer RD450
2、四块1TB普通SATA硬盘
实验目的:
配置RAID 5 ,搭建公司文件共享服务器使用。
标注:本教程四块硬盘全做RAID 5,如果有一块硬盘损坏及时更换数据恢复是没问题,如果有两块或两块以上硬盘损坏就会发生灾难性数据损坏,建议有可靠的外置备份服务器可以全做RAID 5。
1、开机 ---- 按F1键进入BIOS &---- &Boot& Manager ---- Adapters& and& UEFI& Drivers
2、选择Lenovo& THinkServer& RAID& 110i 进行配置
3、选择Virtual& Drive& Management (虚拟驱动管理器)
4、选择 Create& Configuration (创建配置)
5、选择 Select& RAID& Level (选择 RAID 级别)&& ----&& 选择RAID5进行确认选择
6、选择 Select& Drivers (选择驱动程序)
7、四块硬盘全选择Enabled&& ----&& 选择Apply& Changes (应用更改)
8、选择 OK
9、选择 Save& Configuration& (保存配置)
10、选择Yes
11、选择 OK
12、选择 Virtual& Drive& Management& (虚拟驱动管理器)
13、选择 Select& Virtual& Drive& Operations& (选择虚拟驱动器操作)
14、选择 Virtual& Drive& Operation& (虚拟驱动器操作)& ----&& 选择 Fast& Initialization& (快速初始化)
15、选择 Start& Operation& (开始操作)
16、选择 Yes
17、选择 OK&
18、按F10退出并保存
阅读(...) 评论()

我要回帖

更多关于 中国云计算产业发展前景 的文章

 

随机推荐