-
Notifications
You must be signed in to change notification settings - Fork 190
DIRAC 9.1
chaen edited this page Jul 24, 2026
·
5 revisions
DIRAC v9.1 is ...
Time management within allocations has been fixed (a83fa25). Please double check your CPUTime values in your JDLs (expressed in DB12.seconds) as well as in your CEs configuration (expressed in minutes) as you might get payloads running out of time if they are not correct.
What follows is a skeleton of migration. We suggest to copy/paste/edit what is below, adapting it to your installation. It contains few sections, starting from "PRE".
- [ ]
- Install the latest DIRAC v9.0
- (???) partial drain of the system (can't fully drain) by stopping the
Transformation/WorkflowTaskagents
- stop
Transformation/RequestTaskagents - stop
Transformation/Transformationagents - stop
RequestManagement/RequestExecutingagent
- (???) stop all DIRAC components (agents, services, executors) with the exception of:
-
Configuration/ServerServices -
Framework/SystemAdministrator(of these, there will be one per server)
-
use JobDB;
DROP TABLE IF EXISTS `JobsHistorySummary`;
CREATE TABLE `JobsHistorySummary` (
`ID` INT AUTO_INCREMENT PRIMARY KEY,
`Status` VARCHAR(32),
`Site` VARCHAR(100),
`Owner` VARCHAR(32),
`OwnerGroup` VARCHAR(128),
`VO` VARCHAR(64),
`JobGroup` VARCHAR(32),
`JobType` VARCHAR(32),
`ApplicationStatus` VARCHAR(255),
`MinorStatus` VARCHAR(128),
`JobCount` INT,
`RescheduleSum` INT,
UNIQUE KEY uq_summary (
`Status`,
`Site`,
`Owner`,
`OwnerGroup`(32),
`VO`,
`JobGroup`,
`JobType`,
`ApplicationStatus`(128),
`MinorStatus`
)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
use PilotAgentsDB;
DROP TABLE IF EXISTS `PilotsHistorySummary`;
CREATE TABLE `PilotsHistorySummary` (
`GridSite` VARCHAR(128),
`ComputingElement` VARCHAR(128),
`GridType` VARCHAR(128),
`Status` VARCHAR(32),
`VO` VARCHAR(64),
`PilotCount` INT,
PRIMARY KEY (`GridSite`,`ComputingElement`,`GridType`,`Status`, `VO`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;- update DBs with following SQL statements: https://gist.github.com/fstagni/6ecafad305ad83fcc94b163ca853ed73
- restart the running DIRAC components
- start all stopped DIRAC components, services before agents
- DIRAC:
- DiracX:
- DiracX-Web:
Following #8714 a new index needs to be added to the RequestDB
CREATE INDEX idx_request_status_notbefore_lastupdate ON Request (Status, NotBefore, LastUpdate) ALGORITHM=INPLACE LOCK=NONE;