Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0000030opensim-SCFeaturepublic2021-08-27 08:25
Reporteronefang Assigned Toonefang  
PriorityimmediateSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Target Version0.9.1.1Fixed in Version0.9.1.1 
Summary0000030: Rewrite the bash scripts in Lua.
DescriptionFor SledjHamr I'd want these sorts of things written in Lua anyway.

Pros -
  • Easier to understand.
  • More portable.

Cons -
  • Have to make sure Lua is installed. This will be a chicken and egg problem if the install script is Lua.
Additional InformationActually writing most of it in C, with bits of Lua for config.

Done -
  • backup + gitar/rsync all members
  • backup + gitar/rsync one member
  • backup + gitar/rsync all sims
  • backup + gitar/rsync one sim
  • gitar all members
  • gitar one member
  • gitar all sims
  • gitar one sim
  • restart all sims
  • restart one sim
  • secure
  • start ROBUST and all sims
  • start one sim
  • status all members
  • status one member
  • status all sims
  • status one sim
  • stop all sims and ROBUST
  • stop one sim
  • build
  • update
  • test

Still to do -
  • install - tricky, leave until later.
TagsNo tags attached.

Relationships

related to 0000007 resolvedonefang IGnoble Needs to be a bit more robust. 
parent of 0000148 resolvedonefang opensim-SC Console grouping sanity. 

Activities

onefang

onefang

2019-07-24 06:24

administrator   ~0000102

For Windows and other OSes these might be useful -

luapower

ULua
onefang

onefang

2019-08-11 10:41

administrator   ~0000148

Last edited: 2021-08-13 03:49

One thing to change is that currently the inventory backup is done on the highest numbered sim, it should be configurable so I can put it back in Sandbox. Done.
onefang

onefang

2019-08-25 19:06

administrator   ~0000182

Last edited: 2021-08-17 15:15

Have a static binary called sledjchisl, based on toybox + Lua, that fires up tmux.

It'll replace all the scripts, including install, start, stop, backup, create, secure, and add update, build, test.

I don't think anyone ever used the create script.
onefang

onefang

2019-08-29 06:55

administrator   ~0000185

Last edited: 2021-08-17 15:14

Include in the stop-sim command that it should do "show users" and don't bother with warnings and delays if there's no one there.

Done.
Taylor

Taylor

2019-09-02 00:58

updater   ~0000186

It'll replace all the scripts, including install, start, stop, backup, create, secure, and add update, build, test.

onefang

Rolling re-start and backup in one? Start main backup procedure, one sim goes down, gets backed up, comes back online, next sim goes down, gets backed up, comes back.
onefang

onefang

2019-09-02 06:27

administrator   ~0000187

Something similar. Can't do sim goes down then gets backed up, coz the sim has to be up for the save OAR command to work.

What I do on IG is to let the automated backup do the backups per sim, then if I'm around I'll shut down the sims that have had their backups done. Except the last sim that runs the save IAR backups as well. Once it is all done, I shut down that last sim, shutdown ROBUST, then start the whole grid up again.

There's also various delays so that all that storing and compressing isn't happening all at the same time, and the system gets a breather. Not to mention the extra step I go through to create compressed gitARs out of the results.
onefang

onefang

2019-11-05 04:33

administrator   ~0000222

Last edited: 2021-08-04 05:04

For some reason the grid wont start from boot unless someone is watching the console.

Seems to be fixed now, but keep an eye on that.

And now a report that CG hangs waiting for "INITIALISATION COMPLETE FOR ROBUST", possibly coz the VMWare startup console is tiny. Or something. Might be the same thing?


Figured this out and solved it. Tmux oddity.
onefang

onefang

2021-06-29 22:36

administrator   ~0000374

Last edited: 2021-07-21 16:01

New sledjchisl stuff will attach to the tmux in the current terminal, the old start scripts didn't do that. Think I preferred the old way. Fixed.
onefang

onefang

2021-08-27 08:25

administrator   ~0000498

This one took aaaaages.

Issue History

Date Modified Username Field Change
2019-05-31 05:11 onefang New Issue
2019-05-31 05:11 onefang Status new => assigned
2019-05-31 05:11 onefang Assigned To => onefang
2019-06-03 06:38 onefang Status assigned => acknowledged
2019-06-18 02:08 onefang Relationship added related to 0000007
2019-07-24 06:24 onefang Note Added: 0000102
2019-07-27 14:54 onefang Target Version 0.9.0.1 RC0 =>
2019-07-27 15:16 onefang Description Updated
2019-08-07 23:41 onefang Target Version => 0.9.0.2
2019-08-11 10:41 onefang Note Added: 0000148
2019-08-25 19:06 onefang Note Added: 0000182
2019-08-25 19:08 onefang Priority low => normal
2019-08-25 19:08 onefang Product Version 0.9.0.1 RC0 =>
2019-08-29 06:55 onefang Note Added: 0000185
2019-09-02 00:58 Taylor Note Added: 0000186
2019-09-02 06:27 onefang Note Added: 0000187
2019-11-05 04:33 onefang Note Added: 0000222
2020-02-06 06:03 onefang Relationship added parent of 0000148
2020-02-06 06:04 onefang Relationship added child of 0000152
2020-02-06 06:05 onefang Note Edited: 0000222
2020-02-06 06:29 onefang Relationship replaced parent of 0000152
2020-02-06 06:31 onefang Priority normal => high
2020-02-06 06:31 onefang Severity feature => block
2021-05-28 06:56 onefang Priority high => urgent
2021-06-09 23:32 onefang Additional Information Updated
2021-06-09 23:33 onefang Additional Information Updated
2021-06-23 00:47 onefang Additional Information Updated
2021-06-29 22:36 onefang Note Added: 0000374
2021-07-21 08:02 onefang Additional Information Updated
2021-07-21 12:02 onefang Note Edited: 0000222
2021-07-21 12:54 onefang Additional Information Updated
2021-07-21 16:01 onefang Note Edited: 0000374
2021-07-24 04:00 onefang Priority urgent => high
2021-07-24 04:00 onefang Severity block => feature
2021-08-04 05:04 onefang Note Edited: 0000222
2021-08-10 23:40 onefang Target Version 0.9.0.2 => 0.9.1.1
2021-08-11 00:04 onefang Additional Information Updated
2021-08-11 10:38 onefang Priority high => immediate
2021-08-12 13:52 onefang Additional Information Updated
2021-08-12 23:16 onefang Additional Information Updated
2021-08-13 03:48 onefang Additional Information Updated
2021-08-13 03:49 onefang Note Edited: 0000148
2021-08-17 10:29 onefang Note Edited: 0000182
2021-08-17 15:14 onefang Note Edited: 0000185
2021-08-17 15:15 onefang Note Edited: 0000182
2021-08-18 05:32 onefang Additional Information Updated
2021-08-19 10:25 onefang Additional Information Updated
2021-08-19 14:24 onefang Additional Information Updated
2021-08-19 14:32 onefang Additional Information Updated
2021-08-19 14:34 onefang Additional Information Updated
2021-08-19 14:35 onefang Additional Information Updated
2021-08-26 22:33 onefang Additional Information Updated
2021-08-27 02:24 onefang Additional Information Updated
2021-08-27 02:42 onefang Additional Information Updated
2021-08-27 08:24 onefang Additional Information Updated
2021-08-27 08:24 onefang Relationship deleted parent of 0000152
2021-08-27 08:25 onefang Status acknowledged => resolved
2021-08-27 08:25 onefang Resolution open => fixed
2021-08-27 08:25 onefang Fixed in Version => 0.9.1.1
2021-08-27 08:25 onefang Note Added: 0000498