Re: [zones-discuss] issue with zones and sysconfig

2012-02-10 Thread Will Fiveash
On Fri, Feb 10, 2012 at 09:02:57AM -0700, Virginia Wray wrote: On 02/ 9/12 05:27 PM, Will Fiveash wrote: On Thu, Feb 09, 2012 at 04:27:49PM -0700, Susan Kamm-Worrell wrote: SMF will not recognize a file that doesn't end in .xml even if the file data is correct. zoneadm now enforces that the

Re: [zones-discuss] issue with zones and sysconfig

2012-02-10 Thread Will Fiveash
On Fri, Feb 10, 2012 at 11:21:09AM -0700, Virginia Wray wrote: On 02/10/12 11:23 AM, Will Fiveash wrote: On Fri, Feb 10, 2012 at 09:02:57AM -0700, Virginia Wray wrote: On 02/ 9/12 05:27 PM, Will Fiveash wrote: On Thu, Feb 09, 2012 at 04:27:49PM -0700, Susan Kamm-Worrell wrote: SMF will not

Re: [zones-discuss] issue with zones and sysconfig

2012-02-10 Thread Virginia Wray
That's finewe'll sort it out. Thanks again for filing it. ginnie On 02/10/12 12:29 PM, Will Fiveash wrote: On Fri, Feb 10, 2012 at 11:21:09AM -0700, Virginia Wray wrote: On 02/10/12 11:23 AM, Will Fiveash wrote: On Fri, Feb 10, 2012 at 09:02:57AM -0700, Virginia Wray wrote: On 02/

[zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Will Fiveash
After I was able to configure and boot a zone I used sysconfig to configure the new zone. What I did was first create a system profile .xml file using sysconfig create-profile -o /tmp/zone-profile.xml I then used that as a template in my createzone script where I write that to a temporary file,

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
hi not sure about your sequence of event in general after create one do install with the *xml then run zlogin * *For a shared-IP zone:* #*sysconfig create-profile -o /path/sysconf.xml -g location,identity,naming_services,users* *Use the created profile during zone install, clone, or

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
I ASS U ME that you have see this http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-092-s11-zones-intro-524494.html On 2/9/2012 2:33 PM, Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. wrote: hi not sure about your sequence of event in general after create one do install with the *xml

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Will Fiveash
On Thu, Feb 09, 2012 at 02:33:35PM -0500, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: hi not sure about your sequence of event in general after create one do install with the *xml then run zlogin * *For a shared-IP zone:* #*sysconfig create-profile -o /path/sysconf.xml -g

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Will Fiveash
On Thu, Feb 09, 2012 at 02:43:41PM -0500, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: I ASS U ME that you have see this http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-092-s11-zones-intro-524494.html That is good info, thanks. Of course now I see another problem. In that

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
zoneadm clone [-m copy] [-s zfs_snapshot] [brand-specific options] source_zone On 2/9/2012 3:20 PM, Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. wrote: please check solaris(5) The following solaris brand-specific subcommand options are supported by zoneadm(1M)

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Will Fiveash
On Thu, Feb 09, 2012 at 03:20:38PM -0500, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: please check solaris(5) The following solaris brand-specific subcommand options are supported by zoneadm(1M) http://docs.oracle.com/cd/E23824_01/html/821-1462/zoneadm-1m.html#REFMAN1Mzoneadm-1m.

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Mike Gerdts
On Thu 09 Feb 2012 at 02:00PM, Will Fiveash wrote: On Thu, Feb 09, 2012 at 02:43:41PM -0500, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: I ASS U ME that you have see this http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-092-s11-zones-intro-524494.html That is good

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Virginia Wray
Hi Will -- See below. On 02/ 9/12 12:47 PM, Will Fiveash wrote: On Thu, Feb 09, 2012 at 02:33:35PM -0500, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: hi not sure about your sequence of event in general after create one do install with the *xml then run zlogin * *For a shared-IP zone:*

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Will Fiveash
On Thu, Feb 09, 2012 at 02:28:43PM -0600, Will Fiveash wrote: On Thu, Feb 09, 2012 at 03:20:38PM -0500, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: please check solaris(5) The following solaris brand-specific subcommand options are supported by zoneadm(1M)

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Will Fiveash
On Thu, Feb 09, 2012 at 02:32:33PM -0600, Mike Gerdts wrote: On Thu 09 Feb 2012 at 02:00PM, Will Fiveash wrote: On Thu, Feb 09, 2012 at 02:43:41PM -0500, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: I ASS U ME that you have see this

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Will Fiveash
On Thu, Feb 09, 2012 at 01:27:34PM -0700, Virginia Wray wrote: On 02/ 9/12 12:47 PM, Will Fiveash wrote: # zlogin mit /usr/sbin/sysconfig configure -g system -c /var/tmp/mit.profile.xml svcadm: No such instance svc:/system/svc/restarter:default. The problem is that you booted the zone and

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Virginia Wray
On 02/ 9/12 02:19 PM, Will Fiveash wrote: On Thu, Feb 09, 2012 at 01:27:34PM -0700, Virginia Wray wrote: On 02/ 9/12 12:47 PM, Will Fiveash wrote: # zlogin mit /usr/sbin/sysconfig configure -g system -c /var/tmp/mit.profile.xml svcadm: No such instance svc:/system/svc/restarter:default. The

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Susan Kamm-Worrell
SMF will not recognize a file that doesn't end in .xml even if the file data is correct. zoneadm now enforces that the profile must end in .xml so that if a profile is given it won't be silently ignored by SMF. Susan On 02/ 9/12 02:22 PM, Virginia Wray wrote: On 02/ 9/12 02:19 PM, Will

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Will Fiveash
On Thu, Feb 09, 2012 at 04:27:49PM -0700, Susan Kamm-Worrell wrote: SMF will not recognize a file that doesn't end in .xml even if the file data is correct. zoneadm now enforces that the profile must end in .xml so that if a profile is given it won't be silently ignored by SMF. And yet I can