Setting port numbers to the serverindex.xml file using scripting

You can use the wsadmin tool to modify the port numbers specified in the serverindex.xml file. The endpoints of the serverindex.xml file are part of different objects in the configuration.

About this task

There are multiple ways to complete this task. Complete the steps in this task to use the AdminConfig and AdminTask objects to configure ports in your environment. Alternatively, you can use the scripts in the AdminServerManagement script library to configure various ports in your configuration.

Before modifying ports using scripting, you must launch the wsadmin tool.

Procedure

What to do next

Save the configuration changes.

Utilize o seguinte exemplo de comando para salvar suas alterações de configuração:
AdminConfig.save()
Utilize os scripts syncActiveNode ou syncNode na biblioteca de scripts AdminNodeManagement para propagar as alterações de configuração para o(s) nó(s).
  • Utilize o script syncActiveNodes para propagar as alterações para cada nó na célula, conforme demonstra o seguinte exemplo:
    AdminNodeManagement.syncActiveNodes()
  • Utilize o script syncNode para propagar as alterações para um nó específico, conforme demonstra o seguinte exemplo:
    AdminNodeManagement.syncNode("myNode")

Ícone que indica o tipo de tópico Tópico de Tarefa



Ícone de registro de data e hora Última atualização: July 9, 2016 7:58
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=txml_portnumber
Nome do arquivo: txml_portnumber.html