2. 2
ランドリアナリヴ二 二リナリサンタトゥラ
● From Madagascar
● Work at iCRAFT (intern)
– Collabora Online and Nextcloud integration
– Permissioned blockchain solution using Hyperledger
● Graduated from Kobe Institute of Computing
– On September 2019
– JICA’s ABE Initiative Master Program
5. 5
Previous work
● Continuation of Murakami san’s work
– “Large-scale operation of LibreOffice Online”
– LibreOffice Conference in Spain (09/2019)
https://www.slideshare.net/icraft-jp/experiment-for-
largescale-operation-of-libreoffice-online-2019-edition
● How to make Nextcloud and Collabora Online
scalable?
6. 6
Kansai Open Forum 2019
● Part of this work was presented during last KOF
– 大阪南港 ATC ITM 棟 (11 月 9 日 )
– “LibreOffice Online: 大規模運用のための実験”
– https://www.slideshare.net/icraft-jp/libreoffice-online-kof2019/
● Findings:
– Collaborative edition was not working as expected
– Is roundrobin algorithm the most appropriate?
8. 8
Overview of Collabora Online
● Online office based on LibreOffice
● Free/Open Source Software
● Portable, supports all major browsers
● Windows, Mac OS X, Android, and GNU/Linux
● Uses Open Document Format (ODF) natively
– Also supports the use of dozens of file formats
9. 9
Difference with LibreOffice Online
● Same functionalities as LibreOffice Online
● Build image and support is provided by
Collabora Productivity
● Mostly developed by Collabora Productivity
developers
● iCRAFT is Collabora Productivity's business
partner
10. 10
Benefit for users
● Client side requires only a web browser
● Can be used from PC, tablet or smartphone
● For collaborative works
● Protects their privacy and allows them to keep a
full control
● Cloud or on-premises environment
18. 18
Nextcloud
Installation of required packages
For Debian based distros:
$ sudo apt install nginx mysql-server mysql-client
For Red Hat based distros:
$ sudo yum install nginx mariadb-server mariadb
19. 19
Nextcloud (2)
Database creation (MySQL/MariaDB):
$ sudo mysql -u root -p
> CREATE DATABASE nextcloud;
> CREATE USER icraft@localhost IDENTIFIED BY
'super-secret-password';
> GRANT ALL PRIVILEGES ON nextcloud.* TO
icraft@localhost;
> flush privileges;
> exit
25. 25
HAProxy: balance algorithm
hdr <header_name>
Selects a server based on an HTTP request
header. If there won’t be any value in the header,
it will work like the roundrobin algorithm.
Useful for linking users to servers by browser
type, query address, and so on.
Suitable for very specific narrow tasks.
Ref: https://cbonte.github.io/haproxy-dconv/1.8/configuration.html
31. 31
Conclusion
● Online based LibreOffice provides many
advantages for users
● Combined with Nextcloud, it becomes a secure
and powerful collaborative tool
● It can be scaled-out using HAProxy