IBM Connections: Como transformar uma Subcomunidade em uma Comunidade

From Wiki
Revision as of 20:35, 24 August 2015 by Ebasso (talk | contribs)

Procedimento para transformar uma Subcomunidade em uma Comunidade

Via wsadmin.sh

1) Via terminal Linux, conectar na máquina do DMGR e realizar o sudo

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

2) Executar wsadmin.sh

# ./wsadmin.sh -lang jython -username wsadmin -password <ALTERAR_SENHA>

wsadmin> execfile("communitiesAdmin.py")

Connections Administration initialized

3) Escolha um dos nodes para conectar

1: WebSphere:cell=connectionsCell,name=CommunitiesAdmin,type=LotusConnections,node=connwas02Node,process=clCommunities_server2
2: WebSphere:cell=connectionsCell,name=CommunitiesAdmin,type=LotusConnections,node=connwas03Node,process=clCommunities_server3
3: WebSphere:cell=connectionsCell,name=CommunitiesAdmin,type=LotusConnections,node=connwas04Node,process=clCommunities_server4
4: WebSphere:cell=connectionsCell,name=CommunitiesAdmin,type=LotusConnections,node=connwas05Node,process=clCommunities_server5
Which service do you want to connect to?

Informe 1

4) Execute o comando de CommunitiesService.moveSubcommunityToCommunity

Na url do subcomunidade, pegue o UUID da comunidade

http://connections.empresax.com.br/communities/service/html/communityview?communityUuid=e50849f6-28d5-41a9-a697-6ab3ee4fc656

e coloque como parametro do comando

wsadmin> CommunitiesService.moveSubcommunityToCommunity("e50849f6-28d5-41a9-a697-6ab3ee4fc656")

Para verificar basta acessar comunidade.

Dica de erro

Durante uma das migrações tive o seguinte erro

[8/24/15 17:06:57:474 BRT] 000000a1 TangoServiceI E com.ibm.tango.internal.service.TangoServiceImpl updateCommunity CLFRM0039E: internal error
                                com.ibm.tango.exception.MemberDuplicateLoginIdException: [wsadmin]
	at com.ibm.tango.internal.service.TangoServiceImpl.getMemberProfileWithUpdates(TangoServiceImpl.java:3171)
	at com.ibm.lconn.comm.auth.LCSubjectPolicyAuthContextImpl.getCurrentMemberProfile(LCSubjectPolicyAuthContextImpl.java:419)
	...

Caso isso ocorra, execute o comando, informando o usuário listado entre colchetes

wsadmin> CommunitiesMemberService.syncMemberExtIdByLogin("wsadmin")

Ver também