[zones-discuss] unable to rsh into zone2
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 xc12p11-b1# rsh -l root xc12p11-b1-ce0-zone1 'date' Wednesday, September 26, 2007 10:04:25 AM PDT xc12p11-b1# ping xc12p11-b1-ce0-zone1 xc12p11-b1-ce0-zone1 is alive xc12p11-b1# ping xc12p11-b1-ce0-zone2 xc12p11-b1-ce0-zone2 is alive xc12p11-b1# zlogin xc12p11-b1-ce0-zone1 [Connected to zone 'xc12p11-b1-ce0-zone1' pts/10] Last login: Wed Sep 26 10:08:05 from xc12p11-b1 Sun Microsystems Inc. SunOS 5.10 Generic January 2005 # hostname xc12p11-b1-ce0-zone1 # date Wed Sep 26 10:17:03 PDT 2007 # exit [Connection to zone 'xc12p11-b1-ce0-zone1' pts/10 closed] xc12p11-b1# zlogin xc12p11-b1-ce0-zone2 [Connected to zone 'xc12p11-b1-ce0-zone2' pts/10] Last login: Wed Sep 26 10:03:08 on pts/10 Sun Microsystems Inc. SunOS 5.10 Generic January 2005 # hostname xc12p11-b1-ce0-zone2 # date Wed Sep 26 10:17:14 PDT 2007 # exit [Connection to zone 'xc12p11-b1-ce0-zone2' pts/10 closed] Please reply directly to me as I am not on this alias. Thanks, Lana ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] unable to rsh into zone2
It is enabled but uninitialized. 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
Re: [zones-discuss] unable to rsh into zone2
Anyone know how to start the restarter? xc12p11-b1-ce0-zone2# svcs -x svc:/system/sysidtool:system (sysidtool) State: offline since Wed Sep 26 14:40:18 2007 Reason: Start method is running. See: http://sun.com/msg/SMF-8000-C4 See: sysidtool(1M) See: /var/svc/log/system-sysidtool:system.log Impact: 18 dependent services are not running. (Use -v for list.) svc:/network/rpc/gss:default (Generic Security Service) State: uninitialized since Wed Sep 26 14:39:45 2007 Reason: Restarter svc:/network/inetd:default is not running. See: http://sun.com/msg/SMF-8000-5H See: gssd(1M) Impact: 14 dependent services are not running. (Use -v for list.) [...] svc:/network/rpc/rstat:default (kernel statistics server) State: uninitialized since Wed Sep 26 14:39:47 2007 Reason: Restarter svc:/network/inetd:default is not running. See: http://sun.com/msg/SMF-8000-5H See: rpc.rstatd(1M) See: rstatd(1M) Impact: 1 dependent service is not running. (Use -v for list.) xc12p11-b1-ce0-zone2# svcs -l svc:/system/sysidtool:system fmri svc:/system/sysidtool:system name sysidtool enabled true stateoffline next_state online state_time Wed Sep 26 14:40:18 2007 logfile /var/svc/log/system-sysidtool:system.log restartersvc:/system/svc/restarter:default dependency require_all/none svc:/milestone/single-user:default (online) dependency require_all/none svc:/system/filesystem/local:default (online) dependency require_all/none svc:/system/sysidtool:net (online) dependency optional_all/none svc:/network/rpc/bind:default (online) dependency require_all/none svc:/system/filesystem/minimal:default (online) dependency require_all/none svc:/system/identity:node (online) svc:/system/identity:domain (online) xc12p11-b1-ce0-zone2# svcs -l svc:/network/rpc/gss:default fmri svc:/network/rpc/gss:default name Generic Security Service enabled true stateuninitialized next_state none state_time Wed Sep 26 14:39:45 2007 restartersvc:/network/inetd:default dependency require_all/restart svc:/network/rpc/bind (online) dependency optional_all/none svc:/network/rpc/keyserv (disabled) James Carlson wrote: [EMAIL PROTECTED] writes: It is enabled but uninitialized. Aha. That almost certainly means that you need to log into the console of that zone and answer the questions that sysidtool is asking. You can look at svcs -x to find out more about the state of the zone services. ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] simple way to limit resources
Hello, Following a recent successfull deployment of 8 default sparse zones using zonemgr. I would like to add some simple resource caps to prevent one app stealing all the resources (as actually happened - on a T2k). What would be the next most logical step? TIA Tony This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Re: Re: guidance for beginner
Hello, Created a zone - seemed to go well! Just a few error mesages. Not sure if these errors will cause problems. ./zonemgr -a add -n helium -z /zones -P abc123 -I 192.168.10.30|ipge0|24|helium Checking to see if the zone IP address (192.168.10.30) is already in use...IP is available. Preparing to install zone helium. Creating list of files to copy from the global zone. Copying 11624 files to the zone. Initializing zone product registry. Determining zone package initialization order. Preparing to initialize 1040 packages on the zone. Initialized 1040 packages on zone. Zone helium is initialized. Installation of these packages generated warnings: SMCgettxt SMCzlib SMCncurs SMClxml2 SMCcvs SMCgtk SMCglib SMCgcc SMClxslt SMCliconv SMCsasl The file /zones/helium/root/var/sadm/system/logs/install_log contains a log of the zone installation snip *** package SUNWexplo was not installed: The package SUNWexplo is registered to be installed in the global zone only. The package may have been installed in the global zone using the pkgadd '-G' option, or the package may contain a request script, or the package may directly set the package attribute SUNW_PKG_THISZONE=true in the pkginfo file. snip pkgadd: ERROR: unable to create package object /zones/helium/root/usr/local/bin. unable to fix attributes snip Is a patch level of recommended patch set from 12 months ago, likely to be OK? (Sol 10 on T2000) TIA This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Re: guidance for beginner
Thanks - had a look round the docs - quite a lot of stuff on resource management - but i get the general idea. zonemgr -a add -n m1 -z \/zones\ -P \abc123\ \\ -I \192.168.0.10|hme0|24|myzonehost\ I want to do this for 4 zones per box - dont think I need to deal with resource mangement plenty available. Intend to use sysidcfg for config. I am not clear on what the non-root zones will inherit - there is already a single application installed on each box (in a separete slice) - on this occasion I dont want this included in the non-root zones. I think that by default (ie above) only Solaris will be copied over (?). How does the size of the non-root zone's slices get specified BTW. I only need 5 GB in total for each user - (oh dear that sounds a bit like resource management ;-) TIA Tony This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] guidance for beginner
Hello, I have to set up 2 X T2000 one day next week for 9 users. Ideally there should be 8 sun boxes running solaris 9 or 10, so that for 2-3 weeks the users can install applications as root and klunk about gaining some hands on. These users already have a home dir. Could I have some high level guidance on how to proceed? I have printed the 14 page man page for zonemgr 1.8. which looks like it is going to be the solution. But in general what should I shoot for? I can avoid giving root access to the users with sudo. But does that mean giving them zones will be easier or safer? Any guidance greatly appreciated! (should mention I have lots of experience with sol9 and 8 but none with sol10... TIA Tony This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org