Archive Resources in PAWN | ||||||||||
| Line: 92 to 92 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Quick guide to creating a resource | ||||||||||
| Changed: | ||||||||||
| < < |
| |||||||||
| > > |
| |||||||||
| ||||||||||
| Line: 122 to 123 | ||||||||||
| ||||||||||
| Added: | ||||||||||
| > > |
| |||||||||
Archive Resources in PAWN | |||||||||||||
| Line: 17 to 17 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Configuration Design | |||||||||||||
| Changed: | |||||||||||||
| < < |
The configuration is generated in two parts. First is general parameters used to configure the receiving server driver and client gui. Parameters supplied to each may be the same, or seperate. The second part of the configuration is a set of parameters supplied from the client to the receiving server that contain parameters specific to a given transfer. | ||||||||||||
| > > |
The configuration is generated in two parts. First is general parameters used to configure the receiving server driver and client gui. Parameters supplied to each may be the same, or seperate (driver configuration from above). The second part of the configuration is a set of parameters supplied from the client to the receiving server that contain parameters specific to a given transfer (client service from above). | ||||||||||||
| For example, a resource may supply a read-only account to allow clients to select a destination, while a read-write account is supplied to the receiving server to perform the physical move. | |||||||||||||
| Line: 57 to 57 | |||||||||||||
| Receiving Server Driver | |||||||||||||
| Added: | |||||||||||||
| > > |
This is a resource' implementation of edu.umiacs.pawn.resource.DataMover. | ||||||||||||
The receiving server driver gets a copy of the global parameters along with a set of client specified parameters that are specific to a given package transfer. These parameters, and a transfer context are passed into the datamover driver. In addition, pawn assembles a set of manifests and items that are to be ingested into the resource.
Depending on what needs to be ingested, one of the two processes are followed.
| |||||||||||||
| Changed: | |||||||||||||
| < < |
| ||||||||||||
| > > |
| ||||||||||||
| |||||||||||||
| Changed: | |||||||||||||
| < < |
| ||||||||||||
| > > |
| ||||||||||||
|
| |||||||||||||
| Line: 78 to 80 | |||||||||||||
| Driver Configuration | |||||||||||||
| Added: | |||||||||||||
| > > |
This is the resrouce' implementation of edu.umiacs.pawn.resource.ConfigurationGuiPanel. This component is initialized with the client and mover level parameters (will be empty if this is a new resource). It returns seperate client and mover parameters. | ||||||||||||
| Client Service | |||||||||||||
| Added: | |||||||||||||
| > > |
This is the resrouce' implementation of edu.umiacs.pawn.resource.ClientGuiPanel.
This component is initialized with the client parameters supplied from the driver configuration. It returns a set of parameters that is set as the client portion of the confing to the mover.
Quick guide to creating a resource
| ||||||||||||
| |||||||||||||
| Changed: | |||||||||||||
| < < |
| ||||||||||||
| > > |
| ||||||||||||
Archive Resources in PAWN | |||||||||||||
| Line: 21 to 21 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| For example, a resource may supply a read-only account to allow clients to select a destination, while a read-write account is supplied to the receiving server to perform the physical move. | |||||||||||||
| Changed: | |||||||||||||
| < < |
Workflow for using a resource | ||||||||||||
| > > |
Workflow for configuring a resource | ||||||||||||
![]() | |||||||||||||
| Line: 53 to 53 | |||||||||||||
| |||||||||||||
| Added: | |||||||||||||
| > > |
Component Details | ||||||||||||
| Added: | |||||||||||||
| > > |
Receiving Server Driver
The receiving server driver gets a copy of the global parameters along with a set of client specified parameters that are specific to a given package transfer. These parameters, and a transfer context are passed into the datamover driver. In addition, pawn assembles a set of manifests and items that are to be ingested into the resource.
Depending on what needs to be ingested, one of the two processes are followed.
| ||||||||||||
| |||||||||||||
| Added: | |||||||||||||
| > > |
| ||||||||||||
| ||||||||
| Changed: | ||||||||
| < < |
Pushing data out of PAWN | |||||||
| > > |
Archive Resources in PAWN | |||||||
| Changed: | ||||||||
| < < |
Pushing data out of PAWN and into more permanent storage is done through 3rd party transfer triggered from a client that moves data from a receiving server to somewhere. This transfer requires two parts. First the client needs to specify in a target-specific mannor where the data is to be pushed. (IE, what directory, ftp server, collection, etc). Second, the receiving server has to have a driver for the specified target that does the physical push. In addition to moving the data, the driver should also provide a handle back to PAWN containing information necessary to access the data. | |||||||
| > > |
Pushing data out of PAWN and into more permanent storage is done by the receiving server using archival resources. The push is a 3rd party transfer triggered by a client. This transfer requires two parts. First the client that initiates the transfer. This client needs to specify where the data is to be pushed, and what data is to be pushed. (IE, what directory, ftp server, collection, from which package etc). Second, the receiving server has to have a driver for the archive resource that does the physical transfer. In addition to moving the data, the driver will also provide a handle back to PAWN containing information necessary to access the data. This handle will be logged with the package. | |||||||
| Changed: | ||||||||
| < < |
As the driver and it's configuration may vary from domain to domain, PAWN will need to allow administrators to store customized sets of drivers and parameters. | |||||||
| > > |
Archive resources and it's configuration will vary from domain to domain. In addition to domain level configuration, additional parameters specific to the package being pushed may also need to be supplied by the client. The domain level configuration and client specific parameters need to be supplied to the receiving server driver to complete the transfer. | |||||||
| Components in a resource | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Changed: | ||||||||
| < < |
The configuration is generated in two parts. First is general parameters used to configure the receiving server driver and client gui. parameters supplied to each may be the same, or seperate. For example, a configuration read-only account in the backend resource may be used to allow clients to select a destination, while a read-write account is supplied to the receiving server to perform the physical move. The second part of the configuration is a set of parameters supplied from the client to the receiving server that contain parameters specific to a given transfer. | |||||||
| > > |
The configuration is generated in two parts. First is general parameters used to configure the receiving server driver and client gui. Parameters supplied to each may be the same, or seperate. The second part of the configuration is a set of parameters supplied from the client to the receiving server that contain parameters specific to a given transfer. For example, a resource may supply a read-only account to allow clients to select a destination, while a read-write account is supplied to the receiving server to perform the physical move. | |||||||
| Workflow for using a resource | ||||||||
| Line: 35 to 37 | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Loading new resources | ||||||||
| Changed: | ||||||||
| < < |
There is another problem with resources. How does the required code propegate to the three components that use it? The solution is to register or load the resources drivers on the scheduler prior to performing any configuration or ingestion action. After registration, all necessary jar files will be downloaded to the gui's or receiving server as needed. | |||||||
| > > |
There is another problem with resources. How does the required code propegate to the three components that use it? The solution is to register or load the resources drivers on the scheduler prior to performing any configuration or ingestion action. After registration, all necessary jar files will be downloaded by the gui's or receiving server as needed. | |||||||
| The workflow for registering and distributing packages follows. | ||||||||
| Added: | ||||||||
| > > |
| |||||||
| ||||||||
Pushing data out of PAWN | ||||||||
| Line: 6 to 6 | ||||||||
|---|---|---|---|---|---|---|---|---|
| As the driver and it's configuration may vary from domain to domain, PAWN will need to allow administrators to store customized sets of drivers and parameters. | ||||||||
| Changed: | ||||||||
| < < |
Components | |||||||
| > > |
Components in a resource | |||||||
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Line: 19 to 19 | ||||||||
| The configuration is generated in two parts. First is general parameters used to configure the receiving server driver and client gui. parameters supplied to each may be the same, or seperate. For example, a configuration read-only account in the backend resource may be used to allow clients to select a destination, while a read-write account is supplied to the receiving server to perform the physical move. The second part of the configuration is a set of parameters supplied from the client to the receiving server that contain parameters specific to a given transfer. | ||||||||
| Changed: | ||||||||
| < < |
Workflow | |||||||
| > > |
Workflow for using a resource | |||||||
![]() | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Deleted: | ||||||||
| < < |
| |||||||
| Deleted: | ||||||||
| < < |
| |||||||
| ||||||||
| Line: 1 to 1 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||||
| > > |
Pushing data out of PAWNPushing data out of PAWN and into more permanent storage is done through 3rd party transfer triggered from a client that moves data from a receiving server to somewhere. This transfer requires two parts. First the client needs to specify in a target-specific mannor where the data is to be pushed. (IE, what directory, ftp server, collection, etc). Second, the receiving server has to have a driver for the specified target that does the physical push. In addition to moving the data, the driver should also provide a handle back to PAWN containing information necessary to access the data. As the driver and it's configuration may vary from domain to domain, PAWN will need to allow administrators to store customized sets of drivers and parameters. Components
![]()
| |||||||||