04-27-2019
Approved original poster's five images attachments in the mod queue.
(See above image attachments)
This User Gave Thanks to Neo For This Post:
10 More Discussions You Might Find Interesting
1. AIX
I have a DUAL VIO ( IBM Virtual I/O ) setup on p 570.
Two Vio server ( VIOS ) and many LPAR clients.
VIO ( latest version + service pack + applied the fix ) and AIX 6.1 ML2
When both VIOs are running, and if I turn on a Client LPAR, the LPAR hangs at LED 25b3 for more than 1 hour then it... (2 Replies)
Discussion started by: filosophizer
2 Replies
2. AIX
Hello,
I have created mapping of 2 virtual adapters for Lpars using following command:
mkvdev -vdev ipanalyzerlv1 -vadapter vhost11
mkvdev -vdev ipanalyzerlv -vadapter vhost13
The above two commands were succesfull
but when I want to map the third virtual device to the same Lpar than... (3 Replies)
Discussion started by: Vit0_Corleone
3 Replies
3. AIX
Hi All,
Besides the licenses on VIO and LPAR. What's the main difference with the two? I have installed VIO, my manager told me so, because it's like a free hypervisor but I never installed LPAR before. How do you install it? And if you can give more info on the two, that would be great.
... (5 Replies)
Discussion started by: itik
5 Replies
4. AIX
Hello,
I have a VIOS System and would like to do mapping some hdisks, hdisk160 until hdisk165 to a vSCSi Adapter. I try to do this in the oem_setup_env like the following:
for i in $(lspv | grep hdisk* | awk {'print $1'};
do
mkdev -V $i -p vhost20
done
There where a mapping with... (4 Replies)
Discussion started by: torsten163
4 Replies
5. AIX
Hi guys,
does anyone know how to get a list of the LPAR running on VIOS?
Thanks! (5 Replies)
Discussion started by: cecco16
5 Replies
6. AIX
I am trying to install AIX 5.3 on one of the LPARs through VIOS but I get this error 0518
Reference Code Selection
0518 (Time stamp: 12/18/12 12:10:20 AM UTC)
Starting kernel (Time stamp: 12/18/12 12:10:15 AM UTC)
AIX is starting. (Time stamp: 12/18/12 12:10:15 AM... (10 Replies)
Discussion started by: filosophizer
10 Replies
7. AIX
If you're familiar with vscsi mappings thru a VIO Server, you are probably aware, on an AIX 6.1 Client LPAR, that:
print cvai | kdbcan provide useful information to you.... like VIO Server name & vhost #. But, "cvai" does not appear to be part of the Kernel Debugger in AIX 5.3.
My question is... (3 Replies)
Discussion started by: The Doctor
3 Replies
8. AIX
Hi ,
I would like to access the cd drive of , i have power series server , and have lpars .
I try to install AIX in an lpar via HMC, but it can't access the cd drive.
how i can make installtion or make the the cd drive accessible in hmc or in power series server?
Thanks in advance (2 Replies)
Discussion started by: prpkrk
2 Replies
9. AIX
Hi,
Just joined to new company with one Power 720 Express (8202-E4C) server and have no much experience with IBM systems.
I am trying to move everything I mentioned to different subnet as required by customer contract (currently sitting on same subnet as company lan). Access to this subnet will... (8 Replies)
Discussion started by: spricer
8 Replies
10. AIX
Hi All,
Its regarding the LDAP in AIX.
we already have Microsoft Active Directory (LDAP) Server. And would like to integrate My client AIX LPAR to this LDAP server. So' that we can directly use Active directory crdentials to login. (instead of creating USERs on AIX)
from my AIX LPAR.
... (4 Replies)
Discussion started by: System Admin 77
4 Replies
LEARN ABOUT DEBIAN
javascript::rpc::server::cgi
JavaScript::RPC::Server::CGI(3pm) User Contributed Perl Documentation JavaScript::RPC::Server::CGI(3pm)
NAME
JavaScript::RPC::Server::CGI - Remote procedure calls from JavaScript
SYNOPSIS
package MyJSRPC;
use Carp;
use base qw( JavaScript::RPC::Server::CGI );
sub add {
my $self = shift;
my @args = @_;
unless(
@args == 2 and
$args[ 0 ] =~ /^d+$/ and
$args[ 1 ] =~ /^d+$/
) {
croak( 'inputs must be digits only' );
}
return $args[ 0 ] + $args[ 1 ];
}
sub subtract {
my $self = shift;
my @args = @_;
unless(
@args == 2 and
$args[ 0 ] =~ /^d+$/ and
$args[ 1 ] =~ /^d+$/
) {
croak( 'inputs must be digits only' );
}
return $args[ 0 ] - $args[ 1 ];
}
package main;
use strict;
my $server = MyJSRPC->new;
$server->process;
DESCRIPTION
JavaScript::RPC::Server::CGI is a CGI-based server library for use with Brent Ashley's JavaScript Remote Scripting (JSRS) client library.
It works asynchronously and uses DHTML to deal with the payload.
In order to add your custom meothds, this module should be subclassed.
The most current version (as of the release of this module) of the client library as well as a demo application have been included in this
distribution.
INSTALLATION
To install this module via Module::Build:
perl Build.PL
./Build # or `perl Build`
./Build test # or `perl Build test`
./Build install # or `perl Build install`
To install this module via ExtUtils::MakeMaker:
perl Makefile.PL
make
make test
make install
METHODS
new()
Creates a new instance of the module. No further options are available at this time.
query()
Gets / sets the query object. This has the side effect of extracting the env() data.
get_new_query()
This method generates a new query object. It is used internally by the query() method. This method should only be used if you want to sup-
ply a query object other than the standard CGI.pm object. However, it must be a CGI.pm compatible object. Here's an example using CGI::Sim-
ple.
sub get_new_query {
require CGI::Simple;
my $q = CGI::Simple->new();
return $q;
}
env()
Gets / sets a hash of information related to the currently query. The resulting structure contains four items:
* method - the method called
* params - an array of parameters for the method
* uid - the unique id for this query
* context - the context id
error_message()
Get / sets the error message sent to the client if an error occurred.
process()
Processes the current query and either returns the result from the appropriate method, or an error to the client and returns either true or
false, respectively, to the caller. An error will occur if the method name is blank, or the method has not been defined. This function
takes an optional CGI.pm compatible object as an input.
Your subclass' method will be evaled and will either return an error to the caller if it died, or return a valid result payload on success.
error()
Returns a valid error payload to the client and false to the caller. It will automatically call error_message() for you.
result()
Returns a valid result payload to the client and true to the caller.
SEE ALSO
* http://www.ashleyit.com/rs
AUTHOR
* Brian Cassidy <brian@alternation.net>
COPYRIGHT AND LICENSE
Copyright 2005 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.8.8 2005-10-06 JavaScript::RPC::Server::CGI(3pm)