Create UDP server with glassfish/ejb
Hi,
I have a mobile application that's using GPRS to send UDP messages to an IP address - wast amount of ~1K text messages every second.
I want to create a UDP server app using the JAVA EE technology.After getting the messages over UDP, I would like to convert them to JMS messages and place them in a queue for message-driven beans to pick them up one by one.
Now, I'm not sure if I can do this with Glassfish .
Can I somehow open a UDP port and listen for messages ?
Or should I rather make a Java SE app which receives messages from client and passes them into the application server message queue?
Thanks a lot !!
Discussion in progress here: http://forums.java.net/jive/thread.jspa?threadID=30254&tstart=0
Similar Messages
-
How does create a server with multiple Clients ?
Any people can lead me .
How does create a server with multiple Clients ?
ThanksFor a multithreaded server you will need a thread to listen and at least one thread per client. If the conversation is half duplex, one thread per client works very well, if it's full duplex you will find one thread to send and one to receive much easier to program.
I posted a Simple Socket Server that uses 1+2*clients threads. -
Hello Experts,
I am creating data servers with database DB2 in xMII 12.1
This is the details:
Connector : IDBC
Connector type : SQL
JDBC driver : com.inet.tds.TdsDriver
Server Package : com.sap.xmii.Illuminator.connectors.IDBC
Server Url : jdbc:inetdae:BGC125:5912?database=MD1&sql7=true
When I am checking the status, it is coming stopped
I had checked in NWA, and JDBC driver is green.
Please help me on that.
Regards,
DipakThanks for the quick reply John. I am trying to get user and group information, and also doing some complex manipulation. I need this to verify user access and some other stuff. I will not always have access to HSS and cannot always export the information, thus the need to use the HSS java API.
I'm trying to pull it out of HSS and put it into an Oracle table in a standard format where I'll use the information and do reporting off of it. I've developed a java class that does migrates the data over, but its crude and I'd like to move it into ODI with some of our projects that are currently doing the same thing with other ERP such as Ebiz and Peoplesoft.
If I can recode some of the java in ODI, how would I go about doing that. Where would I include the libraries, etc.? is there a tutorial or a place where I can get started on that.
Thanks for all the help. -
Creating a server with channels
Title says it all. I'm a bit perplexed as to how I am going to accomplish this. I had envisioned it kind of like this:
GameServer class contains an array of Channel classes which contain an array of Connections. Connections extend thread.
However, it seems I can't have an array of Threads (I get a "can not cast from void to Connection" error) which is really odd...is there another way to go about this?Thanks for your help so far. In online games, they usually have channels which are basically little groups of users that can interact with each other. One server may have many "channels". For example, a server with 10 people may have those people spread across different channels. 5 users may be in channel 1, 2 in channel 2, 0 in channel 3, and the rest in channel 4. However, they're still on the same server but they can only see people within their channel.
I have no problems creating the Thread array but I get an error when I assign something to an index of that array. The error says something like "Can not cast from void to Thread" -
Trouble using MS SQL Server with CMP EJBs
Hi all,
I have an application which uses CMP EJBs. I am migrating it from a DB2 backend (where it works like a dream) to a SQL Server 2000 backend. I am using WebSphere 5.0 and I am able to launch the application on the test server without problems, but when I run the EJB test client and try to create any of the EJBs, I get a mass of exceptions - the most pertinent part of which seems to be:
Method createManagedConnctionWithMCWrapper caught an exception during creation of the ManagedConnection for resource jdbc/msissuetracker, throwing ResourceAllocationException. Original exception: com.ibm.ws.exception.WsException: DSRA8100E: Unable to get a PooledConnection from the DataSource.
Why am I unable to get a PooledConnection? I am using the JDBC driver which I downloaded from the MS website, and the doco says it supports connection pooling. I am very unfamiliar with SQLServer, so can anyone tell me if I'm missing something here??
Help much appreciated! Cheers, Ben.Problem is now sorted. A bit embarassing really. It was a permissions issue. Nothing about permission or access denied was mentioned anywhere in the few hundred lines of exceptions. A more descriptive exception message would have been helpful instead of "Unable to get a PooledConnection from the DataSource". Yes! But WHY?
-
I have a Time Capsule 1T, so not sure what gen that would be. But I am in college and have about 5 apple devices that my family uses in our house and it would be nice if we could share files through a network. Can I even be helped?
DropBox is another possibility for sharing files and it is free for the first 2GB of storage.
Lou Picinich
Member Apple Developers Network
Certified Member Apple Consultants Network
ACSP 10.5 → 10.7, ACTC 10.5 → 10.7
ACS Security & Mobility 10.6
Mobility Technical Competency
[email protected]
www.SystemXperts.com
(623) 512-8992 -
Creating a database with Sun Java Application Server 9
I am using a slightly outdated reference book on J2EE programming. It gives 2 methods of creating a database used in its casestudies. The first is an ANT script that gives the following output:
D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise>asant database
Buildfile: build.xml
env-user:
prop-user:
set-user:
env-password:
prop-password:
read-password:
set-password:
set-j2ee:
create-jdbc:
set-j2ee:
asadmin:
[echo] asadmin.bat create-jdbc-resource user admin password password --
connectionpoolid PointBasePool --enabled=true jdbc/Agency
[exec] Usage: create-jdbc-resource [--terse=false] [--echo=false] [--intera
ctive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_
user] [--passwordfile file_name] --connectionpoolid id [--enabled=true] [--descr
iption text] [--target target(Default server)] jndi_name
[exec] CLI193 Password option "password" is not allowed on the command line
. Please use --passwordfile option or asadmin login command.
set-j2ee:
asadmin:
[echo] asadmin.bat list-jdbc-resources user admin password password
[exec] Usage: list-jdbc-resources [--terse=false] [--echo=false] [--interac
tive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_u
ser] [--passwordfile file_name] [target (Default server)]
[exec] CLI193 Password option "password" is not allowed on the command line
. Please use --passwordfile option or asadmin login command.
set-dbpath:
BUILD FAILED
D:\original\CaseStudy-2-5\CaseStudy\common\targets.xml:87: D:\Sun\SDK\pointbase\
lib not found.
Total time: 2 seconds
D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise>
I've checked and there is no Sun\SDK\pointbase folder. The book was written for SDK 1.4 and I believe another application server. There is also a Java program that attempts to create it with jdbc. Its output looks like this :
D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise\classes>java CreateAgency
java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at CreateAgency.main(Unknown Source)
D:\original\CaseStudy-2-5\CaseStudy\Day02\exercise\classes>
I am not conversant enough to discuss the corrections for the ANT script but I'm reasonably certain the Java program could work if I had the right strings in these lines.
// PointBase
private static final String driver = "com.pointbase.jdbc.jdbcUniversalDriver";
private static final String protocol = "jdbc:pointbase:server://localhost/sun-appserv-samples,new";
private static final String user = "pbPublic";
private static final String password = "pbPublic";
Can anyone help me with the correct driver and protocol?
I am using the latest download version SDK JavaEE5
the entire java program looks like this:
import java.sql.*;
public class CreateAgency {
// Cloudscape
//private static final String driver = "COM.cloudscape.core.RmiJdbcDriver";
//private static final String protocol = "jdbc:cloudscape:rmi:Agency;create=true";
//private static final String user = "";
//private static final String password = "";
// PointBase
private static final String driver = "com.pointbase.jdbc.jdbcUniversalDriver";
private static final String protocol = "jdbc:pointbase:server://localhost/sun-appserv-samples,new";
private static final String user = "pbPublic";
private static final String password = "pbPublic";
public static void main(String[] args) {
Connection conn=null;
Statement s=null;
try {
Class.forName(driver);
System.out.println("Loaded driver: "+driver);
conn = DriverManager.getConnection(protocol,user,password);
System.out.println("Connected to: "+protocol);
conn.setAutoCommit(false);
s = conn.createStatement();
System.out.println("Dropping exisiting BMP tables...");
try {s.execute("drop table ApplicantSkill");} catch (SQLException ex){}
try {s.execute("drop table Applicant");} catch (SQLException ex){}
try {s.execute("drop table JobSkill");} catch (SQLException ex){}
try {s.execute("drop table Job");} catch (SQLException ex){}
try {s.execute("drop table Matched");} catch (SQLException ex){}
try {s.execute("drop table Customer");} catch (SQLException ex){}
try {s.execute("drop table Location");} catch (SQLException ex){}
try {s.execute("drop table Skill");} catch (SQLException ex){}
System.out.println("Dropped tables");
System.out.println("Creating new tables...");
s.execute("create table Skill(name varchar(16) CONSTRAINT pk_skill PRIMARY KEY (name), description varchar(64))");
s.execute("create table Location(name varchar(16)CONSTRAINT pk_location PRIMARY KEY (name), description varchar(64))");
s.execute("create table Applicant(login varchar(16) CONSTRAINT pk_applicant PRIMARY KEY (login), name varchar(64), email varchar(64), summary varchar(512), location varchar(16), CONSTRAINT fk_location FOREIGN KEY (location) REFERENCES Location(name))");
s.execute("create table ApplicantSkill(applicant varchar(16), skill varchar(16), CONSTRAINT fk_applicant FOREIGN KEY (applicant) REFERENCES Applicant(login), CONSTRAINT fk_skill FOREIGN KEY (skill) REFERENCES Skill(name))");
s.execute("create table Customer(login varchar(16) CONSTRAINT pk_customer PRIMARY KEY (login), name varchar(64), email varchar(64), address1 varchar(64), address2 varchar(64))");
s.execute("create table Job(ref varchar(16), customer varchar(16), description varchar(512), location varchar(16), CONSTRAINT pk_job PRIMARY KEY (ref,customer), CONSTRAINT fk_customer FOREIGN KEY (customer) REFERENCES Customer(login), CONSTRAINT fk_location FOREIGN KEY (location) REFERENCES Location(name))");
s.execute("create table JobSkill(job varchar(16), customer varchar(16), skill varchar(16), CONSTRAINT fk_job FOREIGN KEY (job,customer) REFERENCES Job(ref,customer), CONSTRAINT fk_skill FOREIGN KEY (skill) REFERENCES Skill(name))");
s.execute("create table Matched(applicant varchar(16), job varchar(16), customer varchar(16), exact boolean, CONSTRAINT fk_job FOREIGN KEY (job,customer) REFERENCES Job(ref,customer), CONSTRAINT fk_applicant FOREIGN KEY (applicant) REFERENCES Applicant(login))");
System.out.println("Created tables");
System.out.println("Inserting table records...");
s.execute("insert into Location values ('London','London UK')");
s.execute("insert into Location values ('Washington','Washington DC, USA')");
s.execute("insert into Location values ('Verona','Verona, Renaissance Italy')");
s.execute("insert into Location values ('Wessex','Wessex, Kingdom of England')");
s.execute("insert into Skill values ('Tree Surgeon','Tree Surgeon')");
s.execute("insert into Skill values ('Cigar Maker','Cigar Maker')");
s.execute("insert into Skill values ('Bodyguard','Bodyguard')");
s.execute("insert into Skill values ('Cook','Cook')");
s.execute("insert into Skill values ('Lawyer','Lawyer')");
s.execute("insert into Skill values ('Critic','Critic')");
s.execute("insert into Applicant values ('juliet','Juliet Capulet', 'juliet@localhost' , 'Dutiful daughter', 'London' )");
s.execute("insert into Applicant values ('romeo','Romeo Montague', 'romeo@localhost' , 'Dutiful son', 'Wessex' )");
s.execute("insert into Applicant values ('julius','Julius Caesar', 'julias@localhost' , 'Roman Emperor', 'Washington' )");
s.execute("insert into Applicant values ('brutus','Marcus Brutus', 'marcus@localhost' , 'Roman Senator', 'Washington' )");
s.execute("insert into Applicant values ('proteus','Proteus', 'proteus@localhost' , 'Gentleman', 'Verona' )");
s.execute("insert into Applicant values ('valentine','Valentine', 'valentine@localhost' , 'Gentleman', 'Verona' )");
s.execute("insert into ApplicantSkill values ('juliet', 'Cook')");
s.execute("insert into ApplicantSkill values ('romeo', 'Cook')");
s.execute("insert into ApplicantSkill values ('romeo', 'Bodyguard')");
s.execute("insert into ApplicantSkill values ('julius', 'Tree Surgeon' )");
s.execute("insert into ApplicantSkill values ('julius', 'Tree Surgeon' )");
s.execute("insert into ApplicantSkill values ('brutus', 'Critic' )");
s.execute("insert into ApplicantSkill values ('brutus', 'Lawyer' )");
s.execute("insert into ApplicantSkill values ('proteus', 'Lawyer' )");
s.execute("insert into ApplicantSkill values ('proteus', 'Critic' )");
s.execute("insert into ApplicantSkill values ('valentine', 'Critic' )");
s.execute("insert into ApplicantSkill values ('valentine', 'Cigar Maker' )");
s.execute("insert into Customer values ('george','George Washington', 'george@localhost', 'White House', 'Washington')");
s.execute("insert into Customer values ('winston','Winston S Churchill', 'winston@localhost', '10 Downing Street', 'London')");
s.execute("insert into Customer values ('abraham','Abraham Lincoln', 'abe@localhost', 'Springfield', 'Illinois')");
s.execute("insert into Customer values ('alfred','Alfred the Great', 'alf@localhost', 'Wessex', 'England')");
s.execute("insert into Job values ('Tree pruner', 'george', 'Must be honest', 'Washington')");
s.execute("insert into Job values ('Cigar trimmer', 'winston', 'Must like to talk and smoke', 'London')");
s.execute("insert into Job values ('Theatre goer', 'abraham', 'Should be intelligent and articulate', 'Washington')");
s.execute("insert into Job values ('Cake maker', 'alfred', 'Should have a good sense of smell', 'Wessex')");
s.execute("insert into JobSkill values ('Tree pruner','george','Tree Surgeon')");
s.execute("insert into JobSkill values ('Cigar trimmer', 'winston', 'Cigar Maker')");
s.execute("insert into JobSkill values ('Cigar trimmer', 'winston', 'Critic')");
s.execute("insert into JobSkill values ('Theatre goer', 'abraham', 'Bodyguard')");
s.execute("insert into JobSkill values ('Theatre goer', 'abraham', 'Lawyer')");
s.execute("insert into JobSkill values ('Theatre goer', 'abraham', 'Critic')");
s.execute("insert into JobSkill values ('Cake maker', 'alfred', 'Cook')");
System.out.println("Inserted records");
conn.commit();
System.out.println("Committed transactions");
catch (SQLException ex) {
System.out.println("SQL Exception thrown: "+ex);
ex.printStackTrace();
try { conn.rollback(); } catch (Exception e) {}
catch (ClassNotFoundException ex) {
System.out.println(ex);
ex.printStackTrace();
finally {
try { s.close(); } catch (Exception ex) {}
try { conn.close(); } catch (Exception ex) {}
}JavaEE Tutorial has a chapter on security:
http://java.sun.com/javaee/5/docs/tutorial/doc/
Usually a no-arg InitialContext() is used, rather than InitialContext(props). For more info, see
Glassfish EJB FAQ:
https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html
-cheng -
Re: TransactionRolledbackLocalException using EJBs with Glassfish
Hi,
I originally tried to hijack someone else's abandoned forum thread
TransactionRolledbackLocalException using EJBs with Glassfish
to ask my own question because it is vaguely related (there's something about "Glassfish" with both of us) but thankfully a forum moderator has split my post away.
My question is ...
I am running two applications on a Glassfish domain (ear and war) on Glassfish version 3.1.2.2 and finding this error occurs after running for several hours and requires a Glassfish restart. So far I have been unable to reliably reproduce this issue and a server restart only appears to be a short term fix.
It seems that some sequence of events messes up container managed transactions within the ear. Any information or suggestions on how I could pinpoint the root cause would be greatly appreciated.
[#|2013-04-30T09:55:19.402-0700|WARNING|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=26;_ThreadName=Thread-2;|javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
at com.sun.ejb.containers.BaseContainer.useClientTx(BaseContainer.java:4722)
at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:4601)
at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1914)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:205)
at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:79)
at $Proxy267.query(Unknown Source)
at sun.reflect.GeneratedMethodAccessor308.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie.dispatchToMethod(ReflectiveTie.java:144)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:174)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:528)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:199)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1624)
at com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:126)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:273)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:200)
at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
at com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:227)at $Proxy267.queryWell it seems that there is some (EJB?) method somewhere called 'query' that is blowing up. I would start by putting a debugging breakpoint there and seeing which line is causing an exception.
-
How can I create prefilled and editable PDF's on a Linux server with PHP?
I can create PDF's with editable form fields (extended features?) and serve those to our users and I can pre-fill form fields with data from the database using FDF, but then the PDF throws an error and the end user can't fill out the remaining fields (in Reader, it still works in Pro).
I've tried 2 open source approaches already, but the end result is either a fillable form or a pre-filled form. I can't seem to do both at the same time.
I've looked around adobe.com and frankly there's just so much stuff there that isn't even applicable it's staggering. I am completely lost and resorting to asking a question on a forum. I've searched these forms (and others), but anything related to this problem have no answers. I'm sure there's a way to do it.
If I try to set the PDF to fetch the FDF using a http post/submit (can I get it to do that when it loads?) I would still have to get an id number into the query string or object on a per document basis (some how?) and that means editing the PDF server side which breaks the structure which then throws the error on the client side and I'm right back at the beginning again.
At this point, it looks like it's going to take less time to simply create the form in HTML with a unique CSS file for the print version using a PNG for visual elements instead of a PDF. Not a great way to go for printing, but it would only take a day to set up. The time to create new forms is the issue. I don't want to spend 8 hours creating new HTML forms when I can do a PDF in 2 hours. Is it more efficient to go with an Adobe solution or roll my own HTML version?
All I want to do is help the users save some time by pre-filing part of the form so they can print it.
Any advice?Ok, I hope someone can move this to the Adobe Reader for Android forum, where you will find the experts you need.
-
Create a new directory in server with JSP
Hi,
How can I create a directory in server with JSP.
File dir = new File("a");
dir.mkdir();
does not work. what do I do?
best regards,Hi
Check the following things.
1. What is the path where you are creating the directory.
2. Do you permissions to create file in that directory.
3. do a delete on that filename if that exists just to be sure. isdeleted = filedir.delete(). Check the boolean flag isdeleted too.
Thanx and Regards
Aruneesh -
Unable to create Business System with role Integration Server
hi Experts,
we are unable to create a BS with role of integration server, its throwing error with internal server 500.
please advise. we do not have any issues while creating TS with role of WEBASABAP.
thanks and regards,
Kesava
Edited by: Prateek Raj Srivastava on Jan 23, 2012 12:13 AMHi Kesava,
what is the purpose of creating a business system of type IS? This is automatically done in the post installation by CTC templates. So if the post installation is successfully executed, this should already be there. And if not you should check if the post installation was properly executed and if there where problems analyse why they occured.
The creation of the BS is just one part of the game, so I would highly recommend to execute the hole post configuration via template or follow the help.sap.com and execute it step by step manually in the described order. Otherwise i guess this will not work.
If there where just problems with SLD - please also have a look at SA Note 1117249 - Incomplete Registration of PI components in SLD
best regards,
Markus -
Creating Crystal Reports with Crystal Report Server XI
Hello,
I am new to Crystal Reports, i installed Crystal Reports Server XI R2 on Windows 2003 server with SP2 and was able to launch Inforview application and also Central Management Console Log On.
I can also see some sample reports which are installed during installation.
Now my next task is to create Crystal Reports using Crystal Report Server XI R2. How can we create a crystal report now by only using Crystal Report Server XI R2?
Do we have to install some other application to create Crystal Reports? I donot see any link on my server which i can use to create crystal reports. The only links which i can see are :
Business Objects-->
Crystal Report Server-->
.Net Administration LaunchPad
.Net Infoview
Business View Manager
Central Configuration Manager
Data Source Migration Wizard
Data Source Migration Wizard Help
Import Wizard
Online Developer Library
Publishing Wizard
Registration Wizard
Release Notes
Repository Migration Wizard
Please help
Thanks
VipinTwo ways to create reports:
1) You install the Crystal reports Designer (CRW32.exe).
With your Crystal Report Server, you should also have received a second CD that would have the CR designer.
2) You use the RAS SDK and create reports on the fly using the RAS report creation APIs - .NET or Java. Since you are in the .NET developer forum, I assume you might be interested in the .NET RAS SDK. Here is a list of resources i would recommend:
Links to samples are [here|https://www.sdn.sap.com/irj/scn/wiki?path=/display/bobj/netBusinessObjectsEnterpriseSDKSamples]
[How to use the RAS SDK .NET with In-process RAS Server|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10b840c0-623f-2b10-03b5-9d1913866b32]
[Programing RAS|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050afe0-2fa5-2b10-658d-98f214ba6a4a]
[Choose the Right SDK for the Right Task|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f006a5e6-7e64-2b10-8a84-8b15ca5cacfc]
For more help, search these forums (there are some great posts in here), the [notes database|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true]
[articles|https://www.sdn.sap.com/irj/sdn/businessobjects-articles] and [downloads|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
Ludek -
Cannot Create Data Repository with VM Server (3.1.1) Cluster
Dear All,
I have 3 Servers (one for VM Manager, two for VM Servers) and 1 Storage (Sun Storage 6180 (Fiber Chanel) and map volume as Default Storage Domain ).
I try to create my 2 VM Servers as Cluster on VM Manager but it has problem as below:
Case1. I can create a Server Pool with cluster by select Clustered Server Pool by select physical disk, add 2 servers then create data repository but it got problem: in page Create a Data Repository: Select Physical Disk is shown blank not see a physical disk.
Case 2. when I create server pool by uncheck Clustered Server Pool box (None Cluster) and add 2 vm servers then create data repository, the physical disk is shown but got error message:
"OVMRU_002030E Cannot create OCFS2 file system with local file server: Local FS vmserver1. Its server is not in a cluster
Wed Dec 26 01:27:12 ICT 2012"
Please kindly give advice for this.
Thanks and regards,
Vandy1. So you're trying to create a server pool and a storage repository on a single LUN that is direct attached? Don't your software on the 6180 allow you present multiple LUNS from disk group? Think about it. You create a clustered server pool on a single LUN and then try to use that same LUN for repository.....
2. How are both hosts attached? Are there multiple HBA cards in your 6180? Is so, how many? If you have redundant cards you should be using multipathing for redundancy. -
Failed to create a user with Mac Mini Server, the message "Failed to process the command writesettings" in the module "servermgr_sharing"
I have a Mac Mini with OS X Server 10.8.5 and Server 2.2.1 and have a problem to share the public folder.
When I enter the Server application to indicate that I want to share the public folder on the network and assign user I get the following message appears
And I can not share the folder.
If I go from my i-mac get mac mini server view and access the public folder, but I can not open any of the files there.
That I can do to fix this?
thank you very much -
Create image server operating system with Hyper-V and virtual machines
Friends,
Need to replicate the environment they currently have, but wanted to optimize this operation by creating an image of windows server with Hyper-V and virtual servers already installed, what tool do I use? Can someone guide ???
DreyherI recommend you separate the task of protecting the host from the task of protecting the guest VMs.
By "replicate the environment", do you mean backup the VMs in a recoverable state? or do you intend on migrating the VMs to another environment like another physical location? How much down time can you tolerate if any?
To backup the VMs use a VSS based backup solution. There's plenty out there, including Windows Server backup, Altaro, DPM, Veeam, and many more. This does not require installing agent on any of the VMs, and will not down the VMs during backup. Here's an
example Powershell script to backup all VMs on the local host:
Install-WindowsFeature -Name Windows-Server-Backup
$BackupTarget = "\\server\share"
$WbTarget = New-WBBackupTarget -NetworkPath $BackupTarget
$WBPolicy = New-WBPolicy
Add-WBBackupTarget -Policy $WBPolicy -Target $WbTarget
Add-WBVirtualMachine -Policy $WBPolicy -VirtualMachine (Get-WBVirtualMachine) # Add all VMs on localhost
Start-WBBackup -Policy $WBPolicy -Async
If the intent is VM migration from one location to another, there are plenty of tools to do so with minimal or no down time. Just bing it..
Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx
Maybe you are looking for
-
How do I downgrade to iTunes 11.4?
So, I made the mistake of updating to iOS 8 the other day, and when I went to sync my iPhone today, discovered that iTunes 11.1.3 (Mountain Lion, 10.8.5) won't let me sync my music because I'm running iOS 8. I DO NOT LIKE ITUNES 12. It's a visual n
-
Question pretty much sums it up. Windows Title bar keeps flitting in and out, causing screen to jump. Concurrently, right and bottom window margins resize a bit smaller. No apparent rhyme or reason, but leads to a lot of bad mouse clicks. Unrelated t
-
Can not run AFAR for all assets
We have recently migrated and yet to post first month depreciation. We have changed the depreciation key in one of the depreciation areas due to some requirements. Now if I want to recalculate the planned values for all assets in that asset class/de
-
HI Experts, I have a situation where, we have executed the Stock transfer order from 1100 plant (1100 is a excisable Plant in Haryana) to 1400 plant (1400 is NON excisable plant in Delhi). Now during the transit the material got damaged. Now it is al
-
EHP5: changes to HRESS_C_CATS
Hi, How can I personalize the appearance of the timesheet (hiding columns) and rename the tabs (Att/Absence to Attendance/Absence) in the standard SAP Web Dynpro Components HRESS_C_CATS? Similarly rename the Save button as Submit? Thanks!