Add verified system-management tasks (item read/write, quick load records, history load, monitoring processes, consistency check, tuning checks), the importable CI-Eng-Sample project with load/remove scripts, the unlicensed 1-hour shutdown note, and the sample-project re-test rule. Close ISS-002/003/004 and log ISS-005..007. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
1.2 KiB
Batchfile
16 lines
1.2 KiB
Batchfile
@echo off
|
|
rem Remove CI-Eng-Sample from a CI Server R1.03 TEST system (also deletes its history).
|
|
rem Run in an elevated prompt while CI Server is running; call this script by full path.
|
|
rem Order: storage links, stop + delete storage group, items, sections (children first).
|
|
rem A storage group with an active unit cannot be deleted (HIS-E-GROUPHASUNT), so the
|
|
rem group first gets a stop time one minute ahead; the script waits until it has passed.
|
|
cd /d "%~dp0"
|
|
dssqld -r 89_remove_item_his_df.qli -l 89_remove_item_his_df.qlo
|
|
powershell -NoProfile -Command "$t=(Get-Date).AddMinutes(1).ToString('dd-MM-yyyy HH:mm:ss'); \"@LANGUAGE`r`nENGLISH`r`n`r`n@VERSION`r`n1.03.00`r`n`r`n@FIELDS`r`nNAME,STOP_TIME`r`n`r`n@HIS_GROUP_DF`r`n\"\"CIENG_EVENT\"\",\"\"$t\"\"`r`n\" | Set-Content -Encoding ascii 90a_stop_his_group_df.qli"
|
|
dssqld -m 90a_stop_his_group_df.qli -l 90a_stop_his_group_df.qlo
|
|
echo Waiting 75 seconds for the storage group stop time to pass...
|
|
powershell -NoProfile -Command "Start-Sleep -Seconds 75"
|
|
dssqld -r 90_remove_his_group_df.qli -l 90_remove_his_group_df.qlo
|
|
dssqld -r 91_remove_item_df.qli -l 91_remove_item_df.qlo
|
|
dssqld -r 92_remove_section_df.qli -l 92_remove_section_df.qlo
|
|
del 90a_stop_his_group_df.qli
|