Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting...

23

description

New hardware - LB and workers: 8 servers (2 quads): - 2x Intel Xeon 2.6GHz CPU (32 logical cores) - 64 GB RAM - 2x 10 Gbit network interface Scientific Linux 6 Agile compliant 3

Transcript of Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting...

Page 1: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.
Page 2: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

2

Drupal Service:Infrastructure Update

Marek SalwerowiczSergio Fernandez

ENTICE Meeting2015-11-04

Page 3: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

3

New hardware - LB and workers:

• 8 servers (2 quads):- 2x Intel Xeon 2.6GHz CPU    (32 logical cores)- 64 GB RAM- 2x 10 Gbit network interface

• Scientific Linux 6• Agile compliant

Page 4: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

4

New hardware - storage server• NetAPP FAS 2240• 20 TB storage space• 2 logical nodes• uplinked to 2 10-Gbit switches

Page 5: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

5

New hardware - Drupal performance• 175 req/s   - memcache disabled• 1000 req/s - memcache enabled • 5500 req/s - with Boost module enabled

Page 6: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

6

MigrationSafeHost -> Computer Centre

• alpha- and beta-testers • sites migrated according to the announced

schedule• 100 % sites availability in internal CERN

network • "read-only mode" for ~5-10 minutes• no issues reported

Page 7: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

7

.cern domain • First approach

• External proxy server configured in front of Drupal Infrastructure [how about proxy outage / low performance?]

• Only one site (home) configured [what about other (eg. expertiments' , press, jobs ? ) ]

• redirect from old sitename to new (through proxy) [ what if proxy is down ? ]

• Solution delivered• No proxy server configured• Internal Redirects (no proxy)• Flexible aliases configuration 

(every Drupal site can have several ". cern" aliases )

• launched on 20th of October:home.cern ; www.cern ; www.home.cern

• limitation: SSL certificate re-issuing (official sites / purposes only )

Page 8: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

8

Current Statistics • We are hosting more than 1000 sites !• 400  official

570  test / development34    personal sites

• average load: 820 000 hits/day (April-October 2015)

Page 9: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

9

Top "5" sites (April-October 2015)

home: 13 209 441 hits/monthjobs:      2 036 795 hits/monthcms:      1 538 659 hits/monthpress:    1 002 486 hits/monthtimeline:   879 445 hits/month

rest: below 500 000 hits/month

Page 10: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

10

Peaks in 2015:• April Fool's day: 19 977 133 hits

• 5th of April LHC Run 2 start: 3 272 963 hits

• 3rd of June First collisions at 13 TeV : 3 437 020 hits

• 23rd of September - UFO, black hole;  Google Maps pointing to CERN ;-) : 3 143 614 hits

Page 11: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

11

Centrally managed modules - new candidates:

• JQuery Update - 100+ sites• Superfish          - 70+   sites• UUID  (?)          - 50+   sites

• Feeds SQL       - request from Users

Page 12: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

12

Incident on 14th October 2015: Drupal official sites down

• Database infrastructure suddenly down• recovery time: 25 minutes• More reliable solution under development by

IT/DB• SSB Entry: OTG0025531

Page 13: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

13

Webservices Integration/Policy• Integration with webservices

• Creation/deletion• Naming conventions (test)• Informative banners

• Lifecycle• Archiving• Logical deletion

Page 14: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

14

Tools for administrators• https://drupalsite.web.cern.ch/_site

Page 15: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

15

Backup/Restore• Added centrally managed backups.• User backups still possible.

Page 16: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

16

Clone between sites

• User must be part of site admins for both sites.

Page 17: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

17

Modules list

Page 18: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

18

Modules list• Local version of centrally managed modules

not supported.• It is recommended to use the centrally

managed version.

Page 19: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

19

Social Integration• Functionalities:

• Show profile, hashtag, trending topics.• Post messages to social.• Added People profiles.• Added Conversations.

• Live tutorial:• demo-social.web.cern.ch

Page 20: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

20

Future plans• Drupal 8 pilot in '2016• Step by step

• Modules might not be ready• New Operating System, new PHP Version• Sites upgrade to Drupal 8 ?

• Enable access to Drupal sites from TN• to be discussed with IT Security

Page 21: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

21

Drupal 8 Welcome Party • Worldwide Community cheerfully welcomes

the official release on 19th of November• #celebr8d8 in Social Media• A party at CERN ? 

• https://groups.drupal.org/drupal-8-release-parties

Page 22: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.

Thank you

Q&A

[email protected]

Page 23: Drupal Service: Infrastructure Update 2 Marek Salwerowicz Sergio Fernandez ENTICE Meeting 2015-11-04.