For SmartServer 4.1 and prior, see Resetting the SmartServer to Factory Defaults (Release 4.1 and Prior).
You can reset the databases in your SmartServer, and you can reset the SmartServer to the same configuration as it ships from the factory. This section describes how to reset the SmartServer to factory defaults. To reset the SmartServer databases only, see Resetting the SmartServer IoT Databases.
When you reset the SmartServer to factory defaults, the following operations occur, followed by a restart of the SmartServer:
- SmartServer factory settings are restored including IP and port settings
- Services are stopped
- Databases are cleared
- Custom web pages and applications are deleted
- This does not restore the HTTP and HTTPS default ports if you changed them. You will have to manually change them back to the defaults, see Changing HTTP and HTTPS Ports for more details.
- MAC IDs (SmartServer Configuration page LON tab) used for routing (IP-852, U60s, U70s) and internal devices are reassigned and may require you to reassign them in any IMM integration tool (e.g., IzoT CT).
You can use this process to start over with the SmartServer for a new site or to recover from any database corruption that you could not resolve by the reset databases procedure. Resetting the SmartServer to factory defaults can be done using the SmartServer Configuration page. If there is any problem with, or access to, the SmartServer Configuration page, then use the the apollo-reset command from the console to reset the SmartServer to factory defaults.
This section describes both methods for resetting the SmartServer to factory defaults and consists of the following:
Using the SmartServer Configuration Page
To restore factory settings for the SmartServer system using the SmartServer Configuration page, perform the following steps:
- If you are using SmartServer 3.1 or prior, and you have more than one LON network interface (U60 or U70) attached to a SmartServer, disconnect all but one of the LON network interfaces before resetting to factory defaults. Plug the LON network interfaces back in after the reset is complete.
- Open the SmartServer Configuration page as described in Accessing the SmartServer IoT Configuration Page. The Network tab appears as the default SmartServer Configuration page. Once the network settings are configured for the SmartServer system, then the System tab will appear as the default as shown in the next step.
Click the System tab.
Click Reset to Defaults.
The Rest to Defaults dialog box appears.Enter the current password and confirm your password in the appropriate fields. The Reset Databases Only option will preserve your network settings. The Restore Factory Settings option is used to take the SmartServer back to factory fresh condition.
Click the Restore Factory Settings option.
- Click Confirm to reset the system configurations.
Allow about 10 minutes for the SmartServer to initialize. - If you are using SmartServer 3.1 or prior, and you had more than one LON network interface (U60 or U70) attached to a SmartServer (that were disconnected in step #1), plug the LON network interfaces back in after the reset is complete.
If you are using the IP-852 Config Server, after you reset/restore/re-image the SmartServer, delete the SmartServer device shape in IP-852 Config Server and then add it again if needed. Re-imaging the SmartServer system, resetting databases, or restoring the settings to factory defaults may cause the MAC IDs (also referred to as neuron IDs) to change in the SmartServer for the IP-852 and U60 routers, SmartServer IoT device (used for IMM), and any internal devices that get their neuron IDs assigned by the SmartServer.
If the SmartServer is used in an IzoT CT or IzoT Net Server database, after you reset/restore/re-image the SmartServer, decommission the IP-852 and U60 routers (remove the neuron ID as it has changed), the SmartServer IoT device, and any SmartServer internal devices, and then commission these devices with the new neuron IDs. Re-imaging the SmartServer system, resetting databases, or restoring the settings to factory defaults may cause the MAC IDs (also referred to as neuron IDs) to change in the SmartServer for the IP-852 and U60 routers, SmartServer IoT device (used for IMM), and any internal devices that get their neuron IDs assigned by the SmartServer.
- Restoring the SmartServer settings to factory defaults may cause the MAC IDs (also referred to as neuron IDs) to change in the SmartServer for the IP-852 and U60 routers, SmartServer IoT device (used for IMM), and any internal devices that get their neuron IDs assigned by the SmartServer. Consequently, the following step is required:
If you are using IP-852 routing with the SmartServer, after you reset the SmartServer, delete the SmartServer device shape in the IP-852 Config Server and then add the SmartServer again.
If the SmartServer is used in an IzoT CT or IzoT Net Server database, after you reset the SmartServer, decommission the IP-852 and U60 routers (remove the neuron ID as it has changed), the SmartServer IoT device, and any SmartServer internal devices, and then commission these devices with the new neuron IDs.
Using the Console
To restore factory settings for the SmartServer system using the console, perform the following steps:
This procedure should not be used with SmartServer release 3.2x.
- Use putty.exe, or a terminal emulator of your choice, to connect using SSH or serial console (settings: 115200-8-N-1).
- Login as user apollo and the password that is on the back of the SmartServer, or the new password if it has been changed.
Enter the following command:
sudo apollo-reset factory <password>
The password is optional. You can change the password by entering a password that is different from the current password.
- If you connected to the SmartServer console using SSH, then you will be prompted to continue shortly after the re-image script starts.
The re-image script will take about 8-10 minutes to complete and concludes with a reboot of the SmartServer.