xDR File Push Functionality
Configuring Push Functionality ▀
Cisco ASR 5000 Series External Storage Server Installation and Administration Guide ▄
Configuring Push Functionality
Before configuring the push functionality, you must make sure that the SSH Daemon (sshd) config on the external
server is ready to receive the files.
Important: Make sure that SSH Daemon is running on L-ESS server and has appropriate configuration for
receiving the files from one or more chassis.
Make sure the following configuration changes are done in the /etc/ssh/sshd_config file on the L-ESS server.
PasswordAuthentication yes
UsePAM no
Any changes to the /etc/ssh/sshd_config file needs sshd to re-read the config file. For this to happen, get the pid of the
sshd process and execute this command: kill -1 <pid of the sshd>
Now, the sshd on the L-ESS is ready to receive the files from chassis using push mode. The push functionality can be
configured on chassis.
To configure the push functionality, use the following command:
configure
context <context_name>
edr-module active-charging-service
cdr { transfer-mode [ pull | push { primary { encrypted-url | url }
<value> [ { encrypted-secondary-url | secondary-url } ] ] | push-interval
<push_interval> | remove-file-after-transfer | use-harddisk }
end
Notes:
If pull mode is selected, the L-ESS server pulls the xDR files from chassis. If push mode is selected, an
application process on the chassis will be responsible for pushing the xDR files as and when needed. By
default, the transfer mode is set to pull.
Important: The change in the file transfer mode does not require any reboot of the chassis
and L-ESS.
Please note the following points before switching between transfer modes:
The chassis should first remove all temporary files and directories that are created while pushing files to
L-ESS.
Changing transfer mode from „pull‟ to „push‟ - You should first remove the entry of chassis‟ host from
the list of hosts maintained in L-ESS configuration file. Then disable „pull‟ from L-ESS and change
the transfer mode to „push‟ through the specified CLI command.