Targetting multiple servers
Does anyone know how we can target a JDBC pool to multiple servers using the weblogic.Admin
utility, I can target it to one server, but that removes the other servers, can
multiple targets be specified using the SET mbean option.
The same thing implies to webapplications and ejb's.
Anil
In the Adminsitration console Connection Pool Configuration,
select the Targets tab. Select multiple servers as target servers for the Connection
Pool.
"Anil Jacob" <[email protected]> wrote:
>
Does anyone know how we can target a JDBC pool to multiple servers using
the weblogic.Admin
utility, I can target it to one server, but that removes the other servers,
can
multiple targets be specified using the SET mbean option.
The same thing implies to webapplications and ejb's.
Anil
Similar Messages
-
Targeting jdbc pool to multiple servers
Does anyone know how we can target a JDBC pool to multiple servers using the weblogic.Admin
utility, I can target it to one server, but that removes the other servers, can
multiple targets be specified using the SET mbean option.
AnilExample would be: "Domain:Type=Server,Name=Server1,Name=Server2". Same applies to clusters.
-
Using MDT and Thin installer on multiple servers
Is there a way to configure the thininstaller.exe.configuration to point to a dynamic path. We have multiple locations where MDT is deployed, and we don't want the PC to connect over our WAN links when the Thin Installer runs.
I thought I read somewhere that in the file I could do something like this:
<Default Gateway>
<10.10.1.1=\\Location1\repository>
<10.10.2.1=\\Location2\repository>
<10.10.3.1=\\Location3\repository>
<*.*.*.*=\\DefaultLocation\repository>
I checked the Integrating ThinkVantage Update and Retriever and ThinInstaller with MDT 2010, but the part that talks about configuring the file makes no mention of using multiple servers.
ThanksThere is not a mechansim as you describe built into ThinInstaller. There are, however, various ways you can invoke Thin Installer which might accommodate your end goal.
Usually people that have this need have some kind of data value on the target device that lets them know which repository they should be pulling from. Sometimes a network share is used and that share is established earlier in the deployment process to point to a local server. Sometimes an environment variable is used. The command line of ThinInstaller allows for you to specify the path to the repository at execution time. The calling of ThinInstaller can be performed by a script or cmd file that determines the correct repository path to pass to ThinInstaller.
You can find more details on controlling ThinInstaller in this document: http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/tvsu4_mst_en.pdf
Without knowing a lot more details about your environment I'm not sure how to better guide you. You might try posting in the Enterprise / IT Management forum and see if any of the folks there have done this already. -
How to set up Planning on Multiple Servers
Hi,
1) I am trying to install a Finance Planning application so that it runs on one Planning Web Server and the other operations Planning application on another Planning 9.3.1 web server. Is that possilbe?
2) May be unrelated question:
HP_Windows_Install.pdf has only a few lines explaining how to set up Planning on Multiple Servers. Is it as simple as that?
Here are the "few lines" from install.pdf:
Perform the same installation and configuration process on your secondary servers, making sure to choose
Planning Web Server component for any secondary server.
Make sure you select Reuse existing tables when prompted during the Configure a Database task
in the Configuration utility.Tomcat.
But it will be nice to know the steps for Weblogic too - as Weblogic will be bundled "free" with future releases of Planning. -
Not sure what i am looking for at the moment but we have 6 * solaris 9 servers, 5 * solaris 10, about 30 zones and it's only going to get bigger.
it's become a real pain to manage(add,remove,keep track) users across multiple server/zones. How do other people go about managing multiple servers i for one don't want to log into each box/ zone and create a user accout which is currently what we do.
Guess what i am looking for is some way of managing all of our boxes from a central point.Using a directory service like NIS or LDAP will allow user accounts for many hosts to be created and managed centrally. LDAP is what Active Directory is based on. Sun's implementation is called iPlanet. Sun One Directory Server, or Java Directory service, depending on the phases of the moon.
For spotting problems on servers (disk full, host down, &c), we use nagios. It's fantastic.
My employer also spent a good deal of money on opsware, but shall we say the benefits of it are not yet obvious. -
Folder Comparison from multiple servers
I need to compare folders from multiple servers which do not have direct connection so i was trying to generate a text file with command dir /b /s >c:\server1.txt and feed them to script to compare.
my desired output is csv file in the following format
File name,Server1,server2,server3,is it missng file?
File1,yes,yes,yes,No
file2,Yes,Yes,No,Yes
File3,Yes,No,Yes,Yes
File4,No,Yes,Yes,Yes
these folders contains few hundred thousand files and the script is taking 4 to 5 hours to run the comparison. i thought threads will help to run fast using parallel processng but did not help. i have no expreience with threads and after searching for examples
and implementing it was even slower than normal.
i probably am doing something wrong. Any help is much appreciated.
The following is the script so far and it works fine but its taking long time.
[array]$contentArray = @()
[array]$allfileslist = @()
[array]$uniquefileslist = @()
[array]$allfilesSRVlist = @()
[array]$srvlist = @()
$FolderName = Split-Path -parent $MyInvocation.MyCommand.Definition
$reportName = $FolderName + "\ComparisonReport3.csv"
$ListOfFiles = get-childitem $FolderName
$List = $ListOfFiles | where {$_.extension -ieq ".txt"}
$list.count
$index = 0
foreach($listitem in $List){
$listfilename = $listitem.FullName
$listname = $listitem.Name
$listname = $listname.replace(".txt","")
$srvlist = $srvlist + $listname
write-host $listfilename
#$StrContent = get-content $listfilename
$StrContent = [io.file]::ReadAllLines($listfilename)
$contentArray += ,@($StrContent)
$StrContent.count
$contentArray[$index].count
$index = $index + 1
for($i = 0;$i -lt $index;$i++){
$allfileslist = $allfileslist + $contentArray[$i]
$allfileslist.count
$uniquefileslist = $allfileslist | sort-object | get-unique
$Stroutline = "File Name,"
foreach($srvlistitem in $srvlist){
$Stroutline = $Stroutline + $srvlistitem.ToUpper() + ","
$Stroutline = $Stroutline + "Is it Missing file?"
Write-Output $Stroutline | Out-File "$reportName" -Force
foreach($uniquefileslistitem in $uniquefileslist){
$Stroutline = ""
$missingfile = "No"
$Stroutline = $uniquefileslistitem + ","
for($i=0;$i -lt $index;$i++){
if($contentArray[$i] -contains $uniquefileslistitem){
$Stroutline = $Stroutline + "Yes,"
else{
$Stroutline = $Stroutline + "No,"
$missingfile = "Yes"
$Stroutline = $Stroutline + $missingfile
Write-Output $Stroutline | Out-File "$reportName" -Force -Append
$j++
Following is the script i modified using threads example. this is running even slower.
[array]$contentArray = @()
[array]$allfileslist = @()
[array]$uniquefileslist = @()
[array]$allfilesSRVlist = @()
[array]$srvlist = @()
$FolderName = Split-Path -parent $MyInvocation.MyCommand.Definition
$reportName = $FolderName + "\ComparisonReport3.csv"
$ListOfFiles = get-childitem $FolderName
$List = $ListOfFiles | where {$_.extension -ieq ".txt"}
$list.count
$index = 0
#$contentArray = New-Object 'object[,]' $xDim, $yDim
foreach($listitem in $List){
$listfilename = $listitem.FullName
$listname = $listitem.Name
$listname = $listname.replace(".txt","")
$srvlist = $srvlist + $listname
write-host $listfilename
#$StrContent = get-content $listfilename
$StrContent = [io.file]::ReadAllLines($listfilename)
$contentArray += ,@($StrContent)
$StrContent.count
$contentArray[$index].count
$index = $index + 1
for($i = 0;$i -lt $index;$i++){
$allfileslist = $allfileslist+ $contentArray[$i]
$allfileslist.count
#$uniquefileslist = $allfileslist | select –unique
get-date
$uniquefileslist = $allfileslist | sort-object | get-unique
$uniquefileslist.count
get-date
$Stroutline = "File Name,"
foreach($srvlistitem in $srvlist){
$Stroutline = $Stroutline + $srvlistitem.ToUpper() + ","
$Stroutline = $Stroutline + "Is it Missing file?"
Write-Output $Stroutline | Out-File "$reportName" -Force
$j = 1
$count = $uniquefileslist.count
$stroutput = ""
$maxConcurrent = 50
$results= ""
$PauseTime = 1
$uniquefileslist | %{
while ((Get-Job -State Running).Count -ge $maxConcurrent) {Start-Sleep -seconds $PauseTime}
$job = start-job -argumentList $_,$contentArray,$index -scriptblock {
$StrArgFileName = $args[0]
$ArgContentArray = $args[1]
$ArgIndex = $args[2]
$Stroutline = ""
$missingfile = "No"
$Stroutline = $StrArgFileName + ","
for($i=0;$i -lt $ArgIndex;$i++){
if($ArgContentArray[$i] -contains $StrArgFileName){
$Stroutline = $Stroutline + "Yes,"
else{
$Stroutline = $Stroutline + "No,"
$missingfile = "Yes"
$Stroutline = $Stroutline + $missingfile
$Stroutline
While (Get-Job -State "Running")
Start-Sleep 1
$results = Get-Job | Receive-Job
$results
$stroutput = $stroutput + "`n" + $results
Remove-Job *
Write-Output $stroutput | Out-File "$reportName" -Force -Append
Thank you very much!
Vamsi.no i am not comparing the number of lines.. count i used was only for my information... it has nothing to do with the compare. here is the script with out count...
[array]$contentArray = @()
[array]$allfileslist = @()
[array]$uniquefileslist = @()
[array]$allfilesSRVlist = @()
[array]$srvlist = @()
$FolderName = Split-Path -parent $MyInvocation.MyCommand.Definition
$reportName = $FolderName + "\ComparisonReport3.csv"
$ListOfFiles = get-childitem $FolderName
$List = $ListOfFiles | where {$_.extension -ieq ".txt"}
$index = 0
foreach($listitem in $List){
$listfilename = $listitem.FullName
$listname = $listitem.Name
$listname = $listname.replace(".txt","")
$srvlist = $srvlist + $listname
$StrContent = [io.file]::ReadAllLines($listfilename)
$contentArray += ,@($StrContent)
$index = $index + 1
for($i = 0;$i -lt $index;$i++){
$allfileslist = $allfileslist+ $contentArray[$i]
$uniquefileslist = $allfileslist | sort-object | get-unique
$strfinal = "File Name,"
foreach($srvlistitem in $srvlist){
$strfinal = $strfinal + $srvlistitem.ToUpper() + ","
$strfinal = $strfinal + "Is it Missing file?"
foreach($uniquefileslistitem in $uniquefileslist){
$missingfile = "No"
$Stroutline = $uniquefileslistitem + ","
for($i=0;$i -lt $index;$i++){
if($contentArray[$i] -contains $uniquefileslistitem){
$Stroutline = $Stroutline + "Yes,"
else{
$Stroutline = $Stroutline + "No,"
$missingfile = "Yes"
$Stroutline = $Stroutline + $missingfile
$strfinal = $strfinal + "`n" + $Stroutline
Write-Output $strfinal | Out-File "$reportName" -Force -Append
if you want to test it... just create two text files and put them in the same folder as the script.
server1.txt will have the following content
filename1
filename2
filename3
server2.txt will have the following content
filename1
filename2
filename4
it should generate the csv file ComparisonReport3.csv
filename,server1,server2,Is it Missing file?
filename1,yes,yes,no
filename2,yes,yes,no
filename3,yes,no,yes
filename4,no,yes,yes -
Multiple Servers for Development Team in WLI2.1 on wlidomain
Has anyone tried to create multiple servers so that a development team can share
the resources of a domain with WLI 2.1? If so, how did it work. I have done this
with WLS but would like to try it with WLI.
I tried to create multiple servers, but, had difficulty as there seems to many
resources that are tied to the server name and default port. Also, I tried to
change the port and that caused alot of problems on the myserver.Thanks John.
I was not looking for something which is scaling out Hyperion Planning(via load balancer)/Horizontal clustering.
But was looking for some thing like Vertical clustering(multiple JVMs/nodes of Hyperion Planning within a single planning server) which was applicable in 11.1.1.3.
Came to know that with 11.1.2.2 vertical clustering not more supported.
Thanks -
Multiple servers to one APEX install.
At the moment, I'm in the position of having APEX running on the site using the internal Oracle server. This was the initial plan as there aren't many IT resources on site, so maintaining the more complex setups was not really an option. However, I'd like to spend a little time investigating the Apache based setup and especially the APEX Listener (as that sounds as though it'll end up supporting NTLM).
The question is, is it possible to have multiple servers, all connected to the APEX install, serving correctly (spotting subtle issues would probably be beyond my ability to spot quickly)?
The aim for this is to find a method of running multiple access methods simultaneously, enabling efficient migration from one to another should the benefits of running with a particular method (such as APEX Listener) become overwhelmingly strong.James,
yes, no problem, you can run multiple different connection methods (apex listener, mod_plsql, epg) parallel.
brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
Work: http://www.click-click.at
Training: http://www.click-click.at/apex-4-0-workshops -
How to stop sql services and sql agent services on multiple servers
Looking for a t-sql/powershell script to stop/start sql services on multiple servers. Plan is to execute script from centralized server.
Rahulsee
http://www.databasejournal.com/features/mssql/article.php/3644906/Automatically-Stopping-and-Restarting-SQL-Server.htm
http://sqlpowershell.wordpress.com/2013/04/11/powershell-check-start-and-stop-sql-services-of-a-remote-servers/
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Capture performance metrics across multiple servers
Hello. I'm still very new to Powershell but anyone know of a good Powershell v.3 -4 script that can capture performance metrics across multiple servers with an emphasis on HPC (high performance computing) and gen up a helpful report, perhaps in HTML or Excel
format?
Closest thing I've found and used is this line of powershell:
http://www.microsoftpro.nl/2013/11/21/powershell-performance-monitor-on-multiple-remote-computers/
Maybe figure out a way to present that in better format, such as HTML or Excel.
Also, if someone can suggest some performance metrics to look at with an HPC perspective. For example, if a CPU is running at 100 utilization, figure out if which cores are running high, see how many threads are queued waiting for CPU time, etc...As far as formatting is concerned,
ConvertTo-HTML is a basic HTML output format, but you can spice it up as much as you like:
http://technet.microsoft.com/en-us/library/ff730936.aspx
Out-Grid is very functional and pretty simple:
http://powertoe.wordpress.com/2011/09/19/out-gridview-now-has-a-passthru-parameter/
Here's an example with Excel:
Excel
Worksheets Example
This might be a good reference for HPC, I don't have access to an HPC environment so I can't offer much advice there.
http://technet.microsoft.com/en-us/library/ff950195.aspx
It might be better to keep unrelated questions separate, so a thread doesn't focus on one question and you lose time getting an answer to another.
I hope this post has helped! -
Selective IP filtering for multiple servers in a domain?
Is it possible to have IP filtering on for certain servers in a
domain, and not for others?
This is the situation:
I am deploying two servers in mydomain, so let's call it serverA
and serverB. I want serverA to accept all connections while
serverB accepts connections only from certain IPs. I know you
can do IP filtering using SimpleConnectionFilter in the
"Connection Filter" option in Security->General tab of the Admin
console, but this turns on IP filtering for BOTH serverA and
serverB! How do I turn it on for one, and not the other? Any
help would be greatly appreciated. Thank you.
LeonHi,
Yes you can have muliple servers in a domain. You can create as many managed
servers as your hardware can handle. When you added the server, did you use the
startManagedWebLogic.sh (or .cmd) script to start the server. Once you do that,
you should see the server as running.
Hope this helps,
pat
"MS" <[email protected]> wrote:
>
Hello All,
Is it possible to have multiple servers in a domain?
When I add a new server, the State is reported in the weblogic console
as "UNKNOWN".
What does this mean?
rgds
MS -
Packaging and deploying jax ws (webservice) in multiple servers
I am a java developer and new to JAX-WS.
i got one requirement to create a web service using jax-ws, packaging using ant build and deploying it in JBOSS and WEBSPHERE server.
The process which i followed to create a web service below:
1) created a web service class using @webservice annotation
2) created a client side artifacts using wsimport which is provided by Jdk and created a war and deployed it jboss.
3) wsdl is getting generated while deploying a war using a URI - (http://localhost:8080/mywebapplication/routing?wsdl)
4) create client class to call the webservice. everything is working fine for me.
Need your expert input for the following below:
1) if i write the ant build script to package the client stubs, how i can use wsdl location in wsimport ant task. should i use URI (wsdl="http://localhost:8080/mywebapplication/routing?wsdl") or
(wsdl="d:/route.wsdl")? which is the best practice?
2) i want to deploy my webservice in JBOSS and WEBSPHERE in different machine and different port no?
for e.g
* http://ip1:port1/mywebapplication/route?wdl*
* http://ip2:port2/mywebapplication/route?wdl*
* http://ip3:port3/mywebapplication/route?wdl*
how to mention dynamic ipaddress and port no while running ant build script?
how to change the wsdl location and port number in generated wsdl and RoutingService client stubs class dynamically? (dont want to change soad address location manually)
* Do i need to use wsgen to generate server stubs?*
* Need your inputs in packaging and deploying jax ws in multiple servers.*
Thanks in advance.how to change the wsdl location and port number in generated wsdl and RoutingService client stubs class dynamically? (dont want to change soad address location manually)
Your client stub should look like that...
<code>
@WebServiceClient(name = "MyClientStub", targetNamespace = "http://www.openuri.org/", wsdlLocation = "http://localhost:8080/MyClientStub/MyClientStubProxy/#%7Bhttp%3A%2F%2Fwww.openuri.org%2F%7DMyClientStub?wsdl")
public class MyClientStub
extends Service
public MyClientStub(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
</code>
You can use the constructor above, like that...
<code>
URL baseUrl = MyClientStub.class.getResource(".");
URL url = new URL(baseUrl, "http://your-server:your-port-no/MyClientStub/MyClientStubProxy/#%7Bhttp%3A%2F%2Fwww.openuri.org%2F%7DMyClientStub?wsdl");
MyClientStub stub = new MyClientStub(url, new QName("http://www.openuri.org/", "MyClientStub");
</code> -
10.1.3.4 - FTP adapter polling multiple servers
Is it possible to get files from multiple servers for a given BPEL or ESB service ? My source application writes to its local file systems in the exact same location, but 2 different servers. Is there anyway we can instruct the FTP adapter to poll both the servers ? or do we have to duplicate the call to poll the 2nd server ?
Don't think so. We have solved it by having one esb ftp-adapter to each server and route them together in the same routing service.
-
Collecting Notifications from multiple servers and applications
Hi,
I'm researching JMX technology for our Enterprise-wide monitoring needs.
I've got a good understanding of how to create jmx connections and instrument resources for monitoring in a 1-to-1 jmx client to application scenario.
However, I need to manage (and collect notification alerts) from multiple servers/applications.
Any ideas where to start learning how to do this?
Thanks,
JonHi Gavin,
So, you're looking into JMX monitoring solutions too. great! I've collected some good links and examples.
You can email me privately at jcolby550 "at" hotmail "dot" com, maybe we can share ideas. -
Generate WWPN from Multiple Servers
Hello, I am trying to make this script that will generate the WWPNs from multiple servers, but for some reason it is only generating the WWPN of the machine but not the hostnames, how do I make it generate the hostname of each WWPN that it lists?
$computers=Get-ContentC:\scripts\servers.txt
Get-WmiObject
-computername$computers-classMSFC_FibrePortHBAAttributes-namespace"root\WMI"|Select-ExpandpropertyAttributes|%{
($_.PortWWN
|%{"{0:x2}"-f$_})
-join":"}Hi Gramelot,
you only get the PortWWN, because you select it exclusively at the end of your pipeline. Here's a slight rebuild:
# Get list of computernames
$Computers = Get-Content "C:\scripts\servers.txt"
# Prepare result storage
$Results = @()
# Iterate over each Computer
foreach ($Computer in $Computers)
# Grab PortWWN
$PortWWN = Get-WmiObject -computername $Computer -class MSFC_FibrePortHBAAttributes -namespace "root\WMI" | Select-ExpandpropertyAttributes | %{ ($_.PortWWN | %{ "{0:x2}" -f $_ }) -join ":" }
# Add result to result storage
$Results += New-Object PSObject -Property @{ Computer = $Computer; PortWWN = $PortWWN }
# Report result
$Results
Cheers,
Fred
There's no place like 127.0.0.1
Maybe you are looking for
-
Welcome to the Solutions and Architectures Data Center & Virtualization Community
Welcome to the Solutions and Architectures Data Center & Virtualization Community. We encourage everyone to share their knowledge and start conversations related to Data Center and Virtualization Solutions and architectures.All topics are welcome,
-
TS2776 How can I transfer e-mail contacts from one IPad to another?
How can I transfer e-mail contacts from one IPad to another?
-
How do I get Internet Explorer back to Normal View on my Treo Pro
Hi I have the Treo Pro through Sprint. I switched by Internet Explore to full screen view. I used the 5-way button to scroll to the top and to the bottom and the address bar does not show up. What do I do to get it back to normal view. Thanks Post
-
How can i found out parner profile for one of my purchase order number
I am having 4500000000 purchase order in our client.From this purchase order how can I find out the partner profile.I am using F4 in messages-partner field it is showing no records found for this.input.So how can I find out partner profile for one of
-
Help if you can please......
I recently got a new BlackBerry desktop software upgrade ver 6.0. After it was installed, I'm trying to sync my contacts. When I go to configure settings, 2 things happen: 1) a box saying BlackBerry Data Synchronization pops up saying Determining