SlideShare a Scribd company logo
1 of 33
Download to read offline
LibreOffice Online:
大規模運用のための実験
ランドリアナリヴ二 二リナリサンタトゥラ
第 17 回関西 LibreOffice 勉強会
2019 年 11 月 30 日
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 Unported License
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
3
マダガスカルはどこですか?
4
マダガスカル共和国
●
人口:2600万人
●
面積:日本の約1.6倍
●
首都:アンタナナリボ
●
公用語:
• マダガスカル語
• フランス語
●
宗教:
• キリスト教41%
• 伝統宗教52%
• イスラム教7%
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
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?
7
Lab architectureClients
Nextcloud HAProxy
Collabora Online
server farm
Cloud hostedInternet
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
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
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
11
Use cases
12
Source: https://www.collaboraoffice.com/
13
Source: https://www.collaboraoffice.com/
14
Source: https://www.collaboraoffice.com/
15
Configuration
16
Overall configuration
Nextcloud
MySQL
PHP
NGINX
HAProxy
Collabora1
Collabora2 ...
Collaboran
● SSL termination
● Custom header
● Ports 80 & 443
● HTTPS redirect
● Reverse proxy
● Port 9980
● SSL disabled
● 2 servers (test)
Cluster
17
Restrictions
Client
Collabora Online
server farm
1.Same Version
2.SSL disabled
3. HTTP Traffic
4. SSL Termination
Nextcloud HAProxy
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
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
20
Nextcloud (3)
Nextcloud installation from source package:
$ cd /var/www/
$ sudo wget
https://download.nextcloud.com/server/releases/latest
.tar.bz2
$ sudo tar xvf latest.tar.bz2
$ sudo mkdir -p nextcloud/data/
$ sudo chown -R www-data:www-data
/var/www/nextcloud/
21
NGINX configuration
Filename: /etc/nginx/sites-enabled/nextcloud
22
NGINX configuration (2)
Filename: /etc/nginx/sites-enabled/nextcloud
23
HAProxy
1.Version 1.8.8 (Ubuntu 18.04.3 LTS)
2.Installation step:
$ sudo apt install haproxy
3.Configuration file check:
$ sudo haproxy -c -V -f /etc/haproxy/haproxy.cfg
24
HAProxy configuration
Filename: /etc/haproxy/haproxy.cfg
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
26
Collabora Online
1.Repository configuration
➢ Configure first the Collabora repository, then:
$ sudo apt update
2.Binaries installation:
$ sudo apt install loolwsd collabora-online-brand
1.Administrative password setup:
$ sudo loolconfig set-admin-password
27
Collabora Online configuration
Filename: /etc/loolwsd/loolwsd.xml
28
Nextcloud (4)
29
Extra configuration
Filename: /etc/cron.d/certbot
➢ SSL certificate automatic update
30
Demo
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
32
Future work
● Improve availability
– HAProxy & Nextcloud <= SpoF
– Storage
● Performance tuning
– Collabora Online performance testing
– Nextcloud tuning:
https://docs.nextcloud.com/server/17/admin_manua
l/installation/server_tuning.html
33
Thank you
iCRAFT LibreOffice contact information:
librepc@icraft.jp
https://librepc.jp
https://icraft.jp

More Related Content

More from iCRAFT Corp. (アイクラフト株式会社)

More from iCRAFT Corp. (アイクラフト株式会社) (20)

LibreOfficeを使ってみよう!操作ワークショップ-アイクラフト新人研修-
LibreOfficeを使ってみよう!操作ワークショップ-アイクラフト新人研修-LibreOfficeを使ってみよう!操作ワークショップ-アイクラフト新人研修-
LibreOfficeを使ってみよう!操作ワークショップ-アイクラフト新人研修-
 
Internship final presentation: Santatra
Internship final presentation: SantatraInternship final presentation: Santatra
Internship final presentation: Santatra
 
Experiment for large-scale operation of LibreOffice Online, 2019 Edition
Experiment for large-scale operation of LibreOffice Online, 2019 EditionExperiment for large-scale operation of LibreOffice Online, 2019 Edition
Experiment for large-scale operation of LibreOffice Online, 2019 Edition
 
オープンソース・ソフトウェアとコミュニティについて
オープンソース・ソフトウェアとコミュニティについてオープンソース・ソフトウェアとコミュニティについて
オープンソース・ソフトウェアとコミュニティについて
 
Expanding LibreOffice Contribution to West Africa
Expanding LibreOffice Contribution to West AfricaExpanding LibreOffice Contribution to West Africa
Expanding LibreOffice Contribution to West Africa
 
LibreOffice Onlineの大規模環境での稼働
LibreOffice Onlineの大規模環境での稼働LibreOffice Onlineの大規模環境での稼働
LibreOffice Onlineの大規模環境での稼働
 
Internship Final Presentation -Tomas Kapiye-
 Internship Final Presentation -Tomas Kapiye- Internship Final Presentation -Tomas Kapiye-
Internship Final Presentation -Tomas Kapiye-
 
Quality Assurance(QA) for LibreOffice
Quality Assurance(QA)  for LibreOfficeQuality Assurance(QA)  for LibreOffice
Quality Assurance(QA) for LibreOffice
 
LibreOffice Online – Nextcloud, One Step Closer Towards Open Source Heaven
LibreOffice Online – Nextcloud, One Step Closer Towards Open Source HeavenLibreOffice Online – Nextcloud, One Step Closer Towards Open Source Heaven
LibreOffice Online – Nextcloud, One Step Closer Towards Open Source Heaven
 
How African students contribute to Libreoffice 
How African students contribute to Libreoffice How African students contribute to Libreoffice 
How African students contribute to Libreoffice 
 
LibreOffice Development: QA and Translation
LibreOffice Development: QA and TranslationLibreOffice Development: QA and Translation
LibreOffice Development: QA and Translation
 
Internship final presentation Mohamed
Internship final presentation MohamedInternship final presentation Mohamed
Internship final presentation Mohamed
 
LibreOffice intern activities 2017-2018 Aschalew
LibreOffice intern activities 2017-2018 AschalewLibreOffice intern activities 2017-2018 Aschalew
LibreOffice intern activities 2017-2018 Aschalew
 
LibreOffice開発活動 (オープンソースカンファレンス2018 Osaka)
LibreOffice開発活動 (オープンソースカンファレンス2018 Osaka)LibreOffice開発活動 (オープンソースカンファレンス2018 Osaka)
LibreOffice開発活動 (オープンソースカンファレンス2018 Osaka)
 
(KOF2017 )FOSS/LibreOffice status in Ethiopia
(KOF2017 )FOSS/LibreOffice status in Ethiopia(KOF2017 )FOSS/LibreOffice status in Ethiopia
(KOF2017 )FOSS/LibreOffice status in Ethiopia
 
(KOF2017) LibreOffice development activities: QA and Translation
(KOF2017) LibreOffice development activities: QA and Translation(KOF2017) LibreOffice development activities: QA and Translation
(KOF2017) LibreOffice development activities: QA and Translation
 
Opportunity to build FOSS/LibreOffice community in Ethiopia
Opportunity to build FOSS/LibreOffice community in EthiopiaOpportunity to build FOSS/LibreOffice community in Ethiopia
Opportunity to build FOSS/LibreOffice community in Ethiopia
 
Expand LibreOffice Contribution to North Africa
Expand LibreOffice Contribution to North AfricaExpand LibreOffice Contribution to North Africa
Expand LibreOffice Contribution to North Africa
 
LibreOffice Online環境の構築
LibreOffice Online環境の構築LibreOffice Online環境の構築
LibreOffice Online環境の構築
 
LibreOfficeサポートビジネスを1年やってみました
LibreOfficeサポートビジネスを1年やってみましたLibreOfficeサポートビジネスを1年やってみました
LibreOfficeサポートビジネスを1年やってみました
 

Recently uploaded

CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
anilsa9823
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 

LibreOffice Online: 大規模運用のための実験 2019-11-30