12-09-2011 07:27 AM
Hello all,
NSM 2010.2
I've tried to update schema 156 to latest 215 and got error:
Error Text:
Schema Download Failed.
Error Details:
Obstructed update
svn: Failed to add directory '/usr/netscreen/GuiSvr/var/dmi-schema-stage/nsm/dm
How to fix this?
Thank you,
Dmitry
Solved! Go to Solution.
12-09-2011 01:47 PM
Dmitry wrote:
Error Details:
Obstructed update
svn: Failed to add directory '/usr/netscreen/GuiSvr/var/dmi-schema-stage/nsm/dm
i/junos-es/releases/10.2R3.10': object of the same name already exists.
You could get into the NSM box via the CLI and delete that directory, though, be warned, this may have undesirable side effects.
root@nsm# rm -rf /usr/netscreen/GuiSvr/var/dmi-schema-stage/nsm
Proceed at your own risk.
A slightly safer way would be to rename the 10.2R3.10 directory to something else, and if NSM blows up, you can always just put it back.
root@nsm# cd /usr/netscreen/GuiSvr/var/dmi-schema-stage/nsm/dmi
root@nsm:releases# mv 10.2R3.10 10.2R3.10.backup
If you need to put it back, just reverse it:
root@nsm# cd /usr/netscreen/GuiSvr/var/dmi-schema-stage/nsm/dmi
root@nsm:releases# mv 10.2R3.10.backup 10.2R3.10
You'll probably want to stop your NSM processes before doing these changes, and restart them after you make the change.
12-11-2011 12:23 AM
Hi,
I did rename as you wrote:
root@nsm# cd /usr/netscreen/GuiSvr/var/dmi-schema-stage/nsm/dmi/junos-es/releases/
root@nsm:releases# mv 10.2R3.10 10.2R3.10.backup
however it did not help. I've tried schema upgrade again after rename but outcome the same.
What you think, perhaps I have to downgrade schema to original before upgrade to 215?
Thanks,
Dmitry.
12-12-2011 09:24 AM
Well, I found solution, perhaps it will useful to somebody.
1. Clean up disk space because to proper update is needed about 15GB free space (or more)
2. Use KB13555 to revert dmi-schema to the original installed version
3. Use DMI_Schema_v215.pdf document to check and correct (if necessary) some critical values: heaps, retry, timeout (at gui client as well)
4. Make update to latest dmi scheme as usual.
That works.
Thanks,
Dmitry
12-14-2011 10:10 AM
Are you using NSMxpress by any chance? Because this happeende to me countless times. The hard drives in the appliances are so extremely small that they can't cope with the large schema updates. Last time I had a JTAC guy clean up the mess and it took him 6 hours to get out NSM back on track.
It's always the same with these schema updates. They fail very often.
12-14-2011 11:34 AM