1、华为服务器安装系统手册范本华为服务器安装redhat操作系统指导书业务IP段:10.182.80.1-10.182.80.43管理IP段:10.183.43.121-10.183.43.163主机名称:HQATMAPP(ip后两段) 例:HQATMAPP080001ROOT密码:root一、格式化Raid卡,并配置Raid。1、通过web登入服务器IPMI管理页面进入虚拟控制台(或 通过在服务器尾接入显示器)进行服务器界面。2、确认当前服务器业务均已经停止,所有数据均已备份。3、重启操作系统。根据服务器界面raid 配置提示,按键进入Raid卡配置界面。(根据不同型号的raid卡进行配置) (
2、如下图所示:) 4、通过raid卡配置界面提示,清楚当前raid卡配置。并按照需求新建raid。 (如下图所示:)按“”、“”将光标移至“SAS3108 (Bus 0x01, Dev 0x00)”。按“F2”,在弹出的列表中选择“Create Virtual Drive”,按“Enter”。参数项说明Strip Size每个硬盘上的数据条带的大小。默认配置为256KB。Read Policy虚拟磁盘的数据读策略,分以下两种: Normal:关闭预读取功能(Read Ahead)。 Ahead:使能预读取功能。控制器可以预读取顺序数据或预测需要即将使用到的数据并存储在Cache中。Write P
3、olicy虚拟磁盘的数据写策略,分以下三种: Write Back:当控制器Cache收到所有的传输数据后,将给主机返回数据传输完成信号。 Write Through:当磁盘子系统接受到所有传输数据后,控制器将给主机返回数据传输完成信号。 Write Back with BBU:在控制器无BBU(Battery Backup Unit)或BBU损坏的情况下,控制器将自动切换到Write Through模式。默认为该策略。I/O Policy应用于特殊的虚拟磁盘读取,不影响预读取Cache。分以下两种: Direct:直接读取并不在Cache中缓存。 Cached:所有的读取在Cache中缓存。
4、说明: “Direct”为一般配置下的推荐模式,当使用CacheCade时推荐“Cached”模式。Disk cache Policy物理磁盘Cache策略: Eanble:读写过程中数据经过硬盘写Cache,使写性能提升,但当系统意外掉电时,如果没有保护机制,数据会丢失。 Disable:读写过程中数据不经过硬盘写Cache,当系统意外掉电时,数据不会丢失。 Unchanged:保持当前磁盘Cache策略。Initialize选中“Initialize”后,RAID创建完成后自动进行快速初始化操作。初始化会破坏RAID组成员盘上数据。选中后,会在前方显示“X”。Configure HotSp
5、are为RAID组配置热备盘。选中后,会在前方显示“X”。创建RAID 0时,该参数无效。创建完成后如下:大数据raid配置需求5、检查当前Raid配置是否符合需求。确认完毕后,重启服务器。二、安装操作系统。1、通过服务器光驱插入光盘(或通过服务器IPMI管理页面中,虚拟光驱加载挂在本地ISO镜像)来进行安装操作系统。 2、当服务器成功加载系统ISO后,根据当前页面提示来进行安装系统操作。3、成功加载系统镜像后,进入安装系统操作。 4、请根据当前业务需求来配置系统主机名、系统分区、以及系统所需要的安装包来进行操作。 大数据安装系统分区要求:Master 节点:Slave 节点/ 20G/boo
6、t 100M/opt 剩余所有空间/srv/BigData 20G/tmp 20G/var 10G/var/log 200G /home 50G5、选择好如上需求后,根据系统提示,进行下一步操作。直到系统安装完成。 三、系统安装完成后,检查当前配置1、根据客户需求,检查当前系统分区配置是否符合要求。 如下所示: # fdisk -lWARNING: GPT (GUID Partition Table) detected on /dev/sdb! The util fdisk doesnt support GPT. Use GNU Parted.Disk /dev/sdb: 3000.0 GB,
7、 2999999004672 bytes255 heads, 63 sectors/track, 364729 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000 Device Boot Start End Blocks Id System/dev/sdb1 1 267350
8、2147483647+ ee GPTWARNING: GPT (GUID Partition Table) detected on /dev/sdc! The util fdisk doesnt support GPT. Use GNU Parted.Disk /dev/sdc: 3000.0 GB, 2999999004672 bytes255 heads, 63 sectors/track, 364729 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512
9、bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000 Device Boot Start End Blocks Id System/dev/sdc1 1 267350 2147483647+ ee GPTWARNING: GPT (GUID Partition Table) detected on /dev/sdd! The util fdisk doesnt support GPT. Use GNU Parted.Disk /dev/sdd: 3000.0 G
10、B, 2999999004672 bytes255 heads, 63 sectors/track, 364729 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000 Device Boot Start End Blocks Id System/dev/sdd1 1 26735
11、0 2147483647+ ee GPTWARNING: GPT (GUID Partition Table) detected on /dev/sdf! The util fdisk doesnt support GPT. Use GNU Parted.Disk /dev/sdf: 3000.0 GB, 2999999004672 bytes255 heads, 63 sectors/track, 364729 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 51
12、2 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000 Device Boot Start End Blocks Id System/dev/sdf1 1 267350 2147483647+ ee GPTWARNING: GPT (GUID Partition Table) detected on /dev/sde! The util fdisk doesnt support GPT. Use GNU Parted.Disk /dev/sde: 3000.0
13、 GB, 2999999004672 bytes255 heads, 63 sectors/track, 364729 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000 Device Boot Start End Blocks Id System/dev/sde1 1 267
14、350 2147483647+ ee GPTDisk /dev/sda: 599.0 GB, 598999040000 bytes255 heads, 63 sectors/track, 72824 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00007bd8 Device Boot S
15、tart End Blocks Id System/dev/sda1 * 1 13 102400 83 LinuxPartition 1 does not end on cylinder boundary./dev/sda2 13 72825 584856576 8e Linux LVMDisk /dev/mapper/rootvg-LogVol00: 21.0 GB, 20971520000 bytes255 heads, 63 sectors/track, 2549 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSecto
16、r size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000Disk /dev/mapper/rootvg-LogVol05: 315.8 GB, 315776565248 bytes255 heads, 63 sectors/track, 38390 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/p
17、hysical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000Disk /dev/mapper/rootvg-LogVol04: 21.0 GB, 20971520000 bytes255 heads, 63 sectors/track, 2549 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes
18、/ 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000Disk /dev/mapper/rootvg-LogVol01: 10.5 GB, 10485760000 bytes255 heads, 63 sectors/track, 1274 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size
19、(minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000Disk /dev/mapper/rootvg-LogVol03: 21.0 GB, 20971520000 bytes255 heads, 63 sectors/track, 2549 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 5
20、12 bytes / 512 bytesDisk identifier: 0x00000000Disk /dev/mapper/rootvg-LogVol02: 209.7 GB, 209715200000 bytes255 heads, 63 sectors/track, 25496 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 by
21、tesDisk identifier: 0x00000000# df -h Filesystem Size Used Avail Use% Mounted on/dev/mapper/rootvg-LogVol00 20G 1.9G 17G 11% /tmpfs 63G 0 63G 0% /dev/shm/dev/sda1 97M 35M 58M 38% /boot/dev/mapper/rootvg-LogVol05 286G 194M 271G 1% /opt/dev/mapper/rootvg-LogVol04 20G 172M 19G 1% /srv/BigData/dev/mappe
22、r/rootvg-LogVol03 20G 172M 19G 1% /tmp/dev/mapper/rootvg-LogVol01 9.7G 213M 9.0G 3% /var/dev/mapper/rootvg-LogVol02 190G 198M 181G 1% /var/log2、检查当前服务器系统中服务是否开启。# chkconfig -list iptablesiptables 0:off 1:off 2:off 3:off 4:off 5:off 6:offsestatus -vSELinux status: disabled3、根据客户要求关闭相应服务。 Selinux 的配置文
23、件在/etc/selinux/confVi /etc/selinux/conf 编辑selinux的配置文件将其中的selinux=permissive 更改为selinux=disabled保存后退出,并重启系统。保证更改生效!配置双网卡绑定。Bond举例(redhat)以将eth0及eth1组成Bond为例:新建:/etc/sysconfig/network-scripts/ifcfg-bond0,输入以下内容:DEVICE=bond0ONBOOT=yesNETMASK=xxx.xxx.xxx.xxxIPADDR=xxx.xxx.xxx.xxxGATEWAY=xxx.xxx.xxx.xxx
24、分别修改ifcfg-eth0/ifcfg-eth1并保存/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0ONBOOT=yesMASTER=bond0 bootproto=none SLAVE=yes/etc/sysconfig/network-scripts/ifcfg-eth1DEVICE=eth1 ONBOOT=yes MASTER=bond0 bootproto=none SLAVE=yes在命令行中执行命令:echo alias bond0 bonding /etc/modprobe.d/bonding.confecho options bond0 miimon=100 mode=1 /etc/modprobe.d/bonding.conf重启网络服务:service network restart或者ifup bond04、确认当前服务器网络连接是否正常。 通过当前配置IP ping 网关来确认当前IP可以正常通信。5、由客户在场确认无误后,交付于客户使用。
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1