1、CMCMOD记录1.CM系统管理1.1 WAS部署相关问题1)两边WAS的profile路径必须一致 #was数据源要求2)主机名不能有下划线 #was要求3)两边的hosts文件中相关主机名要和was的配置信息一致 #was要求,was会根据主机名信息loopback4)创建profile的命令:manageprofiles.sh -create -templatePath/usr/IBM/WebSphere/AppServer/profileTemplates/default -profileName . -profilePath . -hostName localhost/hostnam
2、e命令输出 #如果是单APPSERVER,选择default模板5)icmrm应用如果不能访问,首先需要测试数据源是否通6)安装部署完CM以后,需要重启WAS,不然ICMRM应用测试失败。ICMRM应用程序需要起来数据源才能测试通过。7)删除profile的命令 manageprofiles.sh -delete -profileName icmrm18)addNode.sh用法addNode dmgr_host dmgr_port9)启用安全性验证(WAS 6.1)1.2 服务器主机名不能带下划线1.3 系统管理客户机 配置日志 报错:客户端缺少C:Progra1IBMdb2cmv8cmgm
3、tconnectorscmblogconfig.properties配置文件可以从C:Program FilesIBMdb2cmv8configbase位置拷贝过来1.4 DKLOG日志文件cmblogconfig.properties file is located in IBMCMROOTTip: Make a backup of cmblogconfig.properties before you make any modifications.1.4 ICM9950错误/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/
4、rm/icmrm/icmrm.logfileICMRM:WARN 2010-01-12 09:44:01.734000 context: WebContainer : 2 - TSMManager.dsmSetUp() : fail, rc= 400 Attempt to set up multi-thread mode fail, cannot support concurrent access to the TSM server - dsmSetUp(TSMConnection.java:738)ICMRM:WARN 2010-01-12 09:44:01.735000 context:
5、WebContainer : 2 - TSM setup has failed earlier, check dsm options and restart RM. - createTSMHandle(TSMConnection.java:279)ICMRM:ERROR 2010-01-12 09:44:01.735000 context: WebContainer : 2 - com.ibm.mm.icmrm.exceptions.RMSMSException: ICM9950: Undefined Tivoli Storage Managermanagement class: CMMGMT
6、, Return Code: 9950 - doCreateEntity(RMSMSServer.java:538)com.ibm.mm.icmrm.exceptions.RMSMSException: ICM9950: Undefined Tivoli Storage Manager management class: CMMGMT, Return Code: 9950 at com.ibm.mm.icmrm.rmapi.sms.RMSMSDatastore.addVolume(RMSMSDatastore.java:384) at munication.RMSMSServer.doCrea
7、teEntity(RMSMSServer.java:495) at munication.RMSMSServer.handleRequest(RMSMSServer.java:307) at munication.ICMResourceManager.handleRequest(ICMResourceManager.java:992) at munication.ICMResourceManager.doPost(ICMResourceManager.java:888) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763
8、) at munication.ICMResourceManager.service(ICMResourceManager.java:856) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:10
9、87) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837) at com.ibm.ws.webcontaine
10、r.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:524) at com.ibm.ws.webcontainer.servlet.CacheServletWrapp
11、er.handleRequest(CacheServletWrapper.java:90) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:751) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125) at com.ibm.ws.http
12、.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267) at com.ibm.ws.ssl.channe
13、l.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1037) at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.readyInboundPostHandshake(SSLConnectionLink.java:725) at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyHandshakeCompletedCplete(SSLConnectionLink.java:412) at com.ibm.ws.ssl.
14、channel.impl.SSLUtils.handleHandshake(SSLUtils.java:869) at com.ibm.ws.ssl.channel.impl.SSLHandshakeIOCplete(SSLHandshakeIOCallback.java:70) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCall
15、back(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFpleted(AsyncFuture.java:136) at com.ibm.io.async.ResultHplete(ResultHandler.java:196) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(Result
16、Handler.java:751)TSM本身的问题1.5 ICM9941错误/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/rm/icmrm/icmrm.logfileICMRM:WARN 2010-01-12 10:03:25.079000 context: WebContainer : 3 - TSM configuration error. You have not enabled TSM Device Manager for retention and the TSM Server is retention ena
17、bled, please correct your TSM Device Manager configuration and retry the task. - addVolume(RMSMSDatastore.java:415)ICMRM:ERROR 2010-01-12 10:03:25.080000 context: WebContainer : 3 - com.ibm.mm.icmrm.exceptions.RMSMSException: ICM9941: TSM configuration error., ReturnCode: 9941 - doCreateEntity(RMSMS
18、Server.java:538)需要设置mode参数,从CM V8.4.1+ 开始支持设置此类参数mode=retentionUse this parameter if you are primarily storing large files.mode=retention_aggregateUse this parameter if you are primarily storing small files.1.6 如何打开RM日志开关Turn on DEBUG RM log through SysAdmin Client:(1) Go to CM Sysadmin-Tools-Log Co
19、nfiguration, select Resource Manager on the left panel, in Resource Manager field, select RMDB in Component to Log field, select resource manager” in Logging Level field, selectTrace(full) Press Apply(2) stop RM(3) Clean up Resource Manager log file. RM log file can be found in SysAdmin client-Tools
20、-Log Configuration-Resource Manager-Log file path, for example%IBMCMROOT%logrmicmrm*.* (Windows) or /home/ibmcmadm/log/rm/icmrm/*.* (AIX)(4) start RM- 第二种方法:Turn on DEBUG RM log through icmrm_logging.xml file:(1) Go to directory %IBMCMROOT%cmgmtrmicmrmicmrm_logging.xml (Windows) or /home/ibmcmadm/cm
21、gmt/rm/icmrm/icmrm_logging.xml (AIX) then find the line: (1a) replace INFO with DEBUG (note: if the original level is not INFO, you can still replace it with DEBUG) (1b) replace CONSOLE with FILE (note: if the original level is not CONSOLE, you can still replace it with FILE)(2) stop RM(3) Clean up
22、Resource Manager log file. For example, RM log file can be found in %IBMCMROOT%logrmicmrm*.* (Windows) or/home/ibmcmadm/log/rm/icmrm/*.* (AIX) (4) start RM1.7 在RMDB中设置TSM参数从CM V8.4起,代替icmrm.properties方式connect to rmdbinsert into rmadmin.rmconfiguration(propertyname, propertyvalue) values (DSMI_LOG_P
23、ATH, /usr/tivoli/tsm/client/api/bin)insert into rmadmin.rmconfiguration(propertyname, propertyvalue) values (DSMI_DIR, /usr/tivoli/tsm/client/api/bin)insert into rmadmin.rmconfiguration(propertyname, propertyvalue) values (DSMI_CONFIG, /usr/tivoli/tsm/client/api/bin/dsm.opt)commit1.8 cmbicmsrvs.ini/
24、cmbicmenv.ini坏掉如何处理?cmbicmsrvs.ini/cmbicmenv.ini文件可以使用服务器配置实用程序生成。1.9 手工设置立即迁移CM8.4系统是查RMDB中的RMMIGRATIONTASKS表来做迁移的:如果要想迁移马上发生,不是去调OS的日期,而是要改RMMIGRATIONTASKS的2个列来触发Objects的迁移:1)在ACTIONDATE中把日期改早;2)把PROCESSTIMEOUT清空(值为NULL) - 在DB2的Control Center中,清空这个列就可以了。或者1)update rmmigrationtasks set actiondate=
25、where actiondate=2)update rmmigrationtasks set processtimeout=null然后启动Migrator.对于迁移成功的Object,该Object的行就在RMMIGRATIONTASKS被删除了,并且RMOBJECTS表中的OBJ_ACTIONDATE会改成“9999-12-31”:如果Object迁移不成功,则RMMIGRATIONTASKS的PROCESSTIMEOUT列中会出现一串DataTime的数字。1.10启动、停止迁移器CM V8.4.2通过ADMIN CLIENT来启动、停止迁移器;以前V8.3版本是通过脚本来启动的,现在已
26、经取消。1.11 Icmrm.logfile日志中的时间比系统时间早8个小时Icmrm.logfile日志使用的是GMT时间标准,而且无法更改时间标准。1.12 rmmigrationtasks表的processtimeout字段就是指下图的事务超时设置1.13迁移发生时机如果使用基于时间+基于文件系统阀值混合方式的话,那么满足其中任意一个条件即发生迁移动作。1.14查询TSM的ACTLOGTSMSERVERq act begindate=-1 #表示查前一天的活动日志1.15 ICM9991-暂挂存储器解决方法一:将暂挂存储器去掉解决方法二(TSM的问题):01/14/10 17:01:25
27、 ANR1557W The space management migration destination in management class CMMGMT does not refer to a defined storage pool: SPACEMGPOOL. If this pool does not exist when policy set CMPOLICY is activated, clients will fail when using this management class to migrate space-managed files to the server. (
28、SESSION: 201) 1.16在非支持的操作系统下安装CM/II4C/ECIBM_CM_DEBUG = null(CM,IIC.EC)IBM_CM_IGNORE_PREREQ= CM(IIC/EC)1.17修改机器名之后db2:修改DB2NODE.CFGdb2set db2system=.was:重装IHS:httpd.conf ServerName=hostname1.18 DGL5161A需要配置hosts文件(IP + hosts);或者修改rmdb的特性:主机名改为IP地址1.19 DGL5162A打开资源管理器rmdb,提示DGL5162A:System Managed Sto
29、rage(SMS) request to RM failed.ICM9742 Resource manager administrative logon failed in SMS-logon order解释:The logon to the resource manager administrative functions failed.原因:Either the user name or password was incorrect. Check the spelling and capitalization of the user name and password方法:1.stopse
30、rver icmrm2.WebSphere:.icmrm.earWEB-INFOclassescomibmmmicmrmicmrm.properties修改DBPassword=password3.DB2:修改rmadmin.rmaccess中的密码信息;db2 connect to rmdb user rmadmin using passworddb2 update rmadmin.rmaccess set ACC_PASSWORD=password where acc_username=rmadmindb2 connect to icmnlsdb user icmadmin using passworddb2 update icmstresourcemger set rmpassword=password where rmuserid=RMADMIN4.startserver icmrm1.20
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1