Hi folks,

 

looks like I found a way to flush all my host configs without further 
complications. Just in case you’ll need it. I set Maximum Stored Configurations 
Per Device parameter in NCM to 0. No configs became available in Spectrum after 
that. And then I just turned the parameter back and have started new 
configuration history.

 

Best regards,

--

Timur Ibragimov

 

From: Christian Fieres [mailto:[email protected]] 
Sent: Thursday, January 13, 2011 2:23 PM
To: spectrum
Subject: Antwort: RE: Antwort: [spectrum] AW: Host configs deletion

 


Hi, 

as Christoph said, the configs reside as models with specific attributes in the 
database. In former days, the attribute in question held the configuration as 
an octet string representing the configuration in ASCII format just as the 
switch/router was delivering it. When I updated from 9.1.2 to 9.1.3H14, I 
realized a change in the format, it is not ASCII anymore, I have a case with 
our partner open for this. 

As with every model, once you destroy it via GUI, it should jump into 
Lost&Found; when destroying via CLI, it should be gone. 

"Physically" speaking, I guess there will be remaining data in the Berkeley DB 
(SSdb) for an amount of time, but I know of no way to recover it. The model 
handles will not be re-used until you reach your limit of (hex) 0xfffff models, 
but the deleted models themselves will not be manageable any more. 

Freundliche Grüße / Best regards

Christian Fieres

Mainova AG
Planung und Betrieb Infrastruktur (M3-ON2)
Service Operation Center
Solmsstraße 38
60623 Frankfurt

Telefon / Phone (069) 2 13-2 36 17
Mobil / Mobile (0170) 5 60 15 63
Telefax / Facsimile (069) 2 13-9 62 36 17
E-Mail [email protected]


Mainova Aktiengesellschaft • Solmsstraße 38 • D-60623 Frankfurt am Main
Vorsitzende des Aufsichtsrates: Oberbürgermeisterin Dr. h. c. Petra Roth • 
Vorstand: Dr. Constantin H. Alsheimer (Vorsitzender), Lothar Herbst, Dr. 
Marie-Luise Wolff, Joachim Zientek 
Sitz der Aktiengesellschaft: Frankfurt am Main • Amtsgericht Frankfurt HRB 7173 
• USt-ID-Nr. DE 114184034 


Mainova steht für besten Service, faire Verträge und top Preise für Ihre 
Energie - mit Auszeichnung!
Mehr Infos unter: http://www.mainova.de/auszeichnung 



Ибрагимов Тимур <[email protected]> 

13.01.2011 12:12 

Bitte antworten an
Ибрагимов Тимур <[email protected]>

An

"spectrum" <[email protected]> 

Kopie

        
Thema

RE: Antwort: [spectrum] AW: Host configs deletion 

 

                




Thanks to all you guys. Just wondering if I’ll delete all config files 
physically. Will it work? 
  
-- 
Timur Ibragimov 
  

 

________________________________


From: Christian Fieres [mailto:[email protected]] 
Sent: Thursday, January 13, 2011 1:00 PM
To: spectrum
Subject: Antwort: [spectrum] AW: Host configs deletion 
  

Guys, list, 

I think this is the same as with interfaces. Both interfaces and configuration 
models are associated with the device model (HASPART, HAS_LAST_KNOWN_CONFIG), 
and as soon as a model is destroyed, its associations with other models 
naturally cease to exist, resulting in an empty Interfaces tab or, 
respectively, in an empty Host Configuration tab. To be absolutely sure, I 
would take a device model with a relatively static configuration, say, there's 
only two historic ones, and try and delete those three models using CLI, before 
and after that I would export an associaton and attributes value list of this 
device model and compare the two pairs of files after deletion. This way, you 
can be sure everything related to a possible connection between device and 
configuration model is deleted safely. 

Freundliche Grüße / Best regards

Christian Fieres

Mainova AG
Planung und Betrieb Infrastruktur (M3-ON2)
Service Operation Center
Solmsstraße 38
60623 Frankfurt

Telefon / Phone (069) 2 13-2 36 17
Mobil / Mobile (0170) 5 60 15 63
Telefax / Facsimile (069) 2 13-9 62 36 17
E-Mail [email protected]


Mainova Aktiengesellschaft • Solmsstraße 38 • D-60623 Frankfurt am Main
Vorsitzende des Aufsichtsrates: Oberbürgermeisterin Dr. h. c. Petra Roth • 
Vorstand: Dr. Constantin H. Alsheimer (Vorsitzender), Lothar Herbst, Dr. 
Marie-Luise Wolff, Joachim Zientek 
Sitz der Aktiengesellschaft: Frankfurt am Main • Amtsgericht Frankfurt HRB 7173 
• USt-ID-Nr. DE 114184034 


Mainova steht für besten Service, faire Verträge und top Preise für Ihre 
Energie - mit Auszeichnung!
Mehr Infos unter: http://www.mainova.de/auszeichnung 

Keßler, Christoph <[email protected]> 

13.01.2011 10:50 

 

Bitte antworten an
Keßler, Christoph <[email protected]>

 

An

"spectrum" <[email protected]> 

Kopie

  

Thema

[spectrum] AW: Host configs deletion 


  

 

  

 





Hello, 
 
the Host Configurations are own models in the SpectroServer database. Name and 
Modeltype Handle: 
 
MTH                      Name 
0x820004    HostConfiguration 
 
I don’t know if you can delete them without complications. 
 
Regards 
-- 
Christoph Keßler                E-Mail: [email protected] 
<mailto:[email protected]>  
 amasol AG, Elsenheimerstraße 7, 80687 München, Germany 
 Phone: +49 89 1894743-24        Fax: +49 89 1894743-99 
  

amasol Aktiengesellschaft für Informations- und Kommunikationstechnologie 

Aufsichtsrat: Prof. Dr. Stephan Kaiser (Vorsitzender) 

Vorstand: Wolfgang Bachmann, Stefan Deml, Thomas Dirsch, Frank Jahn, Johann 
Maurer 

Amtsgericht München HRB 128327, Sitz der Gesellschaft München


 
 
Von: Ибрагимов Тимур [mailto:[email protected]] 
Gesendet: Donnerstag, 13. Januar 2011 10:39
An: spectrum
Betreff: [spectrum] Host configs deletion 
 
Hello team, 
 
want to clear all of my spectrum device configs and start collecting them 
again. I moved appropriate files physically from Export Directory to another 
one. But it looks like it doesn’t work. Still able to view old configs in Host 
Configuration tab. 
 
Should I change Export Directory setting to some new empty directory? Would you 
please share your knowledge with me. 
 
-- 
Timur Ibragimov 

*       --To unsubscribe from spectrum, send email to [email protected] with the 
body: unsubscribe spectrum [email protected] 
*       --To unsubscribe from spectrum, send email to [email protected] with the 
body: unsubscribe spectrum [email protected] 
*       --To unsubscribe from spectrum, send email to [email protected] with the 
body: unsubscribe spectrum [email protected] 
*       --To unsubscribe from spectrum, send email to [email protected] with the 
body: unsubscribe spectrum [email protected] 

*       --To unsubscribe from spectrum, send email to [email protected] with the 
body: unsubscribe spectrum [email protected] 


---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to