Subversion Repositories DevTools

Rev

Rev 6320 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6320 Rev 7412
Line 28... Line 28...
28
    Daemon supervisor
28
    Daemon supervisor
29
        Responsible for start and restarting configured daemons
29
        Responsible for start and restarting configured daemons
30
    Transfer Daemons
30
    Transfer Daemons
31
        Responsible for the package sync operations for one target
31
        Responsible for the package sync operations for one target
32
        Multiple Daemons ( targets ) are supported
32
        Multiple Daemons ( targets ) are supported
-
 
33
        Multiple Daemon types are supported
-
 
34
            dpkg_archive sync (original)
-
 
35
            s3Sync (AWS S3 bucket sync for CI/CD)
33
    On Target utilities
36
    On Target utilities
34
        A set of scripts that support Blat
37
        A set of scripts that support Blat
35
        These are transferred to the target machine.
38
        These are transferred to the target machine.
36
 
39
 
37
Each Blat Daemon performs three main operations
40
Each Blat Daemon performs three main operations
Line 75... Line 78...
75
has been writable for longer than a configured time period.
78
has been writable for longer than a configured time period.
76
 
79
 
77
The frequency of the Repository synchronization can be configured. A time of
80
The frequency of the Repository synchronization can be configured. A time of
78
several hours is suggested.
81
several hours is suggested.
79
 
82
 
80
 
-
 
81
PackageList creation
83
PackageList creation
82
===============================
84
===============================
83
Blat will create and send to the target a list of package-version that are
85
Blat will create and send to the target a list of package-version that are
84
in the current set. This list may be used to clean out the package archive,
86
in the current set. This list may be used to clean out the package archive,
85
but this functionality has not yet been implemented.
87
but this functionality has not yet been implemented.
Line 114... Line 116...
114
This list greatly simplifies the process of locating a file in the archive.
116
This list greatly simplifies the process of locating a file in the archive.
115
The user simply greps the package list, rather than search the directory tree.
117
The user simply greps the package list, rather than search the directory tree.
116
 
118
 
117
The file list is in a file .../dpkg_archive/.dpkg_archive/dpkg_archive_list.txt
119
The file list is in a file .../dpkg_archive/.dpkg_archive/dpkg_archive_list.txt
118
   
120
   
-
 
121
S3 Bucket Delivery
-
 
122
===============================
-
 
123
Blat has been extended to provide CI/CD support via an S3 bucket
-
 
124
The s3Sync task will maintain a single S3 bucket with ZIP files of 
-
 
125
packages from  Releases that support S3Sync
-
 
126
 
119
 
127
 
120
Host System Requirements
128
Host System Requirements
121
========================
129
========================
122
1) Unix
130
1) Unix
123
   It has been designed for a Unix environment - not Windows
131
   It has been designed for a Unix environment - not Windows
Line 129... Line 137...
129
   Start and stop scripts are in shell
137
   Start and stop scripts are in shell
130
5) Utilities
138
5) Utilities
131
    ssh
139
    ssh
132
    gtar
140
    gtar
133
    gzip
141
    gzip
-
 
142
    aws cli (for s3Sync)
134
 
143
 
135
Target System Requirements
144
Target System Requirements - dpkg_archive sync
136
========================
145
========================
137
1) Unix
146
1) Unix
138
   It has been designed for a Unix environment - not Windows
147
   It has been designed for a Unix environment - not Windows
139
2) Perl
148
2) Perl
140
3) Shell
149
3) Shell
Line 245... Line 254...
245
 
254
 
246
kill pid_of_master
255
kill pid_of_master
247
    Will shut down system gracefully by sending kill to all
256
    Will shut down system gracefully by sending kill to all
248
    children.
257
    children.
249
 
258
 
-
 
259
ssh-to <name or ip address>
-
 
260
    Will ssh to the target machine as the pkgadmin user
-
 
261
 
-
 
262
ssh-copy-id -i ssh/id_rsa_pkg_admin pkgadmin@<name or ip address>
-
 
263
    Will copy the ssh identity file to the target machine
-
 
264
    You will need the password of the 'pkgadmin' user as configured on the target machine
-
 
265
 
250
Debug verbosity is controlled via the 'verbose' config item
266
Debug verbosity is controlled via the 'verbose' config item
251
 
267
 
252
The pkg.xxxx config items are very special.
268
The pkg.xxxx config items are very special.
253
If the named package-version is a symlink, then both the
269
If the named package-version is a symlink, then both the
254
link and the package addresses will be transferred.
270
link and the package addresses will be transferred.