Welcome to my personal Blog!
This would be my Oracle List – a compilation of Oracle works coming from experienced DBA around the world. A pretty simple refference of what I have accomplished in work and of course my personal adventures.
Welcome to my personal Blog!
This would be my Oracle List – a compilation of Oracle works coming from experienced DBA around the world. A pretty simple refference of what I have accomplished in work and of course my personal adventures.
Thank You for your comment on my blog.
http://surachart.blogspot.com/2006/10/script-auto-start-opmn-on-oracle-as.html
I haven’t checked about component on OPMN.
you can write shell script to check Component….
opmnctl status -l |grep -v Alive
if application I have use nagios (www.nagios.org) + write perl program to check + test some applications….
(check some SOAP application):
#!/usr/bin/perl
use SOAP::Lite;
#SOAP::Lite->import(+trace => “debug”);
SOAP::Lite->on_action => sub {sprintf ‘%s#%s’, @_};
my $wn = shift(@ARGV);
my $ct = shift(@ARGV);
my $mynamespace=’http://192.168.1.10:7777/service/xml’;
my $soap = SOAP::Lite->new(
uri => $mynamespace,
proxy => $mynamespace,
);
my $result = $soap->call(
SOAP::Data->name(‘checkXXX’)->attr({xmlns => $mynamespace})
=> SOAP::Data->type(string => ‘A’)->name(‘param0′),
=> SOAP::Data->type(string => ‘B’)->name(‘param1′),
);
my $_data = $result->valueof(‘//return/errormsg’);
.
.
.
surachart
http://surachart.blogspot.com