How I can duplicate a zone

I need to find a way to duplicate zones. For example, I create a zone, harden it and make some other changes. After that, I want to duplicate this zone with different zone name and IP addresss. How I can do that?

I had tried the following to duplicate a zone and it looks like it is working well.
1. Halt the zone that I want to duplicate
#zoneadm -z bzone halt
# zoneadm list -cvi
ID NAME STATUS PATH
0 global running /
8 azone running /export/home/azone
- bzone installed /export/home/bzone
2. Copy the binary
# mkdir -p /export/home/czone
# chmod 700 /export/home/czone
# cd /export/home/bzone
# tar cvf - ./* |( cd ../czone; tar xvf -)
3. Copy and modify the xml files
# cp /etc/zones/bzone.xml /etc/zones/czone.xml
4. vi the /etc/zones/czone.xml and change all value of bzone to czone. A new IP address is needed too.
# cat czone.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE zone PUBLIC "-//Sun Microsystems Inc//DTD Zones//EN" "file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<!--
DO NOT EDIT THIS FILE. Use zonecfg(1M) instead.
-->
<zone name="czone" zonepath="/export/home/czone" autoboot="true">
<inherited-pkg-dir directory="/lib"/>
<inherited-pkg-dir directory="/platform"/>
<inherited-pkg-dir directory="/sbin"/>
<inherited-pkg-dir directory="/usr"/>
<network address="135.91.72.196" physical="hme0"/>
</zone>
4. Edit /etc/zones/index, add the following line at the end o f the file:
czone:installed:/export/home/czone
# cat /etc/zones/index
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# ident "@(#)zones-index 1.2 04/04/01 SMI"
# DO NOT EDIT: this file is automatically generated by zoneadm(1M)
# and zonecfg(1M). Any manual changes will be lost.
global:installed:/
azone:installed:/export/home/azone
bzone:installed:/export/home/bzone
czone:installed:/export/home/czone
5. Boot the c zone
# zoneadm -z czone boot
# zoneadm list -cvi
ID NAME STATUS PATH
0 global running /
8 azone running /export/home/azone
10 czone running /export/home/czone
- bzone installed /export/home/bzone
6. Log into czone and change the node name with sys-unconfig.
# zlogin -C czone
[Connected to zone 'czone' console]
bzone console login: root
Password:
# sys-unconfig
WARNING
This program will unconfigure your system. It will cause it
to revert to a "blank" system - it will not have a name or know
about other systems or networks.
This program will also halt the system.
Do you want to continue (y/n) ? y
svc.startd: The system is coming down. Please wait.
svc.startd: 56 system services are now being stopped.
Mar 14 14:10:26 bzone rpcbind: rpcbind terminating on signal.
Mar 14 14:10:27 bzone syslogd: going down on signal 15
svc.startd: The system is down.
[NOTICE: Zone halted]
~.
[Connection to zone 'czone' console closed]
7. Boot the czone
# zoneadm -z czone boot
8. Login to czone and enter the system information
# zlogin -C czone
9. After the system reboot, login again and you will see everything is fine:
#zlogin -C czone
[Connected to zone 'czone' console]
czone console login: root
Password:
Mar 14 14:26:43 czone login: ROOT LOGIN /dev/console
Last login: Mon Mar 14 14:07:52 on console
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
# zonename
czone

Similar Messages

  • Hi, How I can duplicate website? I have not any possibility to do it on the right button of mouse. I used to have it, but now I can not find it. can you help me please. Kind regards kate ( email: ukaska@interia.pl)

    Hi, How I can duplicate website? I have not any possibility to do it on the right button of mouse. I used to have it, but now I can not find it. can you help me please. Kind regards kate ( email: [email protected])

    What do you mean with duplicate?
    Where do you want to duplicate a website?
    Do you want to open the same site in more than one tab?<br />
    Do you want to create multiple bookmarks to the site?

  • I have amny duplicate contact numbers under various names , coz when i syncronised my i phone with facebook this happened , now i want to identify them and delete  them kindly help how i can save my time

    i was using blackberry earlier and when i syncronized it with facebook and gmail it added many contacts to my phonebook leading to duplication , now i have got all thoes contacts transfered to my i phone and even downloaded appliciation to delete duplicates in i phone though it is paid application but of no use as it has not recognised the duplicate contact numbers in phonebook but it recognise only exact duplicates kindly help me how i can delete duplicate contact numbers with diffrent names

    Just go ahead and go to settings>Facebook> Contacts OFF and do the same with Gmail. THe contacts related to those acct will dissapear. Then when you sync again with Gmail be carefull BCS IT SAYS IF YOU WANT TO JUST ADD THE CONTACTS OR MERGE THEM!!!!

  • How do I duplicate a photo in iPhone 5 so I can edit the copy but keep original?

    How do I duplicate a photo in iPhone 5 so I can edit the copy but keep original?
    I see where it lets me click "Copy" but where in my library do I paste the copy?
    Thanks!

    This is rather interesting...
    I could sweat that in iOS 6. When you click Save it gave you the option to keep a copy of original or just save the new picture in replace of the old.
    Now what it does, it saves the "edit" in the file. But when you go to make another change, you can see the original picture still.
    At least I did when I cropped it.
    KOT

  • With the new update, I can't figure out how to merge duplicate "Faces" files together, so I end up with one location per face.

    With the newest update, I can't figure out how to merge duplicate files in "Faces" (iPhoto).  I have more than one file going for a face, and use to be able to click and drag them into merging.  Can't seem to do it now.  Can anyone please help?  Thanks

    Are you talking about iPhoto or Photos? If Photos, do you mean that Photos has several files for the same person but they are labeled differently and you are trying to merge them as one? If so, then you have to rename one of the files to match the other one with the correct name.  If this is not what you mean then could you explain more clearly what you mean. To give an example if I click on Faces and Photos shows me all named faces in the top and on the bottom there are suggested faces that can be dragged onto a face in the top level to merge.  If you try to merge two face groups in the top level that are the same person but for some reason the faces are labeled differently you have to label them with the name you want to use and then they will automatically merge.

  • How do I duplicate an image on the main screen so that I can edit it and compare the result with the original?

    In Elements 12 How do I duplicate an image on the main screen (as well as the photo bin) so that i can compare any editing with the original?

    In full Editor, go to Edit>Preferences>General and check "Allow Floating Documents in Full Edit Mode"
    Open the image so that you see it in the project bin
    Right click the image thumbnail in the project bin, and duplicate. It will come in as xxxcopy
    On the Arrange icon at the top, select 2-up. You should see the original and the duplicate in the work area

  • How to remove duplicate items ?

    ok so ive moved my iTunes library from the NAS drive I bought (after finding out that wouldnt work) onto my new laCie external drive, but ive found some of my albums have triple copies?
    i know how to show duplicates but im not sure how to safely remove duplicates without deleting all copies?

    Oh boy.
    I'm sure there are better ways to do it than this and it will take time, but to avoid all possible loss of data, what I would do is first consolidate all of your libraries.
    • Open the iTunes Library you think is most correct by holding down the OPTION key when you open the iTunes application, which should bring up a dialogue like this: http://cl.ly/image/2i2Q3o0Z0Y3C
    • Then go to preferences and make sure it looks like this: http://cl.ly/image/2C2Z0u0C3T3c
    I would recommend keeping your main iTunes library on your main hard drive (for me that's my internal), unless you definitely can't fit it.
    • Now go to the File menu >Library > Import Playlist
    • Navigate to another of the libraries, and click on the iTunes Library.xml file and import it. Do this for each of your libraries, except the one you are currently using.
    • Now that you've got everything imported into the one library, the fun part starts.
    Do what i said in my previous post and remove all the duplicates.
    • Once that's done, check all the other libraries to make sure you haven't missed anything, and send them on their way to the Trash, and empty it to reclaim all that space.
    I really hope you get this sorted, I went through an ordeal like this myself recently, so it's going to take time, but it feels good when it's all cleaned up and finished!
    xeni
    PS. After writing all this I thought, hmm, why didn't I just Google it instead of figuring it out myself? ;P
    I found this, and it might help if my instructions weren't clear enough. https://bitly.com/LpqFPq
    Also, if you don't already, I urge you to use Time Machine backup. Read more here: http://www.apple.com/osx/apps/#timemachine and http://pondini.org/TM/FAQ.html

  • I don't want to know how to delete duplicate photos anymore. I would like to know why Apple have not put in delete duplicate option menu in iPhoto? Very curious. Is it to frustrate users, so they have to go out and buy another apple photo product?

    Just want to know why Apple have not made an options menu to remove duplicate photos in iPhoto? I know about downloads you can purchase to delete Dups, but I'm very interested to find out from apple themselves as to why they left this out, to die without knowing this is like having viruses on a pc or waiting for the web page to pop up on windows...
    Option
    A. Is it to annoy the user, to frustrate them enough to go out there and buy another apple photo product?
    Or
    B. Is it to annoy the user, to frustrate them enough to commit suicide, to reduce population in the world?
    Is there a third reason? Can someone help me, otherwise I'll have to go with option B.

    sunshinecowgill wrote:
    We have three operational computers, one does not have iTunes on it.  Since Apple is saying I have more than 5 authorized computers, and I can't imagine what they are, I am afraid to deauthorize all my computers.  See what I mean?  I just wanted to ask the question about how I can find out WHICH computers Apple thinks I have authorized, so I can decide if it's safe to deauthorize them all or not. 
    You could have more 5 computers authorized if you ever, for example, reformatted a hard drive or replaced a hard drive without deauthorizing the computer first. Apple's system would see that as a different computer, even though you don't. There's nothing to be afraid of in deauthorizing everything and the reauthorizing what you actually have. You won't lose any data. Mistimp is correct, they can't tell you which computers are authorized.

  • Hi! I have a library of around 1000 songs on my iTunes, I recently synced my phone and all was lost, my partner has the same songs on hers with a different sign in, but not backed up anywhere, any suggestion on how I can store her tunes in my account ???

    Hi! I have a library of around 1000 songs on my iTunes, I recently synced my phone and all was lost, my partner has the same songs on hers with a different sign in, but not backed up anywhere, any suggestion on how I can store her tunes in my account ??? Then sync them to mine? When I sign her phone into her account I get a message warning that if I sync the dogs on her phone will be replaced by the ones in the library! But as there are no songs there I'm reluctant to continue!!! Please help this non techi guy.!!!!!

    Hello Solid Buck,
    Thank you so much for providing the details about the duplicate song issue you are experiencing.  It sounds like you would like to remove the duplicate songs that will not play on your iPhone, but when you connect it to iTunes, iTunes only shows you one copy of the song on your iPhone. 
    In this situation, I recommend deleting the individual songs that do not play directly from your iPhone.  I found the steps to do this on page 61 of the iPhone User Guide (http://manuals.info.apple.com/en_US/iphone_user_guide.pdf):
    Delete a song from iPhone: In Songs, swipe the song, then tap Delete.
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How to delete duplicate value in movement type 541 & 542(alv report)

    hi experts,
    i have some problem in alv report,
    input we can give some movement type for ex(101,102,541,542, etc)
    how to delete duplicate value in 541 and 542.
    regards
    gunasekaran.

    Try:
    Delete adjacent duplicates from ITAB comparing FIELD1, FIELD2.
    to do this the ITAB must be Sorted first.!

  • How do I duplicate layers & groups without automatically adding a "copy", "copy 1", "copy #" at the end of the new group?

    How do I duplicate layers & groups without automatically adding a "copy", "copy 1", "copy #" at the end of the new group?
    It's been pestering me for quite a while now, since I often work with the same elements over and over again. Its frustrating to have to change the name of each layer manually, especially if I'm copying a whole group.
    Is there a setting in Photoshop or perhaps an external script that can help fix this for me?
    Cheers,
    Qiming

    There is no way to defeat this within the program itself. Here's the workaround:
    Duplicate the file (from the Image menu).
    Drag the Group or layers from the Layers list from the duplicate to the image window of the original , while holding down Shift.
    That will make a "copyless" copy and reposition the copyed material in the exact same position it was on the original.

  • How do i duplicate and mirror a mask

    Using Photoshop CC I have created an image with a very difficult multi point select tool (the polygon lasso tool), layer mask and box filter. Instead of redrawing the multi point selection again is there a way to duplicate just the mask and i know I can flip an individual layer horizontal before moving the image to the canvas. I tried and succeeded once but be damned if I can remember how i did it. I will need to repeat and flip a bunch of images so using this ability to quickly dup and flip a mask would be very helpful. Like I said I did it once already so I know it is possible. I have been trying again but have not stumbled upon it yet. If I do figure it out again I will gladly post it here.
    Thanks for your time. Tom

    You can duplicate a mask by holding down the alt/opt key while dragging the mask to another layer.
    You can hold down the ctrl/cmd key to create a selection when clicking on the mask
    You will find the horizontal and vertical commands in the edit menu's transform sub menu.
    If you save the selection in the selection menu (this will place the mask in the channels panel) you can click on that thumbnail in the channels panel to edit the mask as though it is an image. Which would allow you to flip it. You can then load the selection in the selections menu to use that mask as a selection.
    If something does not work as I describe, please let me know. I am going from memory, I can run photoshop to verify if needed.

  • How do you duplicate a PDF fill in form page, WITHOUT linking the text (for MAC)???  That is, while still being able to type different things into the blanks on the duplicate pages?

    The Situation (again, I have a Mac):  I am filling out a 5 job application- it is PDF format, with questions, and fill in the blanks for your information- such as name, date, and employment history.  Page 3, is the page used for employment history.  But, there is only room for two jobs on page 3.  The instructions tell you, you can "have as many page three's" as you want.  In my case, I will be putting 8 jobs- at two jobs per page, that is a total of 4 page three's.   I already know how to duplicate a PDF page, simply by opening the thumbnail viewer on the side, holding down the "alt" key, and clicking and dragging the desired page to create a duplicate.  So what is the problem??? When you duplicate the page, the boxes into which you type, are linked.  So if on the original, you type "Job A", into the experience box, it forces the same answer on the duplicate page, making it impossible to describe different positions!!!!  Is there a way to work around that? Thank you!!!!!

    You're probably using Acrobat if you can duplicate pages like that. This is the Adobe Reader forum...
    To answer your question, though: The only way this can be done automatically, without having to manually rename each field, is to use a Template to spawn new pages. This is something the form's author should have done, but you can do it yourself as well, using some code.

  • How to print " Duplicate " in FORM ( either Sap Script or Smart Forms )

    hi,
       How to print  " Duplicate " in FORM ( either Sap Script or Smart Forms ) if trying to take second Print Out and the FORM is already Printed.
    Please let me know the condition that we should go for.If possible let me know the SAMPLE code since this will be used in most of the FORMS.
    Regards
    Avi

    Hi
    It depends on which print you're working.
    If it's a print of standard document you can check the NAST (VSTAT field) table in order to know if the document was printed.
    If a message is created you can find the hit in NAST table:
    VSTAT = 0, document not printed;
    VSTAT = 1, documment printed
    VSTAT = 2, print is failed
    If you mean a custom print I believe you need to create a log like NAST table.
    Max

  • Have an IMac 7.1, desktop system 10.4.11, 2.8 GHz, 4MB, 4GB.  what can I upgrade to?  What do I need to buy and how high can I go?

    Have an IMac 7.1, desktop system 10.4.11, 2.8 GHz, 4MB, 4GB.  what can I upgrade to?  What do I need to buy and how high can I go?

    You can replace one of the 2 GB RAM sticks with a 4 GB stick for a total max. RAM of 6 GBs.
    Here are the specs.
    Maximum Memory
    6.0 GB (Actual) 4.0 GB (Apple)
    Memory Slots
    2 - 200-pin PC2-5300 (667MHz) DDR2 SO-DIMM
    Purchase reliable Mac RAM from online vendors Crucial or OWC (Other World Computing).
    The highest OS X version you can go is OS X 10.8 Mountain Lion.
    First, though, you need to purchase a retail disc version of OS X 10.6 Snow Leopard in order to download upgrade to OS X 10.8.
    Purchase OS X 10.6 Snow Leopard here.
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    Use Software update, in OS X Preferences Pane to update to the latest version of OS X 10,6 Snow Leopard before upgrading OS to 10.8 Mountain Lion.
    OS X 10,6.8 will install the Mac App Store icon in OS X's Application Dock.
    From there, you can launch the Mac App Store and download and install OS X 10.8 Mountain Lion.
    Use Sofware Update again to update to the latest version of Mountain Lion.
    Be advised, you may want to play around in OS X 10.6 Snow Leopard before updating to OS X 10.8 Mt. Lion.
    Some users aren't happy with the Hybrid OS X/iOS functionality of OS X 10.8 Mounatin Lion.
    If you upgrade to OS X 10.8 Mountain Lion and aren't happy with it, the only way to return to OS X 10.6 Snow Leopard is wipe the internal drive, reformat it, then reinstall OS X 10.6 Snow Leopard.
    You might want to consider purchasing an external FireWire hard drive, format it so you can install OS X 10,6 Snow Leopard and all of its updates onto the internal drive, use a copying/cloning app like Carbon Copy Cloner or Super Duper to make a duplicate of your internal drive to the external FireWire drive as a backup that you can reinstall onto your internal drive just in case you find you are not happy with the look and functionality of OS X 10.8 Mountain Lion.
    Good Luck!

Maybe you are looking for

  • ITunes Remote App and iPhone 5 and PC

    I just recently downloaded the Remote app from the App Store and I was trying to pair the Remote app with my PC but my PC doesn't see it at all. They're both connected to the same Wi-Fi network as well. I don't understand what I'm doing wrong. Hope t

  • How can I sync iPod Mini after hard drive reformat?

    My son has an iPod mini. Recently, we had to have our computer hard drive reformatted and had to reinstall iTunes. When we try to sync the mini, it shows up with all it's songs, but the songs won't update into the library, so the desktop iTunes has n

  • Error 7 (Windows error 193) question

    I have Vista Home Premium, SP2.  After successfully installing using iTunes64setup.exe, when I try to open iTunes, I get 2 messages: 1.  iTunes.exe - Bad Image:  C:\Program Files (x86)\Common Files\Apple\Apple Application Support\CoreVideo.dll is eit

  • Project will not open....help!

    I have Premiere pro cs3....I have several projects I am editing all of which will open with no problem.One of my main projects that I have been working on for the last 3 months will not open! I closed it last night after working on it most of the day

  • VL/AO:Create Masterdetail @ same time ENSURE that Master is created first??

    Hi, I have for example an Order table and lines table with FK.(AO) I i want to create a master record and some lines at the same time. But If I call createInsert on the Master view then call createRow on the detail VO. The detail lines are inserted f