Demo: migrations follow the schedule, worked by a simulated team
Each device now migrates on the day of its date tag instead of on a looping 24-hour clock: earlier days are finished, today's devices go through backup and restore during working hours, later days haven't started. The few that don't finish have a cause the dashboard shows (broken client, broken WMI, low disk, a USMT error, unreachable PC). A simulated team keeps two weeks of working days tagged. During working hours it adds devices, reschedules or drops one, tags stuck PCs with their problem, then fixes them and moves them to a new day; each morning finished days are closed out and a new day is scheduled. Actions print in the worker terminal as [Team] lines. Settings live in Demo.Team. The visitor sandbox now keeps per-tag edits laid over the live roster, so the team's changes keep showing around a visitor's own edits. Overview calendar: today is a filled badge on the date number, so it no longer looks like the selected day (outline plus tint).
This commit is contained in:
7 files changed
+563
-155
No files matched your search
+12
-1
@@ -130,7 +130,6 @@
|
||||
DeviceCount = 200 # tracked source devices seeded at startup
|
||||
CycleSeconds = 45 # cooldown between cycles (business hours are ignored)
|
||||
DelayMsPerDevice = 35 # artificial per-device latency so the progress bar moves
|
||||
LifecycleHours = 24 # how long one simulated migration takes, start to finish
|
||||
PresenceSweepMinutes = 60 # completed / Skip USMT devices: hourly, like Live (the demo runs all day)
|
||||
LivePublishSeconds = 4 # publish swept rows this often during a cycle
|
||||
|
||||
@@ -142,6 +141,18 @@
|
||||
End = '21:00'
|
||||
Weekdays = @(0, 1, 2, 3, 4, 5, 6) # every day
|
||||
}
|
||||
# The simulated team: date tags cover the next DaysAhead working days (each day's devices
|
||||
# migrate during WorkStart-WorkEnd) and the last DaysKept days until they're closed out.
|
||||
# Every ActionEveryMinutes (a random pick in the range) someone changes the roster.
|
||||
Team = @{
|
||||
WorkStart = '07:30'
|
||||
WorkEnd = '17:00'
|
||||
Weekdays = @(1, 2, 3, 4, 5) # Monday to Friday
|
||||
DaysAhead = 10 # two weeks of working days, today included
|
||||
DaysKept = 3
|
||||
DevicesPerDay = 12
|
||||
ActionEveryMinutes = @(4, 12)
|
||||
}
|
||||
Verbose = $true # run the worker with -v style tracing
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user