Managing servers, nodes and cells with scripting
Use the wsadmin tool to administer your administrative architecture and runtime settings.
Procedure
- Use the following topics to manage server configurations
with the wsadmin tool:
- Stopping servers using scripting
- Querying server state using scripting
- Listing running applications on running servers using wsadmin scripting
- Starting listener ports using scripting
- Managing generic servers using scripting
- Setting development mode for server objects using scripting
- Disabling parallel startup using scripting
- Obtaining server version information with scripting
- Use the following topics to view wsadmin command reference information for server and node management:
- Use the following topics to use properties files to manage your environment:
次主題
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Stopping a node using wsadmin scripting
Use scripting to stop a node agent.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Starting servers using scripting
You can use scripting and the wsadmin tool to start servers.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Stopping servers using scripting
You can stop servers using scripting and the wsadmin tool.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Querying server state using scripting
You can use the wsadmin tool and scripting to query server states.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Listing running applications on running servers using wsadmin scripting
Use the wsadmin tool and scripting to list all the running applications on all the running servers.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Starting listener ports using scripting
These steps demonstrate how to start a listener port on an application server using scripting.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Managing generic servers using scripting
You can use WebSphere Application Server to define, start, stop, and monitor generic servers.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Setting development mode for server objects using scripting
You can use scripting and the wsadmin tool to configure development mode for server objects.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Disabling parallel startup using scripting
You can use scripting to disable parallel startup of servers.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Obtaining server version information with scripting
Use the wsadmin tool and scripting to obtain server version information.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
NodeGroupCommands command group for the AdminTask object using wsadmin scripting
You can use the Jython or Jacl scripting languages to manage servers with the wsadmin tool. The commands and parameters in the NodeGroupCommands group can be used to create and manage node groups and node group members.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
Utility command group of the AdminTask object
You can use the Jython or Jacl scripting languages to manage servers with the wsadmin tool. The commands and parameters in the Utility group can be used to change the host name of a node, to query for the name of the deployment manager, and to determine if the system is a single server or network deployment.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
ManagedObjectMetadata command group for the AdminTask object
You can use the Jython or Jacl scripting languages to manage servers with the wsadmin tool. The commands and parameters in the ManagedObjectMetadata group can be used to retrieve configuration and metadata information for a specified node.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
AdminSDKCmds command group for the AdminTask object
You can use commands and parameters in the AdminSDKCmds group in the Jython or Jacl scripting languages to manage software development kit configurations.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
ServerManagement command group for the AdminTask object
You can use the Jython or Jacl scripting languages to manage servers with the wsadmin tool. The commands and parameters in the ServerManagement group can be used to create and manage application server, web server, proxy server, generic server and Java™ virtual machine (JVM) configurations.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
UnmanagedNodeCommands command group for the AdminTask object using wsadmin scripting
You can use the Jython or Jacl scripting languages to manage servers with the wsadmin tool. The commands and parameters in the UnmanagedNodeCommands group can be used to create and query for managed and unmanaged nodes. An unmanaged node is a node that does not have a node agent or a deployment manager.![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
使用 wsadmin Scripting 的 AdminTask 物件 ConfigArchiveOperations 指令群組
您可以使用 Jython 或 Jacl Scripting 語言,來配置您環境中的伺服器。ConfigArchiveOperations 群組中的指令和參數可用來匯出或匯入伺服器配置和整個 Cell 配置。![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
目錄使用慣例
產品資訊中指向 app_server_root、profile_root 及其他目錄的參照,隱含特定的預設目錄位置。 請熟悉 WebSphere Application Server 中的使用慣例。
作業主題
前次更新: July 9, 2016 8:14http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-base-dist&topic=txml_manageserver
檔名:txml_manageserver.html