10 More Discussions You Might Find Interesting
1. Solaris
Dear All,
My current system run Solaris 9 SPARC 64 bit , and VXVM , VCS 4.1. I check all the node information .
ls -l /etc/vx/*.exclude
/etc/vx/*.exclude: No such file or directory
root@devuardbs01 # vxdctl license
All features are available:
Mirroring
Root Mirroring
Concatenation... (0 Replies)
Discussion started by: linux_user
0 Replies
2. High Performance Computing
hai this is samiulla
i am installing vcs 6.0 in vmware solaris 10 (64bit) i got error while i am going to install vcs in 2 nodes even i add rhost files on both nodes and ssh autho login still i got error. But i install vcs within one node it installs but when going to install in both nodes i got... (0 Replies)
Discussion started by: samiulla
0 Replies
3. Solaris
Hi admins, I have a question on shared diskgroup in vcs. Let's say i have two node cluster node A and B. I am having the failover service group (including the required resources such as disk grp, IP, mount..etc)
For an instance, the service grp is running on node A and suddenly if one of the... (0 Replies)
Discussion started by: snchaudhari2
0 Replies
4. Solaris
hi, dear all
I get a problem "VCS ERROR V-16-2-13077 " on VCS 4.1 for Solaris 10.
I can not offline the host2 when the raid is bad.
I don't know the reason and how to offline host2 and switch to host1.
please help me, thank you!
the message of engine_A.log is :
... (2 Replies)
Discussion started by: ForgetChen
2 Replies
5. Solaris
:)Hi,
can someone please explain VCS clustering and where do we need VCS clusters ..?
:o:)Thanks in advance :o:) (1 Reply)
Discussion started by: amitbisht9
1 Replies
6. Solaris
Hi Admins,
I know that VCS supports Solaris x86-64bit only...and I need vcs for Solaris 32 bit-x86..running on vmware workstation.. I need to run vcs on vmware workstation...And my laptop support only 32bit... Please suggest..
Thanks.. (1 Reply)
Discussion started by: snchaudhari2
1 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
I'm new to vcs. I have a doubt. I need to know, what will happen if an agent is stopped while reources being online. Eg.. while the oracle agent is stopped, will all the oracle resources will become offline..
Advanced thanks (1 Reply)
Discussion started by: sunshine12
1 Replies
8. Solaris
we have a vcs cluster set up and noticed that they were showing one of the heart beat link qfe3 as DOWN. Both qfe2 and qfe3 were fine all along, btw if I were to push in/re-set the hb cable, do you know whether it will panic or cause anything to the system,? Its a DB critical prod nodes (3 Replies)
Discussion started by: incredible
3 Replies
9. High Performance Computing
Weird question I know, but I'm intrigued.
Say for instance you have an Application in an SG with the usual start/stop/monitor. To successfully probe does it just check for existence of the script/file ?
Thanks... (1 Reply)
Discussion started by: itsupplies
1 Replies
10. Solaris
Hi All,
Can anyone help me to analyse this VCS log. One of my applications failover suddenly and I need to find out the reason behind this.
2009/04/09 10:58:57 VCS ERROR V-16-2-13067 (CS49PAPS2) Agent is calling clean for resource(Web-ebill2app) because the resource became OFFLINE... (4 Replies)
Discussion started by: ronny_nch
4 Replies
VCS::Lite::Delta(3pm) User Contributed Perl Documentation VCS::Lite::Delta(3pm)
NAME
VCS::Lite::Delta - VCS::Lite differences
SYNOPSIS
use VCS::Lite;
# diff
my $lit = VCS::Lite->new('/home/me/foo1.txt');
my $lit2 = VCS::Lite->new('/home/me/foo2.txt');
my $difftxt = $lit->delta($lit2)->diff;
print OUTFILE $difftxt;
# patch
my $delt = VCS::Lite::Delta->new('/home/me/patch.diff');
my $lit3 = $lit->patch($delt);
print OUTFILE $lit3->text;
DESCRIPTION
This module provides a Delta class for the differencing functionality of VCS::Lite
API
new
The underlying object of VCS::Lite::Delta is an array of difference chunks (hunks) such as that returned by Algorithm::Diff.
The constructor takes the following forms:
my $delt = VCS::Lite::Delta->new( '/my/file.diff',$sep); # File name
my $delt = VCS::Lite::Delta->new( *FILE,$sep); # File handle
my $delt = VCS::Lite::Delta->new( $string,$sep); # String as scalar ref
my $delt = VCS::Lite::Delta->new( @foo, $id1, $id2) # Array ref
$sep here is a regexp by which to split strings into tokens. The default is to use the natural perl mechanism of $/ (which is emulated
when not reading from a file). The arrayref form is assuming an array of hunks such as the output from Algorithm::Diff::diff.
The other forms assume the input is the text form of a diff listing, either in diff format, or in unified format. The input is parsed, and
errors are reported.
diff
print OUTFILE $delt->diff
This generates a standard diff format, for example:
4c4 < Now wherefore stopp'st thou me? --- > Now wherefore stoppest thou me?
udiff
print OUTFILE $delt->udiff
This generates a unified diff (like diff -u) similar to the form in which patches are submitted.
id
my ($id1,$id2) = $delt->id;
$delt2->id('foo.pl@@1','foo.pl@@3')
The id method allows get and set of the names associated with the two elements being diffed. The id is set for delta objects returned by
VCS::Lite->diff, to the element IDs of the VCS::Lite objects being diffed.
Diff format omits the file names, hence the IDs will not be populated by new. This is not the case with diff -u format, which includes the
file names which are passed in and available as IDs.
hunks
my @hunklist = $delt->hunks
A hunk is a technical term for a section of input containing a difference. Each hunk is an arrayref, containing the block of lines. Each
line is itself an arrayref, for example:
[
[ '+', 9, 'use Acme::Foo;'],
[ '-', 9, 'use Acme::Bar;'],
]
See the documentation on Algorithm::Diff for more details of this structure.
BUGS, PATCHES & FIXES
There are no known bugs at the time of this release. However, if you spot a bug or are experiencing difficulties that are not explained
within the POD documentation, please send an email to barbie@cpan.org or submit a bug to the RT system (see link below). However, it would
help greatly if you are able to pinpoint problems or even supply a patch.
http://rt.cpan.org/Public/Dist/Display.html?Name=VCS-Lite
Fixes are dependant upon their severity and my availablity. Should a fix not be forthcoming, please feel free to (politely) remind me.
AUTHOR
Original Author: Ivor Williams (RIP) 2008-2009
Current Maintainer: Barbie <barbie@cpan.org> 2009
COPYRIGHT
Copyright (c) Ivor Williams, 2002-2006
Copyright (c) Barbie, 2009
LICENCE
You may use, modify and distribute this module under the same terms as Perl itself.
SEE ALSO
Algorithm::Diff.
perl v5.10.1 2009-10-25 VCS::Lite::Delta(3pm)