- Created by Luke Cerwin , last modified on Jul 07, 2022
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 7 Current »
System Startup
Power on the PC system
Wait for Windows 2000 Logon screen to appear
Log on as Administrator with the appropriate password
The process control applications are not automatically started when the computer is booted. However, the application system is easily started with the following sequence:
Double click on the NtRtMgr Startup icon on the desktop. The TelePro Real-time Control System window appears as follows:
The top half of the window displays the status of the control tasks, one per line. Verify proper operation of tasks (as follows for a typical control system):
Tasks GsmOpcSrv, TrenedMgr, TrendGsm, TrendSrv should be active
Various tasks should be active and using some portion of their interval
The tasks that run on a timer (their names frequently start with a ‘T’) should be active.
The tasks that run on demand (their names frequently start with a ‘D’) should be either ‘Prenatal’ or 'Stopped’
More detailed information about the internal operation of the Startup process is available in of this manual.
System Shutdown
The process control application tasks may be stopped as follows
Insure that the process is in a state suitable for stopping the control system. This would be state ‘ESTOP’ for a mill control system.
Click the “Stop System” button in the upper right had corner of the TelePro Real-time Control System window. The following message box should appear:
To continue with the application shutdown, first check the box next to the greyed “Shutdown” command button to make it active, and then click the “Shutdown” button. This two step procedure is implemented to insure that the application is not inadvertently shutdown.
The processes displayed in the TelePro Real-time Control System window will be stopped and the status of each will change to ‘Stopped’.
All required global variables will be saved to the appropriate global common save file.
Click the ‘X’ in the upper right corner of the TelePro Real-time Control System window to remove the window.
The 2000 system may now be safely shut down (see below) or the application processes may now be
restarted, as desired.
Shut down the 2000 system with the following sequence:
Ensure that the application processes are shut down (see Application Shutdown)
On the task bar at the bottom of the screen, Click: Start | Shutdown | Shutdown the computer | Yes
More detailed information about the internal operation of the Shutdown process is available in Standard Tasks of this manual.
System Backup and Failure Recovery
Overview
A number of products are available to aid in the backup of Windows based system. A few of the alternatives are described below.
A simple backup procedure using the GUI point and click interface of the Windows 2000 Explorer is available which will save the entire contents of the source, executable, and process initialization files. This procedure will copy the entire contents of the \LocNtRt directory structure to the Process Control FS2 file server.
The contents of this directory contain the entire environment required to build a new application environment. These files include:
Source files
Process initialization files
Object files
Workspace, Project, and process make files
Binary executables
Restoration of these files to a backup Windows 2000 / RTX disk would provide the entire application development environment required to re-generate a running process system with a simple make file.
The System Backup methods described here will provide several different procedures for different backup scenarios, including:
Complete ‘cloning’ of a disk surface to a second disk drive
This procedure requires both disk drives to be resident on the same computer. The backup operation will be performed under DOS
The produced disk is complete and ready to run as a duplicate of the system as of the date and time it was produced.
This procedure uses a third party product: Ghost by Symantec.
Complete backup of the disk surface to a file server.
This procedure requires the single operational disk in the control system and network access to a file server.
The backup operation will be performed under DOS
The produced save image is complete copy of the disk surface, but would need to be copied back to a disk drive to be ready to run.
This procedure uses a third party product: Ghost by Symantec.
Backup of all application code, data files, and process specific data to CD for archiving.
This procedure requires the single operational disk in the control system and an HP CD-Writer installed in the on the system
This backup operation will be performed under Windows 2000 and may be performed while the system is operating
The produced CD will contain a copy of all of the files required to restore a complete set of application files, including program source, libraries, executables, initialization files, and data files. Each of these files may be individually accessed or copied from the CD. The CD will have a directory based image of the application programs which closely resembles the directory layout on the Tsentry disk.
This procedure uses a 3rd party product: CDWriter sold with the HP CD-Writer recording CD drive.
This procedure assumes that:
You have the bootable (possibly network aware) Ghost diskette
You have installed a second hard disk drive in your control system. The master drive will be the source drive; the slave drive will be the target destination drive.
Shutdown the Tsentry Control System
Shutdown the Windows 2000 system
Insert the Ghost diskette in the floppy drive
Boot from the diskette
You may ignore any error message(s) related to network access
OK
Local | Disk | To Disk
Select local source drive by clicking on the drive number:
Select drive 1 | OK
Select local destination drive by clicking on the drive number:
Select drive 2 | OK
Ignore message: Partition is larger than 7.8GB and may not be bootable
Proceed with disk clone? Yes.
Disk copy will proceed automatically to completion.
This procedure assumes that:
Ghost enterprise edition has been installed on the file server.
You have in your possession the bootable, network aware Ghost Diskette
You have properly set up the enterprise Ghost on the server to be aware of the Control system configuration.
On the File server:
Start | Programs | Norton Ghost | Multicast Server
Session Name: Appropriate session name related to control system
Select: Dump from Client
Image File: E:\software\Norton Ghost 6.0\system.gho (or appropriate file name)
Select: Disk
Click: Accept Clients
On the Control System:
Shutdown the Tsentry Control System
Shutdown the Windows 2000 system
Insert the Ghost diskette in the floppy drive
Boot from the diskette
Insure that network access loads without error
OK
Multicasting
Session: Appropriate session used as entered above
OK
Select local source drive 1 | OK
Compress Image: High
Proceed with Image Compression: Yes
Disk Surface transfer proceeds to completion (about 20 minutes)
On the Control System:
Clone Completed Successfully: Reset Computer
This procedure assumes that:
Ghost enterprise edition has been installed on the file server.
You have in your possession the bootable, network aware Ghost Diskette
You have properly set up the enterprise Ghost on the server to be aware of the Control system configuration.
You have previously saved a copy of the disk to be restored as an image on the server
On File server:
Start | Programs | Norton Ghost | Multicast Server
Session Name: Appropriate session name related to control system
Select: Load to Client
Image File: E:\software\Norton Ghost 6.0\system.gho (or appropriate file name)
Select: Disk
Click: Accept Clients
On the Control System
Insert the disk in the backup system.
Insert the Ghost diskette in the floppy drive
Boot from the diskette
Insure that network access loads without error
Insure that network access loads without error
OK
Multicasting
Session: Appropriate session used as entered above
OK
Select local destination drive: 1 | OK
Ignore message about partition size with OK
Verify Destination drive details | OK
Proceed with disk load? Yes
On File server:
Click: Send
Disk Surface transfer proceeds to completion (about 20 minutes)
On the Control System
Clone Completed Successfully: Reset Computer
This procedure assumes that:
HP CD-Write hardware is installed on control system
HP CD-Writer Plus CD generation software is installed on
Start | Programs | HP CD-Writer Plus | Create a CD
Click on Easy CD Creation (Make a data CD that is most compatible with other CD-ROM drives)
Recommended CD-R blank CDs: OK
Click on Easy CD Creation – Data “Click here to create a data disc for distribution among different types of computers”
Select Data Cd | next
Select d:\LocNtRt | Add Now
Add any other files or directories as desired
Next
Do not perform the test
Next
Backup or Restore Using DVD Burner
This document describes the process of using the HP DVD200e writer and accompanying software to backup/restore particular files or an entire Windows 2000 system.
Even if you backup the entire system, you can restore either the entire system or just specific files/folders/drives. Follow the appropriate restore instructions for the desired method.
Log in as Administrator.
Make a note of your hard drive partitions. On the desktop, right click My Computer and select Manage. Select StorageàDisk Management. Write down the sizes of each drive and each partition within it. This will be needed if you are restoring to a blank hard drive in the future.
Disable PCAnywhere and NetMeeting. (Usually can be done from the tray icons.)
Hook up the DVD drive to the computer you are backing up.
Start HP DVD Writer software (desktop icon, or StartàProgramsàHewlett-Packardàhp dvd writeràhp dvd writer).
Select HP Simple Backup.
Media Type recommendation is shown. Make sure you have this media available. Note: you cannot use DVD-R or DVD-RW (only DVD+R or DVD+RW). Click OK.
Select Full System Backup
Select your backup device as HP DVD Writer 200. Click Next.
Wait while HP Simple Backup examines your computer. (This takes about 1 or 2 minutes to complete.) Insert media if you haven’t already. Click Next.
If you are asked to overwrite, append, or use another media, usually you can select overwrite. Do not select overwrite if you have things on the media you wish to preserve.
Backup will take about 3 hours per DVD disc (each holds 4.7 GB)
Initial Preparations
Initial restore preparations are necessary if you are restoring to a system with a corrupted hard drive, or a blank hard drive. Note that you will lose everything on your current system- for you will be wiping over it with the backup. If your system already has a working windows 2000 installation, correct partitioning, and HP DVD Software installed, you can skip the initial restore preparations. (If you only need to install the DVD software, skip to number 22.)
Turn on the computer.
Insert Windows 2000 CD into CD-ROM drive (this must be done quickly before the boot process begins.)
The boot process should begin to boot from the CD into Windows 2000 setup. If it does not, you may need to reboot, and change the boot order in your BIOS to boot from CD before booting from the Hard Drive.
Choose Setup Windows 2000 by pressing Enter.
Agree to the license agreement by pressing F8.
If prompted to repair or setup, choose setup by pressing ESC.
Now you must follow the onscreen commands to partition the hard drives on the system to the same way that you recorded during the backup process (see part 2 of How To Backup above). This may include deleting and creating new partitions. (Use NTFS file system when formatting.)
Press Enter to Install Windows 2000 in the selected hard drive space. Usually you will install Windows 2000 onto the C: partition.
If the space is unformatted, it will format it for you.
Formatting could take anywhere from 10 minutes to 90 minutes depending on the size of your partition.
Once setup continues, your machine will need to be rebooted, setup should do this for you.
Click Next for setup.
Type in temporary names for your company. Click Next.
Type in a temporary administrator password when prompted. (You will use this password until the restore process is complete. Click Next.
Click Next to bypass time settings.
Select Typical Settings for Network Settings. Click Next. Next.
When prompted, remove CD and click finish to reboot.
If you have not yet hooked up the DVD drive, do so now.
When booting up, if prompted, click cancel for setting up network connections.
Log in with your temporary password.
Now you need to format the remaining partitions on your hard drives. On the desktop, right click My Computer and select Manage. Select StorageàDisk Management. Right Click and Select format for each partition that needs it. This will take 10 to 90 minutes depending on the size of the partitions.
Insert the hp dvd writer installation disc, labeled software disc 1
Click the Start Installation Rocket Ship.
Click OK if you are told about service packs for windows 2000.
At Welcome page click next.
License agreement, click Yes.
Select Components- uncheck everything except HP Simple Backup. Click Next.
Click Next for default install location.
When prompted, Click Finish and the machine should automatically reboot.
After the reboot ( and logging in again) the DVD software should notify you that installation is complete.
Click Next.
Remove the CD.
Open My Computer, Right Click the C: drive and change it’s label to sysvol. Do the same for the D: drive and name it usrvol0.
Restore Process
Start HP DVD Writer software (desktop icon, or StartàProgramsàHewlett-Packardàhp dvd writeràhp dvd writer).
Select HP Simple Backup.
Media Type recommendation is shown. Click OK.
Select Complete System Restore.
Select HP DVD Writer 200 drive. Click Next.
Insert Disc that you made with Simple Backup.
When the overwrite options appear, you probably want to select the option for “Always overwrite any file that already exists on my computer.” The only time you would not want to do this is if your system has been modified since your last backup AND you are certain that the modifications were not the reason for the system failure.
If corrupted or damaged file errors occur, click continue (usually these errors are really because a file has been modified, and are not fatal errors). Unfortunately, if errors do occur, the restore process will wait for user interaction before continuing, so the restore process may not finish if left unattended. If an error occurs requesting you to insert a Windows 2000 serivce pack CD, click cancel and continue. The restore process takes about one hour per DVD disk
When the restore process is complete, you will have the option of viewing the report log. Oftentimes you will not be able to view this report. Click Finish instead and reboot. After rebooting you can view the report by viewing the file: C:\Program Files\HP CD-DVD\HP Simple Backup\reports\Restore.txt
After rebooting, you may need to stimulate the network settings to get it to work. To do this, on the Desktop, Right Click My Network Places, select Properties. Right click Local Area Connection, select Properties. Select Internet Protocol (TCP/IP). Select Properties. The correct information should already be entered. Click OK. OK. Your network should now be working
Hookup the DVD drive to the computer you are backing up.
Start HP DVD Writer software (desktop icon, or StartàProgramsàHewlett-Packardàhp dvd writeràhp dvd writer).
Select HP Simple Backup.
Media Type recommendation is shown. Make sure you have this media available. Note: you cannot use DVD-R or DVD-RW (only DVD+R or DVD+RW). Click OK.
Select Custom Backup
Select your backup device as HP DVD Writer 200. Click Next.
Navigate to the directories you want to back up. You may select entire Drives, folders, single files, or any combination.
After selecting the files, click Next.
Put your recording media into the drive. Click Next.
If the media is not new, you may need to select Overwrite or Append.
When done, click Finish. The backup is complete.
Hookup the DVD drive to the computer you are backing up.
Start HP DVD Writer software (desktop icon, or Start->Programs->Hewlett-Packard->hp dvd writer->hp dvd writer).
Select HP Simple Backup.
Media Type recommendation is shown. Make sure you have this media available. Note: you cannot use DVD-R or DVD-RW (only DVD+R or DVD+RW). Click OK.
Select Custom Restore
Insert your media used in the backup process.
Select your restore device as HP DVD Writer 200. Click Next.
Wait while media is examined. This could take a few moments.
All of the files that exist on the media will be shown. Select all of the drives/folders/files you would like to restore. Click Next.
Now select how to restore. Normally you will want to choose the default option of “Only overwrite …”. This will not restore files that have been modified since the backup. If you are restoring files that exist on your machine but are corrupted, you should choose “Always Overwrite …”. However, in this case, you should only choose the corrupted files, and then do the process again for all other files that you don’t want to overwrite if they are newer. Choose “Never overwrite …” if you only want to replace missing files. Click Next.
If a warning is reported, you can click Report to view it. (Reports are saved in Program Fileds->HP CD-DVD->HP Simple Backup->reports for later viewing.) Click Finish.
Restore is complete
Restart User Interface Server
If the user terminals fail to display user data, the OPC server may need to be restarted. To accomplish this, go to the control system console where the TelePro Real-time Control System window should be visible:
Using the mouse, place the cursor in the top window on the process named “GsmOpcSvr”, right click, and then click on the “deactivate” option in the pulldown menu. This will deactivate the current operator workstation server process, and another copy of the same process will immediately be started.
Using Ghost to Copy Hard Drives
Make sure the source drive is set to master, destination drive can be slave on master’s channel or on secondary channel
Boot computer with Ghost boot disk
Click OK at the ‘About Symantec Ghost’ window
Select Local – Disk – To Disk
Part. 1 Old Size and New Size need to match
If drives are the same model and old and new sizes match, skip to step 11
Arbitrarily set the Part. 2 New Size to a low number, e.g. 100
Set the Part. 1 New Size the same as the Old Size
Then set the Part. 2 New Size to some large number, e.g. 99999 so it defaults to the remaining space left open on drive
Note: there will often be 8 mb left in the free size. This is normal.
Click OK
Select Yes to begin copying
Copy time ranges from 10 ~ 30 minutes
Creating a Ghost image and Saving it over a Network
On the computer with Ghost Enterprise installed, select: Start | Programs | Symantec Ghost | Multicast Server
Type in a session name and REMEMBER THIS NAME!
Select ‘Dump From Client’
Click Browse to choose a destination and name for image file
Click Accept Clients
On computer with hard disk to be ghosted, boot with Ghost boot disk enabled with Network drivers
Click OK at the ‘About Symantec Ghost’ window
Select Multicasting
Type in the session name that was given on the multicast server
Choose level of compression (‘fast’ is preferable)
Select Yes to begin copying
Copy time ranges from 1 ~ 3 hours depending on network traffic and compression level selected
Create a Custom Virtual Web Application for TSentry HMI Web Pages
By default, the TSentry installation process installs the TSentry HMI application files to two locations:
Virtual application “TSentry”, pointing to disk location %TSENTRY_SYSDIR%\tpriNtRt\wwwroot
Virtual application %TSENTRY_SYSNAME%, pointing to disk location %TSENTRY_SYSDIR%\%TSENTRY_SYSNAME%\wwwroot
If these virtual application names or locations are either not sufficient or not desired, there is a script within the TSentry package that may be run to create a virtual application for the HMI web pages under any name and at any disk location. This script is a command line Windows command script, and it is of the form:
%TSENTRY_SYSDIR%\tpriNtRt\Procs\InstallIISCustom.cmd
Simply typing in this command from the command prompt will display the usage details for the script.
When given two command line arguments, the script creates a virtual application with the required settings under the name of the first argument, with a path to the physical disk location of the second argument, as such:
InstallIISCustom.cmd "MyWebApp" "C:\wwwroot\testWebApp"
In this example, a virtual application called “MyWebApp” will be created with similar settings to the standard TSentry virtual application. The path to the root of the web application is “C:\wwwroot\testWebApp”.
This script will return the following error codes:
0 – success
1 – invalid command line arguments
2 – error creating physical directory (2nd command line argument) if that directory does not already exist
3 – error while copying standard TSentry web files to specified physical directory (2nd command line argument)
4 – error while creating and / or setting up virtual application (1st command line argument)
- No labels