RHEL55和TSM62安装包括RHCSTSM for SAPOracle客户端.docx
- 文档编号:3814122
- 上传时间:2022-11-25
- 格式:DOCX
- 页数:68
- 大小:2.46MB
RHEL55和TSM62安装包括RHCSTSM for SAPOracle客户端.docx
《RHEL55和TSM62安装包括RHCSTSM for SAPOracle客户端.docx》由会员分享,可在线阅读,更多相关《RHEL55和TSM62安装包括RHCSTSM for SAPOracle客户端.docx(68页珍藏版)》请在冰豆网上搜索。
RHEL55和TSM62安装包括RHCSTSMforSAPOracle客户端
RHAP5+RHCS+TSM6.2IBMX3850-X5服务器系统安装文档
2011年7月21日
目录
第一部分:
X3850-X5上架和Linux安装3
1.机器上架3
2.安装LinuxAP5系统。
3
第二部分:
RedHatLinuxCluster的配置5
1.安装RHCS软件5
2.配置Cluster6
3.配置GFS213
第五部分:
TSM的安装/配置15
1.配置STKL180tapelibrarydriver(Linux).15
2.Windows下安装设备驱动:
16
3.安装TSM软件:
18
4.创建TSMdomain,配置TSMclient,配置StorageAgent:
39
5.修改TSM配置,以便TDPforSAP的安装:
53
6.安装TDPforSAP56
7.测试:
63
8.安装TDPforOracleonWin2K864bit65
第六部分:
遇到的问题67
DiskHeuristic:
Ping–c3–t210.119.47.25467
辅助性脚本,用来安装每台Linux机器的StorageAgent.67
系统备份69
第一部分:
X3850-X5上架和Linux安装
1.机器上架
每台机器间留大约1U空间用于通风。
安装KVM。
2.安装LinuxAP5系统。
安装过程的磁盘分区按照用户建议采用/dev/sdxx的方式,不使用LVM管理。
输入LinuxAP5的安装序列号,2515dd4e215225dd/49af89414d147589
安装的分区大概占用100多G,/files目录占用150G,还剩下40多G。
文件系统类型选ext3.
选择SElinux为permissive或disabled.
否则有些程序无法运行。
在/boot/grub/menu.lst中,有:
#grub.confgeneratedbyanaconda
#
#Notethatyoudonothavetorerungrubaftermakingchangestothisfile
#NOTICE:
Youhavea/bootpartition.Thismeansthat
#allkernelandinitrdpathsarerelativeto/boot/,eg.
#root(hd0,0)
#kernel/vmlinuz-versionroroot=/dev/sda10
#initrd/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
titleRedHatEnterpriseLinuxServer(2.6.18-275.el5)
root(hd0,0)
kernel/vmlinuz-2.6.18-275.el5roroot=LABEL=/rhgbquiet
initrd/initrd-2.6.18-275.el5.img
titleRedHatEnterpriseLinuxServer(2.6.18-194.el5)
root(hd0,0)
kernel/vmlinuz-2.6.18-194.el5roroot=LABEL=/rhgbquiet
initrd/initrd-2.6.18-194.el5.img
titleRedHatEnterpriseLinuxServer(2.6.18-194.el5xen)
root(hd0,0)
kernel/xen.gz-2.6.18-194.el5
module/vmlinuz-2.6.18-194.el5xenroroot=LABEL=/rhgbquiet
module/initrd-2.6.18-194.el5xen.img
建议使用titleRedHatEnterpriseLinuxServer(2.6.18-275.el5)引导,否则会有GFS2的错误。
而使用xen的核心,则只能使用32G内存。
升级内核到:
titleRedHatEnterpriseLinuxServer(2.6.18-275.el5)
root(hd0,0)
kernel/vmlinuz-2.6.18-275.el5roroot=LABEL=/rhgbquiet
initrd/initrd-2.6.18-275.el5.img
使用新的内核,防止gfs2bug.
第二部分:
RedHatLinuxCluster的配置
1.安装RHCS软件
在初始安装Redhat5AP时,没有安装Cluster/ClusterStorage.需要手工安装:
首先,将光盘mount:
/dev/hda361669036166900100%/media/RHEL_5.5x86_64DVD
然后,
#cd/etc/yum.repos.d
根据光盘内容,建立三个文件:
[root@pipro01yum.repos.d]#moreServer.repo
[Server]
enabled=1
name=Server
baseurl=file:
///media/RHEL_5.5%20x86_64%20DVD/Server
gpgcheck=0
[root@pipro01yum.repos.d]#moreCluster.repo
[Cluster]
enabled=1
name=cluster
baseurl=file:
///media/RHEL_5.5%20x86_64%20DVD/Cluster
gpgcheck=0
[root@pipro01yum.repos.d]#moreClusterStorage.repo
[ClusterStorage]
enabled=1
name=clusterstorage
baseurl=file:
///media/RHEL_5.5%20x86_64%20DVD/ClusterStorage
gpgcheck=0
[root@pipro01yum.repos.d]#
Cluster软件位于Cluster/ClusterStorage中。
首先使用#yumgrouplist列出现有的软件组:
….
AvailableGroups:
ClusterStorage
Clustering
EngineeringandScientific
GamesandEntertainment
MySQLDatabase
NewsServer
PostgreSQLDatabase
Done
然后安装’ClusterStorage’,‘Clustering’:
[root@pipro01yum.repos.d]#yumgroupinstall'ClusterStorage'
[root@pipro01yum.repos.d]#yumgroupinstall'Clustering'
安装完成。
2.配置Cluster
首先配置fence设备IPMI:
首先使用网络连接Sysmgt口(BMC/IPMINIC)到交换机。
然后配置:
#chkconfigipmion
#serviceipmistart
#dmesg
….
ipmimessagehandlerversion39.1
IPMISystemInterfacedriver.
ipmi_si:
TryingSMBIOS-specifiedkcsstatemachineati/oaddress0xca2,slaveaddress0x20,irq0
ipmi:
FoundnewBMC(man_id:
0x000002,prod_id:
0x00fa,dev_id:
0x20)
IPMIkcsinterfaceinitialized
ipmideviceinterface
#ipmitoollanset1ipsrcstatic
#ipmitoollanset1ipaddr192.168.70.36
#ipmitoollanset1netmask255.255.255.0
#ipmitoollanset1defgwipaddr192.168.70.254
#ipmitoollanset1arprespondon
#ipmitoollanset1arpgenerateon
#ipmitoollanset1arpinterval5
#ipmitoollanset1user
#ipmitoollanset1accesson
#ipmitooluserlist1
IDNameEnabledCallinLinkAuthIPMIMsgChannelPrivLimit
1truetruefalsetrueADMINISTRATOR
2USERIDtruetruefalsetrueADMINISTRATOR
#ipmitoolusersetname2root
#ipmitoolusersetpassword2passw0rd
#ipmitoollanprint1
SettingLANDefaultGatewayIPto192.168.70.254
[root@pipro01cluster]#ipmitoollanprint1
SetinProgress:
SetComplete
AuthTypeSupport:
NONEMD2MD5PASSWORD
AuthTypeEnable:
Callback:
:
User:
MD2MD5PASSWORD
:
Operator:
MD2MD5PASSWORD
:
Admin:
MD2MD5PASSWORD
:
OEM:
IPAddressSource:
StaticAddress
IPAddress:
192.168.70.36
SubnetMask:
255.255.255.0
MACAddress:
5c:
f3:
fc:
95:
00:
d5
SNMPCommunityString:
public
IPHeader:
TTL=0x40Flags=0x40Precedence=0x00TOS=0x10
BMCARPControl:
ARPResponsesEnabled,GratuitousARPEnabled
GratituousARPIntrvl:
5.0seconds
DefaultGatewayIP:
192.168.70.254
DefaultGatewayMAC:
00:
00:
00:
00:
00:
00
BackupGatewayIP:
0.0.0.0
BackupGatewayMAC:
00:
00:
00:
00:
00:
00
802.1qVLANID:
Disabled
802.1qVLANPriority:
0
RMCP+CipherSuites:
0,1,2,3,4
CipherSuitePrivMax:
uaaaaXXXXXXXXXX
:
X=CipherSuiteUnused
:
c=CALLBACK
:
u=USER
:
o=OPERATOR
:
a=ADMIN
:
O=OEM
#ipmitooluserlist1
IDNameEnabledCallinLinkAuthIPMIMsgChannelPrivLimit
1truetruefalsetrueADMINISTRATOR
2roottruetruefalsetrueADMINISTRATOR
测试:
#ipmitool-Ilan-H192.168.70.36-Uroot-Ppassw0rdchassisstatus
SystemPower:
on
PowerOverload:
false
PowerInterlock:
inactive
MainPowerFault:
false
PowerControlFault:
false
PowerRestorePolicy:
previous
LastPowerEvent:
ChassisIntrusion:
inactive
Front-PanelLockout:
inactive
DriveFault:
false
Cooling/FanFault:
false
配置quorumdisk:
QuorumDisk不能使用lvm管理下的磁盘,具体解释参见Cluster相关官方文档,直接使用/dev/emcpowerb1.
#mkqdisk–c/dev/emcpowerb1–lqdisk_pipro
-lqdisk_pipro(是卷标,后面会用到)
#mkqdisk–L(查看效果,两台机器上看到的应该一样)
使用system-configure-cluster配置cluster,相当简单:
创建cluster:
Multicast没有选(cman会自动设置一个),选择Quorumdisk,QuorumdiskHeuristic.
Quorumdiskconfig:
Interval:
1
TKO:
10
Votes:
1
MinimumScore:
1
Device:
Label:
qdisk_pipro
QuorumDiskHeuristic:
Program:
ping-c2-t2192.xxx.3.254(此处最好创建两个ping)
Score:
1
Interval:
2
然后创建节点,每个节点的votes=1.
创建fence设备,选择IBMipmi_lan,输入ipmi_lan的名称,用户名,密码和IP地址,auth方式password.
然后将这两个fence设备绑定到两个节点。
然后创建resource,一个是浮动IP,192.xxx.3.9,选择MonitorLink,另一个resource是script,路径为/sapscripts/SAPscript,名称为sapscript(将/sapscripts/SAPscript拷贝到两台机器上)
创建Failoverdomain,pi_dm,将两个节点选中,其他的选项依照需求,加以选择。
创建Service:
pi_ip_sap,然后,选择autostart,relocateservice,和pi_dm域。
然后attachasharedresourcetoservice,选择IP,和Script.
将这两个资源都绑定到服务pi_ip_sap.
然后保存,退出。
#scp/etc/cluster/cluster.confpipro2:
/etc/cluster/cluster.conf
依次在两台机器上启动:
#servicecmanstart
#serviceqdiskdstart
#serviceclvmdstart
#servicegfs2start
#servicergmanagerstart
使用clustat观察cluster状态。
#tail–f/var/log/messages观察cluster输出日志。
设置自动启动cluster:
#chkconfigcmanon
#chkconfigqdiskdon
#chkconfigclvmdon
#chkconfiggfs2on
#chkconfigrgmanageron
在关机时,出现:
CMAN:
Stoppingcluster:
Stoppingfencing...done
Stoppingcman...failed
/usr/sbin/cman_tool:
Errorleavingcluster:
Deviceorresourcebusy
[FAILED]
出现此故障的原因是clvm在gfs2之前停止,但是由于gfs2没有停止,所以clvmd停止失败,导致cman停止也失败。
在/etc/rc.d/rc0.d,rc1.d,rc6.d中:
[root@eppro02rc1.d]#ls-l*gfs2*
lrwxrwxrwx1rootroot14Aug1015:
16K73gfs2->../init.d/gfs2
lrwxrwxrwx1rootroot14Aug611:
09K74gfs2->../init.d/gfs2
[root@eppro02rc1.d]#ls-l*clvm*
lrwxrwxrwx1rootsapinst15Aug819:
09K74clvmd->../init.d/clvmd
添加新的停止脚本K73gfs2,如下:
[root@srmpro01rc0.d]#ln-s../init.d/gfs2K73gfs2
这样保证gfs2在clvmd之前停止(K74clvmd).
这样,再重新启动时就不会有类似错误。
然后,拔掉网线进行测试。
脚本如下:
/etc/cluster/cluster.conf:
[root@eppro01~]#more/etc/cluster/cluster.conf
xmlversion="1.0"?
>
core="1"tko="10"votes="1"> core="1"/> 68.70.34"login="root"name="ipmi-34"passwd="passw0rd"/> 68.70.35"login="root"name="ipmi-35"passwd="passw0rd"/> 1"> > > overy="relocate"> /sapmnt/SAPscritp: #/sapmnt/SAPscritp: #! /bin/bash # #StartupscriptforSAP # #chkconfig: -9236 #processname: #config: #Sourcefunctionlibrary. ./etc/rc.d/init.d/functions #Sourcefunctionlibrary. if[-f/etc/init.d/functions];then ./etc/init.d/functions elif[-f/etc/rc.d/init.d/functions];then ./etc/rc.d/init.d/functions else exit0 fi #Somedefinitions. RETVAL=0 # start(){ echo-n$"StartingSAP" su-oraep2-c"lsnrctlstart" su-oraep
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- RHEL55和TSM62安装包括RHCSTSM for SAPOracle客户端 RHEL55 TSM62 安装 包括 RHCSTSM SAPOracle 客户端
![提示](https://static.bdocx.com/images/bang_tan.gif)