Re: [zones-discuss] zlogin -C does not seem to work for me as expected
Thanks for the idea Steve but when i try the svcs command it tells me svcs does not exist. and if i try "man svcs" it can't find a thing. perhaps my system is too out of date (it's inherited). -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] zlogin -C does not seem to work for me as expected
thanks Enda for the quick reply. the zoneadm list -cv shows the zone is running the ptree command shows the following (means nothing to me, sorry) 3178 zsched 3187 init 3216 /etc/sulogin - 3217 3211 /usr/lib/crypto/kcfd to be quite honest i'm not a sys admin type guy - i'm a qa guy tasked with trying to create a zone, install my test application, and see if it runs. using input from various web sources i've managed those steps except that while my application runs, the only i.p. it's accessible on is the same as the global_zone vs. the i.p. assigned during zone creation. that is when i found out about the zlogin step which i'm trying now to load via the sysidcfg file method i did create a sysidcfg file (in the zonename/root/etc) as specified by you, with inputs from my is guy, but we did not know what specifically to do with the terminal and system_local inputs and also left the {}brackets in place. maybe incorrectly? /zonehome# cat sysidcfg name_service=NIS { domain_name=MYDOMAIN } system_locale=C terminal=vt100 timeserver=MYTIMESERVER timezone=GB-Eire network_interface=hmeo { hostname=MYHOSTNAME ip_address=MYHOSTIP 10.x.x.x protocol_ipv6=no default_route=MYHOSTIP 10.x.x.x } security_policy=none display=workaround:Unknown pointer=workaround:Unknown monitor=workaround:Unknown root_password=MYROOTPASS nfs4_domain=MYDOMAIN anyway - so far i'm not seeing that as working yet but will keep trying. last bit of info - i'm giving ownership of the zone to a user/group to keep them apart from other areas of the system. from my reading seems like the right thing to do. thanks, rosco -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] zlogin -C does not seem to work for me as expected
Something is now working right if you are getting the maintenance prompt. You can log into the zone with "zlogin -S ", and then run "svcs -xv" to see what service has issues. -Steve On 03/21/11 09:43 AM, Enda o'Connor - Sun Microsystems Ireland - Software Engineer wrote: On 21/03/2011 16:37, Russ Weingartz wrote: Hi, i'm new to this, and working on an older system (s10_06) but am trying to complete the final configuration steps to adding a zone and any help would be appreciated from what i find i need to finish the configuration after the create/install/boot procedure (those steps seem to have gone fine) using zlogin commands. when, as root user, i do zlogin -C i am told i'm connected to the console, and am presented with a cursor. what next? from what i have seen i should be faced with a barrage of questions allowing me to complete my steps. if i wait a while and press return key, i am told i've enered system maintenance mode at /dev/console and again a cursor presents itself. so how do i get the questions to show up? thanks for any assistance. rosco Hi what does zoneadm lsit -cv say about zone state what does ptree -z say is running in the zone. To automate this one can include a sysidcfg file in /root/etc seem man sysidcfg to get an idea of what it might look like or an example: domain-name and ip adresses changed :-) root@kilcolgan:/export# cat sysidcfg name_service=NIS { domain_name=foo.com } system_locale=C terminal=vt100 timeserver=patchmenow timezone=GB-Eire network_interface=PRIMARY { hostname=whitecliff ip_address=100.100.100.100 protocol_ipv6=no default_route=100.100.100.1 } security_policy=none display=workaround:Unknown pointer=workaround:Unknown monitor=workaround:Unknown root_password=blahblah nfs4_domain=sun.com root@kilcolgan:/export# Enda ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] question about nfs_global_client_only /etc/system flag
Paul Fronberg wrote: > What does nfs_global_client_only do? You don't want to use it. ;-} It was a hack that I added some years ago to allow non-global zones to 'borrow' the global zone's credentials when acting as an NFS client. It's intended to work *only* in a jumpstart environment, and nowhere else. If you use it in a running system, you're quite on your own. > We've had to set this flag to get a kernel module (issuing a VOP_GETATTR) to > work > properly when accessing an NFS mounted partition in a non-global zone. > The kernel modure appears to be running in the global zone and is issuing a > cross-zone > request to an NFS mount in a non-global zone. It sounds to me like your kernel module may need to be rewritten to understand zones. I don't think I can provide help with that, but perhaps Oracle can. > I haven't been able to find much documentation about this. See section 5.2 of this document: http://arc.opensolaris.org/caselog/PSARC/2005/474/inception.materials/scratchzone-design.pdf It intentionally has no system documentation, because it's intended for internal use and thus may change behavior or disappear without warning -- even in a patch. Only things that are actually intended for use by users, administrators, or third party developers are included in the system documentation. The paperwork required to use that sort of interface within Sun: http://arc.opensolaris.org/caselog/PSARC/2005/474/final.materials/contract-01.txt -- James Carlson 42.703N 71.076W ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] zlogin -C does not seem to work for me as expected
On 21/03/2011 16:37, Russ Weingartz wrote: Hi, i'm new to this, and working on an older system (s10_06) but am trying to complete the final configuration steps to adding a zone and any help would be appreciated from what i find i need to finish the configuration after the create/install/boot procedure (those steps seem to have gone fine) using zlogin commands. when, as root user, i do zlogin -C i am told i'm connected to the console, and am presented with a cursor. what next? from what i have seen i should be faced with a barrage of questions allowing me to complete my steps. if i wait a while and press return key, i am told i've enered system maintenance mode at /dev/console and again a cursor presents itself. so how do i get the questions to show up? thanks for any assistance. rosco Hi what does zoneadm lsit -cv say about zone state what does ptree -z say is running in the zone. To automate this one can include a sysidcfg file in /root/etc seem man sysidcfg to get an idea of what it might look like or an example: domain-name and ip adresses changed :-) root@kilcolgan:/export# cat sysidcfg name_service=NIS { domain_name=foo.com } system_locale=C terminal=vt100 timeserver=patchmenow timezone=GB-Eire network_interface=PRIMARY { hostname=whitecliff ip_address=100.100.100.100 protocol_ipv6=no default_route=100.100.100.1 } security_policy=none display=workaround:Unknown pointer=workaround:Unknown monitor=workaround:Unknown root_password=blahblah nfs4_domain=sun.com root@kilcolgan:/export# Enda ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] zlogin -C does not seem to work for me as expected
Hi, i'm new to this, and working on an older system (s10_06) but am trying to complete the final configuration steps to adding a zone and any help would be appreciated from what i find i need to finish the configuration after the create/install/boot procedure (those steps seem to have gone fine) using zlogin commands. when, as root user, i do zlogin -C i am told i'm connected to the console, and am presented with a cursor. what next? from what i have seen i should be faced with a barrage of questions allowing me to complete my steps. if i wait a while and press return key, i am told i've enered system maintenance mode at /dev/console and again a cursor presents itself. so how do i get the questions to show up? thanks for any assistance. rosco -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] question about nfs_global_client_only /etc/system flag
What does nfs_global_client_only do? We've had to set this flag to get a kernel module (issuing a VOP_GETATTR) to work properly when accessing an NFS mounted partition in a non-global zone. The kernel modure appears to be running in the global zone and is issuing a cross-zone request to an NFS mount in a non-global zone. I haven't been able to find much documentation about this. -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org