[AIX Solaris HP-UX Linux Windows][z/OS]

Intelligent Management:中间件描述符管理任务

可以使用中间件描述符管理任务列示中间件描述符和版本,显示或更改中间件描述符信息,及修改中间件描述符发现时间间隔。

listMiddlewareDescriptors

listMiddlewareDescriptors 命令列示在您的单元中安装的中间件描述符。

必需参数

返回值

该命令返回一个中间件描述符的列表,例如:
jboss_server
application_server
liberty_server
phpRuntime
customhttp_server
wasceRuntime
apacheWebServerRuntime
apache_server
weblogic_server
tomcat_server

批处理方式示例用法

  • 使用 Jacl:
    $AdminTask listMiddlewareDescriptors
  • 使用 Jython:
    AdminTask.listMiddlewareDescriptors()

listMiddlewareDescriptorVersions

使用 listMiddlewareDescriptorVersions 命令可列示哪些版本具有中间件描述符中提供的特定信息。

必需参数
  • -name:指定中间件描述符的名称。(字符串,必需)

返回值

具有中间件描述符中提供的特定信息的版本列表。例如:
default

批处理方式示例用法

  • 使用 Jacl:
    $AdminTask listMiddlewareDescriptorVersions {-name wasceRuntime}
  • 使用 Jython:
    AdminTask.listMiddlewareDescriptorVersions ('[-name wasceRuntime]')

交互方式示例用法

  • 使用 Jacl:
    $AdminTask listMiddlewareDescriptorVersions {-interactive}
  • 使用 Jython:
    AdminTask.listMiddlewareDescriptorVersions ([-interactive]')

showMiddlewareDescriptorInformation

使用 showMiddlewareDescriptorInformation 命令可显示指定中间件描述符的内容。

必需参数
  • -name:指定中间件描述符的名称。(字符串,必需)

返回值

以下是命令输出的示例:
wasceRuntime:
        Discovery Interval: 4 min

        Version: default
                install.locations:win.install.loc="C:\\Program
Files\\IBM\\WebSphere\\AppServerCommunityEdition;C:\\Program Files
(x86)\\WebSphere\\AppServerCommunityEdition"
               
install.locations:unix.install.loc="/opt/IBM/WebSphere/AppServerCommunityEdition"
               
install.locations:foreign.discovery.class="com.ibm.ws.xd.agent.discovery.wasce.WASCEDiscoveryPlugin"
                timeOutGroup:startTimeOutValue="300000"
                timeOutGroup:stopTimeOutValue="300000"

批处理方式示例用法

  • 使用 Jacl:
    $AdminTask showMiddlewareDescriptorInformation {-name wasceRuntime}
  • 使用 Jython:
    AdminTask.showMiddlewareDescriptorInformation ('[-name wasceRuntime]')

交互方式示例用法

  • 使用 Jacl:
    $AdminTask showMiddlewareDescriptorInformation {-interactive}
  • 使用 Jython:
    AdminTask.showMiddlewareDescriptorInformation ([-interactive]')

modifyMiddlewareDescriptorProperty

可以使用 modifyMiddlewareDescriptorProperty命令编辑中间件描述符属性。

必需参数
  • -name:指定中间件描述符的名称。
  • -version:指定中间件描述符版本。
  • -propName:指定中间件描述符的属性。此属性名称可以是运行 showMiddlewareDescriptorInformation 命令时显示的任何中间件描述符属性。
  • -propValue:指定中间件描述符属性的值。

返回值

无。

批处理方式示例用法

  • 使用 Jacl:
    $AdminTask modifyMiddlewareDescriptorProperty {-name wasceRuntime
    -version default -propName install.locations:win.install.loc -propValue
    c:\blade\server1 }
  • 使用 Jython:
    AdminTask.modifyMiddlewareDescriptorProperty ('[-name wasceRuntime -version default -propName 
    install.locations:win.install.loc -propValue
    c:\blade\server1]')

交互方式示例用法

  • 使用 Jacl:
    $AdminTask modifyMiddlewareDescriptorProperty {-interactive}
  • 使用 Jython:
    AdminTask.modifyMiddlewareDescriptorProperty ([-interactive]')

modifyMiddlewareDescriptorDiscoveryInterval

您可以使用 modifyMiddlewareDescriptorDiscoveryInterval 命令修改所选中间件描述符的发现时间间隔。

必需参数
  • -name:指定中间件描述符的名称。
  • -interval:指定发现时间间隔的整数值。可以使用下列其中一个值:
    • -1:禁用自动发现。
    • 0:当 Node Agent 启动时执行中间件发现。
    • 大于 0 的值:指定中间件发现在 Node Agent 启动时及在整数时间间隔运行。
  • -units:指定发现时间间隔的单位。可以使用下列其中一个值:
    • 秒数
    • 分钟
    • 小时

返回值

无。

批处理方式示例用法

  • 使用 Jacl:
    $AdminTask modifyMiddlewareDescriptorDiscoveryInterval {-name wasceRuntime
    -interval 5 -units seconds}
  • 使用 Jython:
    AdminTask.modifyMiddlewareDescriptorDiscoveryInterval ('[-name wasceRuntime -interval 5 -units seconds]')

交互方式示例用法

  • 使用 Jacl:
    $AdminTask modifyMiddlewareDescriptorProperty {-interactive}
  • 使用 Jython:
    AdminTask.modifyMiddlewareDescriptorProperty ([-interactive]')

指示主题类型的图标 参考主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rwve_adtaskmwsdescriptor
文件名:rwve_adtaskmwsdescriptor.html