On the Solaris side you can run the pkginfo command
pkginfo -l VRTSvcs
and grep out the version info if you need it in the script...
dave
From: "Doron Veeder" <[EMAIL PROTECTED]>
To: <veritas-ha@mailman.eng.auburn.edu>
Subject: [Veritas-ha] how to check if halogin is needed
Date: Wed, 30 May 2007 14:30:24 +0300
Hi
My issue is as followed
I need to extract the VCS version installed on the Unix machine.
I do not run as root on that machine - hence I cannot use the "had
-version" command
So far I used the following script:
halog -info --- to extract where the log of the VCS resides
grep "VCS engine version" $logfile --- to get the version
I'm trying not to count on the default installation location
(/opt/VRTSvcs) nor the default location of the log file
(/var/VRTSvcs/log/engine_A.log)
It worked fine with VCS 3.5
In VCS 5.0 (and I believe from 4.1) - there is a new halogin command.
How do I check in a script if I need to run the halogin command?
Any haxxx command requires username/password and if the command hangs if
they are not provided.
Especially the password which cannot be transferred to the CLI.
Any suggestion will be gladly accepted.
Best is to find another method to extract the VCS version with these
limits:
* non-root user
* non-default installation location
* multi-platform support (HP-UX, AIX, SunOS)
Thanks,
Doron
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
_______________________________________________
Veritas-ha maillist - Veritas-ha@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha
_________________________________________________________________
PC Magazines 2007 editors choice for best Web mailaward-winning Windows
Live Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507
_______________________________________________
Veritas-ha maillist - Veritas-ha@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha