Topic
1 reply Latest Post - ‏2014-03-03T19:57:22Z by Fernando Ferreira
Zen1988
Zen1988
1 Post
ACCEPTED ANSWER

Pinned topic ITNCM 6.3 FP 1: Cannot Import Configuration for Juniper Devices

‏2012-04-25T06:53:14Z |
Hi,we installed ITNCM in integrated environment, where the ITNM will done the discovery, and pass the seed file to ITNCM which then do the import of configuration for devices.
At beginning, the ITNCM not even can figure out VTMOS for Juniper EX2200, but its work for EX4200, but it cannot import the configuration. We found out that wrong access type being enabled (telnet not SSH) for Juniper devices. We have come across some manual way for troubleshooting including manually creating network resource with pre-defined VTMOS for EX2200, and enabled SSH access for EX4200. It work for the first time, and the log show successful import of configuration for both devices. But it seem to be not really the cases where when I try to view/edit configuration, the configuration (command set) with empty data when we select show data only (This option enabled us to view only configuration being made to devices). So, I enabled the Smart Model Tier 2 Upgrade again, then restart TNCM server to apply the changes. Then I try reimport the configuration and is failed. Error is something like out of memory exception cannot allocate memory 622 for type driver because 521 is the limit of this type. I try to change memory manager properties in System properties, but no luck. The image file is when I try to auto-idt to the EX4200 device, its failed, and show the unsupported key algorithm.

The log:
  • Operation Summary **********************

Task Start Time: 2012/04/25 02:36:42.480 GMT+00:00
*******************************************************
Task: Import Configuration
Device: <ip>
*******************************************************
(1) Allocating 15MB of task memory (100% of the default task memory)...
(2) >>> Operation Started on Worker Server 'TNCMAPP'... (constants): 2012/04/25 02:36:42.566 GMT+00:00
(3) <<< Operation Finished in 0 seconds (constants): 2012/04/25 02:36:42.567 GMT+00:00
(4) >>> Operation Started on Worker Server 'TNCMAPP'... (radCheck): 2012/04/25 02:36:42.567 GMT+00:00
(5) Using DeviceScript resource 'ITNCM/NCOMS/0000/juniper' for atomic resource '10.8.100.210' (Full VTMOS match: Juniper/Switch/ex*/10.*)
(6) <<< Operation Finished in 0 seconds (radCheck): 2012/04/25 02:36:42.827 GMT+00:00
(7) >>> Operation Started on Worker Server 'TNCMAPP'... (getConfig): 2012/04/25 02:36:42.827 GMT+00:00
(8) Importing configuration for device
(9) Using custom ResourceAccDoc for atomic resource '<ip>'
(10) Using DeviceScript resource 'ITNCM/NCOMS/0000/juniper' for atomic resource '<ip>' (Full VTMOS match: Juniper/Switch/ex*/10.*)
(11) Using default FileTransfer for atomic resource '<ip>'
(12) Using default NCGD for atomic resource '<ip>'
(13) Using Authentication resource 'ITNCM/DevicePasswords' for atomic resource '<ip>' (V only match: */*/*/*)
(14) Using driver: juniper_switch_ex_10.0_v14.00 (Isd0000104035)
(15) Actual Model: ex4200-24t
(16) Actual OS : 10.1S6.2
(17) Device script used: custom Device Script above
(18) Successfully used login credentials from Authentication
(19) Normalised Model: ex
(20) PreWrite requested : running config copied to startup config
(21) Configuration retrieved successfully
(22) Configuration imported 10.8.100.210
(23) Device info obtained for device
(24) <<< Operation Finished in 22 seconds (getConfig): 2012/04/25 02:37:05.433 GMT+00:00
(25) >>> Operation Started on Worker Server 'TNCMAPP'... (modelConfig): 2012/04/25 02:37:05.434 GMT+00:00
(26) Allocating 623MB of driver memory (602MB for the schema and 21MB for the config)...
(27) WARNING: The requested memory allocation was for 623MB but the limit on type driver is only 461MB. Continuing on a best effort basis...
(28) Operation failed with failure category Internal Error
(29) Caused by: Could not allocate memory for schema: com.intelliden.drivers.locator.MetadataLocator$SchemaInfo@78ec78ec (OperationFailedException)
(30) Caused by: Cannot allocate 602MB of type driver as the limit on this type is 461MB (MemoryManagerException)
(31) Task End Time: 2012/04/25 02:37:06.17 GMT+00:00
*******************************************************
Please advice how I can solved the problem so, we can import the Juniper devices' configuration in TNCM.
  • Fernando Ferreira
    Fernando Ferreira
    1 Post
    ACCEPTED ANSWER

    Re: ITNCM 6.3 FP 1: Cannot Import Configuration for Juniper Devices

    ‏2014-03-03T19:57:22Z  in response to Zen1988

    hi can you fix the import?....I've the same issue