Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If configured to do so, the files on the sending site will be deleted by the JADE Client.

Example CopyToInternet JADE JILT Job

Code Block
languagexml
titleJADE JITL Job CopyToInternet
linenumberstrue
collapsetrue
<?xml version="1.0" encoding="ISO-8859-1"?>
<job  order="no" stop_on_error="no">
    <params >
        <!-- SOURCE --Y
	    <!-- file settings -->
        <param  name="file_spec"              value="^jade_test_bigfile_.*\.csv$"/>
        <param  name="operation"              value="copytointernet"/>
        <param  name="verbose"                value="2"/>

		<!-- file source local_source Jobscheduler host-->
        <param  name="source_dir"             value="C:\sandbox\source"/>
        <param  name="source_protocol"        value="local"/>
        <param  name="target_host"            value="homer.sos"/>
		
        <!-- DMZ server settings-->		
		<param  name="jump_host"              value="gollum"/>
        <param  name="jump_user"              value="jenkins"/>
        <param  name="jump_ssh_auth_method"   value="password"/>
        <param  name="jump_password"          value="jenkins"/>
        <param  name="jump_protocol"          value="sftp"/>
        <param  name="jump_command"           value="/home/jenkins/sos-berlin.com/jade/client.1.7-SNAPSHOT/bin/jade.sh"/>
		
        <!-- target server settings-->		
		<param  name="target_port"            value="22"/>
        <param  name="target_protocol"        value="sftp"/>
        <param  name="target_user"            value="test"/>
        <param  name="target_ssh_auth_method" value="password"/>
        <param  name="target_password"        value="12345"/>
        <param  name="target_dir"             value="/home/test/inbound"/>       
    </params>
    <script  language="java" java_class_path="" java_class="sos.scheduler.jade.Jade4DMZJob"/>
    <run_time />
</job>

...

Receive files from internet via DMZ

1) Copy data

As a first step, after checking and creating the temp-folder, the files from the remote server are copied by the JADE client to the temp-folder in the DMZ.

(2) Start JADE Client on DMZ by SSH

The JADE Client is starting the JADE CLI on the DMZ, using SSH.

(3) Copy data to Internet

The JADE CLI on the DMZ is transferring the files to the destination site in the internal zone

(4) Delete data on DMZ

After successful transfer the JADE Client is deleting the files on the DMZ using SSH.

(5) Delete data on local

If configured to do so, the files on the receiving site will be deleted by the JADE Client.

Example CopyFromInternet JADE JILT Job

Code Block
languagexml
titleJADE JITL Job CopyToInternet
linenumberstrue
<?xml version="1.0" encoding="ISO-8859-1"?>
<job  order="no" stop_on_error="no">
    <params >
        <!-- SOURCE --Y
	    <!-- file settings -->
        <param  name="file_spec"              value="^jade_test_bigfile_.*\.csv$"/>
        <param  name="operation"              value="copytointernet"/>
        <param  name="verbose"                value="2"/>

		<!-- file source local_source Jobscheduler host-->
        <param  name="source_dir"             value="C:\sandbox\source"/>
        <param  name="source_protocol"        value="local"/>
        <param  name="target_host"            value="homer.sos"/>
		
        <!-- DMZ server settings-->		
		<param  name="jump_host"              value="gollum"/>
        <param  name="jump_user"              value="jenkins"/>
        <param  name="jump_ssh_auth_method"   value="password"/>
        <param  name="jump_password"          value="jenkins"/>
        <param  name="jump_protocol"          value="sftp"/>
        <param  name="jump_command"           value="/home/jenkins/sos-berlin.com/jade/client.1.7-SNAPSHOT/bin/jade.sh"/>
		
        <!-- target server settings-->		
		<param  name="target_port"            value="22"/>
        <param  name="target_protocol"        value="sftp"/>
        <param  name="target_user"            value="test"/>
        <param  name="target_ssh_auth_method" value="password"/>
        <param  name="target_password"        value="12345"/>
        <param  name="target_dir"             value="/home/test/inbound"/>       
    </params>
    <script  language="java" java_class_path="" java_class="sos.scheduler.jade.Jade4DMZJob"/>
    <run_time />
</job>

Related Downloads

...