diff options
-rw-r--r-- | 2024/organizers-notebook.md | 63 | ||||
-rw-r--r-- | 2024/organizers-notebook/index.org | 4 | ||||
-rw-r--r-- | organizers-notebook.md | 61 | ||||
-rw-r--r-- | organizers-notebook/index.org | 63 |
4 files changed, 158 insertions, 33 deletions
diff --git a/2024/organizers-notebook.md b/2024/organizers-notebook.md index 28302d07..747ee132 100644 --- a/2024/organizers-notebook.md +++ b/2024/organizers-notebook.md @@ -17,20 +17,20 @@ You might also like the [general organizers' notebook](/organizers-notebook) and - [Draft schedule](#draft-schedule) - [Prepare shift calendar, ask people to sign up](#shifts) - [Record intros and opening remarks](#intros) -- [Check EmacsConf infrastructure](#org7f830b1):project: - - [BigBlueButton](#orgb1435ea) - - [IRC web client](#org70ac2fb) - - [IRC announcements](#orgd1f3d8b) - - [Media](#orgd21917e) - - [Publishing resources to the wiki](#org122c6e4) - - [Publishing videos to the media server](#org6288353) - - [Playing videos, switching to windows](#org895c825) - - [Etherpad](#orga3f1d3b) - - [Do a dry run](#orgfaa9c67) - - [Resizing](#orgfeac328) -- [Processes and notes](#orgcb00b41) - - [Hosting](#org8eb0480) - - [ERC](#org2a15a27) +- [Check EmacsConf infrastructure](#orgedb1658):project: + - [BigBlueButton](#org04eb818) + - [IRC web client](#org566ca64) + - [IRC announcements](#org212894d) + - [Media](#orge433fce) + - [Publishing resources to the wiki](#org6d9c422) + - [Publishing videos to the media server](#org33ba132) + - [Playing videos, switching to windows](#org449f3e9) + - [Etherpad](#org402ab29) + - [Do a dry run](#org73cd89d) + - [Resizing](#org4c231c4) +- [Processes and notes](#org0300a39) + - [Hosting](#orgd203994) + - [ERC](#org68c64ec) - [Decisions](#decisions) - [BigBlueButton replacement (BBB)](#bbb) - [Support code](#support-code) @@ -286,7 +286,7 @@ AM: 9-12 PM EST, PM: 1-5 PM EST (plus a little extra for setup/transition) Saturday Dec 7 2024 -<table id="orgae8af12"> +<table id="org5a619f6"> <colgroup> @@ -374,7 +374,7 @@ Saturday Dec 7 2024 Sunday Dec 8 2024 -<table id="orgcb90c10"> +<table id="org03065f8"> <colgroup> @@ -814,7 +814,7 @@ who make EmacsConf even possible. Thanks for coming to EmacsConf 2024. -<a id="org7f830b1"></a> +<a id="orgedb1658"></a> # TODO Check EmacsConf infrastructure :project: @@ -831,7 +831,7 @@ Thanks for coming to EmacsConf 2024. - [X] Mumble: Can join from my phone, can speak on stream -<a id="orgb1435ea"></a> +<a id="org04eb818"></a> ## TODO BigBlueButton @@ -848,10 +848,11 @@ Thanks for coming to EmacsConf 2024. Prerequisites: - BBB requires 4 CPU cores before it will install. bbb-conf.sh is fairly straightforward, so I guess we could spin down and then spin up again. + Image: Ubuntu 22.04 Steps: -1. Run the BBB installer: ~./bbb-install.sh -v jammy-300 -s bbb.emacsverse.org -e emacsconf@sachachua.com -g ~ +1. Run the BBB installer: `./bbb-install.sh -v jammy-300 -s bbb.emacsverse.org -e emacsconf@sachachua.com -g` 2. `sudo apt install bbb-playback-video` and then follow the instructions at [Server Customization | BigBlueButton](https://docs.bigbluebutton.org/3.0/administration/customize/#install-additional-recording-processing-formats) . 3. <https://docs.bigbluebutton.org/3.0/administration/customize/#mute-all-users-on-startup> @@ -1085,7 +1086,7 @@ yq e -i “.public.app.clientTitle = \\”EmacsConf\\“” $TAR ### TODO Explore meeting layout? Default to custom, hosts will need to drag people’s webcam over if there’s a share -<a id="org70ac2fb"></a> +<a id="org566ca64"></a> ## IRC web client @@ -1093,7 +1094,7 @@ yq e -i “.public.app.clientTitle = \\”EmacsConf\\“” $TAR ### DONE Ask libera.chat to increase connections allowed from chat.emacsconf.org on Dec 7 and 8 -<a id="orgd1f3d8b"></a> +<a id="org212894d"></a> ## IRC announcements @@ -1104,7 +1105,7 @@ yq e -i “.public.app.clientTitle = \\”EmacsConf\\“” $TAR ### TODO Confirm automated IRC announcements from res -<a id="orgd21917e"></a> +<a id="orge433fce"></a> ## Media @@ -1118,19 +1119,19 @@ yq e -i “.public.app.clientTitle = \\”EmacsConf\\“” $TAR You can generate the index with `emacsconf-publish-update-media`. -<a id="org122c6e4"></a> +<a id="org6d9c422"></a> ## TODO Publishing resources to the wiki ansible-playbook -i inventory.yml prod-playbook.yml –tags publish -<a id="org6288353"></a> +<a id="org33ba132"></a> ## TODO Publishing videos to the media server -<a id="org895c825"></a> +<a id="org449f3e9"></a> ## Playing videos, switching to windows @@ -1141,7 +1142,7 @@ ansible-playbook -i inventory.yml prod-playbook.yml –tags publish ### TODO Document how to get that set up again -<a id="orga3f1d3b"></a> +<a id="org402ab29"></a> ## Etherpad @@ -1152,7 +1153,7 @@ ansible-playbook -i inventory.yml prod-playbook.yml –tags publish ### TODO Generate the main index -<a id="orgfaa9c67"></a> +<a id="org73cd89d"></a> ## TODO Do a dry run @@ -1163,7 +1164,7 @@ ansible-playbook -i inventory.yml prod-playbook.yml –tags publish ### TODO Test connecting to VNC and streaming via OBS -<a id="orgfeac328"></a> +<a id="org4c231c4"></a> ## Resizing @@ -1190,12 +1191,12 @@ front0: nanode meet: nanode -<a id="orgcb00b41"></a> +<a id="org0300a39"></a> # Processes and notes -<a id="org8eb0480"></a> +<a id="orgd203994"></a> ## Hosting @@ -1203,7 +1204,7 @@ meet: nanode ### TODO Finalize host for dev track -<a id="org2a15a27"></a> +<a id="org68c64ec"></a> ## ERC diff --git a/2024/organizers-notebook/index.org b/2024/organizers-notebook/index.org index 7b32b803..857010d8 100644 --- a/2024/organizers-notebook/index.org +++ b/2024/organizers-notebook/index.org @@ -846,9 +846,10 @@ DEADLINE: <2024-11-15 Fri> Prerequisites: - BBB requires 4 CPU cores before it will install. bbb-conf.sh is fairly straightforward, so I guess we could spin down and then spin up again. + Image: Ubuntu 22.04 Steps: -1. Run the BBB installer: ~./bbb-install.sh -v jammy-300 -s bbb.emacsverse.org -e emacsconf@sachachua.com -g ~ +1. Run the BBB installer: ~./bbb-install.sh -v jammy-300 -s bbb.emacsverse.org -e emacsconf@sachachua.com -g~ 2. ~sudo apt install bbb-playback-video~ and then follow the instructions at [[https://docs.bigbluebutton.org/3.0/administration/customize/#install-additional-recording-processing-formats][Server Customization | BigBlueButton]] . 3. https://docs.bigbluebutton.org/3.0/administration/customize/#mute-all-users-on-startup @@ -868,7 +869,6 @@ linode-cli linodes resize 67329098 --type g6-nanode-1 --allow_auto_disk_resize t #+begin_src echo "notify-send 'Resizing BBB...'; linode-cli linodes resize 67329098 --type g6-nanode-1 --allow_auto_disk_resize true" | at 'now + 1 hour' - #+end_src Resize disk diff --git a/organizers-notebook.md b/organizers-notebook.md index 2ff20b0d..6c1add0f 100644 --- a/organizers-notebook.md +++ b/organizers-notebook.md @@ -929,6 +929,36 @@ ssh root@bbb cd greenlight-v3 docker compose restart +Sizes: + +- dormant: 1 GB nanode +- testing: 4 core 8 GB shared CPU +- production: + + +### Installing BigBlueButton + +1. Create the instance. + - Linode 4core 8GB shared CPU + - Image: Ubuntu 22.04 +2. Update the DNS for bbb.emacsverse.org with its IP address. +3. Download the BBB installer and make it executable. +4. ufw allow 16384:32768/udp +5. Run the BBB installer: `./bbb-install.sh -v jammy-300 -s bbb.emacsverse.org -e emacsconf@sachachua.com -g` +6. `sudo apt install bbb-playback-video` and then follow the instructions at [Server Customization | BigBlueButton](https://docs.bigbluebutton.org/3.0/administration/customize/#install-additional-recording-processing-formats) . + - /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml: + + steps: + archive: 'sanity' + sanity: 'captions' + captions: + - 'process:presentation' + - 'process:video' + 'process:presentation': 'publish:presentation' + 'process:video': 'publish:video' + - systemctl restart bbb-rap-resque-worker.service +7. docker exec -it greenlight-v3 bundle exec rake admin:create[’name’,’email’,’password’] + ### System audio limitations @@ -964,6 +994,8 @@ Print out the room IDs with Room.all.each { |x| puts x.friendly_id + " " + x.name }; nil +It’s possible to change the friendly\_id and then use `x.save!`. + ### Setting up moderator access codes @@ -977,6 +1009,35 @@ ssh root@bbb ’tar zcvf - /var/bigbluebutton /etc/bigbluebutton /root/green ssh root@bbb ’dd if=/dev/sda bs=5M ’ | dd of=bbb-img-$(date “+%Y-%m-%d”).img status=progress +### Spinning BBB up again + +<span class="timestamp-wrapper"><span class="timestamp">[2025-01-22 Wed] </span></span> … actually, this ran into some issues with the certificate, so I’m just going to do a reinstall. + +Previous notes + +1. Create a Nanode. +2. Update the DNS for bbb.emacsverse.org with its IP address. (dns.he.net) +3. Reboot into Rescue mode. In Lish: + + passwd # set interactively + sed -i -e 's/#PasswordAuthentication yes/PasswordAuthentication yes/g' /etc/ssh/sshd_config + echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config + service ssh start +4. From the backup directory: + gunzip -c bbb-img-2024-12-08.img.gz | ssh root@bbb.emacsconf.org “dd of=/dev/sda bs=4M status=progress oflag=direct iflag=fullblock” +5. After I resized to 4core 8GB RAM, I couldn’t log in with SSH, so I used the Linode shell. `sshd -t` said no host keys available. Fix: + + ssh-keygen -A + service ssh --full-restart +6. ./bbb-install.sh -v jammy-300 -s bbb.emacsverse.org -e emacsconf@sachachua.com + +Resources: + +- <https://overto.eu/posts/gunzip-into-dd/> +- <https://www.linode.com/community/questions/20386/how-do-i-ssh-to-linode-from-the-finnix-boot-in-order-to-copy-my-local-vm-over-to> +- <https://github.com/bigbluebutton/bigbluebutton/issues/9485> + + <a id="general-infrastructure-manual-irc-announcements"></a> ## Manual IRC announcements diff --git a/organizers-notebook/index.org b/organizers-notebook/index.org index 891218b0..11f9f456 100644 --- a/organizers-notebook/index.org +++ b/organizers-notebook/index.org @@ -850,6 +850,37 @@ ssh root@bbb cd greenlight-v3 docker compose restart +Sizes: + +- dormant: 1 GB nanode +- testing: 4 core 8 GB shared CPU +- production: + +*** Installing BigBlueButton + +1. Create the instance. + - Linode 4core 8GB shared CPU + - Image: Ubuntu 22.04 +2. Update the DNS for bbb.emacsverse.org with its IP address. +3. Download the BBB installer and make it executable. +4. ufw allow 16384:32768/udp +5. Run the BBB installer: ~./bbb-install.sh -v jammy-300 -s bbb.emacsverse.org -e emacsconf@sachachua.com -g~ +6. ~sudo apt install bbb-playback-video~ and then follow the instructions at [[https://docs.bigbluebutton.org/3.0/administration/customize/#install-additional-recording-processing-formats][Server Customization | BigBlueButton]] . + - /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml: + #+begin_example + steps: + archive: 'sanity' + sanity: 'captions' + captions: + - 'process:presentation' + - 'process:video' + 'process:presentation': 'publish:presentation' + 'process:video': 'publish:video' + #+end_example + - systemctl restart bbb-rap-resque-worker.service +7. docker exec -it greenlight-v3 bundle exec rake admin:create['name','email','password'] + + *** System audio limitations :PROPERTIES: @@ -895,6 +926,8 @@ Print out the room IDs with Room.all.each { |x| puts x.friendly_id + " " + x.name }; nil #+end_src +It's possible to change the friendly_id and then use ~x.save!~. + *** Setting up moderator access codes :PROPERTIES: :CUSTOM_ID: general-infrastructure-bigbluebutton-setting-up-moderator-access-codes @@ -910,6 +943,36 @@ ssh root@bbb 'tar zcvf - /var/bigbluebutton /etc/bigbluebutton /root/greenlight- ssh root@bbb 'dd if=/dev/sda bs=5M ' | dd of=bbb-img-$(date "+%Y-%m-%d").img status=progress +*** Spinning BBB up again + +[2025-01-22 Wed] ... actually, this ran into some issues with the certificate, so I'm just going to do a reinstall. + +Previous notes + +1. Create a Nanode. +2. Update the DNS for bbb.emacsverse.org with its IP address. (dns.he.net) +3. Reboot into Rescue mode. In Lish: + #+begin_src sh :eval no + passwd # set interactively + sed -i -e 's/#PasswordAuthentication yes/PasswordAuthentication yes/g' /etc/ssh/sshd_config + echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config + service ssh start + #+end_src +4. From the backup directory: + gunzip -c bbb-img-2024-12-08.img.gz | ssh root@bbb.emacsconf.org "dd of=/dev/sda bs=4M status=progress oflag=direct iflag=fullblock" +5. After I resized to 4core 8GB RAM, I couldn't log in with SSH, so I used the Linode shell. ~sshd -t~ said no host keys available. Fix: + #+begin_src sh :eval no + ssh-keygen -A + service ssh --full-restart + #+end_src +6. ./bbb-install.sh -v jammy-300 -s bbb.emacsverse.org -e emacsconf@sachachua.com + +Resources: + +- https://overto.eu/posts/gunzip-into-dd/ +- https://www.linode.com/community/questions/20386/how-do-i-ssh-to-linode-from-the-finnix-boot-in-order-to-copy-my-local-vm-over-to +- https://github.com/bigbluebutton/bigbluebutton/issues/9485 + ** Manual IRC announcements :PROPERTIES: :CUSTOM_ID: general-infrastructure-manual-irc-announcements |