I am a new UNIX SA and am in need of help writing a script. We are getting into using ZONES and LDOMS and i wanted to script the process of creating a Solaris ZONE. I have all the commands and they work on the command line but i am sick doing each command over and over. We are turning out quite a few zones and would love to script it. The problem I am running into is that the zones need to be created on each of the Global Zones, and in some of the steps i need to scp the information to the other Global Zones, but when i script it, how do i change the scp command to go to the Global that i am not on? In my code below it works great on the first Global Zone (svanyc702), but when i run it on the other Global Zone (svanyc703) the scp command in step 2 isn't needed, since there are only svanyc702 and svanyc703 in the cluster. This is not Production; in our Production environment we have 3 Global Zone hosts, so my step 2 is even more complicated. How do I get around step two when I don't need it? This also applies in step 11... Any help would be great, thanks in advance.
This is what i have so far:
Last edited by DukeNuke2; 12-30-2008 at 10:08 AM..
Reason: added CODE tags for better reading
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)
I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially
Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Dear all,
recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes.
I did the following:
host1:
$ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed
$ zpool export zone1
host2:
$ zpool... (2 Replies)
We are currently using the famous script H2N to create our DNS zone files from a host file. However, we are moving to IPV6 soon and this script doesnt support IPV6. Is there another script/solution to creating DNS zones via a host file input? Is there another solution or way to do things that I may... (0 Replies)
We are currently using the famous script H2N to create our DNS zone files from a host file. However, we are moving to IPV6 soon and this script doesnt support IPV6. Is there another script/solution to creating DNS zones via a host file input? (0 Replies)
Hi,
I am new to zone creations in solaris 10. When I try to create a zone with "set ip-type=exclusive" it gives the usage.
OS
==
Solaris 10 11/06 s10s_u3wos_10 SPARC
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license... (17 Replies)
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)