Simulator Discussions

Re: Changing Serial Num on Simulator


I'll explain the ,serialno file in a minute, but as for the 'serial number is corrupt' message, I'm not sure why you're getting that.  Since this appears to be a new sim you created, I'd suggest you blow-away this simulator install directory, and then re-install your simulator from scratch.

In a clustered simulator, the ,serialno file contains two numbers.  The first entry is the System ID of *this* node (i.e. /sim/node1) , and the second entry is the System ID of its cluster partner (i.e. /sim/node2).    If you look at the ,serialno file for the cluster partner, it will have the exact same two numbers, but their order is reversed because it lists *its* System ID first.   So, you're going to have to edit the ,serialno file for both nodes of the cluster to make the System IDs unique, and the numbers have to match in both ,serialno files.  For example:

# cat /sim/node1/,serialno



# cat /sim/node2/,serialno



Note:  Remember that the first entry in each ,serialno file refers to that simulator's System ID.  The second entry is its partner's System ID.   That why the same numbers exist in both files, but the order they're listed in is reversed.

For the ,sys-serial-num file, you only need one entry.  This entry is the serial number of this specific simulator node.  Even if its part of a cluster, you only need one entry.  For example:

# cat /sim/node1/,sys-serial-num


# cat /sim/node2/,sys-serial-num


Once you have these files modified, shut down your simulators and then re-start them.



Thank you so much. I won't have a chance to try this untill this evening now, but I'll let yoou know how it went. It sounds like I have everything I need now.

- Hannes


Okay - I found the problem I was having. As I should have suspected, it was use error on my part 🙂

I was editing the ,serialno outside of Linux using Notepad and Wordpad, then dragging and dropping it back into my Linux VM (Yes, I'm more comfortable in Windows). I finally used vi to open the file and noticed the carriage return that is not in the original file. A quick edit to take out the carriage return and I'm now up and working.

Thank you for your help!

- Hannes

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner