This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
haas:status [2015/11/16 13:54] – [November 13th, 2015] wedge | haas:status [2022/08/28 19:25] – [Other Days] wedge | ||
---|---|---|---|
Line 5: | Line 5: | ||
* update grade not-z scripts to handle/be aware of winter terms | * update grade not-z scripts to handle/be aware of winter terms | ||
* update system page for (new)www | * update system page for (new)www | ||
- | * include information on db server | ||
- | * upgrade mail VM to jessie/ | ||
- | * upgrade LDAP VMs to jessie | ||
- | * create new router, using OpenBSD 5.7 | ||
* scripts to write: | * scripts to write: | ||
* user homedir backup pruning script | * user homedir backup pruning script | ||
Line 85: | Line 81: | ||
* http:// | * http:// | ||
======Other Days====== | ======Other Days====== | ||
- | ======November 16th, 2015====== | ||
- | =====pod OpenJDK===== | ||
- | It seems the issue with running jar files on the pods comes down to ulimits (and OpenBSD being overly restrictive by default). | ||
- | Here's a fix (changed 512 to 1024), located in **/etc/login.conf**: | + | ======August 28th, 2022====== |
+ | =====dokuwiki included pages no edit button | ||
+ | I wanted a read-only base project page, with notes namespace-included content that users could edit. | ||
+ | |||
+ | Unfortunately, | ||
+ | |||
+ | <code php> | ||
+ | function html_secedit($text, | ||
+ | global $INFO; | ||
+ | |||
+ | if((isset($INFO) && !$INFO[' | ||
+ | $include_SEC_EDIT_PATTERN = '#< | ||
+ | return preg_replace($include_SEC_EDIT_PATTERN,'', | ||
+ | } | ||
+ | |||
+ | return preg_replace_callback(SEC_EDIT_PATTERN, | ||
+ | ' | ||
+ | } | ||
+ | </ | ||
+ | ======March 12th, 2020====== | ||
+ | |||
+ | =====borked journal, maybe fix===== | ||
< | < | ||
- | default:\ | + | tune2sf -O ^has_journal |
- | :path=/usr/bin /bin /usr/sbin /sbin / | + | e2fsck -f /dev/< |
- | : | + | tune2sf -j /dev/<dev> |
- | : | + | |
- | : | + | |
- | : | + | |
- | : | + | |
- | : | + | |
- | : | + | |
- | : | + | |
- | : | + | |
- | : | + | |
- | : | + | |
</ | </ | ||
- | ======November 13th, 2015====== | ||
- | =====C++ Operator Overloading===== | ||
- | I remember this used to seem so confusing in the past... but having played so heavily with pointers, linked lists, and manipulations therein, this suddenly wasn't any bit of a problem at all. | ||
- | Working on code for a custom number class: | + | Obtained from: |
- | <code c++> | + | * https:// |
- | number & number | + | ======November 21st, 2019====== |
- | { | + | =====pi4b dual head===== |
- | this -> add(rhs); | + | Apparently I was missing something when building up from the lite version of raspbian. For when I popped in a new raspbian |
- | return *this; | + | |
- | } | + | |
- | number & number | + | Oh well. At least things are now working as they should. |
- | { | + | |
- | | + | ======November 19th, 2019====== |
- | { | + | =====pi4b dual head issues===== |
- | | + | Attempting to set up a fresh raspbian install on the pi4b. Strangely, getting issues with dual head: it is only coming up in mirrored mode (or when I play with it, not at all). |
- | | + | |
- | } | + | The only major variables that have changed: |
- | | + | |
- | } | + | * new raspbian release |
+ | * no longer using HDMI monitors, but the DVI connections on the LAIR monitors. | ||
+ | | ||
+ | * **tvservice -l** consistently identifies two displays, so the hardware sees it, the software is not. | ||
+ | |||
+ | Interestingly: | ||
+ | ======March 15th, 2018====== | ||
+ | Setting up the raspberry pi 3 for use in the comporg class. Named it **pi3b**, and will get the IP of 10.80.2.48; running the latest stable release of rasbian. | ||
+ | |||
+ | Looking | ||
+ | |||
+ | ======March 6th, 2018====== | ||
+ | Aside from an attempt at restarting my status-reporting habits in January of 2017, I totally neglected it for the remainder of the year. | ||
+ | |||
+ | So here we go, attempting another go. Will we be successful? | ||
+ | |||
+ | =====pods configured for better SSD operation===== | ||
+ | In other recent projects, I encountered some useful configuration options to improve performance, and avoid some anti-longevity side-effects of default settings. | ||
+ | |||
+ | I ended up taking a Debian USB installer, booting each pod in rescue mode, getting to a prompt, and running the following on EACH: | ||
+ | |||
+ | < | ||
+ | # umount | ||
+ | # tune2fs -O ^has_journal | ||
+ | # tune2fs -o discard /dev/sda1 | ||
+ | </ | ||
+ | |||
+ | Then on the master nodes, I enhanced both **/ | ||
+ | |||
+ | < | ||
+ | # /etc/fstab: static file system information. | ||
+ | # | ||
+ | # <file system> <mount point> | ||
+ | / | ||
+ | tmpfs / | ||
+ | tmpfs / | ||
+ | tmpfs / | ||
+ | tmpfs / | ||
</ | </ | ||
- | Useful | + | Note how I put the log files in RAM too (on the pods)... this should greatly reduce extraneous writes. |
+ | |||
+ | Then at the bottom of **/ | ||
+ | |||
+ | < | ||
+ | #!/bin/sh -e | ||
+ | # | ||
+ | # rc.local | ||
+ | # | ||
+ | IPADDR= | ||
+ | while [ -z " | ||
+ | IPADDR=`/ | ||
+ | sleep 1 | ||
+ | done | ||
+ | / | ||
+ | / | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | |||
+ | echo deadline > / | ||
+ | echo 1 > / | ||
+ | |||
+ | exit 0 | ||
+ | </ | ||
+ | |||
+ | As the **deadline** scheduler has frequent mention of usage with SSDs. | ||
+ | |||
+ | Useful | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | |||
+ | =====lab46too SSD updates===== | ||
+ | With the pods having seen their SSD updates, I am looking to do the same for lab46too, testing to make sure the similar changes can be applied to that machine before rolling them over to lab46 proper. | ||
+ | |||
+ | I've updated the /etc/fstab and / | ||
- | * http:// | + | I had to remove the commit=600 from the /home partition. For some reason it didn't want to mount with that. |
- | * http://courses.cms.caltech.edu/ | + | |
======Month Status Page Navigation====== | ======Month Status Page Navigation====== | ||
- | ^ [[haas/ | + | ^ [[haas/ |