[zones-discuss] installing new os in zone
Ordinarily to remove a zone, it says to: -- Step1: zoneadm -z ps-eng6-zoneX halt Step2: zoneadm -z ps-eng6-zoneX uninstall Step3: zonecfg -z ps-eng6-zoneX delete but I just want to lay down a new OS in my zone. Can I just do it this way (skipping deleting the zone)?: Step1: zoneadm -z ps-eng6-zoneX halt Step2: zoneadm -z ps-eng6-zoneX uninstall Step3: zoneadm -z ps-eng6-zoneX install Step4: zoneadm -z ps-eng6-zoneX boot Thanks, Russ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] installing new os in zone
re: how is this valuable? 'Delete' and 'zonecfg' are very lightweight True. I guess I just wanted to avoid the cfg file steps. (lazy) What I'd really like is to be able to "flash archive" and create a "template" zone. And then pull it out (flash a zone) and have a fresh zone to work with. (Or whatever other method would speed up the install: -- Initializing package <435> of <1059>: percent complete: 41% Russ Jeff Victor wrote On 07/17/06 02:38 PM,: Russ Petruzzelli wrote: Ordinarily to remove a zone, it says to: -- Step1: zoneadm -z ps-eng6-zoneX halt Step2: zoneadm -z ps-eng6-zoneX uninstall Step3: zonecfg -z ps-eng6-zoneX delete but I just want to lay down a new OS in my zone. Can I just do it this way (skipping deleting the zone)?: Step1: zoneadm -z ps-eng6-zoneX halt Step2: zoneadm -z ps-eng6-zoneX uninstall Step3: zoneadm -z ps-eng6-zoneX install Step4: zoneadm -z ps-eng6-zoneX boot Yes, although I suggest checking the status of the zone after the 'uninstall'. It should be 'configured'. Any other status may indicate failure of the uninstallation process. Just curious: how is this valuable? 'Delete' and 'zonecfg' are very lightweight steps. -- Jeff VICTOR Sun Microsystemsjeff.victor @ sun.com OS AmbassadorSr. Technical Specialist Solaris 10 Zones FAQ:http://www.opensolaris.org/os/community/zones/faq -- ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] installing new os in zone
What if I were to: install a zone. And before installing any apps in it, I tar -cf MyCleanZone.tar /export/zone2 When I need to wipe out my test setups, I just untar it. ? Russ Russ Petruzzelli wrote On 07/17/06 02:55 PM,: re: how is this valuable? 'Delete' and 'zonecfg' are very lightweight True. I guess I just wanted to avoid the cfg file steps. (lazy) What I'd really like is to be able to "flash archive" and create a "template" zone. And then pull it out (flash a zone) and have a fresh zone to work with. (Or whatever other method would speed up the install: -- Initializing package <435> of <1059>: percent complete: 41% Russ Jeff Victor wrote On 07/17/06 02:38 PM,: Russ Petruzzelli wrote: Ordinarily to remove a zone, it says to: -- Step1: zoneadm -z ps-eng6-zoneX halt Step2: zoneadm -z ps-eng6-zoneX uninstall Step3: zonecfg -z ps-eng6-zoneX delete but I just want to lay down a new OS in my zone. Can I just do it this way (skipping deleting the zone)?: Step1: zoneadm -z ps-eng6-zoneX halt Step2: zoneadm -z ps-eng6-zoneX uninstall Step3: zoneadm -z ps-eng6-zoneX install Step4: zoneadm -z ps-eng6-zoneX boot Yes, although I suggest checking the status of the zone after the 'uninstall'. It should be 'configured'. Any other status may indicate failure of the uninstallation process. Just curious: how is this valuable? 'Delete' and 'zonecfg' are very lightweight steps. -- Jeff VICTOR Sun Microsystemsjeff.victor @ sun.com OS AmbassadorSr. Technical Specialist Solaris 10 Zones FAQ:http://www.opensolaris.org/os/community/zones/faq -- ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Unable to create a whole-root zone
re: zoneadm -z zone-one install Is zone-one the hostname? In my script I have the hostname not the path/dir name. Russ Durga Deep wrote: Hi Folks I wanted to create a whole-root zone. I am never able to create one :(. Did some one encounter this problem ?. *) mkdir -m 700 /export/zone-one *) The version of the OS used # cat /etc/release Solaris 10 11/06 s10s_u3wos_09 SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 01 November 2006 # zonecfg -z zone-one zone-one: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:zone-one> create -b zonecfg:zone-one> set autoboot=true zonecfg:zone-one> set zonepath=/export/zone-one zonecfg:zone-one> add net zonecfg:zone-one:net> set physical=eri0 zonecfg:zone-one:net> set address=192.18.xx.xxx zonecfg:zone-one:net> end zonecfg:zone-one> verify zonecfg:zone-one> commit zonecfg:zone-one> exit # zoneadm -z zone-one verify # zoneadm -z zone-one install Preparing to install zone . Creating list of files to copy from the global zone. Copying <6080> files to the zone. Initializing zone product registry. Determining zone package initialization order. Preparing to initialize <1071> packages on the zone. Initialized <1071> packages on zone. Zone is initialized. Installation of these packages generated errors: Installation of <1> packages was skipped. Installation of these packages generated warnings: The file contains a log of the zone installation. # pkginfo -i SUNWsczr application SUNWsczr Sun Cluster (non-global zones support) # pkginfo -i SUNWsczr application SUNWsczr Sun Cluster (non-global zones support) # pkginfo -i SUNWdtlog system SUNWdtlog System boot for Desktop Login # pkginfo -i SUNWsmmgr system SUNWsmmgr System Management Agent Startup scripts *** package failed to install with fatal errors: WARNING: attribute verification of failed pathname does not exist NOTE: When the package was installed in the global zone, the file was also installed. After the file was installed in the global zone, the contents and/or attributes of the file changed. The contents of this file must never be changed. As a result, the changes in this file have been duplicated in the non-global zone in the file . ERROR : i.manifest cannot find archived files in /var/sadm/pkg/SUNWsczr/save/pspool/SUNWsczr/archive. pkgadd: ERROR: class action script did not complete successfully Installation of on zone failed. *** package installed with warnings: WARNING: attribute verification of failed pathname does not exist NOTE: When the package was installed in the global zone, the file was also installed. After the file was installed in the global zone, the contents and/or attributes of the file changed. The contents of this file must never be changed. As a result, the changes in this file have been duplicated in the non-global zone in the file . WARNING: attribute verification of failed pathname does not exist NOTE: When the package was installed in the global zone, the file was also installed. After the file was installed in the global zone, the contents and/or attributes of the file changed. The contents of this file must never be changed. As a result, the changes in this file have been duplicated in the non-global zone in the file . WARNING: attribute verification of failed pathname does not exist NOTE: When the package was installed in the global zone, the file was also installed. After the file was installed in the global zone, the contents and/or attributes of the file changed. The contents of this file must never be changed. As a result, the changes in this file have been duplicated in the non-global zone in the file . WARNING: attribute verification of failed pathname does not exist NOTE: When the package was installed in the global zone, the file was also installed. After the file was installed in the global zone, the contents and/or attributes of the file changed. The contents of this file must never be changed. As a result, the changes in this file have been duplicated in the non-global zone in the file . pkgadd: ERROR: source path is corrupt pathname does not exist pkgadd: ERROR: source path is corrupt pathname does not exist pkgadd: ERROR: source path is corrupt pathname does not exist chmod: WARNING: can't access /export/zone-1/root/etc/svc/repository.db chown: /export/zone-1/root/etc/svc/repository.db: No such file or directory ERROR: attribute verification of failed pathname does not exist chmod: WARNING: can't access /export/zone-1/root/etc/svc/repository.db chown: /export/zone-1/root/etc/svc/repository.db: No such file or directory ERROR: attribute verification of failed pathname does not exist ERROR: attrib
[zones-discuss] OS update and zones question
Zones gurus, Got this note from our lab tech... In response to the lab tech's question would we just halt and uninstall the zone, but not "delete" it? Would that allow us to restore it after the installation upgrade? Thanks, Russ It looks like the upgrade failed. I had to upgrade the firmware but because of that I need to get a newer version of the OS installed for the system to work right. The problem seems to be the zones setup. They are causing a package to fail during the install so the install is backed out. The only thing I can suggest is for you to remove the zones you configured to make the system not know about them. I'm not saying delete the zones, but just make the system not know of them so the upgrade can work without the condition that the upgrade work around the zones. Issue Type: Installation Synopsis : request to upgrade Solaris 10 from U2 to U3 Description : have the OS on ps-niagara1 upgraded from U2 to U3. (not a fresh install - we have software installed in zones on the machine). ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Preventing a Local zone hang from having to reboot the global zone
This will re-boot the zone from the global zone, zoneadm -z hostnamezoneX boot Russ Victor Restrepo wrote On 04/11/07 07:40 AM,: >Hello All, > >I had a case where a hung process in a local zone (ie blocked on >biowait), caused the local zone to become unresponsive. Couldn't shut >the zone down, kill the process, etc. The only way to have zone become >responsive was to reboot the global zone. Is there any thing that can >be done to prevent this. ie (not having to reboot the global zone and >only reboot the local zone) > >Regards, > > ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] how to set screen resolution?
Sorry this is not a zones question, but there seem to be plenty of Solaris experts on this alias... I cannot figure out how to set the screen resolution on my Solaris 10 sparc sunblade1000. I have a brand new flat panel monitor that supports many resolutions.Help or a re-direct to a good alias is appreciated. Solaris 10 11/06 s10s_u3wos_10 SPARC Assembled 14 November 2006 1. Using the gui menus (sun java desktop system) gives: "The XServer does not support the XRandR extension. Runtime resolution changes to the display size are not available." 2. kdmconfig is only on x86 Solaris. 3. Xorg: There is no /usr/X11/bin/Xorg executable. 4. m64config: Despite trying many variations of settings the monitor manual said are supported, m64config just would not work. (fail miserably) m64config -res \? m64config -res 1600x1200x60 try m64config -res 1280x1024x60 try m64config -res 1280x1024x76 try Google has not turned up an answer either. :( Thanks, Russ ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] zone info question
In a script I'd like to run prtdiag if I am in a global zone. Is there a zoneadm command to tell me what kind of zone I'm in? It's not jumping out at me in the zoneadm help. eg: if [[ == true ]]; then OR is there a way to get this to run in a zone?... /usr/platform/SUNW,Ultra-80/sbin/prtdiag -v thanks, Russ ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] zonemgr question
I'm trying to use the latest zonemgr...see script below. Must the zonename as specified by "-n" be the hostname? And if so, what is the purpose of specifying the hostname in "-I"? I ran zonemgr as seen below and it failed to complete nicely. It could not find the dns servers. and instructed me to zlogin and fix things afterwards. When I zlogin'd I ran hostname and it responded: "zone4", not "ps-eng8-zone4" So now I've run sys-unconfig and the zone is halted As am I. ? Thanks, Russ zonemgr-1.8.1 -a add -n zone4 -t s -z "/export2/zones" \ -P "iplanet" -R /root \ -D "red.iplanet.com" \ -d "mf-usca19-12.red.iplanet.com,mf-usca15-13.red.iplanet.com" \ -R "/|/bin/bash" -I "192.18.77.206|hme0|24|ps-eng8-zone4" \ -C /etc/ssh/sshd_config -C /etc/resolv.conf \ -C /etc/nsswitch.conf \ -L default,dtrace_proc,dtrace_user ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] solved: zonemgr question
I figured out my problems. - 1. I left off the trailing slash. Thus it didn't get any network config items. - 2. Is this a zonemgr bug? It would not recognize the dns server name in the comma delimited list: When I changed: -d "mf-usca19-12.red.iplanet.com,mf-usca15-13.red.iplanet.com" \ TO -d "mf-usca19-12" \ it worked. Russ Russ Petruzzelli wrote: I'm trying to use the latest zonemgr...see script below. Must the zonename as specified by "-n" be the hostname? And if so, what is the purpose of specifying the hostname in "-I"? I ran zonemgr as seen below and it failed to complete nicely. It could not find the dns servers. and instructed me to zlogin and fix things afterwards. When I zlogin'd I ran hostname and it responded: "zone4", not "ps-eng8-zone4" So now I've run sys-unconfig and the zone is halted As am I. ? Thanks, Russ zonemgr-1.8.1 -a add -n zone4 -t s -z "/export2/zones" \ -P "iplanet" -R /root \ -D "red.iplanet.com" \ -d "mf-usca19-12.red.iplanet.com,mf-usca15-13.red.iplanet.com" \ -R "/|/bin/bash" -I "192.18.77.206|hme0|24|ps-eng8-zone4" \ -C /etc/ssh/sshd_config -C /etc/resolv.conf \ -C /etc/nsswitch.conf \ -L default,dtrace_proc,dtrace_user ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] [brandz-discuss] Creating a Virtualization Community Group
[EMAIL PROTECTED] often discusses virtualization in a general sense. I often see people bring up questions regarding comparing different virtualization implementations. Has it been considered to use this? (Granted the alias name appears to limit the focus to vmware...) Russ Nils Nieuwejaar wrote: On Tue 08/07/07 at 16:18 PM, [EMAIL PROTECTED] wrote: Discussion on the OGB-discuss list regarding creating a LDOM (Logical Domain) Community, has again brought up the question of whether to form a combined virtualization community group. (With XEN, LDOM, and Zones all being working groups in the CG, and individual projects likely falling within the scope of a working group.). To do this we would need buy-in from the existing XEN and Zones community groups, as it would be relatively pointless to do this without these them. I am not aware of any major reasons that someone might be opposed to this. Please feel free to either voice your support or opposition. (Also, I think it would add some weight to the proposal if community group leaders and core contributers are willing to sponsor this change.) I think we went through this a couple of months ago, and all the interested parties were fine with that idea. I don't remember any official word as to why the idea was scuttled. Nils ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] silent zone install?
Is there a way to make a zone installation totally silent? I use zonemgr to install, but at the end it says: Copy completed. Booting zone for the first time. Waiting for first boot tasks to complete. Then I "zlogin -C" into the zone and have to do the system identification; hostname, nameserver, kerberos, NIS, etc. Is there an equivalent to the "sysinfo" file for zones to make it 'jumpstart' silent? Thanks, Russ zonemgr script: $ZONEMGR -a add -n $MYZONENAME -t w -z "$ZONEBASEDIR" \ -P "xxx" -R / \ -D "red.iplanet.com" \ -d "mf-usca19-12" \ -R "/|/bin/bash" \ -s enable \ -I "192.18.77.190|hme0|24|ps-eng8-zone1" \ -C /etc/ssh/sshd_config -C /etc/resolv.conf \ -C /etc/nsswitch.conf END ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] silent zone install?
Hi Huafeng , The zone manager project (and download links for the code)is here: http://opensolaris.org/os/project/zonemgr/ Thanks, Russ Huafeng Lu wrote: Russ Petruzzelli 写道: Is there a way to make a zone installation totally silent? I use zonemgr to install, but at the end it says: Copy completed. Booting zone for the first time. Waiting for first boot tasks to complete. Then I "zlogin -C" into the zone and have to do the system identification; hostname, nameserver, kerberos, NIS, etc. Is there an equivalent to the "sysinfo" file for zones to make it 'jumpstart' silent? I haven't used the "zonemgr" script before (can you give me a link?), so I don't know what it does after zone installation and before zone booting, but to my experience, the point is to populate the /etc/sysidcfg file for the zone before booting it. You can see the attached script that I'm using to see what's put in this file. I believe there are many other simliar scripts floating around on the web. Thanks, Russ zonemgr script: $ZONEMGR -a add -n $MYZONENAME -t w -z "$ZONEBASEDIR" \ -P "xxx" -R / \ -D "red.iplanet.com" \ -d "mf-usca19-12" \ -R "/|/bin/bash" \ -s enable \ -I "192.18.77.190|hme0|24|ps-eng8-zone1" \ -C /etc/ssh/sshd_config -C /etc/resolv.conf \ -C /etc/nsswitch.conf END ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] silent zone install?
Hello Huafeng Lu and zone-mgr script authors, After several attempts, I have identified why the zonemgr script (zonemgr-1.8.1.sh) is not finishing a silent OS installation for me. zonemgr is in fact creating a sysidcfg file. However there is one line that it burps on... name_service=DNS {domain_name=red.iplanet.com name_server=mf-usca19-12} This is what works for me in SWAN... name_service=NIS {domain_name=red.iplanet.com name_server=mf-usca19-12(192.18.56.149)} I'm not sure how to modify the script to get it to use NIS rather than DNS, and to put the name-server's IP on the line. Is there maybe something else that will allow "DNS" to work in the script? For instance, if /etc/hosts had the nameserver's entry hostname/IP? Thanks, Russ Huafeng Lu wrote: > forgot one sentence. see below. > > Huafeng Lu 写道: >> Russ Petruzzelli 写道: >>> Hi Huafeng , >>> >>> The zone manager project (and download links for the code)is here: >>> http://opensolaris.org/os/project/zonemgr/ >> >> Hi Russ, >> >> This script is very long, so I only searched in it. I do find that it >> generates a sysidcfg file and populates it to the zone. I don't know >> what happened to you when you were using it. >> >> Anyway the idea is, after the zone is installed, create a sysidcfg >> file and copy it to the zone: >> cp sysidcfg /export/home/zones//root/etc/sysidcfg > > ... then boot the zone. The zone will get information from this file > instead of asking you to input. > >> >> This file should contain necessary information that you fill when you >> first boot a system after you install it (or after you do >> sys-unconfig). The format of this file is different for shared zones >> and exclusive zones. See sysidcfg(4) for details. >> >> Let me know if you got further questions. >> >>> Thanks, >>> Russ >>> >>> Huafeng Lu wrote: >>>> Russ Petruzzelli 写道: >>>>> Is there a way to make a zone installation totally silent? >>>>> >>>>> I use zonemgr to install, but at the end it says: >>>>> >>>>> >>>>> Copy completed. >>>>> Booting zone for the first time. >>>>> Waiting for first boot tasks to complete. >>>>> >>>>> >>>>> Then I "zlogin -C" into the zone and have to do the system >>>>> identification; hostname, nameserver, kerberos, NIS, etc. >>>>> >>>>> Is there an equivalent to the "sysinfo" file for zones to make it >>>>> 'jumpstart' silent? >>>> I haven't used the "zonemgr" script before (can you give me a >>>> link?), so I don't know what it does after zone installation and >>>> before zone booting, but to my experience, the point is to populate >>>> the /etc/sysidcfg file for the zone before booting it. >>>> >>>> You can see the attached script that I'm using to see what's put in >>>> this file. I believe there are many other simliar scripts floating >>>> around on the web. >>>> >>>> >>>> >>>>> Thanks, >>>>> Russ >>>>> >>>>> zonemgr script: >>>>> >>>>> $ZONEMGR -a add -n $MYZONENAME -t w -z "$ZONEBASEDIR" \ >>>>> -P "xxx" -R / \ >>>>> -D "red.iplanet.com" \ >>>>> -d "mf-usca19-12" \ >>>>> -R "/|/bin/bash" \ >>>>> -s enable \ >>>>> -I "192.18.77.190|hme0|24|ps-eng8-zone1" \ >>>>> -C /etc/ssh/sshd_config -C /etc/resolv.conf \ >>>>> -C /etc/nsswitch.conf >>>>> >>>>> END >>>>> >>>>> >>>>> ___ >>>>> zones-discuss mailing list >>>>> zones-discuss@opensolaris.org >>>> >>>> >>>> >>>> ___ >>>> zones-discuss mailing list >>>> zones-discuss@opensolaris.org >> >> ___ >> zones-discuss mailing list >> zones-discuss@opensolaris.org > ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Memory Usage in Zones
Looking at the website, it doesn't say anywhere what version this is. ie: "Update 4" or some other version string. If I'm a customer who already has update 2 or 3, how am I supposed to know that this download is now update 4? We need to do a lot better on our website. Russ Mike Gerdts wrote: On 9/4/07, LaoTsao(Dr. Tsao) <[EMAIL PROTECTED]> wrote: if U are using nv build then U can cap zone's physical memory with project, s10u4 also has some memory cap feature due out soon http://opensolaris.org/os/community/zones/files/Zones_RM_Improvements.html Update 4 (Solaris 10 8/07) can be downloaded from sun.com/solaris/get today. Mike ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] unable to rsh into zone2
run "inetadm", see if rlogin is enabled... James Carlson wrote: [EMAIL PROTECTED] writes: Does anyone know how to get rsh working on zone2? I can zlogin to both zone1 and zone2 ok. xc12p11-b1# zoneadm list -cv ID NAME STATUS PATH BRANDIP 0 global running/ native shared 6 xc12p11-b1-ce0-zone1 running/export/xc12p11-b1-ce0-zone1 native shared 12 xc12p11-b1-ce0-zone2 running/export/xc12p11-b1-ce0-zone2 native shared xc12p11-b1# rsh -l root xc12p11-b1-ce0-zone2 'date'<- Not working xc12p11-b1-ce0-zone2: Connection refused What's the status of svc:/network/shell:default in that zone? Did you perhaps configure zone2 and forget to go through sysid? ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] unable to rsh into zone2
Hi Lana, I also notice in your command you are attempting rsh by root. It is a big security risk, but you must comment out the CONSOLE line in /etc/default/login to allow root logins via rsh. Russ Russ Petruzzelli wrote: run "inetadm", see if rlogin is enabled... James Carlson wrote: [EMAIL PROTECTED] writes: Does anyone know how to get rsh working on zone2? I can zlogin to both zone1 and zone2 ok. xc12p11-b1# zoneadm list -cv ID NAME STATUS PATH BRANDIP 0 global running/ native shared 6 xc12p11-b1-ce0-zone1 running/export/xc12p11-b1-ce0-zone1 native shared 12 xc12p11-b1-ce0-zone2 running/export/xc12p11-b1-ce0-zone2 native shared xc12p11-b1# rsh -l root xc12p11-b1-ce0-zone2 'date'<- Not working xc12p11-b1-ce0-zone2: Connection refused What's the status of svc:/network/shell:default in that zone? Did you perhaps configure zone2 and forget to go through sysid? ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Has anybody seen this problem?...sparse/whole root identification with pkgcond
I am running pkgcond in a whole-root, nonglobal zone: It seems the exit status of these commands is not consistent: (Is not a "1" false, and a "0" true?) Either way these command don't jive platform: SunOS r54s05-zone-01 5.10 Generic_127112-08 i86pc i386 i86pc /etc/release: Solaris 10 8/07 s10x_u4wos_12b X86 [EMAIL PROTECTED]: /usr/bin/pkgcond -n is_nonglobal_zone [EMAIL PROTECTED]: echo $? 1 << wrong [EMAIL PROTECTED]: /usr/bin/pkgcond -n is_global_zone [EMAIL PROTECTED]: echo $? 0 << wrong [EMAIL PROTECTED]: /usr/bin/pkgcond -n is_sparse_root_nonglobal_zone [EMAIL PROTECTED]: echo $? 1 << correct [EMAIL PROTECTED]: /usr/bin/pkgcond -n is_whole_root_nonglobal_zone [EMAIL PROTECTED]: echo $? 0 << correct If someone can try this on an opensolaris zone. I'm on a non-openSolaris system. Thanks, Russ ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] how to configure port listening in a zone?
I have a glassfish webserver running in my Solaris 10 zone. It will not respond to remote jmxrmi requests on port 8686. If I connect locally with (for instance) jconsole it works fine. I believe it is somehow related to being in a zone. Because snoop -p 8686 from my zone... tells me, "no network interface devices found." [EMAIL PROTECTED]: ifconfig -a lo0:1: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff00 bge0:1: flags=1000843 mtu 1500 index 2 inet 10.5.185.103 netmask fc00 broadcast 10.5.187.255 Is there something I can configure to do this? Thanks, Russ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] how to configure port listening in a zone?
also: [EMAIL PROTECTED]: netstat -a | grep 8686 *.8686 *.*0 0 49152 0 LISTEN Russ Petruzzelli wrote: I have a glassfish webserver running in my Solaris 10 zone. It will not respond to remote jmxrmi requests on port 8686. If I connect locally with (for instance) jconsole it works fine. I believe it is somehow related to being in a zone. Because snoop -p 8686 from my zone... tells me, "no network interface devices found." [EMAIL PROTECTED]: ifconfig -a lo0:1: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff00 bge0:1: flags=1000843 mtu 1500 index 2 inet 10.5.185.103 netmask fc00 broadcast 10.5.187.255 Is there something I can configure to do this? Thanks, Russ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] how to configure port listening in a zone?
I snooped from the global zone and could see a request and response. I can ping. I can ssh into the zone. Just a sec ... I found the problem. It is not a zones issue... In my domain.xml for the webserver, I had "security-enabled" set to "true". It works with "false" auth-realm-name="admin-realm" enabled="true" name="system" port="8686" protocol="rmi_jrmp" security-enabled="false"> Thanks, Russ Steve Lawrence wrote: By default, a zone does not have privilege to snoop: http://blogs.sun.com/JeffV/entry/snoop_zoney_zone Could just be a network config/routing issue. Can you ping 10.5.185.103? Can you access other network services, like ssh? -Steve L. On Tue, Aug 19, 2008 at 03:01:37PM -0700, Russ Petruzzelli wrote: I have a glassfish webserver running in my Solaris 10 zone. It will not respond to remote jmxrmi requests on port 8686. If I connect locally with (for instance) jconsole it works fine. I believe it is somehow related to being in a zone. Because snoop -p 8686 from my zone... tells me, "no network interface devices found." [EMAIL PROTECTED]: ifconfig -a lo0:1: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff00 bge0:1: flags=1000843 mtu 1500 index 2 inet 10.5.185.103 netmask fc00 broadcast 10.5.187.255 Is there something I can configure to do this? Thanks, Russ ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] DVD/CD burning in a Non Global Zone
You may find that 6712352 is a related bug (on sparc). (not having to do with non-global zones per se) Once you burn a CD/DVD you can't mount it properly. workaround: svcadm disable -t volfs then mount dvd manually with mount command. Took me forever to find the cause of the problem. Russ ___ zones-discuss mailing list zones-discuss@opensolaris.org