Doubt in zone configuration pls help


 
Thread Tools Search this Thread
Operating Systems Solaris Doubt in zone configuration pls help
# 1  
Old 11-09-2009
Doubt in zone configuration pls help

Hi I am new to solaris
I am running solaris from sun virtual box I am trying to create a zone but it is giving some error...

First i configured my zone

zonename: test
zonepath: /rpool/zones/test
brand: ipkg
autoboot: true
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:
net:
address: 10.0.2.15
physical: e1000g0
defrouter not specified


Now I am trying to install zone but some error is coming

A ZFS file system has been created for this zone.
Publisher: Using opensolaris.org (http://pkg.opensolaris.org/release/).
Image: Preparing at /rpool/zones/test/root.


pkg: image-create: The URI 'http://pkg.opensolaris.org/release/' does not appear to point to a valid pkg server.
Please check the server's address and client's network configuration.
Additional details:

Unable to contact valid package server: http://pkg.opensolaris.org/release/
Encountered the following error(s):
Transport errors encountered when trying to contact depot server. Reported the following errors:
1: Transfer from 'opensolaris.org' timed out: timed out.
2: Transfer from 'opensolaris.org' timed out: timed out.
3: Transfer from 'opensolaris.org' timed out: timed out.
4: Transfer from 'opensolaris.org' timed out: timed out.

ERROR: failed to create image
rm: Unable to remove directory /rpool/zones/test/root: Device busy
zoneadm: zone 'test': '/usr/bin/rm -rf' failed with exit code 2.
zoneadm: test: cleaning up zonepath failed: Empty document

My Doubt is I set the IP address to some 10.0.2.15 it is the same IP my solaris virtual box is using. Is it correct Ip address I set pls see below ipconfig -a command


ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet 10.0.2.15 netmask ffffff00 broadcast 10.0.2.255
ether 8:0:27:b2:4:e4
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
e1000g0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
inet6 fe80::a00:27ff:feb2:4e4/10
ether 8:0:27:b2:4:e4
# 2  
Old 11-09-2009
You cannot have the same IP address in both the global and a non global zone, just like with different hosts. The global zone must be able to connect to the Internet at least at the zone creation time.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

zone configuration

Hi Guys, when you add a file system in a zone during configuration, do you have to add it in the global zones etc/vfstab? Do you have to do any mounting ? Thanks lots guys. (2 Replies)
Discussion started by: cjashu
2 Replies

2. Solaris

Sun cluster 4.0 - zone cluster failover doubt

Hello experts - I am planning to install a Sun cluster 4.0 zone cluster fail-over. few basic doubts. (1) Where should i install the cluster s/w binaries ?. ( global zone or the container zone where i am planning to install the zone fail-over) (2) Or should i perform the installation on... (0 Replies)
Discussion started by: NVA
0 Replies

3. UNIX for Advanced & Expert Users

Zone Configuration in Solaris 10

We have solaris 10 server that has the been re-installed with OS after OS got currupted. The old ZONE contents has been now restored from backup.Now when we try to check for the zones by listing command, I could find only global zone running. Kindly let me know how to install/configure the zone to... (2 Replies)
Discussion started by: hydoss1
2 Replies

4. Solaris

Zone failes to boot due to mount issue, dir exists in zone.

I have two physical servers, with zones that mount local storage. We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point). It failed to mount on every boot because the directory existed in the zone. I... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

5. Solaris

Solaris Zone configuration

So I have a zone, called assist. the server is running, I bound the network adapter to ce3, but it doesn't seem to work. I can't get out to the internet. I can ping the device from the host, but not from my desktop. here is the network configuration from the zone side: # ifconfig -a... (3 Replies)
Discussion started by: Kjons76
3 Replies

6. Solaris

Doubt on non global zone dedicated-cpu usage ??

Hi All, While creating zone we will mention min and max cpu cores, If the non global zone uses only minimum cores at particular time What the other cores will do? Will it shared to global zone? If we do prstat in non global zone is it show only the allocated cpu cores for that zone or it... (0 Replies)
Discussion started by: vijaysachin
0 Replies

7. Solaris

Zone Configuration Doubt

Hi All, I Have Sun SPARC T5220 is a single processor machine with 8 cores. I want to create a zone which should take 3 cores. So how can I Configure those 3 cores to zone? and Once I configured some particular cores to zone and if I want to increase or decrease the cores how can I do it? ... (4 Replies)
Discussion started by: vijaysachin
4 Replies

8. Solaris

Solaris 10 network configuration problem with zone

I am seeking help from the gurus in this forum and hope that I can find answers soon. Anyone who provide the answers will be greatly appreciated. I have a sparc box with Solaris 10 on it. We install Solaris with zone structure. One global zone and two other zone. I installed Oracle DB on global... (6 Replies)
Discussion started by: duke0001
6 Replies

9. Shell Programming and Scripting

Pls help for the doubt

Hi All, I have to queries : 1. Why we always put #!/bin/ksh on the top of any shell script 2. How we can connect to Oracle SQL prompt from UNIX shell and what all parametres need to be set for that. Thanks, Ravi (4 Replies)
Discussion started by: ravi.sadani19
4 Replies
Login or Register to Ask a Question