Running WebSphere inside a zone

For anyone interested, I've been experimenting with setting up a WebSphere instance inside a zone. Progress to date is being documented here:
http://www.big-bubbles.fluff.org/blogs/bubbles/archives/000344.html
There are a few gotchas (clue: they're not in the Sun part of the software stack!).
To Sun: I got a bit tired of writing "global" and "non-global" zone. How about a new term for the latter, one that defines them in terms of what they are rather what they aren't? E.g. "child zones", "subzones"?
Also, many kudos on 10. It makes a nice change to feel this excited about a new Solaris release.
Cheers,
Ade_
/

Just for grins and giggles I took a look at what could be done to get around the SYSDEF problem..... (until SUN fixes it in an upcoming release)
Using CPIO, (but other methods should probably work 2) copy "ksyms" and "kmem" from /dev/ in the global-zone to the "/zone/2/dev" directory for the local-zone in question. ( note: NOT the dev dir inside the local-zone). This gets you half-way there. [I guess these are actually mknod type operations that just come over as-part of the file-copy. ]
The next piece involved creating a "/devices/pseudo" subdir inside the zone, and copying in the "devinfo@0:devinfo* " devices into it.
Sysdef now seems pretty happy. (for the most part, although it complains a bit about swap etc.)
As far as the values it reports for the kernel etc. I defer to the people that know more about this to confirm their validity (in asfar as the ZONE inheriting these values....)
So what about the security implications of something like this? The creating of the "/devices/pseudo" subdir inside the local-zone should be "safe", since the local-root can do that themselves....
The kmem and ksyms copies into the "dev" directory (that sits outside the local-zone's dev") are probably a little more dicey... (read insecure...)
Either way, I guess something like this might get a slightly cleaner websphere install.... and one can (should) just remove the kmem and ksym entries afterwards...
This is just a short-term hack that may help with websphere and other progs. that have a sysdef dependency, until sydef works "stock" out of the box.
my 2 cents,
-- MikeE

Similar Messages

  • Running pppd inside a zone/container

    People,
    I'd like to know if it is possible to call out using pppd from insidea zone?
    I have added the device cua0 to the zone and verified the modem working with
    tip. Both in the global zone and my zone.
    Running "pppd cua0 call myisp" works fine from the global zone, using the
    standard pppd. But from inside a zone, it fails with an error message that the kernel lacks pppd support.
    The goal is of course to have multiple ppp connections running simultaneously, separated from each other.
    I've been hacking around, adding the device /dev/sppp to my zone as well, and it causes pppd to fail with permission problems.
    Realizing that I am just using the trial-and-error method at this point, I hope that you can help me answering the following:
    1) Is it possible at all, in the way described above?
    2) If possible, can you please guide me how to set it up?
    Thank you,
    Magnus

    This is most likely related to limitations about how virtualisation is implemented, but then again other virtualisation technologies also don't allow these kind of constructions luckily. And with Solaris 10 you also have a shared kernel and IP-stack (Sun is working on that) and trying to create interface from within a zone scares the daylight out of me. Also think how the routing needs to be controlled.
    Safe way is to let the global zone handle it. Another way is to have a dedicated device for the network connections and this one is prefered in most cases.

  • How many airport express can I add to my network for the purpose of using the airport express to send audio signal to different rooms in the house? I'm interested I'm running about six different zones.

    How many airport express can I add to my network for the purpose of using the airport express to send audio signal to different rooms in the house? I'm interested I'm running about six different zones.
    What I'm looking to do is to have self powered in ceiling speakers in every room in my house with out having to run wires to every room to carry the audio signal. I would like to use the airport express to do the job of carting the audio signal.
    Here's my set up now I have an airport extreme and one airport express that I use to carry audio to one room.

    FWIW. I have used up to four AirPort Express Base Stations (AX) for streaming sucessfully in pretty much the way you have described. I didn't have a need to try more so I can't attest that more would or would not work.

  • Solaris Volume Manager metadisks inside a zone

    Hi,
    I am concidering depoying zones as part of my companies build standard.
    What I would like to do is mount a disk slice inside the local zone for the purposes of application installation.
    I am already proposing to mirror the internal disks.
    Could I mirror the disk slice in the global zone, then mount the metadevice in side the local zone? or should I import the two disk slices and mirror them inside the zone?
    Any thoughts?
    Thanks
    Peter

    What I would like to do is mount a disk slice inside
    the local zone for the purposes of application
    installation.You can mount them directly:
    add fs
    set dir=mount point
    set special=/dev/md/dsk/dXXX
    set raw=/dev/md/rdsk/dXXX
    set type=ufs

  • How to run tomcat inside eclipse

    hello
    I try to run tomcat inside eclipse with sysdo ... plugin
    info.
    eclipse 3.0
    tomcat 5.0
    J2sdk 6.0
    I become an Exception
    SEVERE: Error initializing endpoint
    java.net.SocketException: Invalid argument: listen failed
         at java.net.PlainSocketImpl.socketListen(Native Method)
         at java.net.PlainSocketImpl.listen(Unknown Source)
         at java.net.ServerSocket.bind(Unknown Source)
         at java.net.ServerSocket.<init>(Unknown Source)
         at java.net.ServerSocket.<init>(Unknown Source)
         at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:259)
         at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)
         at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1429)
         at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
         at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
    22-Jun-2006 11:29:23 org.apache.catalina.startup.Catalina load
    SEVERE: Catalina.start
    LifecycleException:  Protocol handler initialization failed: java.net.SocketException: Invalid argument: listen failed
         at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1431)
         at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
         at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)I run tomcat outside eclipse as Win service it works fine
    what is wrong

    please no body in this world to help me ????

  • Q : How to run debian inside of arch

    Hi, I have a question
    I really love arch, but the project i'm working on requires Debian (stable) meaning : old gcc(3.3.5), xfree86, debian tools, filesystem layout and so on.
    I have a 2 (actually more) partitions one with debian, one with arch. Right now choose on boot one or another.
    I'd like to run debian inside of arch, but not via VmWare or qemu or some other emulator because I need things to compile quick (this IS a big project) and run at native speed (really important)
    Newer kernel in arch is not an issue(or at least shouldn't be) but versions of tools and libraries as well as file locations are critical.
    Any ideas ?

    Hi torindan2,
    You should have a look to debootstrap. That way you would only need a chroot inside your debian tree, without the CPU and memory overhead of a virtual machine on top of your Archlinux.
    Procedure (from what i remember) :
    - go to packages.debian.org
    - choose "debootstrap"
    - download the source code of debootstrap (it is a shell script)
    - call it with the right parameters (AFAIR it required to read the source, but it is quite readable)
    - now debian is installed in the directory of your choice.
    - chroot a shell inside that tree
    - update the fstab for the proc and sys filesystems of the debian tree
    and here you go, Debian inside Arch

  • Use SMA to run commands inside VM created from WAP

    Hello,
    I didnt find any SMA specific forum, so I post here.
    Im new to SMA and have a question that I cant find the answer to.
    We are about to deploy a new Hyper-V/SC/WAP enviroment.
    We use virtual networks and I have problem to connect and execute powershell on the virtual machines.
    I want to do some cutomizations on the VM after they are deployed (Windows Server 2012R2) from a Gallery item in WAP.
    In VM Clouds in Service Management Portal I have activated an Automation with Object = MicrosoftCompute VMRole and Action = Create.
    In my Runbook I check the status on the creation of the VM and when the status is complete I want to execute some powershell on the new server.
    So far so good, but here is my problem, I cant connect to the new VM.
    I have tried:
    $ComputerName = $ResourceObject.ComputerName
    InlineScript {
    Get-Service | Out-File “c:\test.txt”
    } -PSComputerName $ComputerName
    I have tired to add -PSCredential after -PSComputername aswell.
    The Runbook will enter a Suspended state with the following exception:
    Connecting to remote server Fredrik-Test failed with the following error message : WinRM cannot process the request. The following error occured while using Kerberos authentication: Cannot find the computer Fredrik-Test.
    It looks like SMA have no clue how to access the new VM.
    I went to the VMM server and ran the following script:
    $adminpasswd = ConvertTo-SecureString “xxxxx” -AsPlainText -Force
    $adminCredentials = New-Object System.Management.Automation.PSCredential (“administrator”, $adminpasswd)
    $VM = Get-SCVirtualMachine | Where-Object {$_.Name -eq ‘Computer013′}
    Invoke-Command -Computername $VM.ComputerName -ScriptBlock {Get-Service | Out-File “c:\test.txt”} -credential $adminCredentials
    And there I got same error:
    [Computer013] Connecting to remote server Computer013 failed with the following error message : The WinRM client cannot process the request because the server name canno
    t be resolved. For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (Computer013:String) [], PSRemotingTransportException
    + FullyQualifiedErrorId : ComputerNotFound,PSSessionStateBroken
    How do I run commands inside the VM that is created from WAP in a Tenant cloud and use virtual network ?
    Regards
    Fredrik Ljus

    I get same error.
    Because I use Network Virtualization it looks like SMA or VMM cant find the VM.
    But how does it work if you for example make a gallery item that will install SQL.
    In that case the server will be installed from the original image with only the OS and then the SQL server will be installed after.
    How does the VMM/SPF communicate with the VM to install the SQL server? Bacause when installing the SQL server it mounts a VHD with the media and trigger the install localy on the VM.
    So, somehow it must be possible to communicate with the VM without using NAT and go through the Gateway server?

  • Physical memory inside a zone

    Hi,
    I have zones that have both physical and locked limits:
    capped-memory:
            physical: 600M
            [locked: 512M]
    rctl:
            name: zone.max-locked-memory
            value: (priv=privileged,limit=536870912,action=deny)Inside the zone I can display the locked memory with this command:
    [root@zone1] $ prctl -i zone -n zone.max-locked-memory -t privileged zone1
    zone: 2: zone1
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    zone.max-locked-memory
            privileged       512MB      -   deny                                 -Is there a way to find the physical property of the capped-memory from inside the zone?
    Thanks.

    [root@zone1] $ rcapstat -z 1 1
        id zone            nproc    vm   rss   cap    at avgat    pg avgpg
         8 zone1               -    0K    0K  200M    0K    0K    0K    0K

  • Firefox will not load no matter what I try (safe mode whatever). It only loads if I run it inside Comodo sandbox! How do I get it to run the normal way?

    Firefox will not load the normal way (clicking on a link or running it from Run window or even running it in safe mode). It only runs if I dig down to the installed directory, right-click firefox.exe and select "Run inside Comodo Sandbox". I have Comodo Internet Security Suite installed but this does not happen with other programs. Do send in your suggestions. Re-install did not help.

    See:
    How to use multiple iPods, iPads, or iPhones with one computer
    What is the best way to manage multiple...: Apple Support Communities

  • When Running DBMS_STATS inside a Proecure it Fails

    Hello.
    I need to schedule a job to compute stats.
    I decide to create a Procedure GATHERTABLESTATSGTS2 and schedule a job as described below :
    CREATE OR REPLACE PROCEDURE GATHERTABLESTATSGTS2
    as
    BEGIN
    FOR i IN
    select distinct owner,table_name from dba_tables
    where owner in ('GTS2','GTS2_BW')
    and table_name not in ('EXTRACT_ALLOCATIONS_TEU','EXTRACT_TARIFFS_IT')
    LOOP
    BEGIN
    dbms_stats.gather_table_stats
    ( ownname => i.owner      
    , tabname => i.table_name
                   , degree => 4
         , cascade => TRUE);
    EXCEPTION
    WHEN OTHERS THEN
    NULL;
    END;
    END LOOP;
    END GATHERTABLESTATSGTS2;
    VARIABLE jobno number;
    BEGIN
    DBMS_JOB.SUBMIT(:jobno,'GATHERTABLESTATSGTS2;',SYSDATE+2/24, 'SYSDATE+240/1440');
    COMMIT;
    END;
    The Procedure COMPILES WITHOUR ERRORS.
    The job is well scheduled.
    But when I run manually the procedure GATHERTABLESTATSGTS2 I get
    14:17:59 dodbw01.ctr.globedev.ddc> exec sys.GATHERTABLESTATSGTS2;
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.93 >>>>>>>>>> executed in less the 1 Seconde !!!!!!!!!!!
    14:18:06 dodbw01.ctr.globedev.ddc>
    And when I check in DBA_TAB_COL_STATISTICS
    select * from DBA_TAB_COL_STATISTICS
    where owner in ( 'GTS2','GTS2_BW')
    order by owner,table_name;
    I don't have any stats , I mean statsitics have not been updated.
    Does someone alredy face this issue before?

    Did you not try what I suggested in your Re: DBMS_STATS Gather_Table_Stats Fails when Called inside a Procedure in the SQL and PL/SQL forum?

  • How to retrieve ip address of the server running PAM inside its module?

    Hello all,
    I've configured Solaris 8 with a deal of ip aliases on the network interface.
    Also I've a handwritten PAM module to auth users. It have some specific functionality which is needed for me.
    For the moment, this module need to be updated. This update requires a knowledge of IP address the user connecting to.
    Is it possible to determine IP address (alias IP) of the machine inside PAM module the user connecting to?
    Thank you for your answers.
    Mikhail.

    > Can i access the ip address of the DB server through SQL or PL/SQL code?
    No. It is the wrong place to look.
    Reason: a sever can, and often has, multiple IP addresses.
    So when you run SQL or PL/SQL code (or a Java stored proc), that will likely report the 1st IP address of the server - and you could have connected via another IP address of that server.
    The actual socket call to get the hostname returns an array of IP addresses. So which one is the correct one? How do you know whether or not your client session connected to the 1st IP in this array?
    The correct place to look is at the socket handle for that Oracle session on the client. And determine to what IP address that socket is connected to.
    This is not that easy - I do not think that the OCI exposes the socket handle it creates. But you can use kernel calls to get a list of established TCP sessions and to what IP address they're connected to. The netstat command on Windows and Unix/Linux is an example of how this can be done.

  • Running Acrobat inside Virtual IE 9

    Our computers have Internet Explorer 11 and Acrobat XI installed. We
    have a single web application that requires IE 9. So I virtualized IE 9
    using a template, no problem there. While running the web application in
    virtual IE 9 it needs to open pdf files externally in Acrobat (not using
    the plugin inside of IE). The documentation states the following to in
    order to run a native application in a virtual environment:
    To enable a natively installed application to launch in a virtual
    environment: click on the Multiple button next to the Startup File
    field, in the File column, enter the local path of the natively
    installed application.
    So I added @PROGRAMFILESX86@\Adobe\Acrobat 11.0\Acrobat.exe
    But when I run my virtual IE 9 app and click on a link to a pdf the
    download manager briefly flashes but the pdf doesn't open in Acrobat, it
    just disappears into never, never land. If I check Acrobat to Auto Start
    with the virtual app, it does, so I know that is working.
    What else do I need to do so that my virtual IE9 app will open pdf files
    in Acrobat?
    Thanks

    On 03/31/2015 8:16 AM, katiefinn wrote:
    >
    > Have you had any luck with this?
    >
    > I'm having the same problem with virtual IE9 and local IE11. However,
    > it's all downloads/files, not just pdfs. Nothing can be downloaded from
    > IE. The download manager box flashes then disappears, and the file never
    > downloads.
    >
    > I've also noticed that this problem DOES NOT happen when the local IE is
    > 9.
    >
    >
    No, I gave up because I could never get it to work. It only works if the
    virtualized version of IE is the same as the locally installed version.
    I ended up building a virtual windows terminal server with IE9 as
    published app.

  • How to run servlet inside jar file

    Hi
    I have a problem on running a servlet class which resides in a jar file.
    At first, it runs if it is located in the root directory of jar file, but if I put in inside a sub directory, I wasn't able to run it. It seems that the servlet class was not found.
    Here's the contents of my jar file:(eg. application.jar)
    META-INF/
    META-INF/MANIFEST.MF
    Business/
    Business/Business.class
    TransferManager/
    TransferManager/Default.class
    TransferManager/Application.class
    DAL/
    DAL/XMLDocument.class
    DAL/ParameterCollection.class
    DAL/ConnectionReaper.class
    DAL/JDCConnectionPool.class
    DAL/JDCConnection.class
    DAL/JDCConnectionDriver.class
    DAL/DataAccess.class
    Presentation/
    Presentation/IPresentation.class
    Presentation/XslTransform.class
    When I deploy this jar in tomcat4.0 and try to run the Default.class
    in the TransferManager package, the server can not locate the class.
    But if I put it in the root directory of the jar it works.
    Is there any additional setting in tomcat for this? Anyone can give
    me an idea for this?
    Thanks in advance...

    If you want to put the compiled servlet into Business/Business.class, you need for it to be in the Business package. I.e. the first line of code should be "package Business;" It looks like your jar file is in the right place, since Tomcat is finding something in it. So put your servlets in the appropriate packages and they should run. Also, you would have to change the configuration to refer to "Business.Business.class" and so on.

  • How to run applet inside a browser coz my applet runs outside the browser

    I would like to run the Java Applet viewer in-line inside a Browser Window. Presently, when launched through an html page, the applet opens another main window outside the browser. Can't seem to find any applet parameter tags for it. If there is a way to do that please let me know. Thanks in advance - m.a.

    public class mainGIS extends JApplet {
    public void init() {
    GISEditor tempGISEditor = new GISEditor();
    public mainGIS(){
         GISEditor tempGISEditor = new GISEditor();
         tempGISEditor.setTitle("Franchise Viewer");
         tempGISEditor.setSize(1000,600);
    and..
    <Html>
    <Head>
    <Title></Title>
    </Head>
    <Body>
    <APPLET CODE="mainGIS.class" archive="aaa.jar" WIDTH="800" HEIGHT="600">
    </APPLET>
    </Body>
    </Html>
    it opens outside a web browser!(it pops out) I mean, I want to display my application in-line with the browser

  • How to run windows inside mac

    Want to run windows 7 inside the Lion OS 10. of my macbook pro. I understand some products like Parallels are helpful, but I want to know which is the most reliable and easy to use product that would seamlessely work between Mac and Windows. Thank you for your answer and help.

    VMFusion I know has Unity, which will hide Windows itself and only show windows of Windows programs in OS X so it appears as seemless as possible.
    Windows in BootCamp or Virtual Machine?

Maybe you are looking for

  • MBP IR Receiver Not Working

    Howdy, I have a 2009 MacBook Pro running OS X 10.6.8 I am trying to use an Apple Remote with my iTunes. My computer is non responsive to my Apple Remote. I know the Apple Remote works because I have used it on another computer. In my system settings/

  • SAP PRD Instance stopped (yellow color)

    Hello all, Our Sap System stopped yesterday (08.09.09) between 15:00 and 15:30 hours. (The SAP instance changed from green color to yellow color in OS system) The log of this time in the SM21 are: 15:26:34 DP                                       Q0 

  • Can not open script editor in HDS

    Hi everybody, When we open Script Editor, we see the notice: "cannot connect to distributor, script editor will now exit" Can you help me to resovle it? We use ICM 7.1 Thanks you so much!

  • Error while downloading the PDF file on presentation server

    Hi all, i have converted OTF file into PDF one and then downloading it to the presentation server . But it gives the error as follows 'Access to file denied'    . Can anyone tell me what may be the issue ? Below is my code DATA: i_lines TYPE tline OC

  • How to pass a Class as a parameter of a method?

    I have a method like below. Inside this method I need to create a variable that his type is the type of the class I have passed as a method's parameter. For example, if I call the method like this "Meth1(ClassPerson);" insed the method I need to decl