Re: [zones-discuss] dhcp server in a zone with shared IP
Hi, another update: For further tests I created a new non-global zone with an exclusive IP stack and a virtual nic and the dhcp server works there. I even did not configure the additional privileges like in the other zone, so the zone configuration is : $ zonecfg -z dhcpserver info zonename: dhcpserver zonepath: /zones/dhcpserver brand: native autoboot: true bootargs: pool: limitpriv: scheduling-class: ip-type: exclusive inherit-pkg-dir: dir: /lib inherit-pkg-dir: dir: /platform inherit-pkg-dir: dir: /sbin inherit-pkg-dir: dir: /usr fs: dir: /tools special: /tools raw not specified type: lofs options: [] net: address not specified physical: vnic2 defrouter not specified The only thing I had to change to get the SMF service started was to remove the credentials from the service: method_context method_credential user='root' group='root' privileges='all' / /method_context I do not really know why the dhcp server does not work in the other zone. regards Bernd Bernd Schemmer wrote: And now the dhcp server works in the zone. Update: Linux and Windows Clients do not get an IP address from the dhcp server in the non-global zone; for Solaris I only tested dhcp on a physical machine were the zone is running (and that works with the dhcp server in the non-local zone). The dhcp server works for Windows and Linux Clients if running in the global zone regards Bernd -- Bernd Schemmer, Frankfurt am Main, Germany http://home.arcor.de/bnsmb/index.html M s temprano que tarde el mundo cambiar . Fidel Castro ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Solaris 8/9 branded zones on ZFS root?
Hi all, I have a situation where I need to consolidate a few servers running Solaris 9 and 8. If the application doesn't run natively on Solaris 10 or Nevada, I was thinking of using Solars 9 or 8 branded zones. My intent would be for the global zone to use ZFS boot/root; would I be correct in thinking that this will be OK for the branded zones? That is, they don't care about the underlying file system type? Or am I stuck with using UFS for the root file systems of Solaris 8 and 9 branded zones? (I sure hpoe not!) Many TIA, -- Rich Teer, SCSA, SCNA, SCSECA URLs: http://www.rite-group.com/rich http://www.linkedin.com/in/richteer ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Zones on multiple subnets
On 02/24/09 21:26, Mike Gerdts wrote: On Tue, Feb 24, 2009 at 7:51 PM, Bangalore, Suresh suresh.bangal...@railcorp.nsw.gov.au wrote: Hi Mike The netmask is /24. Thanks Suresh This implies that you have three different subnets and you either have three distinct cables going to the machine or you are using three VLANs. In the global zone you will have 10.10.30.1 in /etc/defaultrouter. In zone1's zone configuration, you will have a network configured like the following (assuming VLAN 10 tagged on on e1000g0): zonecfg:zone1 info net net: address: 10.10.10.123/24 physical: e1000g1 defrouter: 10.10.10.1 In zone2's zone configuration, you will have something like (assuming VLAN 20 tagged on e1000g0): zonecfg:zone1 info net net: address: 10.10.20.123/24 physical: e1000g2 defrouter: 10.10.20.1 This could also work if they are all on a single 'data link' as seen by 'dladm show-link', although I only do that in my play situations. Steffen http://blogs.sun.com/stw/entry/using_zonecfg_defrouter_with_shared specifically [10] in section 5. -Original Message- From: Mike Gerdts [mailto:mger...@gmail.com] Sent: Wednesday, 25 February 2009 12:51 PM To: Bangalore, Suresh Cc: zones-discuss@opensolaris.org Subject: Re: [zones-discuss] Zones on multiple subnets On Tue, Feb 24, 2009 at 7:19 PM, Bangalore, Suresh suresh.bangal...@railcorp.nsw.gov.au wrote: Hi Gurus I need to setup zones as shown below. Zone1: 10.10.10.X with default router 10.10.10.1 Zone2: 10.10.20.X with default router 10.10.20.1 And Global zone 10.10.30.X with default router 10.10.30.1 Is this achievable. As shown above, I need the zones to have a separate default router than the default router for the global zone. I don't have the luxury of using dedicated ports to achieve this. Any suggestions/workarounds are greatly appreciated. What is the netmask? That is, the story is completely different between: 10.10.10.x/16 10.10.20.x/16 10.10.30.x/16 And 10.10.10.x/24 10.10.20.x/24 10.10.30.x/24 If it is the second, then you are dealing with three distinct subnets and life is much easier. If you really only have one subnet, I'm not sure there is a solution. -- Mike Gerdts http://mgerdts.blogspot.com/ This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the email and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Solaris 8/9 branded zones on ZFS root?
Rich Teer wrote: I have a situation where I need to consolidate a few servers running Solaris 9 and 8. If the application doesn't run natively on Solaris 10 or Nevada, I was thinking of using Solars 9 or 8 branded zones. My intent would be for the global zone to use ZFS boot/root; would I be correct in thinking that this will be OK for the branded zones? That's correct. I have some solaris 8 zones running under cluster control, where zonepath is zfs, and they're doing just fine. Nothing special had to be done. -Tim -- Timothy Kennedy SDE Infrastructure Operations Manager Email: timothy.kenn...@sun.com Phone: +1-703-636-0531 / x53151 AIM/Skype: tkSUNW ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Solaris 8/9 branded zones on ZFS root?
On Wed, 25 Feb 2009, Timothy Kennedy wrote: That's correct. I have some solaris 8 zones running under cluster control, where zonepath is zfs, and they're doing just fine. Nothing special had to be done. Excellent! Just the news I was hoping for. Thanks again, -- Rich Teer, SCSA, SCNA, SCSECA URLs: http://www.rite-group.com/rich http://www.linkedin.com/in/richteer ___ zones-discuss mailing list zones-discuss@opensolaris.org