Dear All,
Given the interest in tools to generate .def files I have dug out the
attached scripts as an example of what could be done. They were developed
over a number of years but, as far as I know, have not been used for about 5
years. They were also developed originally for ARS version 3*.
I have not been able to test them or be sure how relevant they are now - so
they are provided to just demonstrate the sort of things that can be done.
*** I tried attaching a zip file but the list will not allow that so I will
email it to those that request it. For a copy please email me at
petet-at-relston.co.uk ('-at-' to be replaced by '@').
The aim was to keep track of a number of Remedy servers spread across
Europe:
* Backup the server configuration and license files
(To have safety copies and to centrally track licenses for support
renewals.),
* Backup the definitions and version control with rcs,
* Generate a notification when an application change was made
(For those situations where a location had a local admin user who also
thought they could customise their version of the application.),
* Backup data for all schemas or for a fixed set of key schemas per
server - probably just User/Group.
The server environment was AIX & HP-UX ARS versions 3* up to 4.0.5 and
ARSperl. The ARSperl scripts were developed from the ARSperl examples.
The data backup was done using arcopy which we found worked fairly well for
us. Given the demise of arcopy another solution would need to be found for
data backup. Personally I think it is a great pity that Remedy would not
fix/replace arcopy to give a proper automated data export tool. I hate the
idea of having to use the User Tool, I consider it to be the wrong tool for
the job.
The scripts involved were:
* arbackup.sh The main driver shell script.
* ars_execprocess.pl ARSperl script to run a command on a
server. This allowed files to be retrieved from the server.
* dump_defs.pl ARSperl script to create a .def file for a
server. It does not know about containers!
* list_schemas.pl ARSperl script to provide a list of data
schemas to be dumped.
I hope this provides some material for thought.
Regards,
Petet
---
Peter Tyrrell
petet-at-relston.co.uk
Relston Consulting Limited
************************************************************************
The information contained in this message or any of its attachments may be
confidential and is intended for the exclusive use of the addressee(s). Any
disclosure, reproduction, distribution or other dissemination or use of this
communication is strictly prohibited without the express permission of the
sender. The views expressed in this email are those of the individual and not
necessarily those of Sony or Sony affiliated companies. Sony email is for
business use only.
This email and any response may be monitored by Sony to be in compliance with
Sonys global policies and standards
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Arsperl-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arsperl-users