CMCMOD记录Word下载.docx
《CMCMOD记录Word下载.docx》由会员分享,可在线阅读,更多相关《CMCMOD记录Word下载.docx(82页珍藏版)》请在冰豆网上搜索。
/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/rm/icmrm/icmrm.logfile
————————————————————————————————————————
ICMRM:
WARN2010-01-1209:
44:
01.734000context:
[WebContainer:
2]-TSMManager.dsmSetUp():
fail,rc=400Attempttosetupmulti-threadmodefail,cannotsupportconcurrentacc
esstotheTSMserver-dsmSetUp(TSMConnection.java:
738)
01.735000context:
2]-TSMsetuphasfailedearlier,checkdsmoptionsandrestartRM.-createTSMHandle(TSMConnection.java:
279)
ERROR2010-01-1209:
2]-com.ibm.mm.icmrm.exceptions.RMSMSException:
ICM9950:
UndefinedTivoliStorageManager
managementclass:
CMMGMT,ReturnCode:
9950-doCreateEntity(RMSMSServer.java:
538)
com.ibm.mm.icmrm.exceptions.RMSMSException:
UndefinedTivoliStorageManagermanagementclass:
9950
atcom.ibm.mm.icmrm.rmapi.sms.RMSMSDatastore.addVolume(RMSMSDatastore.java:
384)
atmunication.RMSMSServer.doCreateEntity(RMSMSServer.java:
495)
atmunication.RMSMSServer.handleRequest(RMSMSServer.java:
307)
atmunication.ICMResourceManager.handleRequest(ICMResourceManager.java:
992)
atmunication.ICMResourceManager.doPost(ICMResourceManager.java:
888)
atjavax.servlet.http.HttpServlet.service(HttpServlet.java:
763)
atmunication.ICMResourceManager.service(ICMResourceManager.java:
856)
atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:
1146)
1087)
atcom.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:
118)
atcom.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:
87)
atcom.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:
837)
680)
atcom.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:
588)
atcom.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:
524)
atcom.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:
90)
atcom.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:
751)
atcom.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:
1478)
atcom.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:
125)
atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:
458)
atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:
387)
atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:
267)
atcom.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:
1037)
atcom.ibm.ws.ssl.channel.impl.SSLConnectionLink.readyInboundPostHandshake(SSLConnectionLink.java:
725)
atcom.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyHandshakeCompletedCplete(SSLConnectionLink.java:
412)
atcom.ibm.ws.ssl.channel.impl.SSLUtils.handleHandshake(SSLUtils.java:
869)
atcom.ibm.ws.ssl.channel.impl.SSLHandshakeIOCplete(SSLHandshakeIOCallback.java:
70)
atcom.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:
165)atcom.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:
217)
atcom.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:
161)
atcom.ibm.io.async.AsyncFpleted(AsyncFuture.java:
136)
atcom.ibm.io.async.ResultHplete(ResultHandler.java:
196)
atcom.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:
TSM本身的问题
1.5ICM9941错误
WARN2010-01-1210:
03:
25.079000context:
3]-TSMconfigurationerror.YouhavenotenabledTSMDeviceManagerforretentionandtheTSMServerisretentio
nenabled,pleasecorrectyourTSMDeviceManagerconfigurationandretrythetask.-addVolume(RMSMSDatastore.java:
415)
ERROR2010-01-1210:
25.080000context:
3]-com.ibm.mm.icmrm.exceptions.RMSMSException:
ICM9941:
TSMconfigurationerror.,Return
Code:
9941-doCreateEntity(RMSMSServer.java:
需要设置mode参数,从CMV8.4.1+开始支持设置此类参数
mode=retention
Usethisparameterifyouareprimarilystoringlargefiles.
mode=retention_aggregate
Usethisparameterifyouareprimarilystoringsmallfiles.
1.6如何打开RM日志开关
TurnonDEBUGRMlogthroughSysAdminClient:
(1)GotoCMSysadmin->
Tools->
LogConfiguration,select"
ResourceManager"
ontheleftpanel,
<
1a>
in"
field,selectRMDB"
1b>
ComponenttoLog"
field,select"
resourcemanager”
1c>
LoggingLevel"
field,select"
Trace(full)"
1d>
Press"
Apply"
(2)stopRM
(3)CleanupResourceManagerlogfile.RMlogfilecanbefoundinSysAdminclient->
LogConfiguration->
ResourceManager->
Logfilepath,forexample%IBMCMROOT%\log\rm\<
hostname>
\icmrm\*.*(Windows)or/home/ibmcmadm/log/rm/<
/icmrm/*.*(AIX)
(4)startRM
-第二种方法:
TurnonDEBUGRMlogthroughicmrm_logging.xmlfile:
(1)Gotodirectory%IBMCMROOT%\cmgmt\rm\<
\icmrm\icmrm_logging.xml(Windows)or/home/ibmcmadm/cmgmt/rm/<
/icmrm/icmrm_logging.xml(AIX)
thenfindtheline:
priorityvalue="
INFO"
class="
com.ibm.mm.icmrm.util.ICMRMPriority"
/>
appender-refref="
CONSOLE"
(1a)replace"
with"
DEBUG"
(note:
iftheoriginallevelisnot"
youcanstillreplaceitwith"
)
(1b)replace"
FILE"
)
(3)CleanupResourceManagerlogfile.Forexample,RMlogfilecanbefoundin%IBMCMROOT%\log\rm\<
\icmrm\*.*(Windows)or
/home/ibmcmadm/log/rm/<
/icmrm/*.*(AIX)
1.7在RMDB中设置TSM参数
从CMV8.4起,代替icmrm.properties方式
connecttormdb
insertintormadmin.rmconfiguration(propertyname,propertyvalue)values('
DSMI_LOG_PATH'
'
/usr/tivoli/tsm/client/api/bin'
DSMI_DIR'
DSMI_CONFIG'
/usr/tivoli/tsm/client/api/bin/dsm.opt'
commit
1.8cmbicmsrvs.ini/cmbicmenv.ini坏掉如何处理?
cmbicmsrvs.ini/cmbicmenv.ini文件可以使用‘服务器配置实用程序’生成。
1.9手工设置立即迁移
CM8.4系统是查RMDB中的RMMIGRATIONTASKS表来做迁移的:
如果要想迁移马上发生,不是去调OS的日期,而是要改RMMIGRATIONTASKS的2个列来触发Objects的迁移:
1)在ACTIONDATE中把日期改早;
2)把PROCESSTIMEOUT清空(值为NULL)
----在DB2的ControlCenter中,清空这个列就可以了。
或者
1)updatermmigrationtaskssetactiondate=’’whereactiondate=’’
2)updatermmigrationtaskssetprocesstimeout=null
然后启动Migrator.
对于迁移成功的Object,该Object的行就在RMMIGRATIONTASKS被删除了,并且RMOBJECTS表中的OBJ_ACTIONDATE会改成“9999-12-31”:
如果Object迁移不成功,则RMMIGRATIONTASKS的PROCESSTIMEOUT列中会出现一串DataTime的数字。
1.10启动、停止迁移器
CMV8.4.2通过ADMINCLIENT来启动、停止迁移器;
以前V8.3版本是通过脚本来启动的,现在已经取消。
1.11Icmrm.logfile日志中的时间比系统时间早8个小时
Icmrm.logfile日志使用的是GMT时间标准,而且无法更改时间标准。
1.12rmmigrationtasks表的processtimeout字段就是指下图的‘事务超时’设置
1.13迁移发生时机
如果使用基于时间+基于文件系统阀值混合方式的话,那么满足其中任意一个条件即发生迁移动作。
1.14查询TSM的ACTLOG
TSMSERVER>
qactbegindate=-1#表示查前一天的活动日志
1.15ICM9991-暂挂存储器
解决方法一:
将‘暂挂存储器’去掉
解决方法二(TSM的问题):
01/14/1017:
01:
25ANR1557WThespacemanagementmigrationdestinationin
managementclassCMMGMTdoesnotrefertoadefined
storagepool:
SPACEMGPOOL.Ifthispooldoesnotexist
whenpolicysetCMPOLICYisactivated,clientswillfail
whenusingthismanagementclasstomigratespace-managed
filestotheserver.(SESSION:
201)
1.16在非支持的操作系统下安装CM/II4C/EC
IBM_CM_DEBUG=null(CM,IIC.EC)
IBM_CM_IGNORE_PREREQ=CM(IIC/EC)
1.17修改机器名之后
db2:
修改DB2NODE.CFG
db2setdb2system=....
was:
重装
IHS:
httpd.confServerName=hostname
1.18DGL5161A
需要配置hosts文件(IP+hosts);
或者修改rmdb的特性:
主机名改为IP地址
1.19DGL5162A
打开资源管理器rmdb,提示"
DGL5162A:
SystemManagedStorage(SMS)requesttoRMfailed.ICM9742ResourcemanageradministrativelogonfailedinSMS-logonorder"
解释:
Thelogontotheresourcemanageradministrativefunctionsfailed.
原因:
Eithertheusernameorpasswordwasincorrect.Checkthespellingandcapitalizationoftheusernameandpassword
方法:
1.stopservericmrm
2.WebSphere:
...\icmrm.ear\WEB-INFO\classes\com\ibm\mm\icmrm\icmrm.properties
修改DBPassword=password
3.DB2:
修改rmadmin.rmaccess中的密码信息;
db2connecttormdbuserrmadminusingpassword
db2updatermadmin.rmaccesssetACC_PASSWORD='
password'
whereacc_username='
rmadmin'
db2connecttoicmnlsdbusericmadminusingpassword
db2updateicmstresourcemgersetrmpassword='
wherermuserid='
RMADMIN'
4.startservericmrm
1.20