2011-02-02 03:21 AM - last edited on 2014-09-26 09:54 PM by alissa
Is there a (documented) way to get several simulators into Operations Manager? It seems that due to the fact that mny sims all have the same serialno/SystemID so OM seems to think they all the same machines. I am trying to get a Protection Manager Demo running and need at least two 8.0(.1) sims for that...
I have found that at bootup the Sim looks in /sim/dev/ for a file called ,serialno (just like the 7.x Sims), but I cannot access that file, as the systemshell demo user does not have right to create that file...
How to go about?
Solved! SEE THE SOLUTION
2011-02-02 11:50 AM
You need to take the following steps (see screenshots):
See attached screenshots.
2011-02-02 12:02 PM
Great write-up and explanation!
The one thing I'd add is that if you make that serial number change in the SIMLOADER before first setting up the simulator, then it won't be necessary to go through the maintenance mode process to reassign the disks. The initial setup will use the serial number that's defined at the time.
Lastly, we are planning to add functionality to automatically generate unique serial numbers for simulators in a future release of Data ONTAP.
2011-03-24 01:56 PM
Just a quick addendum: I've recently found out that there's another boot variable that takes precedent in setting the UID's. If you're looking to avoid UID conflicts, the best thing to do is set bootarg.nvram.sysid and SYS_SERIAL_NUM to the same value, and do this prior to first boot and initializing the disks. That prevents having to go through maintenance mode to reassign the disks. Other UID's may also be fixed and harder to change after the first complete boot.
Also, the system ID format is a 10-digit number. The last two digits of the number need to be unique within the C-Mode cluster for the disk UID's to be unique. So one way to manage the values is to use the first 8 digits to represent the cluster, and the last two digits to represent the node. For example: 1111111101, 1111111102, ..., 2222222201, 2222222202, etc.
To set the values, you'll need to enter:
SIMLOADER> set bootarg.nvram.sysid=1111111101
SIMLOADER> set SYS_SERIAL_NUM=1111111101
Take care and hope that helps,
2011-04-08 12:46 PM
I tried this method on a fresh install of the sim, I drop to SIMLOADER and enter in the "set" commands listed, boot, hit ctrl-C to enter the boot menu, and select "4" to initialize the disks and wipe config. Then the VM dumps core and reboots without doing the config wipe / disk init.
I unzipped a completely fresh copy of the guest, so I really doubt its vm corruption. If I unzip the guest and DON'T do the simloader commands it works and initializes just fine.
2011-04-21 12:40 PM
Are you using one of the original 8.0.0 simulators? That method may not work on the older vsims. If this is happening with the DOT 8.0.1 vsim, then the only thing that comes to mind is to make sure that the above steps are performed as the first thing after the simulator is extracted from the zip file and powered on.
Take care and hope that helps,
p.s., I recently left NetApp and don't have access to the vsims right now to verify that the sysid fix panics the DOT 8.0.0 sim.
2011-09-01 01:03 PM
I'm using the ONTAP simulator 8.0.1 and trying to change the System ID & Serial Number on my 2nd simulator to distinguish it for Systems Manager to identify.
When I launch the simulator and get to the Boot Menu, I get the following choices:
1. Normal boot
2. Boot without /etc/rc
3. Change password
4. Clean configuration and initialize all disks
5. Maintenance mode boot
6. Update flash from backup config
7. Install new software first
8. Reboot node
Question: How do I get the "SIMLOADER>" (simloader command prompt) with the above choices?
I've tried using the #5 option, but it doesn't recognixe the "set" command. I have not already configured & initialized with option #4.