cancel
Showing results for 
Search instead for 
Did you mean: 

Message Processing at receiver FTP adapter

Former Member
0 Kudos

Hello,

I am using FTP at the receiver side and trying to connect to that receiver using File/FTP Receiver adapter.

Now i have config all the details of the FTP server in the channel. Now i want to know how it connects to the FTP server and keeps the files inside the file directory which ever is mentioned in the config.

Is there any involvement of DNS server here to connects to FTP server through our File Receiver adapter.

Thanks,

Soorya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try to ping your target location FTP /DNS- IP from your XI box.

If itu2019s not possible to ping, contact your SA and bypass firewall settings. Once you can able to ping or access your target location...then no issueu2026

Thanks.

Boopathi

Former Member
0 Kudos

Hi,

Try to ping your target location FTP /DNS- IP from your XI box ?

How you can ping the server from XI box? Can you please help me in doing that?

SA - means System Admin. ???

What shall i tell our SA to do the necessary changes for making this successfull.

Thanks.

SOorya

Former Member
0 Kudos

Surya,

ping:

connect to the XI server box using telnet:

type:

>telnet <-xi_ip_address->

login

then type

>ping <-ftp_server_hostname->

Are you getting response? Or the system can't find the host?

You should tell the SA:

I need to get XI box machine to be able to resolve <ftp_hostname> as <IP_address>, can you please add appropriate entry to DNS?

Olian

Former Member
0 Kudos

Hi,

Open in your XI physical boxu2026then try in your browser like: ftp://XXXXXXXX now you can get the response.

Else in Start -Run-cmd----ftp IP address

If itu2019s not possible to access update the error message to your System Administrator.

Thanks,

Boopathi

Former Member
0 Kudos

Hello,

I will explain clearly now about my scenario. I have configured an FTP receiver channel with all the details.

I am trying the scenario in cluster system (i.e, the target system). It has different IP addresses for both the servers in the cluster (means it has two nodes, Node-A and Node-B).

It should connect like this,

FTP/File Channel -- > Node-A ---> Use IP1 address --- > FTP server - A

If Node-A is down and Node-B is up then,

FTP/File Channel -- > Node-B---> Use IP2 address --- > FTP server - B

When there is a failover from Node-A to Node-B, the FTP/File comm. Channel still points to the Node-A only rather than Node-B. It doesnot even query the DNS server for the IP address of target server which is basically changed after a failover .

And if we fail back to Node-A then it successfully connects to that and runs fine.

Or when we restart the XI all over again then it connects to Server - B using the IP2 address.

We are having problem while doing the restart again and again.

Can we have a possible sollution for this.

We are in very urgent situation..

Thanks,

Soorya

Former Member
0 Kudos

Hi Surya,

Then it sound like the Java-stack also using a cache for hostname/ip-addresses (just the ABAP-stack).

If you setup SAP in a cluster it will move the following to the "other" node.

- database

- SAP-system

- "public" ip-address

The new node in this case has another ip-address but it doesn't matter since the end-users only accesses the "public" ip-address

Is there any way for you to create a "public" ip-address in the cluster and roll that address in case of failure ?

Former Member
0 Kudos

hi Tomas,

What is this public-IP address ?

How we configure this ?

Where we configure this?

whom we can ask to do that?

Can you please give some inputs so that i can solve isseu very soon..

Please help me sir.

Thanks,

Soorya

Former Member
0 Kudos

Hi,

It all depends on the Cluster you are running.

E g In an Windows Cluster (MSCS) you have to configure an Cluster Group and inside that group add an IP address Network Name (E g ftpprod)

When the Cluster group moves to Node A,

that node will answer any traffice to the Network Name and/or IP address.

When the Cluster group moves to Node B,

that node will answer any traffice to the Network Name and/or IP address.

In HP-UX, for instance, they call it "package".

So you have to create a "package" and add ip-address and hostname to that package.

In Unix and/or Linux environment I have always worked together with an sysadmin to set this up (I described, and he did the actual work).

Former Member
0 Kudos

Hi Tomas,

As you have mentioned here ,

' In an Windows Cluster (MSCS) you have to configure an Cluster Group and inside that group add an IP address Network Name (E g ftpprod) '

Is this should be done by FTP side poeple or from XI prospective?

So if add that cluster group and IP addresses inside that then ,

can we get our desired configuration working well ?

Please help me Tomas !

Thanks,

Soorya

Former Member
0 Kudos

It's on the FTP-side you'll need to configure the cluster in the way I described.

Former Member
0 Kudos

Sorry, just answered half the question....

You have an MSCS-cluster with one FTP-server on each node (A and B).

- Create an Cluster Group E g FTPnetwork

- Add a new ip-address (which XI will access) to the Cluster Group

- Add a new Network Name to the Group E g ftpprod and also make sure

that this service depends in the IP-address (should not exists without ip...).

Then XI will reach the node where the group is located.

If Node A goes down, the group moves to node B and starts listening to the network name and ip-address.

XI will then access node B (without knowing it).

When Node A is back to business, the groups till resides at Node B.

So, XI will still talk to Node B.

If you choose to manually move the group to Node A, then XI will access Node A (still, without knowing it).

XI just talks to the Network Name and doesn't care about where it's located.

Former Member
0 Kudos

Hi tomas,

Sorry to bother again.

Can you please tell me what is MSCS-cluster ?

I am not familiar to this terminology?

Shal i ask my FTP related person to do the necessary changes and try to connect to the servers accordingly.

Thanks,

Soorya.

Former Member
0 Kudos

How many types of clusters could we have in the windows system?

Former Member
0 Kudos

MSCS is short for Microsoft Clustered Server (or similar).

There are other vendors for clustering solutions inWindows-enviroment as well, but I have only been working with MSCS.

This is needed if you want an High-Availability solutions.

Other Customers have choosen to Cluster their solution in an virtual way,

E g VMware. If VMware itself is clustered and the Virtual Windows server is going down, you only loose "one ping" and then the server is up and running on another VMware node.

In this way you get an less complex windows installation but still clustered.

The drawback is if Windows itself crashes.

If you are running MSCS-cluster and Windows Node A crashes, you can always continue running on node B.

Former Member
0 Kudos

If the FTP-servers are not running in an Cluster, then my proposed solution is not possible.

Then your IT-guys have to setup proxy-solution or similar between XI and the FTP-servers. In this area I'm out of skills.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Surya,

Try to ping your target location FTP /DNS- IP from your XI box ?

How you can ping the server from XI box? Can you please help me in doing that?

SA - means System Admin. ???

What shall i tell our SA to do the necessary changes for making this successfull.

--->Ask your basis team to ping from command prompt of XI server(OS level)to the FTP site...Basically in any server a routing table table is made which helps in accepting the connection req....in ur case entry of ur XI server should be there in FTP server...

Ask ur SA to make permanent entry in routing tables...

Regards,

Former Member
0 Kudos

Hi,

Internally File Adapter has that capability to connect to the FTP Server for that mentioned IP

This adapter is developed on based on JAVA, inside that we have this facility to connect to FTP Server

Regards

Seshagiri

Former Member
0 Kudos

Hello Seshagiri,

You mean to say that there is no involvement of DNS server while connecting to FTP server.

I am trying to use two IP addresses inside the DNS server. I am manually changing that IP address.

Is it possbile to connect to FTP through DNS server.

like this,

XI --> File/FTP adapter -


> DNS Server -


> FTP Server.

Thanks,

Soorya

Former Member
0 Kudos

Hi,

The FTP File adapter is based on Java and uses the normal network capabilities to connect to FTP server.

The FTP adapter just requests for the FTP connection over the network by sending the host address. In case the host name is there is DNS it connects to it otherwise gives error.

In your case you can give a host name and assign it IP addresses manually in the DNS server.

In the FTP channel give this host name. So the channel will send this host name over the network.

The DNS server upon receiving this host name will route the request to the specified IP address automatically.

Hope this helps.

Regards,

Anurag Mahendru.

Former Member
0 Kudos

Hi,

DNS you mean Domain Name Srever?

if you provide exact IP, it connect of course directly to the IP. If you want to use DNS, it is not dependent on the CC config, but on your box on which is the XI installed & the network & DNS config.

Try to ping the server name from the XI box. If it can resolve the server name, everything is ok and you can use it in the CC config. If it can't, ask you network team to solve it (add a record to DNS, change the hosts file on the PI box eventually).

Peter

Edited by: Peter Jarunek on May 28, 2008 1:36 PM

Former Member
0 Kudos

Hi Anurag,

YOu have explained clearly about the situation. But now its clear that we can configure the host name and IP address of the corresponding FTP server inside the DNS server. When FTP receiver channel tries to connect to the FTP server using the details mentioned in the channel configuration it looks for the corresponding hostname and tries to check for the related IP address and then connects to the FTP server.

Am i right? Please correct me if i went wrong anywhere.

Now i want to configure two FTP servers which has same host name. THat common host name i have configured in the FTP receiver channel. I manully change the IP addresses inside the DNS server so that if it is IP1 then my receiver channel has to connect to one FTP server. If i change it to IP2 from IP1 inside the DNS server then i have to connect to the other FTP server.

How can i do this scenario?

Can you please help me in doing so?

THanks,

Soorya

Former Member
0 Kudos

You're right. It will work exactly as you described.

What exactly do you need to know further?

Peter

Former Member
0 Kudos

Hello Peter,

This is my scenario basically,

Now i want to configure two FTP servers which has same host name. THat common host name, i have configured in the FTP receiver channel. I manually change the IP addresses inside the DNS server so that if it is IP1 then my receiver channel has to connect to one FTP server. If i change it to IP2 from IP1 inside the DNS server then i have to connect to the other FTP server.

How can i do this scenario?

Can you please help me in doing so?

DNS : Domain Name Srever (correct)

What shall we do if we want to use DNS for connecting to the FTP servers?

Is it inside the FTP receiver communication channel ?

or

Is it at DNS server configuration?

As you have mentioned that it is box.What do you mean by this BOX?

Is this issue purely related to network and DNS issue or we have to configure something differently in our receiver channel configuration.

As you said here,

" Try to ping the server name from the XI box. If it can resolve the server name, everything is ok and you can use it in the CC config. If it can't, ask you network team to solve it (add a record to DNS, change the hosts file on the PI box eventually). "

Can you please explain it clearly?

Thanks ,

Soorya.

Peter

Former Member
0 Kudos

Hello Peter,

I have tried the same scenario only. But when i am shifting from FTP-1 to FTP-2 server that is, When i have changed the IP address inside the DNS server my receiver communication was not able to connect to the FTP-2 server.

When i restart the XI then it was able to connect successfully to the FTP-2 server.

Can you please help me in solving this issue?

THanks,

Soorya.

Former Member
0 Kudos

I'm not sure about the Java-part, but in the ABAP-stack hostnames and ip-addresses are buffered.

So, from the ABAP-stack point-of-view your scenario will not work.

In that case you will need a kind of a proxy,

so XI can access the proxy and be re-directed to the correct FTP-server.