IBM Connections: Syncronization between Connections Communities and Sametime Meetings

From Wiki
Revision as of 15:42, 13 April 2017 by Ebasso (talk | contribs) (→‎Procedure)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The script below does synchronization between Connections Communities and Sametime Meetings Rooms, i. e., for each community created in Connections a meeting room is created in Sametime Meetings.   After creating the room an important link is created in Bookmarks application inside of Community.

Community Owners are added as proprietaries of Meeting Rooms.   However, I was unable to automatically enable Audio / Video, since Sametime Meetings takes the Conference Room Id of the owner, I'm working on it.

Procedure

1) In a Linux terminal Linux, do a sudo

2) Create the directories

mkdir -p /opt/IBM/SyncConnectionsMeetings

cd /opt/IBM/SyncConnectionsMeetings

Download files encodedPassord.py e SyncCommunitiesAndMeetings.py from

https://github.com/ebasso/Integration-ConnectionsCommunites-SametimeMeetings/

3) Encode the password of wsadmin from Connections, through command

python encodedPassord.py

save this result

4) Encode the password of wsadmin from Sametime, through command

python encodedPassord.py

save this result

5) Edit SyncCommunitiesAndMeetings.py file and change the values:

 
 CONNECTIONS_HOST = 'https://connections.<REPLACE_HERE>.com
 CONNECTIONS_USERNAME = 'wsadmin'
 CONNECTIONS_ENCODED_PASSWORD = '<REPLACE_HERE>'
 
 MEETINGS_HOST = 'https://meetings.<REPLACE_HERE>.com'
 MEETINGS_USERNAME = 'wsadmin'
 MEETINGS_ENCODED_PASSWORD = '<REPLACE_HERE>'
 

Salve e feche o arquivo

Add to crontab

1) run command

# crontab -e

2) add

0 19 * * * /opt/IBM/SyncConnectionsMeetings/python SyncCommunitiesAndMeetings.py > /opt/IBM/SyncConnectionsMeetings/result.txt &2>1

Save and close

See alson