- Community Home
- >
- Networking
- >
- IMC
- >
- Re: Change/Add backup script?
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
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
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
тАО02-19-2016 02:15 PM
тАО02-19-2016 02:15 PM
Re: Change/Add backup script?
Hi Neil,
I have the same devices and problem. Any chance you would be willing to share your functional solution? This would greatly reduce my stress level.
Thanks,
Pat R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2016 09:50 AM - edited тАО02-25-2016 09:13 AM
тАО02-22-2016 09:50 AM - edited тАО02-25-2016 09:13 AM
Re: Change/Add backup script?
Sure Pat,
Hopefully I recollect all the details. First I copied and modified the various scripts used - they are located in this directory:
<Install Drive>:\Program Files\iMC\server\conf\adapters\ICC\ by vendor - use Hewlett Packard in this case. If you review the scripts, you will see scripts for individual oprerations - these must be modified to suit the target device - such as write memory to save might be different on some other device. Also not all devices support the same file transfer or other functions, so some scripts are not useful. Start with an existing device that is close.
To save you the time, I have uploaded the modified scripts for the TMS in a zip file HPProcurveTMS.zip - extract the folder and add it to the Hewlett Packard folder use the name HPProcurveTMS
In the Hewlett Pacakard folder is a file adapter-index.xml - edit this and add the following to the adapater list:
<adapter name="HPProcurveTMS">
<description>HP Procurve Threat Management Svcs zl Module</description>
<sysoid>1.3.6.1.4.1.11.2.3.7.11.50.17</sysoid>
</adapter>
IMC uses the sysoid to find the device and then reference the folder with the scripts.
IMPORTANT NOTE: updates to IMC will overwrite this file and the change will be lost. Keep a copy of the above xml and adapter scripts folder separate. While you could replace the adapter-index.xml file with the older one, you would loose any new changes introduced by HPE so better to re-edit and add back in the adapater information. Its a bit frustrating that any useful customizations have to be reapplied each time but that's the way it is.
Don't recall if IMC needed to be started to have this take effect.
Again hopefully I have rememebered all the details - its been a while since I put this in play.
UPDATE: I noticed I had uploaded the wrong files - these should correctly back up both the running and startup config. I have not attempted to validate the restore or upgrade functions - there are no new updates from HP anyway. And I'd probably do any restore manually anyway as I only have one unit.
Also you will need to restart iMC for the new adpater to be recognized but not for any edits to the tcl files
Neil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2016 07:43 AM
тАО03-09-2016 07:43 AM
Re: Change/Add backup script?
hi, i have a problem that looks like this one:
the problem is that the backup don't work !
see error in attachement
ICC adapters are the ones you give later in this post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2016 01:21 PM
тАО03-09-2016 01:21 PM
Re: Change/Add backup script?
The error message tells you where the problem is (line 13 in enter_exec.tcl).
What does that line contain?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2016 12:26 AM
тАО03-10-2016 12:26 AM
Re: Change/Add backup script?
here is the file enter_exec.tcl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2016 12:48 AM
тАО03-10-2016 12:48 AM
Re: Change/Add backup script?
'set' doesn't take a '-f' flag. It should just be 'set loop true'
What are you trying to do with the '-f' flag?
see the manpage https://www.tcl.tk/man/tcl8.5/TclCmd/set.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2016 12:55 AM
тАО03-10-2016 12:55 AM
Re: Change/Add backup script?
i'm trying to do nothing lol
this script was already on my IMC 7.2
i just want to make a backup of my FW Juniper.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2016 01:00 AM
тАО03-10-2016 01:00 AM
Re: Change/Add backup script?
If it's the default adapters that HP ships, then log a support case to get them to fix them.
You could also edit them yourself if you want to get it working quicker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2016 01:06 AM
тАО03-10-2016 01:06 AM
Re: Change/Add backup script?
after deleting the "-f"
i got another error...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2016 01:10 AM
тАО03-10-2016 01:10 AM
Re: Change/Add backup script?
that's what i'm trying to do.... :-/