zone and global zone Ip change


 
Thread Tools Search this Thread
Operating Systems Solaris zone and global zone Ip change
# 1  
Old 03-22-2011
Bug zone and global zone Ip change

Hi
I have a global zone server with 4 difrent zones servers on it .
I need to change all the Ip's for the global zone server and for his 4 zones servers .
the change is a totaly diffrent Ip address on a diffrent range so I think I will need to do some changes on the defaultrouter and maybe some other files .
My questions are :

1.What are the full steps for changing Ip on a global server and on a zone server including which files need to be change .

2. Who I should start the Ip change on the global server or the zones servers ?

3.I think I will need to reboot the zones servers after the change , my question from where should I run the reboot command from the global server ?
what's the syntax ?

4.My last question is , I have another server taht I would like to know how can I tell if its a zone server or a standart physical server ?

Thank you very much
shai
# 2  
Old 03-22-2011
Quote:
Originally Posted by shaife72
1.What are the full steps for changing Ip on a global server and on a zone server including which files need to be change .
That depends. You usually change the /etc/hostname.<interface> file on the global zone and on zones with an exclusive IP stack. For regular zones, you use the zonecfg command. /etc/defaultrouter and /etc/hosts are also usually to be updated. Service/application specific files might also need it too.
Quote:
2. Who I should start the Ip change on the global server or the zones servers ?
The global one only unless you have exclusive IP zones as already stated.
Quote:
3.I think I will need to reboot the zones servers after the change , my question from where should I run the reboot command from the global server ?
what's the syntax ?
You don't need to reboot any global or non global zone. Just change all the IP addresses with the ifconfig command.
Quote:
4.My last question is , I have another server taht I would like to know how can I tell if its a zone server or a standart physical server ?
If zonename returns something different than "global", you are on a non global zone.
# 3  
Old 03-23-2011
Hi Thank you for your answer .
With regards to your answer to Item2 about the order yo wrote "The global one only unless you have exclusive IP zones as already stated." and I don't understand the question since as I mentioned I will need to change both zone and global zone Ip's so why did you write global zone only ? how will the zones be changed if I will change only bthe global zone ?

Thanks
shai
# 4  
Old 03-23-2011
Perhaps did I misunderstood your question as it isn't clearly expressed but my point is non global zones interfaces are configured from the global zone in that case.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies

2. Solaris

Date and time change in global and non global zone

Hi, If I change date and time in global zone, then it will affect in non global zones. During this process what files will get affect in non global zones and which mechanism it's using to change. gloabl zone:Solaris 11.3 X86 TIA (1 Reply)
Discussion started by: Sumanthsv
1 Replies

3. Solaris

Scripting changes to multiple zone configurations in the same Global Zone

So this is Solaris 11.1. I have a Global zone that has several non-global zones running in it. I want to change the capped-memory.physical resources setting in ALL the zone configs of the running zones. if I were to do this manually here's what I would do: zonecfg -z zone1 select... (2 Replies)
Discussion started by: os2mac
2 Replies

4. Solaris

showing 2 different time zones in global zone and nonglobal zone

can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT. System in running with solaris 10 (3 Replies)
Discussion started by: ravijanjanam12
3 Replies

5. Solaris

how to add a default gateway in a zone of different VLAN of global zone

Hi Greetings... I have an issue in connecting the zone from outside the network and it is because of default gateway. I can ping default gateway from inside the zone and not able to ping from global zone due to different VLAN issue. If i add two different gateways and restart network services,... (2 Replies)
Discussion started by: vvpotugunta
2 Replies

6. Solaris

Mounting OpenSolaris Zone FS in Global Zone

Hi, We have had a hard drive failure on one of our sandbox OpenSolaris system. We had 2 solaris zones configured at /tank/zones/teamcity and /tank/zones/jira for respective products. The zpool (tank) was mirrored (2 drives). I'd like to mount the non-faulty drive in the global zone and... (4 Replies)
Discussion started by: sophie.cowell
4 Replies

7. Solaris

[b]How to mount a folder from global zone to non global zone??

Hi All There is one folder in global zone I just want to share the same folder innon global zone. How can i do it? pls send me script for this. (2 Replies)
Discussion started by: vijaysachin
2 Replies

8. Solaris

Not able to ping global zone from local zone

Hi Gurus I am not able to ping the local zone from global zone when i am trying to ping i am getting below ICMP Host Unreachable from gateway zone ( 192.268.35.210) for icmp from zone ( 192.168.35.210) to sun1 ( 192.168.35.210) However i can ping local zone from global please... (12 Replies)
Discussion started by: kumarmani
12 Replies

9. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies
Login or Register to Ask a Question