PC Regen Starter User Guide
PC Regen Starter User Guide
USER GUIDE
NOTICE
The information contained in this document is believed to be accurate in all respects but is not warranted by
Mitel Networks™ Corporation (MITEL®). Mitel makes no warranty of any kind with regards to this material,
including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The
information is subject to change without notice and should not be construed in any way as a commitment by
Mitel or any of its affiliates or subsidiaries. Mitel and its affiliates and subsidiaries assume no responsibility for
any errors or omissions in this document. Revisions of this document or new editions of it may be issued to
incorporate such changes.
No part of this document can be reproduced or transmitted in any form or by any means - electronic or
mechanical - for any purpose without written permission from Mitel Networks Corporation.
TRADEMARKS
The trademarks, service marks, logos and graphics (collectively "Trademarks") appearing on Mitel's Internet
sites or in its publications are registered and unregistered trademarks of Mitel Networks Corporation (MNC) or
its subsidiaries (collectively "Mitel") or others. Use of the Trademarks is prohibited without the express consent
from Mitel. Please contact our legal department at [email protected] for additional information. For a list of the
worldwide Mitel Networks Corporation registered trademarks, please refer to the website:
http://www.mitel.com/trademarks.
CONTENTS
1 INTRODUCTION 1
2 HOW TO USE PC-REGEN-STARTER 1
2.1 INSTALLATION 1
2.2 HELP MENU 1
2.3 TARGET TYPE 2
2.4 SOURCE TYPE 2
2.5 REGENERATION PATH 3
2.6 ADD EXTRA PRINT COMMANDS TO BATCH FILE 3
2.7 SCRIPT FILE 4
2.8 EXECUTION BUTTONS 4
2.9 CLEAR LOG BUTTON 5
2.10 SOURCE VERSION BUTTON 5
3 REGENERATION 6
3.1 REGENERATION PROCEDURE 6
PC-REGEN-STARTER
1 INTRODUCTION
PC-Regen-compact consists of 2 executables:
1. PC-Regen-compact.exe.
This is a shell program that performs the main tasks like regeneration, syntax check and
generation of batch files.
2. PC-Regen-starter.exe.
This is the GUI front end that calls PC-Regen-compact
3 REGENERATION
3.1 REGENERATION PROCEDURE
All communication with MX-ONE is here done via an SSH shell.
1. To select a target system. This step will determine what source systems that is available. Using
the Target type combo box make an appropriate selection.
2. To select a source system. Using the Source type combo box make an appropriate selection.
3. To select a regeneration path. Under this path it is necessary to have a \source and a \target
directory. These directories can be created for PC-Regen-starter or the general file manager.
4. To create a batch file. This file is sent to the source MX-ONE system to generate print data
data_gen.batch. This step will also generate files gjtsp.batch, pu_add_info.batch,
racep2.batch and scexp2.batch. These files are used by PC-Regen-compact at data collection
time. To do this, click the Generate batch files button.
Note!: It is possible to attach custom printouts last in data_gen.batch by creating them as a separate file
and select the file with the Add to batch button.
5. Zip all the files generated in step 4 to a zip file. i.e. data_gen_file.zip.
6. Move the file that was created in step 5 to a separate directory on the source MX-ONE system, i.e.
/tmp/pcregenData, and unzip the file.
7. Run the file to collect print data. On the MX-ONE source system, go to directory /tmp/pcregenData
and run:
source ./data_gen.batch | tee logFile.txt. This will collect the print data to this directory.
8. Zip all collected data from this directory into a zipped file i.e.:
/tmp/pcregenData # zip -j pcregenSource.zip *.
9. Move the file pcregenSource.zip to your PC onto the ./source directory below your regeneration
path and unzip it.
10. Perform the actual regeneration. From the PC-Regen-starter program with, the proper Target
type, Source type and Regen paths selected, click the:
Run Regeneration button. This will create the initiation files to be sent to you target MX-ONE.
11. Zip all files in the .../target directory of your regen path to a single file.
i.e. pcregenTarget.zip.
12. Move the file that was created in step 11 to a separate directory on your target MX-ONE system
i.e, /tmp/upgradeData. Unzip the file: tmp/upgradeData # unzip pcregenTarget.zip
13. Run the generated batch file REGENCMD.TXT:
tmp/upgradeData # mdsh -c source REGENCMD.TXT I tee upgradeLog.txt
Your system shall now be running with regenerated data. It is a good idea to do a system backup:
tmp/upgradeData # data_backup