使用脚本来配置服务器

  • 格式:pdf
  • 大小:276.66 KB
  • 文档页数:38

Application Server, V6.0.x
操作系统:
任务主题
最近更新日期:
http://publib.boulder.ibm
Application Server, V6.0.x 操作系统:
任务主题
最近更新日期:
http://publib.boulder.ibm
Application Server, V6.0.x 操作系统:
任务主题
最近更新日期:
http://publib.boulder.ibm
Application Server, V6.0.x 操作系统:
使用脚本来配置性能管理器基础结构/infocenter/wasinfo/v6r0/to...
任务主题
最近更新日期:
http://publib.boulder.ibm
Application Server, V6.0.x 操作系统:
任务主题
最近更新日期:
http://publib.boulder.ibm
Application Server, V6.0.x 操作系统:
任务主题
最近更新日期:
http://publib.boulder.ibm
Application Server, V6.0.x 操作系统:
server1(cells/mycell/nodes/mynode/servers
/server1|server.xml#Server_1)
b.
识别属于此服务器的进程定义,并将其指定给 processDef 变量。

例如:
使用 Jacl:
set processDef [$AdminConfig list JavaProcessDef $s1]
set processDef [$AdminConfig showAttribute $s1
processDefinitions]
使用 Jython:
processDef = AdminConfig.list('JavaProcessDef', s1)
print processDef
processDef = AdminConfig.showAttribute(s1,
'processDefinitions')
示例输出:
(cells/mycell/nodes/mynode/servers
/server1|server.xml#JavaProcessDef_1)
更改属性。

c.
在分布式系统上,下列示例更改工作目录。

使用 Jacl:
$AdminConfig modify $processDef {{workingDirectory
c:/temp/user1}}
使用 Jython:
AdminConfig.modify(processDef, [['workingDirectory',
'c:/temp/user1']])
以下示例修改 stderr 文件名:
使用 Jacl:
set errFile [list stderrFilename \${LOG_ROOT}/server1
/new_stderr.log]
set attr [list $errFile]
$AdminConfig modify $processDef [subst {{ioRedirect
{$attr}}}]
使用 Jython:
errFile = ['stderrFilename', '\${LOG_ROOT}/server1
/new_stderr.log']
attr = [errFile]
AdminConfig.modify(processDef, [['ioRedirect', [attr]]])以下示例修改进程优先级:
使用 Jacl:
$AdminConfig modify $processDef {{execution
{{processPriority 15}}}}
使用 Jython:
AdminConfig.modify(processDef, [['execution',
[['processPriority', 15]]]])
任务主题
最近更新日期:
http://publib.boulder.ibm
Application Server, V6.0.x
操作系统:
任务主题
最近更新日期: Mar 30, 2008 12:42:09 AM EDT
http://publib.boulder.ibm .com /infocenter/wasinfo/v6r0/index.jsp?topic=/com .ibm.websphere.base.doc/info/aes/ae/txml_transaction.htm l
使用脚本来配置服务器的事务属性/infocenter/wasinfo/v6r0/to...
Application Server, V6.0.x 操作系统:
任务主题
最近更新日期:
http://publib.boulder.ibm
使用脚本禁用组件/infocenter/wasinfo/v6r0/to... Application Server, V6.0.x 操作系统:
任务主题
最近更新日期:
http://publib.boulder.ibm
Application Server, V6.0.x 操作系统:
任务主题
最近更新日期:
http://publib.boulder.ibm
Application Server, V6.0.x 操作系统:
任务主题
最近更新日期:
http://publib.boulder.ibm
Application Server, V6.0.x 操作系统:
任务主题
最近更新日期:
http://publib.boulder.ibm
Application Server, V6.0.x
操作系统:
关于本任务
有关
任务主题
最近更新日期:
http://publib.boulder.ibm。