[zones-discuss] zlogin -C does not seem to work for me as expected

2011-03-21 Thread Russ Weingartz
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


Re: [zones-discuss] zlogin -C does not seem to work for me as expected

2011-03-21 Thread Enda o'Connor - Sun Microsystems Ireland - Software Engineer

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 zonename say is running in the zone.

To automate this one can include a sysidcfg file in zonepath/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


Re: [zones-discuss] zlogin -C does not seem to work for me as expected

2011-03-21 Thread Stephen Lawrence
Something is now working right if you are getting the maintenance 
prompt.  You can log into the
zone with zlogin -S zonename, 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 zonename say is running in the zone.

To automate this one can include a sysidcfg file in zonepath/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] zlogin -C does not seem to work for me as expected

2011-03-21 Thread Russ Weingartz
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 defunct
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

2011-03-21 Thread Russ Weingartz
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