Uninstalling clients hosted on NEOSYS Server: Difference between revisions

From NEOSYS Technical Support Wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 8: Line 8:
NEOSYS needs to:
NEOSYS needs to:


#Ensure that the installations can no longer be used by accident or design.
#Ensure that the databases can no longer be logged in to by accident or design.
#Ensure that for a reasonable period of time that NEOSYS can be re-enabled in case of error or change in circumstances.
#Ensure that for a reasonable period of time that NEOSYS can be re-enabled in case of error or change in circumstances.


Line 15: Line 15:
====Stage 1. Disabling====
====Stage 1. Disabling====


1. Ensure that the NEOSYS processes, for the installation that is being moved, have been shut down. This includes checking that no ntvdm process is running for the installation being moved, in procexp.exe (Find, Handle, D:)
1. Ensure that the services for the client being uninstalled have been stopped.
./doall <dbname> stop


2. Comment the lines pertaining to the stopped installation in D:/Apache24/conf/neosys2.conf
2. Delete the website
./doall <dbname> delete_site


3. Edit the process startup cmd file, which is scheduled to run daily in the task scheduler and comment out the stopped installation from it.
3. In doall, comment out the line corresponding to the client being uninstalled.


4. Do not amend the client folder name or location, leave the client folder name as it is.
4. Comment the lines for the stopped installation in the Nagios config file so that Nagios stops alerting for it. (edit: genclients.sh)


The old procedure to Capitalise the client folder name or MOVING this folder to the "OLD" folder leads to backups doubling up on capacity on the backup server as the historical snapshots retain the old folders on the backup server. Hence, these procedures must be stopped.
5. Strike-through the terminated client's link on support home page (support.htm).
 
5. Retain a copy of the latest backup.zip file as mentioned in [[Backup_and_Restore#Historical.2FLapsed_Clients.3F| Handling backup for historical clients]]
 
6. Comment the lines for the stopped installation in the Nagios config file so that Nagios stops alerting for it. (edit: genclients.sh)
 
7. Strike-through the terminated client's link on support home page (support.htm).


====Stage 2. Permanent Deletion====
====Stage 2. Permanent Deletion====


Any installation found in the hosts\OLD folder which is older than one year may be deleted to free up storage and backup resources as follows:
We keep ex client data for up to one year before deleting, but after this period:


1. Delete the lines pertaining to stopped installations in D:/Apache24/conf/neosys2.conf.
1. Retain a copy of the client's latest backup sql.gz file in a separate directory (to be discussed and decided)


2. Delete the associated folders in hosts folder.
2. Delete client directory from /root/hosts directory.


3. Remove the terminated client's link from support home page (support.htm).
3. Remove the terminated client's link from support home page (support.htm).


4. Delete the associated entry from Zone Edit.
4. Delete the associated entry from Zone Edit.

Revision as of 12:27, 22 December 2021

This must be done in the following circumstances:

  1. Reinstallation on other servers
  2. Reinstallation on clients own server
  3. Termination of contract
  4. Any other reason

NEOSYS needs to:

  1. Ensure that the databases can no longer be logged in to by accident or design.
  2. Ensure that for a reasonable period of time that NEOSYS can be re-enabled in case of error or change in circumstances.

Include admin@neosys.com when sending emails regarding this subject.

Stage 1. Disabling

1. Ensure that the services for the client being uninstalled have been stopped.

./doall <dbname> stop

2. Delete the website

./doall <dbname> delete_site

3. In doall, comment out the line corresponding to the client being uninstalled.

4. Comment the lines for the stopped installation in the Nagios config file so that Nagios stops alerting for it. (edit: genclients.sh)

5. Strike-through the terminated client's link on support home page (support.htm).

Stage 2. Permanent Deletion

We keep ex client data for up to one year before deleting, but after this period:

1. Retain a copy of the client's latest backup sql.gz file in a separate directory (to be discussed and decided)

2. Delete client directory from /root/hosts directory.

3. Remove the terminated client's link from support home page (support.htm).

4. Delete the associated entry from Zone Edit.