zone and global zone Ip change


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Solaris zone and global zone Ip change
# 1  
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  
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  
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  
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 for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #273
Difficulty: Easy
In December 1939, Turing solved the essential part of the naval indicator system, which was easier and less complex than the indicator systems used by the other services.
True or False?

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

Global Zone getting crontab info from zone

Hi, First post. I have a script that I am having a little trouble with and I hope someone can help. I will post the code for your input, but I want to read the lines of a file and use this as input to a command in a while loop... #!/bin/sh # # ### Variables MSG=/tmp/tmptest.txt... (7 Replies)
Discussion started by: dakelly
7 Replies

4. 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

5. 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

6. 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

7. Solaris

Covert Global zone to local zone

Dears, I would like to convert solaris 10 x86 and solaris 10 sparc (Global Zones) physical servers into Local zones. i found a document which seems to be helpful but i'm stuck @ the 1st step. to test this i want to do it 1st on x86 system running under vmware ESXi and if it succeeds i will... (1 Reply)
Discussion started by: mduweik
1 Replies

8. 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

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