Installing NEOSYS Service: Difference between revisions

From NEOSYS Technical Support Wiki
Jump to navigationJump to search
No edit summary
(3 intermediate revisions by the same user not shown)
Line 39: Line 39:


x:\neosys\neosys\accounts.bat
x:\neosys\neosys\accounts.bat
=== Disabling network protocols in XP for client servers ===
Remove Windows protocols from ALL network adapters present in the machine whether in use or not. This is quick and easy since it does not require a reboot and provides a good degree of protection but does NOT replace the need for TCP/IP filtering for complete protection.
[[image:properties.jpg]]
Why should I remove the protocols which are not in use?
Not removing unnecessary protocols can result in slowin down the network communication or even pose as a security threat.


=== Activating NEOSYS using authorization number ===
=== Activating NEOSYS using authorization number ===
Line 52: Line 63:
First time entering maintenance you will enter a command box (like NEOSYS F5)
First time entering maintenance you will enter a command box (like NEOSYS F5)


Type FILEMAN and then restore. You will need a BACKUP.ZIP file in C:\ containing the initial database.
Type FILEMAN and then restore. You will need a BACKUP.ZIP file in C:\ containing the initial database. You can download this file from http://www.neosys.com/support/backup.zip


=== Creating a .CMD file to start NEOSYS Service: ===
=== Creating a .CMD file to start NEOSYS Service: ===

Revision as of 15:33, 10 October 2007

INSTALLING NEOSYS SERVICE

Main installation:

Make sure NOT TO COPY an existing NEOSYS installation to another location and ONLY do a 
completely new install with a fresh database, because copying a folder will copy a variety of 
hidden configurations. 

Preparing server for installation

It is advised that the server is not connected to the existing domain controller.


Locating servers

Before installation, ensure that Clients servers should be placed out of public areas for safety and also to ensure that USB flash drives for NEOSYS backup cannot be misappropriated.


Moving NEOSYS to new servers

Make sure you disable old systems BEFORE you enable new systems.

You cannot count on users to pay attention to WHICH system they are using so its up to you to prevent access to the old system PRIOR to opening a new system for them.

Failure to follow this procedure OFTEN results in chaos in the clients procedures. Missing invoices, etc etc etc.


Downloading and running installation files

  1. http://www.neosys.com/support/accounts.exe ... and install to X:\Neosys
  2. http://www.neosys.com/support/adagency.exe ... and install to X:\Neosys

Creating shortcuts

Make desktop shortcut ‘Maintenance’ to (or right click, send to desktop as shortcut)

x:\neosys\neosys\adagency.bat

or

x:\neosys\neosys\accounts.bat

Disabling network protocols in XP for client servers

Remove Windows protocols from ALL network adapters present in the machine whether in use or not. This is quick and easy since it does not require a reboot and provides a good degree of protection but does NOT replace the need for TCP/IP filtering for complete protection.

Properties.jpg


Why should I remove the protocols which are not in use?

Not removing unnecessary protocols can result in slowin down the network communication or even pose as a security threat.

Activating NEOSYS using authorization number

Start NEOSYS Maintenance and it will give a “Computer Number” and ask for an “Authorisation No”

Send the computer number to NEOSYS admin to get the authorization no.

If you cannot get the authorization number immediately then you can close NEOSYS and when you reopen NEOSYS it will still give the same computer number and accept the same authorization number.

Installing initial Database

First time entering maintenance you will enter a command box (like NEOSYS F5)

Type FILEMAN and then restore. You will need a BACKUP.ZIP file in C:\ containing the initial database. You can download this file from http://www.neosys.com/support/backup.zip

Creating a .CMD file to start NEOSYS Service:

In x:\neosys create a file startmain.cmd

x:
cd \neosys\neosys
Start neosys.js /system ADAGENCY /database databasecode /user NETSERVICE /pass NETSERVICE

(where databasecode is the code of the database)

In x:\neosys create a file starttest.cmd

x:
cd \neosys\neosys
Start neosys.js /system ADAGENCY /database testdatabasecode /user NETSERVICE /pass NETSERVICE

(where testdatabasecode is the code of the testdatabase)

Differences for Pure Accounts Module Only Installations

Accounts module only has a slightly different startup command. In the above, replace /system adagency with /system accounts to startup a service and use accounts.bat instead of adagency.bat to start up maintenance. Other than that, accounts module setup is identical. Pure accounts clients are very few and tend not to upgrade often so care needs to be taken when upgrading. Upgrade is perhaps surprisingly done using the adagency.exe file.

Creating a .CMD file to copy maindata to testdata

In x:\neosys create a file copymain2test.cmd

Xcopy x:\neosys\data\maindatabasecode x:\neosys\data\testdatabasecode /s /y

Setting up daily scheduled tasks

Automatic Schedules: Neosys automatically shuts down at 2 am every morning for backup. It closes all the running processes and backups up to the selected drive.


Manually Configured Schedules:

Automatic download & Install of Windows Update - to be configured at 3 am everyday

Maindata – 3 processes starting 6:00 am, 6:01 am, 6:02 am

Testdata – 1 process at 6:04 am

Copy Maindata to Testdata – 1 process at 2:45 am

For multiple sites on the same computer put the second site starting five minutes later at 6:05, third site starting five minutes earlier at 5:55, the third site starting five minutes later at 6:10 and so on.


Configuring NEOSYS to start automatically on server start-up

Unfortunately using this method the NEOSYS processes are not visible when you login as a user.

startall.cmd file

Make a startall.cmd file in the neosys folder something like this, where xxxx and xxxxtest are the names of the usual database start-up cmd files.

start cmd /c "start xxxx.cmd"
c:\cygwin\bin\sleep 5
start cmd /c "start xxxx.cmd"
c:\cygwin\bin\sleep 5
start cmd /c "start xxxx.cmd"
c:\cygwin\bin\sleep 5
start cmd /c "start xxxxtest.cmd"
c:\cygwin\bin\sleep 5

Windows scheduled task

Win sch task.jpg

Schedule a task to run the startall.cmd file whenever the computer starts

Installing and upgrading NEOSYS pure accounting systems

Basic installation using ACCOUNTS.EXE and upgrades using ADAGENCY.EXE are identical to the normal adagency installation process.

Differences are as follows:

  1. Maintenance shortcut to ACCOUNTS.BAT
  2. Process startup file contains "/system ACCOUNTS" instead of "/system ADAGENCY"
  3. Internet address is http://server/neosys/accounts.htm although it auto converts to http://server/neosys/default.htm??ACCOUNTS. Although not to be relied upon, the login page stores a cookie so even plain http://server/neosys or http://server/neosys/default.htm works thereafter until the cookie is lost. To get back to adagency login you use http://server/neosys/default.htm??ADAGENCY
  4. BACKUP.ZIP files created by ADAGENCY systems and ACCOUNTS systems are slightly incompatible with the result that restoring one in the other type of system will not work. NEOSYS programmers can convert from one type to the other but it is almost never required since any ad agency that only requires accounts only module is given the adagency version of NEOSYS and accounting only clients becoming ad agencies never happened.