IBM Connections: Configurando notificacoes em pt BR

From Wiki
Revision as of 19:03, 22 May 2012 by Ebasso (talk | contribs) (New page: Passos para configurar no linux '''# mkdir /root/Temp''' '''# cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin''' Executar wsadmin.sh '''# ./wsadmin.sh -lang jython -username w...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Passos para configurar no linux

# mkdir /root/Temp

# cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin

Executar wsadmin.sh

# ./wsadmin.sh -lang jython -username wasadmin -password senha

wsadmin> execfile("connectionsConfig.py")

Connections Administration initialized

Verificando a Cell

wsadmin> print AdminControl.getCell() 
connectionsCell01 

Faça o CheckOut dos Arquivos

wsadmin> LCConfigService.checkOutNotificationConfig("/root/Temp","COLOQUE_AQUI_O_NOME_DA_CELL")

Connections notification configuration file successfully checked out

Exemplo:
wsadmin> LCConfigService.checkOutConfig("/root/Temp","connectionsCell01")

Connections notification configuration file successfully checked out

Em outro terminal, edite o arquivo notification-config.xml


Faça o CheckIn dos Arquivos

wsadmin>LCConfigService.checkInNotificationConfig()
Using configuration arguments :
       workingDirectory: /root/Temp
       cellName: connectionsCell01
       nodeName: None
       serverName: None
Loading schema file for validation: /root/Temp/notification-config.xsd
/root/Temp/notification-config.xml is valid
Connections notification configuration file successfully checked in


Sincronize os nós

wsadmin> synchAllNodes()

Nodes synchronized

Saia do wsadmin

wsadmin> exit