Versions Compared

Key

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

...

Code Block
languagebash
titleJade Client Profile CopyToInternet
[CopyFromInternet]
file_spec              = \.txt$
;;operation copyfrominternet 
operation              = copyfrominternet
verbose                = 2

;; file source local_source Jobscheduler hostserver settings
;;
targetsource_host            = localhosthomer.sos
targetsource_dir port            = C:\sandbox\target
target22
source_protocol        = local

;; DMZ server settings
;;
jump_host  sftp
source_user            = gollum
jump_user      test
source_ssh_auth_method = password
source_password        = jenkins
jump_ssh_auth_methodD3f*-ex;n55N6Hx
source_dir   = password
jump_password          = Bt347w%3Ka-AuZp
jump_protocol          = sftp
jump_command       /home/test/outbound
;; use explicit passive mode if firewall blocks the data connection -->
source_passive_mode    = /home/jenkins/sos-berlin.com/jade/client.1.7-SNAPSHOT/bin/jade.sh
true	
;; targetDMZ server settings
;;
sourcejump_host              = homer.sosgollum
sourcejump_portuser              = 22jenkins
source_protocol     jump_ssh_auth_method   = sftppassword
sourcejump_user  password          = testBt347w%3Ka-AuZp
source_ssh_auth_method = password
source_passwordjump_protocol          = D3f*-ex;n55N6Hx
source_dir  sftp
jump_command           = /home/test/outbound
;; use explicit passive mode if firewall blocks the data connection -->
source_passive_modejenkins/sos-berlin.com/jade/client.1.7-SNAPSHOT/bin/jade.sh

;; file target localhost ( Jade client host)
;;
target_host            = localhost
target_dir             = C:\sandbox\target
target_protocol        = true		 local



 

Receive files from internet via DMZ

...

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 ==> DMZ ==> TARGET -->
	    <!-- file settings -->
        <param  name="file_spec"              value="\.txt$"/>
        <!-- operation copyfrominternet -->
        <param  name="operation"              value="copyfrominternet"/>
        <param  name="verbose"                value="2"/>

				
		
        <!-- file source local_source Jobscheduler host remote SFTP  server settings -->		
		<param  name="targetsource_host"            value="localhosthomer.sos"/>
        		<param  name="targetsource_dirport"             value="C:\sandbox\target22"/>
        <param  name="targetsource_protocol"        value="localsftp"/>
        
        <!-- DMZ server settings-->		
		<param  name="jumpsource_hostuser"              value="gollumtest"/>
        <param  name="jump_user"source_ssh_auth_method" value="password"/>
        <param  name="source_password"        value="jenkinsD3f*-ex;n55N6Hx"/>
        <param  name="jump_ssh_auth_method"source_dir"             value="password/home/test/outbound"/>
        <param<!--  name="jump_password"          value="Bt347w%3Ka-AuZp"/use explicit passive mode if firewall blocks the data connection -->
        <param  name="jumpsource_passive_protocol"      mode"    value="sftptrue"/>
        <param  name="jump_command"    
        value="/home/jenkins/sos-berlin.com/jade/client.1.7-SNAPSHOT/bin/jade.sh"/>
		
        <!-- targetDMZ server settings-->		
		<param  name="sourcejump_host"              value="homer.sosgollum"/>
		        <param  name="sourcejump_portuser"              value="22jenkins"/>
        <param  name="source_protocol"     jump_ssh_auth_method"   value="sftppassword"/>
        <param  name="sourcejump_userpassword"            value="testBt347w%3Ka-AuZp"/>
        <param  name="source_ssh_auth_method"jump_protocol"          value="passwordsftp"/>
        <param  name="sourcejump_passwordcommand"           value="D3f*-ex;n55N6Hx"/>
        /home/jenkins/sos-berlin.com/jade/client.1.7-SNAPSHOT/bin/jade.sh"/>
 
        <!-- file target localhost  (Jobscheduler host) settings -->
		<param  name="sourcetarget_dirhost"             value="/home/test/outboundlocalhost"/>
        <!--<param use explicit passive mode if firewall blocks the data connection -->
  name="target_dir"       <param  name="source_passive_mode"    value="trueC:\sandbox\target"/>
        <param  name="target_protocol"        value="local"/>

    </params>
    <script  language="java" java_class_path="" java_class="sos.scheduler.jade.Jade4DMZJob"/>
    <run_time />
</job>

...

Code Block
languagebash
titleJade Client Profile CopyFromInternet
[CopyFromInternet]
file_spec              = \.txt$
;; operation copyfrominternet 
operation              = copyfrominternet
verbose                = 2
;; file source local_source Jobschedulerlocalhost (jade client host) settings 
;;
source_host            = localhost
source_dir             = C:\sandbox\target
source_protocol        = local
;; DMZ server settings
;;
jump_host              = gollum
jump_user              = jenkins
jump_ssh_auth_method   = password
jump_password          = Bt347w%3Ka-AuZp
jump_protocol          = sftp
jump_command           = /home/jenkins/sos-berlin.com/jade/client.1.7-SNAPSHOT/bin/jade.sh
;; file target remote SFTP server settings
;;
target_host            = homer.sos
target_port            = 22
target_protocol        = sftp
target_user            = test
target_ssh_auth_method = password
target_password        = D3f*-ex;n55N6Hx
target_dir             = /home/test/outbound
;; use explicit passive mode if firewall blocks the data connection -->
target_passive_mode    = true		

...