1.. uml::
2  :caption: Network Sequence of Migration of a Volume (overview)
3
4  @startuml
5
6  participant dir as "Director"
7  participant sd as "Read Storage Daemon"
8  participant sd2 as "Write Storage Daemon"
9
10  dir <-> sd: Handshake
11  dir <-> sd2: Handshake
12
13  dir  -> sd: Job information
14  dir  -> sd: Bootstrap information
15  dir  -> sd: Request secure erase command
16
17  dir  -> sd2: Job information
18  dir  -> sd2: Bootstrap information
19  dir  -> sd2: Request secure erase command
20  dir  -> sd2: Storage and device commands
21  dir <-  sd2: Request catalog: Find media
22
23  dir  -> sd: Replicate command
24
25  sd  <-> sd2: Handshake
26  dir  -> sd: run
27  dir <-  sd2: Job backup start and status: 'R' (JS_RUNNING, "Running")
28
29  dir <-  sd: Request catalog: Get volume info
30  dir <-  sd: Status: 'R' (JS_RUNNING, "Running")
31
32  dir <-  sd: 2 Jobmessage: "Connected" and "Ready"
33
34  sd   -> sd2: start replicate
35  sd  <-  sd2: replicate ticket
36
37  dir <-  sd2: Request catalog "Get volume info" and "Update media"
38
39  dir <-  sd: Jobmessage: "Forward spacing volume"
40
41  sd   -> sd2: Filename and metadata
42  dir <-  sd2: Catalog update: File attributes
43  sd   -> sd2: File and metadata
44
45  dir <-  sd: 2 Jobmessages: "End of volume", "End of all volumes"
46  dir <-  sd2: Catalog update: File attributes
47
48  dir <-  sd2: Releasing device
49  dir <-  sd2: Catalog requests: "Create job media", "Update media"
50  dir <-  sd2: Status: 'T' (Job terminated normally)
51
52  sd  <-  sd2: Termination message
53  dir <-  sd: Jobmessage: "Releasing"
54  dir <-  sd2: Catalog request: Update media
55
56  dir <-  sd2: Termination message
57  dir <-  sd2: Termination message
58
59  dir <-  sd: Status: 'R' (JS_RUNNING, "Running")
60  dir <-  sd: Status: 'T' (Job terminated normally)
61
62  dir <-  sd: Termination message
63  dir <-  sd: Termination message
64
65  @enduml
66