cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
747
Views
0
Helpful
6
Replies

copy a custom script file from master to slave CSS in a box-to-box setup

ed
Level 1
Level 1

i have read a procedure the way to copy a cert file from master to slave CSS from one of the forum threads.

tried to mimic same procedure however, not succesful, there is no export/import option to copy a script file from master to slave.

Is there a way to do this?

Thanks

ed

6 Replies 6

Gilles Dufour
Cisco Employee
Cisco Employee

You can make the primary CSS an FTP server for the secondary.

CSS11503(config)# ftp-record CSS2 192.168.30.120 admin "system"

Then from the secondary, you can ftp out the file from the active.

CSS11503# copy ftp CSS2 script/ap-kal-time script ap-kal-time2

Connecting (/)

Completed successfully.

CSS11503#

Gilles.

Thanks Giles but that does not seem to work for me. I thought the /script dir is what i was missing w my test prior to posting in this forum but then again i tried and it gives me an error.

i was doing it using rcmd and/or through the console of the secondary.

Here's what i have:

ftp-record other1-acs username "password"

ftp-record other1-acs 10.50.20.17 username "password"

sync the config to secondary

from the master

rcmd "copy ftp other1-acs script/ap-kal-httptag-mysite81 script ap-kal-httptag-mysite81"

gives an error of:

dccs1# rcmd 10.50.20.18 "copy ftp other1-acs script/ap-kal-httptag-mysite81 script ap-kal-httptag-mysite81"

Connecting (-)

%% File not found

Error in script playback line:1

>>>copy ftp other1-acs script/ap-kal-httptag-mysite81 script ap-kal-httptag-mysite81

CSS11506#

Script Playback cancelled.

via the secondary console

DCCS2# copy ftp other1 ?

other1-acs FTP Server @ 10.50.20.17

other1 FTP Server @ 10.50.20.17

DCCS2# copy ftp other1-acs script/ap-kal-httptag-mysite81 script ap-kal-httptag-mysite81

Connecting (/)

%% File not found

This gives the same "file not found error"

Thanks

ed

do a 'show script' on the active and see if the file is there.

You can also try ftp from a pc to the ACE and see if you can access the /script directory.

Did you try ftp with admin username ?

Gilles.

my custom script (for keepalive) is there and i uploaded that script to the master via ftp from my pc.

admin username is not used but instead my account.

w/ 'show script ?' verifies that also.

the problem is since this CSS is setup as box-to-box redundancy, the slave is non-reachable via the network. ( the mgmt interface is not being used to manage the CSS but rather through one of the ckt IP)

How i did it in the past was physically connecting to the slave CSS for file upload... which is sowmewhat a hassle administratively.

Thanks

ed

Even in box-to-box redundancy, you can have an ip address which is not "redundant" on the standby and use it for management access ( don't have to be the management interface )

Gilles.

i guess that is an alternative provided there is free port available to use for this purpose if there is no other option to get the ftp going from slave to master.

Thanks

ed

Review Cisco Networking for a $25 gift card