Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547
Rep:
Sun Java System Application server in a zone
Hi.
I'm using SJSAS 9.1 installed in /opt/SUNWappserver, in Solaris Express Developer Edition 09/07. The application server was included in the system, and I use instead of the old /usr/appserver.
After booting a new sparse zone, whose purpose is running the application server, I realized that /opt/SUNWappserver was missing in the non global zone:
Quote:
# ls /opt
SUNWjavadb SUNWmlib SUNWspro csw staroffice8
The questions are:
- Why isn't SUNWappserver created in the non global zone, while, for example, SUNWspro and SUNWjavadb are?
- What's the best way to install it in the non global zone? Maybe with an inherited-pkg-dir and then creating the domain in the zone?
Thanks,
Enrico.
Last edited by crisostomo_enrico; 11-08-2007 at 09:43 AM.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
I haven't a Developer Edition to check it but I suspect this /opt/SUNWappserver directory doesn't belong to a package so isn't propagated to the zones.
You should be able to install it on the non global zone as /opt is read-write.
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547
Original Poster
Rep:
Thanks jlliagre.
Quote:
You should be able to install it on the non global zone as /opt is read-write.
It's true indeed. But if I wanted to use the one which is installed in the global zone, in order to propagate its upgrades, wouldn't it be viable to inherit /opt (of the global zone) in a read only directory in the local zone and run it from there? Do you see any problem with this approach? I tried to google 5 seconds for it and found this: http://developers.sun.com/appserver/...szones/#global
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by crisostomo_enrico
Thanks jlliagre.
It's true indeed. But if I wanted to use the one which is installed in the global zone, in order to propagate its upgrades, wouldn't it be viable to inherit /opt (of the global zone) in a read only directory in the local zone and run it from there? Do you see any problem with this approach?
Yes, /opt should be read-write by design, and you are missing /var/opt and /etc/opt in your approach.
Inheriting a package is different than sharing a directory.
This page is discussing about packaged installations while I was understanding yours was file based. I now think they were real packages, but with propagation disabled as described in the linked page.
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547
Original Poster
Rep:
Thanks jlliagre.
Quote:
Yes, /opt should be read-write by design, and you are missing /var/opt and /etc/opt in your approach.
Inheriting a package is different than sharing a directory.
Yes, I missed that.
Quote:
This page is discussing about packaged installations while I was understanding yours was file based. I now think they were real packages, but with propagation disabled as described in the linked page.
Well, in prodreg I couldn't find any SJSAS installed in /opt (well, neither found I a SJSAS v. 9): it only appears the one installed in /usr/appserver. I think I'm missing something...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.