CSN Reset

csn-reset enables you to reset a server to a state in which a fresh CSN software version can be installed from scratch and the initial configuration re-run. This can be useful to restart upgrades that are interrupted by network outages or to revert to a previous software version. Run the following command as a user with root privileges:

/opt/caringo/csn/bin/csn-reset

csn-reset will prompt for confirmation prior to proceeding and logs its steps to both the screen and to the system syslog (/var/log/messages). During the csn-reset process, configuration backups cannot complete and might log errors as a result.

Note

csn-reset is not a general-purpose uninstall script because it does not return service and network configuration files to their original state; it will not leave the server in a state usable for other purposes. To repurpose a server as a non-CSN, perform a fresh OS install.

For dual-network installations, if csn-reset fails with errors related to the public network not being reachable (for example, because of the way public bonds are configured), enter the following commands in the order shown as a user with root privileges:

  1. /opt/caringo/csn/bin/reconfigure-network 
    This command removes bonding from all network interfaces. See "Dual-network: Automatically Reconfiguring Network Settings".

  2. shutdown -r now 
    After reconfiguring the network, you must reboot.

  3. /opt/caringo/csn/bin/reconfigure-network --bonded --autodiscover 
    This command restores bonding to all network interfaces. 

  4. shutdown -r now 
    After reconfiguring the network, you must reboot. 

  5. /opt/caringo/csn/bin/csn-reset [--remove-cr]

After having reconfigured the network, csn-reset should succeed.

© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.