Important

   

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

Troubleshooting configuration snapshot failures

Observe the following guidelines when using the File Transfer Protocol (FTP), Trivial FTP (TFTP), or Secure Copy (SCP) file transfer mode:

  • Ensure that all firewalls between the TrueSight Network Automation local and remote device agents and the managed devices are not blocking file transfer service application ports (TFTP, FTP, or SCP). Ensure any host-based firewall (such as a Windows firewall) is not blocking such traffic. TrueSight Network Automation initiates file transfer from the device for Snapshot and Deploy actions, so the device acts as the client side in the socket connection. To unblock ports in the Windows firewall on the TrueSight Network Automation server, see Unblocking ports.
  • Ensure that the appropriate file transfer service (TFTP, FTP, or SCP) is running on the local or remote device agent according to Verifying the installation. For Windows, TrueSight Network Automation automatically installs and starts a TFTP server, but the FTP and SCP services must be installed and started separately. If you defined your device agent to use a proxy file server and have enabled TFTP, the SFTP service must be running on the proxy.
  • Verify directory permissions for TFTP on Linux. For TFTP to work, the directory permissions usually need to be set to read, write, and execute for all (that is, 777).
  • Verify that the FTP service is configured to allow files to be written; many Linux installations by default do not allow writes. For example, check that write_enable=YES for vsftpd, a common FTP server.
  • When using the FTP or SCP service, ensure that the following options under Admin > Network Admin > Device Agents for the Device Agent configured for the device are selected:
    • Enable FTP Transfer Mode
    • Enable SCP Transfer Mode
  • When using the FTP or SCP service, verify the username and password defined in the device agent. The username refers to a user recognized by the FTP or SCP server program running in the device agent platform. Test the username and password by manually running FTP or SCP requests to the server from a Windows or Linux host. 
  • Manually attempt the configuration file transfer from the device. Refer to the TrueSight Network Automation job transcript to view the commands that TrueSight Network Automation executes. Following is an example of a Snapshot action using TFTP on a Cisco IOS router:
    1. Telnet to the device (router).
    2. Log on and go into enable mode.
    3. Type copy running-config tftp
    4. When prompted for the address of the remote host, enter the TrueSight Network Automation device agent IP address, as seen in the transcript.
    5. When prompted for the destination file name, type temp.tmp.
      Note that many TFTP servers require the file to exist before a remote client can send it in, so create the file first and ensure that it is writable by all.
  • If the preceding test fails, the TrueSight Network Automation device agent might be behind a Network Address Translation (NAT) server. Find the IP address that the router uses to address the device agent. Edit the device record's NAT Address field by entering the device-facing address of the device agent. You might instead need to specify the Agent IPv4 Address or Agent IPv6 Address fields in the device agent, which provide a global value for the device-facing addresses for these protocols for all devices associated with the agent.
  • If the file transfer fails with a timeout error, you might need to increase the Timeout for Script File Transfers or the Timeout for Image File Transfers system parameter. Go to Admin > System Admin > System Parameters and review those settings, depending on what type of file you were transferring. For large operating system image files, you might want to consider using a remote file server physically located closer to your devices to reduce traffic load on your WAN and thus reduce file transfer times.

Note

While using the Tunneled file transfer mode, you perform configuration snapshot by capturing the output of show type commands, for example, show running-configuration. You make configuration changes by batching CLI commands to the device.

You can also view this information on BMC Communities and on the BMC Support site.

Was this page helpful? Yes No Submitting... Thank you

Comments