Atualizando o LotusConnections-config.xml no Linux: Difference between revisions

From Wiki
mNo edit summary
No edit summary
Line 4: Line 4:
   
   
  '''# cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin'''
  '''# cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin'''
Executar wsadmin.sh
   
   
  '''# ./wsadmin.sh -lang jython -username wasadmin -password senha -port 8879'''
  '''# ./wsadmin.sh -lang jython -username wasadmin -password senha'''
   
   
  '''wsadmin> execfile("/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/bin_lc_admin/connectionsConfig.py")'''
  '''wsadmin> execfile("connectionsConfig.py")'''
   
   
  Connections Administration initialized
  Connections Administration initialized
Verificando a Cell
'''wsadmin> print AdminControl.getCell() '''
'''connectionsCell01 '''
Faça o CheckOut dos Arquivos
   
   
  '''wsadmin> LCConfigService.checkOutConfig("/root/Temp","COLOQUE_AQUI_O_NOME_DA_CELL")'''
  '''wsadmin> LCConfigService.checkOutConfig("/root/Temp","COLOQUE_AQUI_O_NOME_DA_CELL")'''
   
   
   Connections configuration file successfully checked out
   Connections configuration file successfully checked out
Edite o arquivo LotusConnections-config.xml
Faça o CheckIn dos Arquivos
   
   
  '''wsadmin> LCConfigService.checkInConfig()'''
  '''wsadmin> LCConfigService.checkInConfig()'''
Line 27: Line 40:
  Connections configuration file successfully checked in
  Connections configuration file successfully checked in
   
   
Sincronize os nós
  '''wsadmin> synchAllNodes()'''
  '''wsadmin> synchAllNodes()'''
   
   
  Nodes synchronized
  Nodes synchronized
Saia do wsadmin
   
   
  '''wsadmin> exit'''
  '''wsadmin> exit'''

Revision as of 01:00, 16 May 2012

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.checkOutConfig("/root/Temp","COLOQUE_AQUI_O_NOME_DA_CELL")

  Connections configuration file successfully checked out

Edite o arquivo LotusConnections-config.xml

Faça o CheckIn dos Arquivos

wsadmin> LCConfigService.checkInConfig()

 Using configuration arguments :
	workingDirectory: /root/Temp
	cellName: lotd103Cell01
	nodeName: None
	serverName: None
Loading schema file for validation: /root/Temp/LotusConnections-config.xsd
Loading schema file for validation: /root/Temp/service-location.xsd
/root/Temp/LotusConnections-config.xml is valid
Connections configuration file successfully checked in

Sincronize os nós

wsadmin> synchAllNodes()

Nodes synchronized

Saia do wsadmin

wsadmin> exit