08-19-2009 05:04 PM
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
08-20-2009 12:44 AM
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.
08-20-2009 09:21 AM
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
ftp-record other1-acs 10.50.20.17 username "password"
sync the config to secondary
from the master
rcmd
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
08-20-2009 12:47 PM
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.
08-20-2009 01:09 PM
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
08-20-2009 10:49 PM
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.
08-21-2009 11:23 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide