dynamox

updated

19 years ago

D

dynamox

11 Legend

•

20419 Posts

•

87439 Points

0

4112

February 4th, 2008 11:00

traceroute on Celerra ?

is there a traceroute utility on the datamover ? I am suspecting some routing issues and would like to use traceroute to troubleshoot. server_netstat is not giving me what i am looking for.

Thanks
  • IanSchorr

    117 Posts

    1988

    0

    Posted February 5th, 2008 11:00

    Basically all you have there is tcpdump's decoding of the packets that it saw, which is pretty limited.

    Best thing to do is:

    - tcpdump -i en3 -s 1514 -w dump.out ("-w" writes the output to a binary file that can be read by other programs. "-s 1514" says "capture up to 1514 bytes of every packet". Tcpdump defaults to capturing only the first 54 bytes of each packet, which leaves out a lot of important data)
    - Install Wireshark on a system
    - Open dump.out on that system.

    tcpdump and server_tcpdump are good for capturing data. Wireshark is the tool for viewing it.
  • IanSchorr

    117 Posts

    1534

    1

    Posted February 4th, 2008 11:00

    Unfortunately, no, not currently. Traceroute can be run from the control station, but not from the Data Movers.

    What problem are you looking for that server_netstat -r isn't showing you enough info for?

    One gotcha with DM routing that I think you're aware of, but figured I'd mention. When the DM INITIATES traffic/requests (like when contacting a DNS or NIS server, or contacting a CIFS Domain Controller), it chooses routes/interfaces based on its routing table. When the DM is RESPONDING to requests (NFS/CIFS/etc), it replies back to the same MAC address (i.e. host or router) and through the same interface (device or virtual device) that the request was received on. So you may see the DM choosing different paths for traffic than the routing table specifies. This feature is called "packet reflect" and can be turned off as needed (see the Celerra Networking guide for more details).
  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1533

    0

    Posted February 4th, 2008 11:00

    Hi Ian,

    this is going to be the gray area question ;)

    I am doing 3-way NDMP backup with TSM which i know is not supported by EMC but is supported by IBM. My TSM server has two network interfaces. One of the interfaces is on the same network as the interface on DM that is being used for NDMP backup. My NDMP backups fail with an error message that "NAS server failed to open an NDMP data connection to the TSM tape server" ...that's on the TSM side ..on the Celerra side i am seeing this:

    2008-02-04 13:53:22: NDMP: 3: NdmpdMover::connect: connect error: Connection timed out
    2008-02-04 13:53:22: NDMP: 3: Invalid state to stop mover (0).
    2008-02-04 13:53:22: NDMP: 3: invalid state (NDMP_DATA_STATE_IDLE) to process stop request


    the interesting part is that if i disable one of the network interfaces on TSM server ..and only have one interface enabled ..that's on the same network as DM ..it works fine. So something is going on with routing on TSM server but i also wanted to check things from DM perspective. I've tried setting static routes on TSM server, i can ping/traceroute DM interface no problems, DM can ping TSM interface no problems, but with both network interfaces enabled on TSM ..something gets lost in the middle of conversation.
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    901

    0

    Posted February 4th, 2008 12:00

    Your two interfaces on that TSM server arent using the same MAC address by any chance (like some Sun systems do) ?

    If yes, read up on packet reflect mode in the "Configuring and Managing CelerraNetworking" manual

    Basically when replying the data mover usually ignores the routing table and sends the reply back through the same interface and to the same MAC adress the reqeust came from.
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    803

    1

    Posted February 4th, 2008 12:00

    If you think a data mover traceroute would be usefull please consider opening a product enhancement request

    To open a Product Enhancement Request (PER) go to
    Powerlink in Support->Request Support->Contact EMC
    Then in the subject drop-down box select "Software product enhancement request" and fill in the details
  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    901

    0

    Posted February 4th, 2008 12:00

    this is an AIX box ...it looks like it is using the same MAC address.

    Basically when replying the data mover usually ignores the routing table and sends the reply back through the same interface and to the same MAC adress the reqeust came from.


    ok, so why would this be causing a problem ? You think it's going to some la-la land instead of coming back to TSM server interface ?
  • IanSchorr

    117 Posts

    1533

    0

    Posted February 4th, 2008 12:00

    two networks that TSM server is connected to are not routed between each other. One interface is connected to public network, while other is connected to our backup network.


    So then it sounds like TSM is probably telling the Celerra to connect back to it using this "unroutable" address (possibly because it's the "first" interface when TSM builds an interface list, or something like that). Is there any way to force TSM to choose a particular interface? Maybe IBM would have some suggestions - this wouldn't be a Celerra-specific problem, and I'd think the would have run into this before (you're not the only site with an independent backup network...)

    And in that case, you should be able to see what's happening in network traces taken on the TSM side - you should be able to see which IP TSM is telling the DM to connect to. Or perhaps you can turn up logging on the TSM side?

    Do you think i would be able to get assistance even thought 3-way NDMP with TSM is not supported ?


    Ah, sorry. That's a good point. It'd probably be a best-effort call at best.
  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1533

    0

    Posted February 4th, 2008 12:00

    And if you leave the LOCAL TSM interface (one on the
    same subnet as the DM) disabled, but leave the other
    one enabled, it also fails?


    two networks that TSM server is connected to are not routed between each other. One interface is connected to public network, while other is connected to our backup network.


    Is there a firewall or any network address
    translation between the DM and this "remote" TSM
    interface? Could data be getting blocked, or could
    you be running into a classic NAT problem
    (connections one way work fine, but when a system
    (the DM) is told to connect BACK to the first system
    (the TSM server), it's given the "real" IP of the
    first system, though it needs the NAT'd address to be
    able to connect)? One of those problems would be my
    guess.


    TSM backup interface and DM interface are on the same network, there is no NATing going on. There is only one router in between.


    I'm sure this is partly why you're looking for
    traceroute from the DM. As a workaround, though, you
    should be able to figure out which router the DM
    would forward its connection request to from the
    server_netstat output. If you have another system in
    the same subnet that also points to the same router,
    perhaps you could traceroute from that, which
    typically would take the same path.


    Otherwise, it might help to gather network traces
    when you're trying this - at the very least you
    should be able to see which addresses/interfaces the
    DM is using to connect back to the TSM (and which the
    TSM use to connect to the DM), and whether
    something's getting lost/munged somewhere along the
    way.

    You can take network traces from the DM and look at
    them with Wireshark, though Support would need to
    show you how to set up the system to take network
    traces. They can also help you analyze the traces to
    understand what's going wrong.



    Do you think i would be able to get assistance even thought 3-way NDMP with TSM is not supported ?



    Incidentally, I'll file an enhancement request to see
    if we can add extra logging output in the DM message
    to say which IP we were trying to connect to (and
    from), in a future release.



    Thank you very much for offering your suggestions.
  • IanSchorr

    117 Posts

    1533

    0

    Posted February 4th, 2008 12:00

    And if you leave the LOCAL TSM interface (one on the same subnet as the DM) disabled, but leave the other one enabled, it also fails?

    Is there a firewall or any network address translation between the DM and this "remote" TSM interface? Could data be getting blocked, or could you be running into a classic NAT problem (connections one way work fine, but when a system (the DM) is told to connect BACK to the first system (the TSM server), it's given the "real" IP of the first system, though it needs the NAT'd address to be able to connect)? One of those problems would be my guess.

    I'm sure this is partly why you're looking for traceroute from the DM. As a workaround, though, you should be able to figure out which router the DM would forward its connection request to from the server_netstat output. If you have another system in the same subnet that also points to the same router, perhaps you could traceroute from that, which typically would take the same path.


    Otherwise, it might help to gather network traces when you're trying this - at the very least you should be able to see which addresses/interfaces the DM is using to connect back to the TSM (and which the TSM use to connect to the DM), and whether something's getting lost/munged somewhere along the way.

    You can take network traces from the DM and look at them with Wireshark, though Support would need to show you how to set up the system to take network traces. They can also help you analyze the traces to understand what's going wrong.


    Incidentally, I'll file an enhancement request to see if we can add extra logging output in the DM message to say which IP we were trying to connect to (and from), in a future release.
  • IanSchorr

    117 Posts

    1090

    0

    Posted February 4th, 2008 13:00

    Is this the exact error you get on the TSM side? Or is this paraphrasing?

    "NAS server failed to open an NDMP data connection to the TSM tape server"