- Community Home
- >
- Networking
- >
- IMC
- >
- Re: F5 v12.1.2 backup_startup_config_scp.tcl fails...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2017 08:00 PM
04-11-2017 08:00 PM
F5 v12.1.2 backup_startup_config_scp.tcl fails "enable_prompt": no such variable"
Hi there,
I have recently tried to backup the config of our BIG F5 LTM appliances and it breaks when it executes this script
backup_startup_config_scp.tcl
"Failed to exec cmd: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/F5/F5BIGIP/backup_startup_config_scp.tcl, error message: C:/Program Files/iMC/server/bin/../../server/conf/adapters/ICC/F5/F5BIGIP/backup_startup_config_scp.tcl(27): error: can't read "enable_prompt": no such variable"
Within the script that references enable_prompt
set ERROR_RESULT true
set ERROR_MESSAGE "Timeout to login. No message recive from device!"
#exit
set loop false
} $enable_prompt {
set loop false
}
}
}
I had to fix the save_sys_ucs.tcl since bigpipe has been deprectiated although i am stuck with scping the ucs file to the IMC repository.
Thoughts?
Thanks
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2017 12:41 PM
04-17-2017 12:41 PM
Re: F5 v12.1.2 backup_startup_config_scp.tcl fails "enable_prompt": no such variable"
Hi there,
Can i please have a response.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2017 07:02 PM - edited 10-26-2017 07:05 PM
10-26-2017 07:02 PM - edited 10-26-2017 07:05 PM
Re: F5 v12.1.2 backup_startup_config_scp.tcl fails "enable_prompt": no such variable"
Hi there,
I thought i would re invesitgate this.
Lindsay i noticed in one of your previous responses regarding a similar issue with $enable_prompt in which the poster removed the entries in order for the backup to work successfully (https://community.hpe.com/t5/IMC/Deploy-Configuration-Fails-since-E0403P04/td-p/6887401)
I removed it from the following tcls
backup_running_config_scp.tcl
backup_startup_config_scp.tcl
And i modified save_sys_ucs.tcl with send "save sys ucs /var/local/ucs/imc_icc_f5_cfg.ucs\r" since "b config save /var/local/ucs/imc_icc_f5_cfg.ucs\r" does not work for v12 although now i receive the following error.
scp: startup-config: No such file or directory
Using keyboard-interactive authentication.
Password:
Last login: Fri Oct 27 14:32:32 2017 from x.x.x.x
admin@(xxxxxxx)(cfg-sync In Sync)(Active)(/Common)(tmos)# save sys ucs /var/local/ucs/imc_icc_f5_cfg.ucs
/var/local/ucs/imc_icc_f5_cfg.ucs: file exists, overwrite it? (y/n) y
Saving active configuration...
/var/local/ucs/imc_icc_f5_cfg.ucs is saved.
admin@(xxxxxx)(cfg-sync In Sync)(Active)(/Common)(tmos)#
admin@(xxxxxx)(cfg-sync In Sync)(Active)(/Common)(tmos)# Using keyboard-interactive authentication.
Password:
scp: startup-config: No such file or directory
Using SCP for file transfer.
I was looking around the scipts and i found this error result under the save_sys_ucs.txt file.
Any thoughts?
#**************************************************************************
# Identification:save_sys_ucs
# Purpose: save current configuration to ucs file
#**************************************************************************
set timeout $long_timeout
expect *
send "save sys ucs /var/local/ucs/imc_icc_f5_cfg.ucs\r"
#send "b config save /var/local/ucs/imc_icc_f5_cfg.ucs\r"
set loop true
while {$loop == "true"} {
expect {
"y/n" {
send "y\r"
} "No such file or directory" {
set ERROR_RESULT true
set ERROR_MESSAGE "No such file or directory."