Multiple server parameters
Hi Folks,
I would like to know how to set multiple server parameters in HTTP Load Balancing?
Thanks in advance.
Yours sincerely
InfoSeeker09
you can use admin gui or cli and provide multiple server information (separated by comma)
Similar Messages
-
Re: WLS51 multiple server instances - no clustering, no multihoming
Hello - This is the answer to a private question, but I'm posting it to the
group too in hope it will help.
Our problem was, we had one computer (Solaris) with one IP address and one
Weblogic license, but we had two (now three) teams of developers working on
different projects for WLS. Since they needed different settings and
configurations, they could not use a single Weblogic server instance, so we
had to find a way to run multiple server instances independently on a single
machine.
I'd call this configuration "parallel-servers" - please remember that it is
quite different from both multihoming and clustering because all the server
instances are independent from one another (unlike clustering) but run on
the same IP (unlike multihoming) and different port numbers.
This is the simplest procedure for a Solaris computer:
1: Install WebLogic.
Let's say the WL installation folder is:
/wls/weblogic/
we'll call that:
WL_HOME/WLS_HOME/
It contains the default server instance folder
/wls/weblogic/myserver/
we'll call that:
WL_HOME/WLS_HOME/myserver/
2: Make some copies (as many as you need)
of the default server instance folder
with different names, you'll have:
WL_HOME/WLS_HOME/myserver/
WL_HOME/WLS_HOME/server_1/
WL_HOME/WLS_HOME/server_2/
WL_HOME/WLS_HOME/server_n/
3: Locate the general properties file
/wls/weblogic/weblogic.properties
(we'll call it: WL_HOME/WLS_HOME/weblogic.properties)
and make a copy of it into EACH of the individual
server instance folders; you'll end up with:
WL_HOME/WLS_HOME/weblogic.properties
WL_HOME/WLS_HOME/myserver/weblogic.properties
WL_HOME/WLS_HOME/server_1/weblogic.properties
WL_HOME/WLS_HOME/server_2/weblogic.properties
WL_HOME/WLS_HOME/server_n/weblogic.properties
4: In EACH server instance's properties file
WL_HOME/WLS_HOME/server_i/weblogic.properties
set per-server values to all the properties
specific to the individual server; at least:
weblogic.system.listenPort=PORT_i
weblogic.password.system=PWD_i
weblogic.system.SSLListenPort=SSLPORT_i
plus everything else it should need individually,
that is, all the things that make that single
server instance different from all the others
(connection pools, ACLs, EJB auto deployments and so on)
Do NOT modify the file
WL_HOME/WLS_HOME/myserver/weblogic.properties
(it's a backup copy of the default settings)
5: In the GLOBAL properties file
WL_HOME/WLS_HOME/weblogic.properties
cancel or comment out all the properties
that have been individually set for all
the individual server instances; at least:
weblogic.system.listenPort
weblogic.password.system
weblogic.system.SSLListenPort
6: Locate the default server's startup script
/wls/weblogic/startWebLogic.sh
(we'll call it: WL_HOME/WLS_HOME/startWebLogic.sh)
and make a copy of it (in the same folder)
for EACH of the new individual server instances;
you'll end up with:
WL_HOME/WLS_HOME/startWebLogic.sh
WL_HOME/WLS_HOME/startServer_1.sh
WL_HOME/WLS_HOME/startServer_2.sh
WL_HOME/WLS_HOME/startServer_n.sh
7: In EACH server instance's startup script
WL_HOME/WLS_HOME/startServer_i.sh
set values to the properties:
weblogic.home=WL_HOME/WLS_HOME
(where WL libraries and global files are)
weblogic.system.home=WL_HOME/WLS_HOME
(where the GLOBAL weblogic.properties is)
weblogic.system.name=server_i
(where the PER-SERVER weblogic.properties is)
weblogic.system.listenPort=PORT_i
weblogic.system.SSLListenPort=SSLPORT_i
with the -D option, as in:
$JAVA $JAVA_OPTIONS -ms64m -mx64m -classpath
$JAVACLASSPATH -Dweblogic.class.path=$WEBLOGICCLASSPATH -Dweblogic.home=$WL_
HOME/$WLS_HOME -Dweblogic.system.home=$WL_HOME/$WLS_HOME -Dweblogic.system.n
ame=server_i -Djava.security.manager -Djava.security.policy=`pwd`/weblogic.
policy -Dweblogic.system.listenPort=PORT_i -Dweblogic.system.SSLListenPort=
SSLPORT_i weblogic.Server
8: If you like, you might also write a shutdown script
for each server instance (often faster than the console)
WL_HOME/WLS_HOME/stopServer_i.sh
which might look like:
java -classpath $JAVACLASSPATH weblogic.Admin t3://$HOSTNAME:PORT_i SHUTDOWN
system $PWD_i
9: If you need individual per-server security policies,
also duplicate and customize the default policy file
WL_HOME/WLS_HOME/weblogic.policy
(just like you did with weblogic.properties in steps 3 to 5)
and specify the corresponding property in each startup script
with the -D option
-Djava.security.policy=`pwd`/server_i/weblogic.policy
10: Obviously, when you deploy and use your EJBs or JSPs or applications,
you must make sure that you specify the right individual server's parameters
(name, user, password, port, paths and everything else).
And that's all; obviously, there are better ways to achieve the
"parallel-servers" configuration, but this is the simplest one and is good
enough for a basic development environment; you might need to tune some more
properties to suit your specific requirements.
On a WinNT computer, the procedure should be more or less the same, the main
difference being: instead of .sh script files, you'll have to edit .cmd
script files.
I am very grateful to all the people on the newsgroups who helped me work
that out. Good luck!
Paola R."Paola R." wrote:
> If understand that right, the way to do it is:
>
> - make two "clones" of the default /weblogic/myserver/ folder , say
> /weblogic/server_1/ and /weblogic/server_2/;
> - make a copy of file /weblogic/myserver/weblogic.properties into each new
> folder;
> - in the original /weblogic/myserver/weblogic.properties file, comment out
> server-variant properties (ordinary and secure port numbers, at least) ;
> - in each /weblogic/server_x /weblogic.properties file, set per-server
> values to server-variant properties (ordinary and secure port numbers, at
> least) and comment out (or leave unchanged) everything else;
> - start each server from /weblogic/myserver/ , by specifying the path to
> respective per-server properties in command line (or script) with
> option -Dweblogic.home=./server_n .
You also need weblogic.system.name=server_n and I believe it's
weblogic.system.home rather than weblogic.home. The latter should point
to
your /weblogic directory.
Hope this helps.
Alexander Petrushko
mailto:[email protected]
Consulting Services available
-
How to use multiple selection parameters in the data model
Hi, after have looked all the previous threads about how to use multiple selection parameters , I still have a problem;
I'm using Oracle BI Publisher 10.1.3.3.2 and I'm tried to define more than one multiple selection parameters inside the data template;
Inside a simple SQL queries they work perfectly....but inside the data template I have errors.
My data template is the following (it's very simple...I am just testing how the parameters work):
<dataTemplate name="Test" defaultPackage="bip_departments_2_parameters">
<parameters>
<parameter name="p_dep_2_param" include_in_output="false" datatype="character"/>
<parameter name="p_loc_1_param" include_in_output="false" datatype="character"/>
</parameters>
<dataTrigger name="beforeReport" source="bip_departments_2_parameters.beforeReportTrigger"/>
<dataQuery>
<sqlStatement name="Q2">
<![CDATA[
select deptno, dname,loc
from dept
&p_where_clause
]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_DEPT" source="Q2">
<element name="deptno" value="deptno"/>
<element name="dname" value="dname"/>
<element name="loc" value="loc"/>
</group>
</dataStructure>
</dataTemplate>
The 2 parameters are based on these LOV:
1) select distinct dname from dept (p_dep_2_param)
2) select distinct loc from dept (p_loc_1_param)
and both of them have checked the "Multiple selection" and "Can select all" boxes
The package I created, in order to use the lexical refence is:
CREATE OR REPLACE package SCOTT.bip_departments_2_parameters
as
p_dep_2_param varchar2(14);
p_loc_1_param varchar2(20);
p_where_clause varchar2(100);
function beforereporttrigger
return boolean;
end bip_departments_2_parameters;
CREATE OR REPLACE package body SCOTT.bip_departments_2_parameters
as
function beforereporttrigger
return boolean
is
l_return boolean := true;
begin
if (p_dep_2_param is not null) --and (p_loc_1_param is not null)
then
p_where_clause := 'where (dname in (' || replace (p_dep_1_param, '''') || ') and loc in (' || replace (p_loc_1_param, '''') || '))';
else
p_where_clause := 'where 1=1';
end if;
return (l_return);
end beforereporttrigger;
end bip_departments_2_parameters;
As you see, I tried to have only one p_where_clause (with more than one parameter inside)....but it doesn't work...
Using only the first parameter (based on deptno (which is number), the p_where_clause is: p_where_clause := 'where (deptno in (' || replace (p_dep_2_param, '''') || '))';
it works perfectly....
Now I don't know if the problem is the datatype, but I noticed that with a single parameter (deptno is number), the lexical refence (inside the data template) works.....with a varchar parameter it doesn't work....
So my questions are these:
1) how can I define the p_where_clause (inside the package) with a single varchar parameter (for example, the department location name)
2) how can I define the p_where_clause using more than one parameter (for example, the department location name and the department name) not number.
Thanks in advance for any suggestion
AlexAlex,
the missing thing in your example is the fact, that if only one value is selected, the parameter has exact this value like BOSTON. If you choose more than one value, the parameter includes the *'*, so that it looks like *'BOSTON','NEW YORK'*. So you need to check in the package, if there's a *,* in the parameter or not. If yes there's more than one value, if not it's only one value or it's null.
So change your package to (you need to expand your variables)
create or replace package bip_departments_2_parameters
as
p_dep_2_param varchar2(1000);
p_loc_1_param varchar2(1000);
p_where_clause varchar2(1000);
function beforereporttrigger
return boolean;
end bip_departments_2_parameters;
create or replace package body bip_departments_2_parameters
as
function beforereporttrigger
return boolean
is
l_return boolean := true;
begin
p_where_clause := ' ';
if p_dep_2_param is not null then
if instr(p_dep_2_param,',')>0 then
p_where_clause := 'WHERE DNAME in ('||p_dep_2_param||')';
else
p_where_clause := 'WHERE DNAME = '''||p_dep_2_param||'''';
end if;
if p_loc_1_param is not null then
if instr(p_loc_1_param,',')>0 then
p_where_clause := p_where_clause || ' AND LOC IN ('||p_loc_1_param||')';
else
p_where_clause := p_where_clause || ' AND LOC = '''||p_loc_1_param||'''';
end if;
end if;
else
if p_loc_1_param is not null then
if instr(p_loc_1_param,',')>0 then
p_where_clause := p_where_clause || 'WHERE LOC in ('||p_loc_1_param||')';
else
p_where_clause := p_where_clause || 'WHERE LOC = '''||p_loc_1_param||'''';
end if;
end if;
end if;
return (l_return);
end beforereporttrigger;
end bip_departments_2_parameters;
I've written a similar example at http://www.oracle.com/global/de/community/bip/tipps/Dynamische_Queries/index.html ... but it's in german.
Regards
Rainer -
How Can i specify multiple server names in rwservlet.properties file?
How Can i specify multiple server names in rwservlet.properties file without clustering?
I am using oracle 10g Application server. we have 3 servers Repsvr1, RepSvr2 and RepSvr3. Now i need to configure rwservlet.properties file to point to these servers based on any running report. i got 3 keymap files with reports info.
Sample entry in the key map file is:
key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
rwservlet.properties file letting me to enter only one servername. Even though i merged all 3 keymap files into 1, still i have the server name issue. If i leave the server to the default name still i am getting the below error.
REP-51002: Bind to Reports Server Repsvr1 failed. However, i know the default rep_<servername> would be used incase we dont have SERVER=<value> parameter in the rwservlet.properties file.
If i specify the servername in the rwservlet.properties file then only Repsvr1 reports are working fine and other 2 server reports are giving the same error like
REP-51002: Bind to Reports Server <<Server Name>> failed.
how can i configure the info which will work all 3 reports. 2 Port servers are invoking using oracle forms and report server is invoking using ASP pages.
If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error, whenever i am trying to integrate all 3 to workable i am getting binding error. if i exclude the server from rwservlet.properties still i am getting the same error.My RELOAD_KEYMAP setting is YES only.As i said If i specify Server name & Key map file in rwservlet.properties one at a time, all the reports are working without any error.
keymap file entries
key1: server=Repsvr1 userid=xxx/yyy@dbname report=D:\Web\path1\path2\reports\Report1.rdf destype=cache desformat=PDF %*
key2: server=Repsvr2 userid=xxx/yyy@dbname report=D:\Web\path1\path3\reports\Report2.rdf destype=cache desformat=PDF %*
If i use http://server.domain:port/reports/rwservlet? cmdkey = key1 should bring the report from Repsvr1 and http://server.domain:port/reports/rwservlet? cmdkey = key2 should bring the report from Repsvr2, but i am getting an error from Repsvr2 saying that REP-51002: Bind to Reports Server repsvr2 failed.
Only Servername Repsvr1 is in rwservlet.properties file. Now what is the best option to by pass the server from rwservlet.properties file and should be from keymap file. if i comment server name in rwservlet.properties file still i am getting REP-51002: Bind to Reports Server <<Server Name>> failed error for both keys. -
Hi,
I have a situation where i have to load data from one server/database table to multiple servers/databases.
Example:
I need to load data from dbo.TABLE_A (on Server: Server_A & Database: Database_A) to the same table on the list of server databases like
Server: Server_B , Database: Database_B
Server: Server_C , Database: Database_C
Server: Server_D , Database: Database_D
Server: Server_E , Database: Database_E
Server: Server_F , Database: Database_F
Server: Server_G , Database: Database_G
Server: Server_H , Database: Database_H
so on and so forth on 250 such server database combinations.
The table structure is the same on all the servers.
If i make the source or destination dynamic, it throws an error while mapping ?
I cannot get Linked server permissions and SQL Server Config thing doesn't work as well.
Please suggest on how to load data from one source to multiple server/databases.
Thank you.I just need to transfer one table's data. its like i have to use a query to pick data for
the most recent data. So i use something like, select A, B, C, D from dbo.table where ETL_TIMESTAMP > (the max(etltimestamp) in the destination on different server). There are no foreign key relationships and the data should not be truncated. it just had
to append the new records. -
MS SQL DB User Management Connector Unable to Select Multiple Server
Hi,
We are trying to connect to multiple server using MS SQL DB user management connector but receive the error below when selecting server.
<Sep 3, 2012 4:28:59 PM MYT> <Error> <XELLERATE.APIS> <BEA-000000> <Class/Method: tcLookupOperationsBean/getLookupValuesForColumnFilteredData encounter some problems: Lookup.PDBUM.MSSQL.DBNamesis not a valid form field>
Running InitUtil
Running ExecuteStoredProcForAuthTypeUser
Running SetProcessFormData
<Sep 3, 2012 4:30:13 PM MYT> <Error> <XELLERATE.ADAPTERS> <BEA-000000> <Class/Method: tcAdpEvent/verifyServer encounter some problems: IT Resource Type mismatch found for Adapter variable MSSQL_ITRVerify that IT Resource selected on Process Form matches IT Resource type selected for variable>
Running InitUtil
Running ExecuteStoredProcForAuthTypeUser
Running SetProcessFormData
Running COMBINENAMEWITHSUFFIXPA
Target Class = com.thortech.xl.util.adapters.tcUtilStringOperations
Running COMBINENAMEWITHSUFFIXPA
Target Class = com.thortech.xl.util.adapters.tcUtilStringOperations
Running InitUtil
Running ExecuteStoredProcForAuthTypeUser
Running SetProcessFormData
<Sep 3, 2012 4:33:13 PM MYT> <Error> <XELLERATE.ADAPTERS> <BEA-000000> <Class/Method: tcAdpEvent/verifyServer encounter some problems: Could not determine IT Resource Key for variable MSSQL_ITR>
delete mds name:/db/MSSQL DB User Privilege Login Requestrecon.profile
Unable to delete profile with mds name:/db/MSSQL DB User Privilege Login Requestrecon.profile
<Sep 3, 2012 4:33:43 PM MYT> <Warning> <Socket> <BEA-000450> <Socket 8 internal data record unavailable (probable closure due idle timeout), event received 17>
<Sep 3, 2012 4:33:48 PM MYT> <Warning> <Socket> <BEA-000450> <Socket 4 internal data record unavailable (probable closure due idle timeout), event received 17>
MS SQL DB connector version is 9.1.0.4
Any ideas on this error above?
Thank you.
Edited by: 950985 on Aug 17, 2012 12:21 AMverify lookup : Lookup.DBUM.MSSQL.Configuration and provide the required information (eg: provide query property file)
--nayan -
How to view multiple output parameters from web services
I have used the Labview tool to create a .NET assembly from a WSDL file.
In the WSDL file the service has been defined to return 2 output parameters.
In Labview, when I invoke the method for this service the first output parameter ends up as the return value of the method. I can create an indicator for this and it gets updated properly when I run the VIS to use the web service.. The indicator is an integer value but recognizes the type defined within the WSDL file.
The second output parameter shows up as an output value. When I right click on it and create an indicator for it I get a .NET icon on the front panel rather than an integer value.
How can I view the value for this second output parameter after running the web service?
Is there a difference in how multiple output parameters handled in newer versions of Labview (I am using verison 7.1)?scrooge wrote:
You can try this link .
the link is dead... or i dont have access.. -
Does GRC AC 5.2 supports multiple server nodes
Hello Experts,
Does GRC AC 5.2 is supported with multiple server nodes.
Thanks
DavinderThanks once again Harleen,
For AC 5.2 i will raise an SAP OSS message and share the results with community.
For AC 5.3, we have configured SAP logger and make neccesary changes in NWA. But log information over here is not as detailed (background job information is missing) as we get in RAR -> Background Jobs ->View Logs.
I have generated another thread for this issue (GRC AC 5.3 Logging strategy in multi server nodes), would appreciate if you can show some light on this issue
Thanks
Davinder -
Web service with multiple out parameters
Hi Developers,
I have been playing around with som web services in the developer studio.
I can create a webservice from a normal ejb.
But i can only get one out parameter, which is the return parameter of the ejb.
I tried to make an object to use as return parameter, but then i couldn't use the method for the web service.
Can anyone tell me how to make a web service with multiple out parameters?
Br RasmusHi Developers,
I have the same question, is it possible to have multiple outgoing parameters?
When not, does SAP Netweaver knows a IN-OUT parameter? Because I found on the internet that it is possible to have a IN-OUT parameter. But that was with the BEA Weblogic 8.x.
When not, is then the only solution to return a object? With in this object all the parameters you want.
Or otherwise is there a other workaround?
Thanks in advance,
Marinus Geuze -
Maintain Server parameters to allow huge file size to pass through XI
Hello SAP Gurus,
i would like to know how can i check this Server parameters in SAP PI Configuration :
u2022 UME Parameters : To look into the pool size and poolmax wait parameters - UME recommended parameters (like: poolmaxsize=50, poolmaxwait=60000)
u2022 Tuning Parameters: To look/define the Message Size Limit u201Clike: EO_MSG_SIZE_LIMIT = 0000100u201D under tuning category
u2022 ICM Parameters: To consider ICM parameters (ex: icm/conn_timeout = 900000. icm/HTTP/max_request_size_KB = 2097152)
This is required for allowing huge file size to pass through XI.
Regards,
RaviHi Michael,
I did the settings you just mentioned in the link.
I got through the First step where the file got processed and 50000 record data got divided into on 50000 idocs.
But when its is posting this in BW system, then the outbound status of the message is " Message has error status on outbound side"
And when i see BW there are no idocs in that system. Is it that the RFC connection between XI and BW had timed out and so it did not got processed at outbound side. Or there is some other setting required ?
Also, when we tried it with 20 K file then the outbound status is also successful.
Please let me know how to resolve this issue .
Regards,
Ravi -
Pros and Cons of Application Isolation/Multiple server instances?
Hi. I'm setting a new server using ColdFusion Enterprise with Apache to migrate several web application from and old server with ColdFusion 7 server. I'm currently doing research regarding multiple server instances in order to have a separate server for production apps and another for development apps (see http://help.adobe.com/en_US/ColdFusion/10.0/Admin/WSc3ff6d0ea77859461172e0811cbf363c31-7ff 5.html and https://wikidocs.adobe.com/wiki/display/coldfusionen/Using+Multiple+Server+Instanceshttp:/ /). In addition, I'm also doing research regarding application isolation to have separate production application in separate servers. I'm trying to identify all pros and cons for both "Application Isolation" and "Multiple Server Instances" to make a decision on whether I will proceed in applying these techniques. I have found several links that talk about some of the advantages but have not been able to find anything regarding possible disadvantages. Have anyone in this forum has used any of the techniques, and can provide more information/experiences regarding the pros and cons?
Hi Ricardo_Lorenzo,
Whether to go for Multiserver instances or Single server, is totally a user requirement based decison. If a user has Single website, or multiple websites (of the same nature, in terms of functionality), usually the part of same domain, then they would go for Single sever installation. One single instance will handle the requests from all the websites (if there are multiple). There would not be a clustering/failover setup within ColdFusion and can use the ColdFusion Standard or Enterprise version.
On the other hand, if a user has multiple websites, all with different functionality and have multiple applications (may or may not) running, then they can go for Multiserver installation. Each website can be configured with individual instances. Clustering can be done within ColdFusion if needed. One would need an Enterprise license of ColdFusion for the same.
Hope this helps.
Regards,
Anit Kumar -
Procedure multiple out parameters into a cursor
Hi,
I have a procedure that returns multiple out parameters. How do I combine those and return as a cursor?
Here is the procedure I use (modified for forums)
PROCEDURE SAMPLEPROCEDURE
(in_param1 IN NUMBER,
in_param2 IN VARCHAR2,
output_ONE IN VARCHAR2,
output_TWO IN VARCHAR2,
output_THREE IN VARCHAR2,
output_FOUR IN VARCHAR2,
output_FIVE IN VARCHAR2,
output_SIX IN VARCHAR2,
IS
BEGIN
output_one := 'YAH!';
SELECT count(*) into output_TWO FROM tablea WHERE tablea.columnB = in_param1;
IF (variable1 = 0) THEN
output_one := 'SOMETHING MISSING';
RETURN;
END IF;
SELECT count(*) into CHECKINGACCOUNT_COUNT from ACCOUNT WHERE TABLE = in_param1 AND ACCOUNT.TYPE = 'CHECKING';
IF (CHECKINGACCOUNT_COUNT <> 0) then
SELECT count(*) into output_THREE FROM tableB WHERE tableB.columnB = in_param1;
SELECT columnC into output_FOUR FROM tableC WHERE tableC.columnC = in_param1;
SELECT SUM(columnD) into output_FIVE FROM tableD WHERE tableD.columnD = in_param1;
if(output_FIVE >= input_param2) then
output_FIX := 'RETURN VALUE';
end if;
END IF;
end SAMPLEPROCEDURE;Should Use 'OUT' for Output parameter instead of 'IN' in your procedure, its wrong.
For fetching more than one row from procedure, use REFCURSOR.
Follow the Code:
CREATE OR REPLACE PROCEDURE proc_cursor (in_n_sal
IN
NUMBER,
ov_n_sumsal
OUT NUMBER,
ov_n_empno
OUT sys_refcursor,
ov_cr_details
OUT sys_refcursor)
AS
BEGIN
SELECT SUM (sal)
INTO ov_n_sumsal
FROM emp
WHERE sal = in_n_sal; /*here , the query returns only one row*/
open ov_n_empno for
SELECT empno
FROM emp
WHERE sal = in_n_sal;/*here the query may return more than one row , so i used refcursor for fetching the result set*/
open ov_cr_details for
SELECT SUM (sal), empno
FROM emp
WHERE sal = in_n_sal
group by empno;/*here also i used refcursor , to achieve more than one row and two more columns result set*/
END;
EXECUTION:
SQL> variable OV_N_SUMSAL number;
SQL> variable OV_N_EMPNO number;
SQL> variable OV_N_EMPNO refcursor;
SQL> variable OV_CR_DETAILS refcursor;
SQL> EXECUTE PROC_CURSOR ( 800, :OV_N_SUMSAL, :OV_N_EMPNO, :OV_CR_DETAILS );
PL/SQL procedure successfully completed.
SQL> PRINT OV_N_SUMSAL;
OV_N_SUMSAL
1600
SQL> PRINT OV_N_EMPNO;
EMPNO
1888
1239
SQL> PRINT OV_CR_DETAILS;
SUM(SAL) EMPNO
800 1888
800 1239
SQL>
I hope this one will help you. -
Multiple Server nodes in Java Instance
Hello Experts,
We have NW 700 SP17 Java system running with 5 server nodes. Would appreciate, if you clarify following doubts:
1. How can we check which user has landed up into which server node.
2. Is there any possibility of check logs (like defaulttrace,etc) for all the server nodes from a single location (like NWA).
3. How can we check the load on each of the server node.
4. Where can we find documentation on configuring and operating Java instance with multiple server nodes.
Thanks
Davinder1. How can we check which user has landed up into which server node.
Ask the user to execute this: javascript:document.cookie
while they are in the Java pages.
2. Is there any possibility of check logs (like defaulttrace,etc) for all the server nodes from a single location (like NWA).
- Yes, SAP LogViewer should give you that options
3. How can we check the load on each of the server node -
- Consider configuring Solution Manager Diagnostics, is it very nice tool for Java Load Monitoring
4. Where can we find documentation on configuring and operating Java instance with multiple server nodes
- If you asking about how many nodes requires on a java instance, you might want to use the SAP Quick Sizer to size your systems, then it will give you total Memory it requirsts then you need to divide that by 2.5 GB (64 bit OS) or for 32 bits they recommend you not to exceed your heap size beyond 1 GB.
Added Nodes is very simple via Configtool, then you might have to setup your server with same settings as your previous nodes.
Kumar -
Running Multiple Server Instance in Weblogic Server
Hi
I am using Weblogic 5.1.0 with SP6. I am trying to run multiple server
instances
of Weblogic Server. The one that comes by default is "myServer".
My question is if i were to create multiple server instances, do i need to
copy the
weblogic.properties file in each of folder corresponding to respective
application
server instance. I am not using Clusters.
Also if i need to include some classes or jar files in my application server
instance
classpath, how do i do it. cuz in weblogic.properties file i didn't find any
property
corresponding to classpath.
The classpath i need to set is for my creating a JDBC pool for connectivity
to my
AS400 DB2 database using the Type 4 (AS400JDBCDriver) Driver. Is there some
other way to do it.
Thanks in advance
NiranjanThere is an answer on your first question at
weblogic.support.interest.clustering
I asked a similar question. Search for a message posted by me on 24/11/00
Rgds,
Mike
"Niranjan Soni" <[email protected]> wrote in message
news:[email protected]..
Hi
I am using Weblogic 5.1.0 with SP6. I am trying to run multiple server
instances
of Weblogic Server. The one that comes by default is "myServer".
My question is if i were to create multiple server instances, do i need to
copy the
weblogic.properties file in each of folder corresponding to respective
application
server instance. I am not using Clusters.
Also if i need to include some classes or jar files in my applicationserver
instance
classpath, how do i do it. cuz in weblogic.properties file i didn't findany
property
corresponding to classpath.
The classpath i need to set is for my creating a JDBC pool forconnectivity
to my
AS400 DB2 database using the Type 4 (AS400JDBCDriver) Driver. Is theresome
other way to do it.
Thanks in advance
Niranjan -
JNDI Lookup for multiple server instances with multiple cluster nodes
Hi Experts,
I need help with retreiving log files for multiple server instances with multiple cluster nodes. The system is Netweaver 7.01.
There are 3 server instances all instances with 3 cluster nodes.
There are EJB session beans deployed on them to retreive the log information for each server node.
In the session bean there is a method:
public List getServers() {
List servers = new ArrayList();
ClassLoader saveLoader = Thread.currentThread().getContextClassLoader();
try {
Properties prop = new Properties();
prop.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
prop.put(Context.SECURITY_AUTHENTICATION, "none");
Thread.currentThread().setContextClassLoader((com.sap.engine.services.adminadapter.interfaces.RemoteAdminInterface.class).getClassLoader());
InitialContext mInitialContext = new InitialContext(prop);
RemoteAdminInterface rai = (RemoteAdminInterface) mInitialContext.lookup("adminadapter");
ClusterAdministrator cadm = rai.getClusterAdministrator();
ConvenienceEngineAdministrator cea = rai.getConvenienceEngineAdministrator();
int nodeId[] = cea.getClusterNodeIds();
int dispatcherId = 0;
String dispatcherIP = null;
String p4Port = null;
for (int i = 0; i < nodeId.length; i++) {
if (cea.getClusterNodeType(nodeId[i]) != 1)
continue;
Properties dispatcherProp = cadm.getNodeInfo(nodeId[i]);
dispatcherIP = dispatcherProp.getProperty("Host", "localhost");
p4Port = cea.getServiceProperty(nodeId[i], "p4", "port");
String[] loc = new String[3];
loc[0] = dispatcherIP;
loc[1] = p4Port;
loc[2] = null;
servers.add(loc);
mInitialContext.close();
} catch (NamingException e) {
} catch (RemoteException e) {
} finally {
Thread.currentThread().setContextClassLoader(saveLoader);
return servers;
and the retreived server information used here in another class:
public void run() {
ReadLogsSession readLogsSession;
int total = servers.size();
for (Iterator iter = servers.iterator(); iter.hasNext();) {
if (keepAlive) {
try {
Thread.sleep(500);
} catch (InterruptedException e) {
status = status + e.getMessage();
System.err.println("LogReader Thread Exception" + e.toString());
e.printStackTrace();
String[] serverLocs = (String[]) iter.next();
searchFilter.setDetails("[" + serverLocs[1] + "]");
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
prop.put(Context.PROVIDER_URL, serverLocs[0] + ":" + serverLocs[1]);
System.err.println("LogReader run [" + serverLocs[0] + ":" + serverLocs[1] + "]");
status = " Reading :[" + serverLocs[0] + ":" + serverLocs[1] + "] servers :[" + currentIndex + "/" + total + " ] ";
prop.put("force_remote", "true");
prop.put(Context.SECURITY_AUTHENTICATION, "none");
try {
Context ctx = new InitialContext(prop);
Object ob = ctx.lookup("com.xom.sia.ReadLogsSession");
ReadLogsSessionHome readLogsSessionHome = (ReadLogsSessionHome) PortableRemoteObject.narrow(ob, ReadLogsSessionHome.class);
status = status + "Found ReadLogsSessionHome ["+readLogsSessionHome+"]";
readLogsSession = readLogsSessionHome.create();
if(readLogsSession!=null){
status = status + " Created ["+readLogsSession+"]";
List l = readLogsSession.getAuditLogs(searchFilter);
serverLocs[2] = String.valueOf(l.size());
status = status + serverLocs[2];
allRecords.addAll(l);
}else{
status = status + " unable to create readLogsSession ";
ctx.close();
} catch (NamingException e) {
status = status + e.getMessage();
System.err.println(e.getMessage());
e.printStackTrace();
} catch (CreateException e) {
status = status + e.getMessage();
System.err.println(e.getMessage());
e.printStackTrace();
} catch (IOException e) {
status = status + e.getMessage();
System.err.println(e.getMessage());
e.printStackTrace();
} catch (Exception e) {
status = status + e.getMessage();
System.err.println(e.getMessage());
e.printStackTrace();
currentIndex++;
jobComplete = true;
The application is working for multiple server instances with a single cluster node but not working for multiple cusltered environment.
Anybody knows what should be changed to handle more cluster nodes?
Thanks,
GergelyThanks for the response.
I was afraid that it would be something like that although
was hoping for
something closer to the application pools we use with IIS to
isolate sites
and limit the impact one badly behaving one can have on
another.
mmr
"Ian Skinner" <[email protected]> wrote in message
news:fe5u5v$pue$[email protected]..
> Run CF with one instance. Look at your processes and see
how much memory
> the "JRun" process is using, multiply this by number of
other CF
> instances.
>
> You are most likely going to end up on implementing a
"handful" of
> instances versus "dozens" of instance on all but the
beefiest of servers.
>
> This can be affected by how much memory each instance
uses. An
> application that puts major amounts of data into
persistent scopes such as
> application and|or session will have a larger foot print
then a leaner
> application that does not put much data into memory
and|or leave it there
> for a very long time.
>
> I know the first time we made use of CF in it's
multi-home flavor, we went
> a bit overboard and created way too many. After nearly
bringing a
> moderate server to its knees, we consolidated until we
had three or four
> or so IIRC. A couple dedicated to to each of our largest
and most
> critical applications and a couple general instances
that ran many smaller
> applications each.
>
>
>
>
>
Maybe you are looking for
-
Why can't modify the vlan aging time
4506-1#sh mac add aging-time Vlan Aging Time Configured Aging Time Global Vlan Admin Age: 300 1 300 300 100 300 300 300 300 300 500 300 300 501 300 300 502 300
-
Capturing data acquisition frames reliably at 100 hz using serial, how?
Hi All, I am completing development of a 14 channel, 10 bit resolution, pic based data acquisition circuit. It transmits frames of 41 bytes (currently) at 100hz using serial. The embedded code functions satisfactorily. I can see data ok using hyperte
-
I want to connect to my virtual machine (vm player) archlinux (and CentOS ) with my host - arch linux through ssh. I searched in archwiki secure shell but found nothing related to the task except installation of ssh which i did in both guest and host
-
SAPscript - Dynamic box position and height.
Greetings... How to print dynamic box according to the Element. I have an element with looping condition when i used box the line only printed on the first loop, but and no line printed on the next looping even though its is different element.. Belo
-
Photoshop CC didn't install properly
The Photoshop CC folder shows the Photoshop CC appication only 30KB in size. In the Creative cloud list of downloaded APPS it shows Photoshop CC as up to date. I can't open Photoshop CC. I get a dialog box saying that Photoshop CC is only pertially i