it doesn't matter two. beta.

  • Archiv
  • RSS
  • Ask me
  • Schicken.

Some more NSM joy.

Well, as I mentioned a couple of days ago, there is not a single day that we don’t run into issues on NSM.

So today we import some new SRX firewalls into a freshly installed NSM. Everything is looking good except for… well… NSM does not recognize when the device has changed. So if you log into the SRX and do some config changes directly on the device, NSM will happily keep reporting to you that the device is in sync.

Hours later NSM still tells me the device is up, managed and in sync. But guess what, I had shut down the SRX firewalls. NSM didn’t even notice that.

So no matter what you do to your device, change config, shut it down, drop a bomb on it… NSM will tell you the device is up, running and in sync.

Only way to get NSM to recognize that something has changed is to actually use the “Check Config Sync” option or run a delta config summarize.

So that’s what they call Network & Security Management these days.

    • #nsm
    • #juniper
  • Vor 9 Monaten
  • 4
  • Comments
  • Permalink
  • Share
    Tweet

Can’t delete objects in Juniper NSM? You’re not alone.

So the other day I wasn’t able to delete some objects (devices and policies) from NSM anymore. When trying to delete it first said there are no references to the object and it’s safe to delete. So I hit “continue” just to receive a generic error message with no real info whatsoever.

Checked the error logs and it turns out those objects did in fact still have some references to objects that didn’t even exist anymore. Looks like NSM isn’t doing a proper cleanup when deleting stuff.

Opened a JTAC case. They invited me to a secure meeting and started hacking through our NSM database using the CLI based xdbedit utility. Took them four hours to get rid of all the references that were still in place.

So. Did this happen the first time? Nope. Happened to me two times before. At different customer sites with different NSM installations.

Go figure.

    • #juniper
    • #nsm
  • Vor 10 Monaten
  • 8
  • Comments
  • Permalink
  • Share
    Tweet

Juniper NSM schema updates - Problems all over the place


So today I am in the mood of sharing some experience I had the last couple of weeks using Juniper’s NSM. See other posts.

NSM’s DMI schemas have grown ridiculously large lately. Sure. They keep adding all sorts of devices they need to support, and along with that all the different versions of the OS that NSM needs to handle. So an unpacked schema today has several GB of data.

To make NSM support these large DMI schema updates, it needs to adjust some heap space (don’t make me swear I get this right) related to the Java backend of NSM. Turns out that they forgot to handle this in their upgrade scripts. So if you upgrade NSM from an earlier version to a more current version (say you go from 2007 to 2009 to 2011) the heap size value is not touched and left behind by the upgrade script.

Result: Next time you try to update the DMI schema you run into all sorts of issues. One of them is that the GUI client is no longer able to connect to the GUI server, telling you it’s waiting for the server to load the schema. Which never happens (not enough heap memory). Once you get that fixed (make sure you have a couple of hours spare time to get this done), your client is still unable to connect because it turns out the GUI client has similar issues.

The client’s nsm.lax file also has a heap size setting that needs adjustment. So you fix that too. Try to connect… still doesn’t work. Why? Because of the too small heap size, the schema download from the GUI server to the client failed and now you got half a schema on your hard drive that the client can’t interpret. So now all you need to do is manually copy the schema from the GUI server to the client, replacing the failed automatic download. Now you’re done.

Still with me? Having fun? I didn’t.

I’ve seen 3 different installations where this happened.

Fortunately, they seem to have finally fixed this with the patch release 2011.1a10, so they say. I haven’t tried that yet, because upgrading NSM doesn’t seem to be a safe procedure anymore.

You know, I used to be a Juniper advocate but these things really make me think twice before I recommend Juniper products to a client again.

    • #juniper
    • #nsm
  • Vor 10 Monaten
  • 2
  • Comments
  • Permalink
  • Share
    Tweet
There are only 10 types of people in the world: those who understand binary, and those who don’t.
  • Vor 10 Monaten
  • Comments
  • Permalink
  • Share
    Tweet

Why Juniper Networks NSM is a piece of junk.

Seriously Juniper. Yes, this is directed at you. I’ve had enough of this pile of useless software. There is not a single day that we don’t run into issues.

DMI schema updates failing, GUI clients no longer able to connect, NSM allowing to configure options on devices that these devices don’t even support…. the list goes on. Today? 

1.) Uploaded an unpacked Junos image (i.e. not the .tgz but the .tar file) to NSM. NSM wouldn’t complain. It would let me push the update to a device, which takes forever, because that device is a virtual chassis SRX. 45 minutes into the upload I get an error that the file is not the original .tgz and hence the update process will be interrupted. WHY THE HECK would you even let me upload it to NSM in the first place if you can’t use it? Why would you push the image to a device and let me wait 45 minutes? Why are there no checks in place? Oh I forgot, it’s 2011. No one needs to expect Software to be intelligent nowadays. 

2.) So I go ahead, delete the .tar and replace it with a .tgz and start the upgrade process again. This time it goes through and about 60 minutes later my SRX cluster reboots. But wait… only one node was upgraded, the other one is still on the old version. WTF? Needless to say my cluster went crazy because different software versions are not supported between cluster members. So I start searching the Juniper KB. Ever tried searching that KB? Well, good luck. After a lot of searching I found one PDF document (not even a real KB article or release note) that had one sentence about it buried deep inside of it. It said software upgrades through NSM are not supported on SRX if you manage them in virtual chassis mode. ARE YOU KIDDING ME? If it’s not supported, then why would you let the stupid admin even try it?

You know, just because I am in such a good mood today, I won’t say screw you Juniper and I won’t say screw you NSM.

What a piece of crap.

    • #juniper
    • #nsm
  • Vor 10 Monaten
  • 2
  • Comments
  • Permalink
  • Share
    Tweet
Window Pain on Flickr.Window Pain.
Pop-upView Separately

Window Pain on Flickr.

Window Pain.

    • #schwarzweiß
    • #suri
    • #girl
    • #portrait
    • #bw
    • #monochrom
    • #blackandwhite
    • #sadness
    • #shadow
    • #blackwhite
    • #dark
    • #emotion
    • #experimental
    • #window
    • #schwarzweiss
    • #child
    • #monochrome
    • #AF Nikkor 50mm f/1.4D
    • #50mm
  • Vor 11 Monaten
  • 1
  • Comments
  • Permalink
  • Share
    Tweet
what you have left on Flickr.what you have left
Pop-upView Separately

what you have left on Flickr.

what you have left

    • #2009
    • #germany
    • #rügen
    • #bw
    • #black & white
    • #monochrome
    • #bird
    • #nature
    • #scary
    • #creepy
    • #saved by the hotbox uncensored group
    • #Black & White Photos
    • #frame
    • #frame2
    • #frame3
    • #flush
    • #frame4
    • #flush2
    • #flush3
    • #flush4
    • #frame5
    • #frame6
    • #frame7
    • #flush5
  • Vor 11 Monaten
  • Comments
  • Permalink
  • Share
    Tweet
Flippers Mono - V1 on Flickr.powerful eye contact.
Pop-upView Separately

Flippers Mono - V1 on Flickr.

powerful eye contact.

    • #schwarzweiß
    • #Nikon D300
    • #boy
    • #portrait
    • #bw
    • #swim
    • #monochrom
    • #blackandwhite
    • #germany
    • #2009
    • #blackwhite
    • #children
    • #Kollerinsel
    • #schwarzweiss
    • #flippers
    • #child
    • #monochrome
    • #AF-S DX Zoom-Nikkor 17-55mm f/2.8G IF-ED
    • #flush
    • #frame
    • #flush2
    • #frame2
    • #frame3
    • #flush3
  • Vor 11 Monaten
  • 2
  • Comments
  • Permalink
  • Share
    Tweet
Elijah’s Eye on Flickr.Via Flickr:
overexposed version
Pop-upView Separately

Elijah’s Eye on Flickr.

Via Flickr:
overexposed version

    • #blackwhite
    • #blackandwhite
    • #schwarzweiss
    • #bw
    • #schwarzweiß
    • #monochrom
    • #monochrome
    • #AF Nikkor 50mm f/1.4D
    • #portrait
    • #elijah
    • #saved by the hotbox uncensored group
    • #uncool
    • #cool
  • Vor 12 Monaten
  • 2
  • Comments
  • Permalink
  • Share
    Tweet
Sushi. on Flickr.freshest Sushi possible.
Pop-upView Separately

Sushi. on Flickr.

freshest Sushi possible.

    • #Florida
    • #travel
    • #trip
    • #nature
    • #bird
    • #catch
    • #fish
    • #Reise
    • #Tiere
    • #Natur
    • #Everglades
    • #2007
    • #USA
    • #AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED
    • #Everglades National Park
    • #Great Blue Heron
    • #Fantastic Nature
  • Vor 1 Jahr
  • Comments
  • Permalink
  • Share
    Tweet
← Neuer • Älter →
Seite 1 von 3

Portrait/Logo

Über

sascha: epikureist, hedonist, feinschmecker, vinophil, technologist, musikant, cineast, raser, lüstling, multitoxisch und zynisch.

Seiten

  • my photography
  • idle chatter

Ich, Woanders

  • @cryptochrome on Twitter
  • Facebook Profile
  • cryptochrome on Flickr
  • cryptochrome on Last.fm
  • My Skype Info

Twitter

loading tweets…

I Dig These Posts

Mehr →
  • Foto via mdear

    Interpol : Munich

    Foto via mdear
  • Foto via kari-shma

    Photographer: Stephen Oachs

    Foto via kari-shma
  • Foto via gamerchef

    Deep fried Spam roll.

    Basically, you get a nori sheet, place some cooked rice then spam then rice and proceed to roll in a rectangular shape....

    Foto via gamerchef
  • Foto via theanimalblog
    Foto via theanimalblog
  • RSS
  • Beliebig
  • Archiv
  • Ask me
  • Schicken.
  • Mobil

Sascha Picchiantano. All Rights Reserved.. Effector Theme by Carlo Franco.

Powered by Tumblr