haas:status
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:status [2015/10/26 04:40] – [cron unhappiness] wedge | haas:status [2022/08/28 16:15] (current) – [August 28th, 2022] 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 82: | Line 78: | ||
* https:// | * https:// | ||
* http:// | * http:// | ||
+ | * rxvt / .Xresources | ||
+ | * http:// | ||
======Other Days====== | ======Other Days====== | ||
- | ======October 26th, 2015====== | ||
- | A lot of time has passed since my last update... not that it hasn't been without activity. The LAIR moving, the LAIR getting set back up... merely just a lapse in my documenting habits. | ||
- | =====disk space===== | + | ======August 28th, 2022====== |
- | I am currently on an automation kick, to try and reduce | + | =====updated dokuwiki===== |
+ | After enduring constant nags of available updates that I could never resolve, and despite | ||
+ | =====dokuwiki included pages no edit button (fixed)===== | ||
+ | I wanted a read-only base project page, with notes namespace-included content | ||
+ | |||
+ | 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===== | ||
+ | |||
+ | < | ||
+ | tune2sf -O ^has_journal / | ||
+ | e2fsck -f / | ||
+ | tune2sf -j / | ||
+ | </ | ||
+ | |||
+ | Obtained from: | ||
+ | |||
+ | * https:// | ||
+ | ======November 21st, 2019====== | ||
+ | =====pi4b dual head===== | ||
+ | Apparently I was missing something when building up from the lite version | ||
+ | |||
+ | 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 (I could test my old setup.. that is easy enough | ||
+ | * no longer using HDMI monitors, but the DVI connections on the LAIR monitors. | ||
+ | * further investigation suggests the pi may be seeing identical EDIDs and other monitor ID things, so it is defaulting to a mirroring mode. | ||
+ | * **tvservice -l** consistently identifies two displays, so the hardware sees it, the software | ||
+ | |||
+ | 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; | ||
+ | |||
+ | Looking to get LDAP and autofs going, then installing packages to make it minimally functional for our purposes. | ||
+ | |||
+ | ======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 /dev/sda1 | ||
+ | # tune2fs -o discard /dev/sda1 | ||
+ | </ | ||
+ | |||
+ | Then on the master nodes, I enhanced both **/ | ||
- | Aside from sokraits/halfadder, which still need a new pruning script, only lab46 and log were reaching saturation. log especially so. | + | < |
+ | # /etc/fstab: static file system information. | ||
+ | # | ||
+ | # <file system> <mount point> | ||
+ | / | ||
+ | tmpfs / | ||
+ | tmpfs /var/log | ||
+ | tmpfs / | ||
+ | tmpfs / | ||
+ | </ | ||
- | lab46 was simply a matter of clearing out /root of unnecessary | + | Note how I put the log files in RAM too (on the pods)... this should greatly reduce extraneous writes. |
- | log I ended up rolling some rather large and long-running log files. Compressing them (-9) really did the trick. | + | Then at the bottom of **/etc/rc.local**, I added: |
- | ======October 25th, 2015====== | + | < |
- | =====cron unhappiness===== | + | #!/bin/sh -e |
- | Seems cron wasn't entirely happy with my new scripts, and wasn't overly happy in general (was having trouble contacting the ldap server). I removed the auth3 entry and restarted it, and fixed various path issues in the troubled scripts... things seem to be okay now. | + | # |
+ | # rc.local | ||
+ | # | ||
+ | IPADDR= | ||
+ | while [ -z " | ||
+ | IPADDR=`/ | ||
+ | sleep 1 | ||
+ | done | ||
+ | / | ||
+ | / | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
- | =====class metrics===== | + | echo deadline > / |
- | My various class metrics scripts, data, and graphs got some extra love... I now have late submissions reporting, along with class-centric metrics pages allowing for an overall trends graph being (manually) generated. | + | echo 1 > / |
- | I'll have to automate that at some point... | + | exit 0 |
- | ======October 24th, 2015====== | + | </ |
- | =====idler-ng===== | + | |
- | Perhaps not quite worthy of ' | + | |
- | I actually should pull some data from the 'gn gather' | + | As the **deadline** scheduler has frequent mention |
- | =====calcweek module of gn===== | + | Useful URLs: |
- | While investigating a (once again) break week offset bug, I discovered the source of the problem... break week offsets were only being recognized if the span of days was exactly 5. My break weeks were entered including weekend dates, so they were always larger than 5. A '**-ge 5**' seemed to do the trick nicely. | + | |
- | =====cron stuff and new script: projtasks===== | + | * [[https:// |
- | I've been wanting | + | * [[https:// |
+ | | ||
- | **projtasks** simplifies the whole **at** job thing, eliminating them and being run once per day. It is aware of not only what projects a class has, but what projects are currently active and in need of seeing metrics page refreshes. | ||
- | After various tweaks, I seem to have gotten a number of my other scripts cooperating with cron as well. | ||
- | =====holiday themed motd===== | + | =====lab46too SSD updates===== |
- | While I was digging in other stuff, I rediscovered a set of holiday themed motd's I had deployed a number of years ago (say, 2011)... a few **at** jobs and it is now in progress. | + | 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 / | ||
+ | I had to remove the commit=600 from the /home partition. For some reason it didn't want to mount with that. | ||
======Month Status Page Navigation====== | ======Month Status Page Navigation====== | ||
- | ^ [[haas/ | + | ^ [[haas/ |
haas/status.1445848804.txt.gz · Last modified: 2015/10/26 04:40 by wedge