Server pool with non-identical HW/CPU
Hi,
I know that the installation manual requests, that all VM servers in one pool are based on the same hardware. Now, will OVM refuse to add new VM servers that are based on a different hardware, especially with different CPUs? I do have E5506 and E5620/30 CPUs in my various hosts.
Precisely: the new OVM 3.0.1 server pool consists of hosts that are E5506 equipped, where as the old OVM 2.2.3 server pool consists of hosts that are E5620/30 equipped.
The reason I am asking is, that I have setup a new OVM 3.0.1 cluster and I have already begun to import my OVM templates as well as a couple of guests to the new cluster. Alas, some of my OVM 2.2. guests require more RAM than my current VM servers offer, so I wanted to setup one of my OVM 2.2 VM servers to join the new server pool, so I can reduce the downtimes as much as possible.
Cheers
I have just tried this and it doesn't seem to work as I expected. I added another VM server to my server pool that has a E5630 CPU instead of a 5502 one and I neither can I migrate a guest from the Unassignes Virtual Machines folder, nor can I deploy a template to the new VM server, it either makes it to one of the first two VM servers.
Edited by: budachst on Sep 9, 2011 12:50 PM
Seems that my 2nd LUN where the storage repo resides doesn't get mounted on my newly added VM server, which explains nicely why no gues will make it onto the new VM server. I have verified that the LUN is visible on the new host, but adding the new server to the server pool only mounts the poolsfsmnt volume while not mounting the storage repo.
What can I do about that?
Similar Messages
-
How-To Create OVM 2.2.2 Single Pool with Non HA, Single Server
How to create OVM2.2.2 Server Pool with a Single, Non-HA configuration.
- Install OVM2.2.2 on target Server: [ovs222a, ip=192.168.0.207]
(Default install creates ocfs2 file system on /dev/sda3 on my machine, YMMV).
- Install OVMM2.2.0 or later on another server or VM
- Remove existing OCFS2 filesystem and repository from [ovs222a] server
- logon to [ovs222a] as root
# cd /opt/ovs-agent-latest/utils
# ./repos.py -l (shows uuid)
# ./repos.py -d [uuid]
- Recreate the ocfs2 file system
# mkfs.ocfs2 -N 8 -T datafiles /dev/sda3
- Create a new repository on the ocfs2 file system and make it root
# ./repos.py -n /dev/sda3
# ./repos.py -r /dev/sda3
# ./repos.py -l (should show new repository uuid with [R] designation)
- Edit cluster.conf, ensure only 1 node with ip addr: 192.168.0.207
# vi /etc/ocfs2/cluster.conf
- Edit /etc/hosts, ensure ovs222a ip addr = 192.168.0.207, not 127.0.0.1
(/etc/hosts should look like the following
127.0.0.1 localhost localhost.local.domain
192.168.0.207 ovs222a ovs222a.[your.actual.domain.name]
- Configure o2cb service, take the defaults which will start o2cb service on boot
# service o2cb configure
# service o2cb start
# service 02cb status
- Using OVMM2.2.0 GUI, create Server Pool
- Server Pool Name: [ovm2pool1]
- LEAVE SERVER POOL IP ADDRESS [BLANK], NOT NEEDED FOR SINGLE SERVER SERVER POOL
- LEAVE HIGH AVAILABILITY MODE ENABLE [UNCHECKED] (HA not available in single server cluster pool).
- Set [ovs222a], [192.168.0.207] as Server Pool: MASTER, UTILITY, VM SERVER with correct passwords.
- Test connection to [ovs222a]
- Create PoolHi
ThanQ For Reply Saurabh,
So Now I have to create one logon.jsp this jsp having username and password.
For Example http://sapmjd:50000/scw/logon.jsp
when i will pass the URLu2019s that time I am able to See logon Page. This .jsp is normal logon jsp looks like client logongape( logos, all available) By using this jsp how we will connect main URL i.e (irj/portal)
in logon.jsp I will pass UID and PWD that time I am logon into the Portal,
Could you tell me these Answes.
1. Is it possible to Connect main URL i.e (irj/portal) or customize par file having one jsp is there i.e jsp name umLogonPage.jsp. is it possible when I will pass the uid and pwd in logon.jsp this jsp will connect to the jsp umLogonPage.jsp.
2. If you says Answer YES How we will connect.
Regards
Vijay Kalluri -
Can a server pool with single server be moved to a different manger?
Can an existing server in a pool running on an OVM manager be moved to a different manger. The pool has only one server and is not HA. If you try to register the server on the new manger by creating a new pool it errors that it has been registered with some other pool. Does anyone know the steps to re register a server and pool with a new manger without reinstalling OVS so that the existing guest VM can be imported through resources on the new manager after the pool is added?
Thanks in advance if anyone can help.
DaveGreetings,
1- Please power-off and backup your virtual machines.
2- Stop the ovs-agent, remove the local DB and then recreate the local db, i.e..
# service ovs-agent stop
# rm -fr /etc/ovs-agent/db
# service ovs-agent start
3- Empty the /etc/ocfs2/cluster.conf file on both server, "# /dev/null> /etc/ocfs2/cluster.conf"
4- Create a new server pool with VM Manager and import the guests.
For details about Oracle VM Manager please review http://itnewscast.com/chapter-2-oracle-vm-architectural-review
Respectfully,
Roddy -
VM auto start in a single server pool with only local hard disk repository
I searched the forum but can't find anything similar.
Basically, part of the dev environment I have is just starting to use Oracle VM to have a nice centralized place to manage the VMs and managed server.
Those environment doesn't have shared storage and all VMs are stored under local hard disk. (as just having several VMs to share the resource in a single server)
So there is only one server in the server pool.
What should be the best way to set up VM auto-start when this single server is rebooting or start from boot up?
Should I just set up a symlink of /OVS/running_pool/vm1/vm.cfg to /etc/xen/auto/vm1.cfg ?
(p.s. I can't set up HA mode in the single server pool since this is ocfs2.local, it will fail)
Thx in advance.After some testing, I'm now using a traditional way (for single server with local repository)
auto start VM in dom0 during server starts up:
ln -s /OVS/running_pool/vmname/vm.cfg /etc/xen/auto/vmname
auto shutdown VM in dom0 during server shut down:
- edit /etc/sysconfig/xendomains
change the line:
XENDOMAINS_SAVE=/var/lib/xen/save
to
XENDOMAINS_SAVE=
I also change XENDOMAINS_RESTORE from true to false
Now when I need to reboot/power down the server via OVM, I can just go ahead and do it without migrating..and xendomains will shutdown all my VMs and start them up next time. -
ACS Cluster with non-identical equipments
Hi,
On ACS, is it possible to realize a cluster A/A or A/S with two non-identical equipments : a physical appliance and virtual ACS ?
Best regardsI have that design working. the virtual is primary and the appliance is secondary. primary instance where you do the config and Logs, secondary do the hard work of authenticating.
hope this help
Antero -
Moving Access table with an autonumber key to SQL Server table with an identity key
I have an SSIS package that is moving data from an Access 2010 database to a SQL Server 2008 R2 database. Two of the tables that I am migrating have identity keys in the SQL Server tables and I need to be able to move the autonumber keys to the SQL
Server tables. I am executing a SQL Script to set the IDENTITY_INSERT ON before I execute the Data Flow task moving the data and then execute a SQL Script to set the IDENTITY_INSERT OFF after executing the Data Flow task.
It is failing with an error that says:
An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was
done.".
Error: 0xC020901C at PGAccountContractDetail, PGAccountContractDetail [208]: There was an error with input column "ID" (246) on input "OLE DB Destination Input" (221). The column status returned was: "User does not have permission to
write to this column.".
Error: 0xC0209029 at PGAccountContractDetail, PGAccountContractDetail [208]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "OLE DB Destination Input" (221)" failed because error code 0xC020907C occurred, and the
error row disposition on "input "OLE DB Destination Input" (221)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information
about the failure.
Error: 0xC0047022 at PGAccountContractDetail, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "PGAccountContractDetail" (208) failed with error code 0xC0209029 while processing input "OLE DB
Destination Input" (221). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted
before this with more information about the failure.
Any ideas on what is causing this error? I am thinking it is the identity key in SQL Server that is not allowing the update. But, I do not understand why if I set IDENTITY_INSERT ON.
Thanks in advance for any help/guidance provided.I suspect it is the security as specified in the message. E.g .your DBA set the ID columns so no user can override values in it.
And I suggest you 1st put the data into a staging table, then push it to the destination, this does not resolve the issue, but ensures better processing.
Arthur
MyBlog
Twitter -
Mixing CPU models in same server pool in OVM 3
How contained is Live Migration when it comes to CPU model?
For example, if I have a 6 Core opteron system, (8439 SE) CPU that shows "Default_AMD_Family:16_Model:8_NoNx" in OVMM, what part of that needs to match to be compatible with another server with a different processor?
We want to mix 8439 SE (6 core) processor systems in a pool with 6176 SE (12 core) systems, how can I tell if those processors would support Live migration between the two?
Thanks,
Dave
Edited by: Dave on Dec 15, 2011 2:08 PMDave wrote:
By chance do you know how the behavior of a server pool with mis-matched pairs of servers acts? I know you can add them to the same pool, but is OVM 3 smart enough to make sure guests that were originally started on one server, only start on that kind of server in the future? For example, I dont want a server provisioned on an Intel CPU to reboot to an AMD cpu.Why not? Booting is easy and a guest that boots on Intel today will happily boot on AMD tomorrow. it's only live migration that's restricted. Everything else is fair game, assuming the storage and networking is identical across all the machines. -
If a server pool with a single x86 server plays the role of Server pool master, utility server and also VM server, how are the resources divided for these three functions to be performed simultaneously. For instance, VM deployment being done in another pool, along with file transmission for a VM created in a domU of the server. How are the CPU cycles divided and any hard partitioning of the CPUs and hard disk or memory for the 3 functions?
I am sorry you feel uncomfortable about the license terms. Being a software company owner I know the difficulty of figuring out the license restrictions of various software components. However that is exactly I provide ExpressionFlow example code with creative commons attribution license. The creative commons licenses do not restrict where the example code can be used and the terms are rather widely known. Shoud example code have no license terms, you would not know how you would be allowed to use or share the code. Now you have it black-on-white.
Human-readable summary of the Creative Commons Attribution 3.0 Unported license:
You are free:
to Share — to copy, distribute and transmit the work
to Remix — to adapt the work
Under the following conditions:
Attribution —
You
must attribute the work in the manner specified by the author or
licensor (but not in any way that suggests that they endorse you or
your use of the work).
With the understanding that:
Waiver
Any of the above conditions can be waived if you get permission from the copyright holder.
Other Rights
In no way are any of the following rights affected by the license:
Your fair dealing or fair use rights;
The author's moral rights;
Rights other persons may have either in the work itself or in how the work is used, such as publicity or privacy rights.
Notice
— For any reuse or distribution, you must make clear to others the
license terms of this work. The best way to do this is with a link to
this web page.
Tomi Maila -
Oracle VM 3 : Cannot add a VM Server to an existing Server pool
Hi everybody,
I am testing Oracle VM 3
I have successfully installed Oracle VM manager 3.0.3
I have successfully installed two VM Server 3.0.3
I have successfully Create a Server pool with One VM Server attached to a SAN Storage (two Luns ..one for Vm pool and second for VM Repo )
I tried to add the second VM Server to the pool but it fails with the following error
OVMAPI_4010E Attempt to send command: dispatch to server: vm2.****.com failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/1 configure_server_for_cluster cluster:
name = 5c724f2aad1e9a84
heartbeat_mode = global
node_count = 2
node:
cluster = 5c724f2aad1e9a84
name = vm1.****.com
number = 0
ip_address = 192.168.1.1
ip_port = 7777
node:
cluster = 5c724f2aad1e9a84
name = vm2.****.com
number = 1
ip_address = 192.168.1.2
ip_port = 7777
heartbeat:
cluster = 5c724f2aad1e9a84
region = 0004FB00000500002F0E7ECE81A2A4E7
*lun /dev/mapper/3600a0b80002943ca00000f724f3c875d 0004fb00000500002f0e7ece81a2a4e7 , Status: org.apache.xmlrpc.XmlRpcException: exceptions.OSError:[Errno 2] No such file or directory*
Thu Feb 16 15:34:50 GST 2012
Thu Feb 16 15:34:50 GST 2012
Please help
Thanks
AljaroAljaro wrote:
*lun /dev/mapper/3600a0b80002943ca00000f724f3c875d 0004fb00000500002f0e7ece81a2a4e7 , Status: org.apache.xmlrpc.XmlRpcException: exceptions.OSError:[Errno 2] No such file or directory*The pool filesystem LUN is not visible to the second server, so it is unable to join the pool. You need to make sure that the devices in /dev/mapper are the same on both servers. -
Moving Server Pool Storage/Image to another location
I have a server pool that is using an NFS mount as the 12G of cluster storage at 192.168.0.5. This server pool has 1 Oracle VM server with 2 VM guests that I simply can not loose.
I need to move that to NFS mount to another server at 192.168.0.31
I know I can simply create another server pool, but once I do that, I believe I need another Oracle VM server (which I do not have).
Or can you move the entire Oracle server along with the VMs to the other pool seemlessly?
What is the best way to go here?This is my environment right now.
One Physical Host with a 3 TB internal SATA drive. Oracle VM server 3.0.1 installed.
Another Host with RHEL 5.5 on it where I installed Oracle VM Manager 3.0, on this RHEL 5.5 host, I also created an NFS export (192.168.0.5 with about 30G possible of space).
Created a Server Pool with cluster storage of the NFS mount above.
Discovered the OVM Server, and added it to the Server pool.
Created a repository on the 3 TB drive in that server that was detected by OVM manager. Created a few virtual disks.
Created a few VNICs.
Created 2 virtual machines using 3 different virtual disks that are attached to the one VM server. All working as expected so far.
Now I want to move the NFS cluster storage to a new host. (192.168.0.31 - that does not get rebooted as much)
Created a new server pool using the new cluster storage.
I have taken down both VM guests, and migrated them to the "unassigned Virtual Machines" folder.
The large 3TB repo, I un-presented to the Oracle VM server.
I then tried to remove the VM server from the server pool, and receive this
warning icon
Job Construction Phase
begin()
com.oracle.ovm.mgr.api.exception.RuleException: OVMRU_000036E Cannot remove server: ovs1.advantagedata.com, from pool: ADI. There are still OCFS2 file systems: [fs_OVM_repo], in the pool
Tue Sep 27 10:22:48 EDT 2011
at com.oracle.ovm.mgr.rules.modules.api.virtual.ClusterRules.removeServerPre(ClusterRules.java:144)
at com.oracle.ovm.mgr.api.job.JobEngine.invokeMethod(JobEngine.java:634)
at com.oracle.ovm.mgr.api.job.JobEngine.invokeMethod(JobEngine.java:598)
at com.oracle.ovm.mgr.rules.RulesEngine.runRules(RulesEngine.java:184)
at com.oracle.ovm.mgr.rules.RulesEngine.preProcess(RulesEngine.java:136)
at com.oracle.ovm.mgr.model.ModelEngine.preValidate(ModelEngine.java:513)
at com.oracle.ovm.mgr.model.ModelEngine.access$200(ModelEngine.java:59)
at com.oracle.ovm.mgr.model.ModelEngine$3.notify(ModelEngine.java:321)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:207)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:764)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.storage.Transaction.processCommand(Transaction.java:467)
at com.oracle.odof.core.TransactionManager.processTransactionWork(TransactionManager.java:650)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:755)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:395)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:453)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Job Aborted from server, cleaning up client.
Is this not possible? -
Configuring JCo3 Connection Pool with single sign on on non SAP Java server
Hi Everyone,
i have configured a connection pool on JBoss as per JCo3 Documentation and is working great.
Now I need help to configure this connection pool with single sign on so that RFc on SAP ECC systems are executed using end users credential rather than using single user name password used to configure JCo connection pool.
On SAP Java stack I am sure its possible within Java WebDynpro and i assume using JCA resource adapter. But what if we don't want to use SAP Java App server.
Any help will be appreciated.
Thanks,
Divyakumar JainEason, 你好!
I have exactly the same problem. Did you find a solution to this problem? If so, please let me know! -
Help with seting up a Data Sorce can't be created with non-existent Pool
I am wanting to use an Oracle 9i with WebLogic 7
I have the following in my config.xml:
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
Name="Thin.Pool" Password="{3DES}C3xDZIWIABA="
Properties="user=SYSTEM" TestTableName="OID"
URL="jdbc:oracle:thin:@localhost:1521:DB_SID"/>
<JDBCDataSource JNDIName="DB_DS" Name="DB_DS" PoolName="Thin.Pool"/>
The console seems happy, no error mesages but in the log I get:
####<Mar 31, 2003 6:33:45 PM MST> <Info> <HTTP> <blue> <GameServe>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <101047>
<[ServletContext(id=4110316,name=console,context-path=/console)]
FileServlet: Using standard I/O>
####<Mar 31, 2003 6:35:37 PM MST> <Info> <JDBC> <blue> <GameServe>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <001082> <Creating Data Source named DB_DS for pool
Thin.Pool>
####<Mar 31, 2003 6:35:37 PM MST> <Error> <JDBC> <blue> <GameServe>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <001059> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(DB_DS) can't be created
with non-existent Pool (connection or multi) (Thin.Pool)
at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:260)
at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:952)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:578)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:419)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:952)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
at $Proxy16.addDeployment(Unknown Source)
at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1784)
at weblogic.management.internal.DynamicMBeanImpl.access$0(DynamicMBeanImpl.java:1737)
at weblogic.management.internal.DynamicMBeanImpl$1.run(DynamicMBeanImpl.java:1715)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1711)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1035)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:353)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:898)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:324)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:193)
at $Proxy13.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
Why does it say:
can't be created with non-existent Pool
Thanks,Add "Targets" attribute to the connection pool. You may
get an idea how it looks like by searching config.xml
for "targets". If target servers are not set, the pool won't be
deployed and can not be used to a create datasource.
Regards,
Slava Imeshev
"BBaker" <[email protected]> wrote in message
news:[email protected]...
I am wanting to use an Oracle 9i with WebLogic 7
I have the following in my config.xml:
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
Name="Thin.Pool" Password="{3DES}C3xDZIWIABA="
Properties="user=SYSTEM" TestTableName="OID"
URL="jdbc:oracle:thin:@localhost:1521:DB_SID"/>
<JDBCDataSource JNDIName="DB_DS" Name="DB_DS" PoolName="Thin.Pool"/>
The console seems happy, no error mesages but in the log I get:
####<Mar 31, 2003 6:33:45 PM MST> <Info> <HTTP> <blue> <GameServe>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <101047>
<[ServletContext(id=4110316,name=console,context-path=/console)]
FileServlet: Using standard I/O>
####<Mar 31, 2003 6:35:37 PM MST> <Info> <JDBC> <blue> <GameServe>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <001082> <Creating Data Source named DB_DS for pool
Thin.Pool>
####<Mar 31, 2003 6:35:37 PM MST> <Error> <JDBC> <blue> <GameServe>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <001059> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(DB_DS) can't be created
with non-existent Pool (connection or multi) (Thin.Pool)
atweblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:
127)
atweblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:260)
atweblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:29
3)
atweblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:375)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:154)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
.java:732)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:7
14)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:417)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
atweblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerI
mpl.java:952)
atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
gurationMBeanImpl.java:578)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:419)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
atweblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerI
mpl.java:952)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
at $Proxy16.addDeployment(Unknown Source)
atweblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(D
ynamicMBeanImpl.java:1784)
atweblogic.management.internal.DynamicMBeanImpl.access$0(DynamicMBeanImpl.java
:1737)
atweblogic.management.internal.DynamicMBeanImpl$1.run(DynamicMBeanImpl.java:17
15)
atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:780)
atweblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBean
Impl.java:1711)
atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
java:1035)
atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
onMBeanImpl.java:353)
atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
8)
atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
3)
atweblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanS
erverImpl.java:898)
atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:324)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:193)
at $Proxy13.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanA
ttribute.java:92)
atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
eanAction.java:145)
atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:171)
atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1058)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306)
atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5445)
atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:780)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3105)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2588)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
Why does it say:
can't be created with non-existent Pool
Thanks, -
Non-server pool master in VM Manager
So I have two vm hosts that are not HA. The first is the Server Pool Master and everything is working well there. On the second host machine (the non-master) I put my template in the seed_pool folder and I can use xm to start the template and everything is fine, but I can not seem to get Oracle VM Manager to import the Virtual Machine Templates from the second host. Any ideas on what I did wrong?
Thanks,
WesleyHi Wesley,
all servers in a server pool (even if not enabled for HA) have shared repositories (this was changed with OVM 2.2, before that there was the concept of local repositories, but it does not seem to be existing anymore with OVS 2.2). These can be listed with
/opt/ovs-agent-latest/utils/repos.py -l
These are the folders the agents looks into the seed_pool to import the machines.
(note repos.py does not have an option for local repository).
If the repository is not listed here, where you put you seed_pool, then it is clear why you cannot import the template.
Regards
Sebastian -
Identity SSO API with non-web based appilcations
hi,
i can appreciate hwo this works with cookies etc for web based applications that use the api or one of the agents on apache etc.
but how does it go with non web based java and say windows applications?
can anyone point me to some docs?
thanksI don't work for Sun but here are my thoughts
1. Yes, if you don't want to use the AM SDK then the
XML auth service is the way to go.
2 & 3. dunno
4. I think if you pass around the SSOToken ID
generated by AM then any application can issue a SAML
query to see if the session is still valid and get
identity/auth attributes back
5. I think SAML 2.0 supports authentication and
single signoff
6. If you are doing a lot of thick client apps you
should use kerberos instead of AM web based
Authentication. AM supports kerberos authentication,
most modern browsers support SPEGNO for passing
credentials to web server, AD supports Kerberos, and
even Solaris 10 comes with a free KDC built into the
OS. There is plenty of documentation around kerberos
and the JDK out of the box supports GSS-API for
Kerberos authenticationThank you for your feedback.
We looked at the use of kerberos as well, but this is not really an option as we are dealing with fat clients installed on desktops of clients. So these desktops do not fall within our span control (multiple domain controllers etc.).
Regards,
Thomas -
Connection pooling with SQL Server 2008 and Tomcat 6.0
Hello Everybody,
I'm creating a web application using struts 2.0 , tomcat 6.0 and sql server 2008.
Everything works fine but i'm unable to create connection pooling with sql server 2008.Please help me to solve this issue.
Code for this is as foolows:
in my META-INF/context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/spas" docBase="spas"
debug="5" reloadable="true" crossContext="true">
<Resource
name="jdbc/spas_new"
auth="Container"
type="javax.sql.DataSource"
maxActive="20"
maxIdle="10"
maxWait="-1"
user="spas_user"
password="spas123"
driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
url="jdbc:sqlserver://HGL-0053\dbo:1433;databaseName=spas_new;responseBuffering=adaptive;"/>
</Context>
in my web.xml
<resource-ref>
<description>SQL Server Datasource</description>
<res-ref-name>jdbc/spas_new</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
and in my ConnectionThread.java file i've used:
Context ctx = new InitialContext();
if(ctx == null )
throw new Exception("Sorry! No Context Exception");
DataSource ds = (DataSource)ctx.lookup("java:/comp/env/jdbc/spas_new");
System.out.println("ds:"+ds);
conn=ds.getConnection();
Following is the exception:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user ''.)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at login.V_SPAS_ConnectionThread.getConnection(V_SPAS_ConnectionThread.java:87)
at org.apache.jsp.login.v_005fspas_005flogin_005fpage_jsp._jspService(v_005fspas_005flogin_005fpage_jsp.java:95)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1023)
at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:345)
at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at login.V_SPAS_SecurityCheckFilter.doFilter(V_SPAS_SecurityCheckFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user ''.Hi Karthikeyan,
This is not the issue at all. I can open the management studio by the same login id and password and also i can make the database jdbc connection from plain java file.
It does not give me any problem by them.
I'm unable to find the actual problem. May be i'm missing something in connection pooling.
Please help.
Regards
Mina
Maybe you are looking for
-
IPhone 5 has weird lines with colors on screen?
It's isn't inverting colors, I have tried everything ! And I don't want to go to a genius bar or apple store! Thank you!
-
Stroring certain details in a file, But Could not delete the File.
I am storing certain details using serialization. But when i decide to delete the File i am unable to delete the File. I am attaching a sample Code to understand my problem. import java.io.File; import java.io.FileInputStream; import java.io.FileOutp
-
How do I programmatically determine the cursor legend refnum?
I am determining the controls and such of a front panel programmatically as I have a need to be able to modify panels quickly without the manual editing necessary. I need to know how to determine the refnum of a cursor legend for a waveform or XY gra
-
ITunes updates not showing up in app store
When I click on check updates from inside iTunes it says there is a new version would I like to download it. I click yes and it launches teh App store which promtly tells me there isn't an update. I look at the version number in iTunes and it shows 1
-
When i scrolled down, the photos disapper in random order
in iphoto i can't see all the photos when i view into the folder, some of them are appearing while some are not and vice versa when i scrolled down,