WPS: Removendo um Portal Virtual: Difference between revisions

From Wiki
(Criou nova página com 'Excluindo portal virtual usando a tarefa de configuração Usar a tarefa de configuração para apagar portal virtual 1) Vá para o diretório do ConfigEngine.sh cd /...')
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 25: Line 25:


  ./ConfigEngine.sh delete-virtual-portal -DVirtualPortalObjectId=Z18_IS449B1A00LL30A088BLVE20N2  
  ./ConfigEngine.sh delete-virtual-portal -DVirtualPortalObjectId=Z18_IS449B1A00LL30A088BLVE20N2  
Você também pode utilizar
./ConfigEngine.sh delete-virtual-portal -DVirtualPortalObjectId=Z18_IS449B1A00LL30A088BLVE20N2 -DremoveResourcesInSharedDomains=true


O log gerado deve possuir um BUILD SUCESSFUL
O log gerado deve possuir um BUILD SUCESSFUL
Line 43: Line 39:


  ./xmlaccess.sh -user wpsadmin -password wpsadmin -in /opt/IBM/WebSphere/PortalServer/doc/xml-samples/Task.xml -out TaskOut.xml -url http://localhost:10039/wps/config
  ./xmlaccess.sh -user wpsadmin -password wpsadmin -in /opt/IBM/WebSphere/PortalServer/doc/xml-samples/Task.xml -out TaskOut.xml -url http://localhost:10039/wps/config
= Ver também =
* [[WPS: Facilitando o acesso a diretorios do Portal]]
* [[WPS: Colocar o WPS ou Quickr como Servico no Windows| WPS: Colocar WPS/Quickr como Serviço no Windows]]
* [[WPS: Habilitando Trace e Logs no WPS |Habilitando Trace e Logs no Websphere Portal Server]]
* Mais Artigos sobre [[WebSphere Portal Server]]
[[Category: WebSphere Portal Server]]
[[Category: WPS]]

Latest revision as of 19:21, 15 January 2014

Excluindo portal virtual usando a tarefa de configuração

Usar a tarefa de configuração para apagar portal virtual

1) Vá para o diretório do ConfigEngine.sh

cd /opt/IBM/WebSphere/wp_profile/ConfigEngine

2) Listar os portais virtuais

./ConfigEngine.sh list-all-virtual-portals 

[wsadmin] VirtualPortal:
[wsadmin] Title:       RemoveVTL
[wsadmin] Description: Teste de Portal para remocao usando scripts
[wsadmin] Realm:       defaultWIMFileBasedRealm
[wsadmin] Object ID:   Z18_IS449B1A00LL30A088BLVE20N2
[wsadmin] Hostname:    <cannot be retrieved>
[wsadmin] Context:     removevtl.company.com.br-9904
[wsadmin] Short ID:    -9904

3) Excluir o Portal Virtual

Vamos pegar o ObjectID listado no comando anterior e vamos remover o portal virtual

./ConfigEngine.sh delete-virtual-portal -DVirtualPortalObjectId=Z18_IS449B1A00LL30A088BLVE20N2 

O log gerado deve possuir um BUILD SUCESSFUL

4) Executar a limpeza

Mudar para o diretório do xmlacess

cd /opt/IBM/WebSphere/wp_profile/PortalServer/bin/

Executar o xmlaccess

Exemplo: ./xmlaccess.sh -user wpsadmin -password wpsadminpw -in <portal>/doc/xml-samples/Task.xml -out TaskOut.xml -url http://<server:port>/wps/config

./xmlaccess.sh -user wpsadmin -password wpsadmin -in /opt/IBM/WebSphere/PortalServer/doc/xml-samples/Task.xml -out TaskOut.xml -url http://localhost:10039/wps/config


Ver também