[Orca-users] Orcallator script for windows
Rajesh Verma
Rajesh.Verma at PalmettoHealth.org
Fri Nov 21 07:08:10 PST 2003
Answers..
1. I have just tried only on Windowss 2000. I have ask my Windows NT admin for that.
2. You have to use these bin/lib and source.pm file for only windows data. Make separate directory structure for that. This SourceFile.pm will not work with other data files.
3. Yes you have to install openssh/openssl and rsync to use rsync/ssh. Cygwin has install/skip option.
Oh yes I remember you have to do few thing like ..
1. create passwd file in /etc directory by using, here is what you will see...
C:\>pwd
/cygdrive/c
c:> mkpasswd -l
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-BT008504\Administrator,S-1-5-21-1644491937-606747145-725345543-00:/home/Administrator:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-BT008504\Guest,S-1-5-21-1644491937-606747145-725345543-501:/home/Guest:/bin/bash
Now make a file using same command -l is for local users.
c:> mkpasswd -l > /etc/passwd
to add the user which is in the unix server just add that user in the window system and run the command again
Have sure you change the director path to /home/username
run cygwin and do pwd you will see that you are in /home /username
then run the ssh-key gen -t rsa command
run the /usr/var/sshd command. this will start the ssh daemon.
you will be able to connect from unox server.
using ....
0 0,12 * * * /usr/bin/rsync --rsync-path=/usr/bin/rsync -auz -e /usr/bin/ssh bt008504:/cygdrive/c/perflogs/bt008504 /home/rverma/orcaNT
Any other question let me know.
Rajesh Verma
Sr. Unix Administrator
Ph. 803 434 8580
Palmetto Health
7909 Parklane Road, Suite 400
Columbia, SC 29223
Rajesh.Verma at palmettohealth.org
URL: http://www.palmettohealth.org
>>> <mian at vip.cybercity.dk> 11/21/2003 9:07:51 AM >>>
Hello Rajesh
Thank you very much for the scripts/information.
I have a couple questions:
1) perfmon.msc works fine for Windows 2000/XP, but on windows NT it dosn't
seems to exist. Do you know what to use ?
2) if I rebuild ORCA with the new Source.pm can I still use all my old input
files for non windows ?
3) Do I have to install all cygwin to use rsync/ssh on windows ?
Regards
Michael
--
Cybercity Webhosting (http://www.cybercity.dk)
---------- Original Message -----------
From: "Rajesh Verma" <Rajesh.Verma at PalmettoHealth.org>
To: orca-users at orcaware.com, mian at vip.cybercity.dk
Sent: Wed, 19 Nov 2003 12:13:52 -0500
Subject: Re: [Orca-users] Orcallator script for windows
> Hi Michael,
>
> You are in luck, that I saw this message. I recently implemented
> orca for WINDOWS. Thanks to Aaron Geddins for sending me the scripts
> and walking me through the steps.
>
> Attached is the files please download orcallator.html to WINDOW
> server and orcant.tar.gz this is for Unix Server, you will need to setup.
>
> Here's what you have to do on WINDOW system.
>
> run perfmon.msc ---> Performance Logs and Alerts ----> Counter Logs
>
> You can click on Action ---> New Log Setting From... ---->
>
> select the ocallator.html file
> This will open up a window where you can add more counter.
>
> Once you start this it will start creating the percol_2003??????.tsv
> files
>
> I am using openssh and rsync to copy these file to the unix server.
> I run rsync using crontab from unix server to bring all the
files/directories.
>
> Install from .. http://www.cygwin.com/ on windows server.
>
> Before that I copy all the window server percol files to one central
> window server which is running sshd to allow the unix server to copy
> all the file at once.
>
> Now once you copy the files over to unix server the orca server,
> there are few thing you should know..
>
> 1. The files copied from window has different name
> percol_2003111900.tsv and orca only understand percol-2003-11-19-00 format.
> You have to change the file names or change the orcallatorNT.cfg.
> There is a perl script /opt/orcaNT/bin/fl_rename.pl which I wrote to
> convert the file names (I run it from crontab), not a great/clean
> script, but it works.
>
> 2. You have to remove the percol*.tsv file which you can do it by
> rm -f command in crontab.
>
> 3. The SourceFile.pm in /opt/orcaNT/lib/Orca is customize to read
> the window data file.
>
> 4. The orca file in /opt/orcaNT/bin is orcaNT which is also
> customize for windows data.
>
> 5. /opt/orcaNT/lib/orcallatorNT.cfg you have to change as per you counters.
>
> Thats is all. Good luck
> I hope I have explained it correctly.
>
>
>
> Rajesh Verma
> Sr. Unix Administrator
> Ph. 803 434 8580
> Palmetto Health
> 7909 Parklane Road, Suite 400
> Columbia, SC 29223
> Rajesh.Verma at palmettohealth.org
> URL: http://www.palmettohealth.org
>
> >>> <mian at vip.cybercity.dk> 11/19/2003 6:26:12 AM >>>
> Hello All
>
> Have searched the mailing list for a orcallator script for windows.
> I can see that it has been mentioned several times, but I havn't
> been able to find the script(s) itself.
>
> Does anybody have something like this ?
>
> Regards
> Michael
> --
> Cybercity Webhosting (http://www.cybercity.dk)
>
> _______________________________________________
> Orca-users mailing list
> Orca-users at orcaware.com
> http://www.orcaware.com/mailman/listinfo/orca-users
>
> ----------------------------------------------------------------------------
--
> PALMETTO HEALTH CONFIDENTIALITY NOTICE
> This message is intended only for the use of the individual or
> entity to which it is addressed and may contain information that is
> privileged, confidential and exempt from disclosure under applicable
> law. If the reader of this message is not the intended recipient,
> you are hereby notified that any dissemination, distribution, or
> copying of this communication is strictly prohibited by law. If you
> have received this communication in error, please notify me
> immediately.
>
>
==============================================================================
------- End of Original Message -------
------------------------------------------------------------------------------
PALMETTO HEALTH CONFIDENTIALITY NOTICE
This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please notify me immediately.
==============================================================================
More information about the Orca-users
mailing list