Ldom clone from production system


 
Thread Tools Search this Thread
Operating Systems Solaris Ldom clone from production system
# 1  
Old 04-09-2015
Ldom clone from production system

Hi!

I am quite new to Solaris and come from AIX world.

I need to clone running production LDOM. In AIX you just take mksysb and restore it to new LPAR. It will install with blank network settings.

How to do it in Solaris 11? Can't find document to clone from running system.. they talk only about Golden images..

LDOM OS disks are installed in separete LUN's from storage.
# 2  
Old 04-09-2015
Use "Unified Archives". They allow you to clone an existing running system, including one that has non global zones, to another system.

See https://blogs.oracle.com/maineoffice...ves_in_solaris and Using Unified Archives for System Recovery and Cloning in Oracle Solaris 11.2
# 3  
Old 04-09-2015
Thanks for quick answer. But it seems customer has Solaris 11.1 and Sparc T5-4, so this maybe doesn't work?
# 4  
Old 04-09-2015
UAR are indeed supported from 11.2 onwards but with a couple of commands, a 11.1 system will be running Solaris 11.2:

# pkg update --accept
# init 6
# 5  
Old 04-10-2015
Yeah, I definetly agree those should be upgraded, but at this moment is not possible, not up to me.

Any advice for doing it in 11.1? We can have break for that server..
dd, zfs snapshot, ufsdump, flar, unified archive, TAR?

I am little confused Smilie
# 6  
Old 04-10-2015
Have you tried adding a another same disk to existing rpool mirror, then after that using zpool split feature ?

According to the documentation, it should be available on solaris 11.1
https://docs.oracle.com/cd/E26502_01...yrd.html#gjooc

A mirrored ZFS storage pool can be quickly cloned as a backup pool by using the zpool split command. You can use this feature to split a mirrored root pool, but the pool that is split off is not bootable until you perform some additional steps.

If you have other zpools on that LDOM, you will need to do the same with them.

I would advise tho, not to have network active on the new LDOM you are importing the split ed rpool, due to IP and other enviroment specific information is not changed.
After you get it to boot, change the ip address, hostname for your new environment, then add vnets and reboot.

I'm unable to find in documentation these additional steps mentioned tho, but you can try it and see what errors you get (on test ldoms).

If you have unsolvable problems, i will try the method myself to see if any problems exist and get back to you, but i leave the first fun for you Smilie
# 7  
Old 04-10-2015
Quote:
Originally Posted by padapada
Yeah, I definetly agree those should be upgraded, but at this moment is not possible, not up to me.
Please note that it is not an upgrade but a simple update. Solaris 11 is quite different from Solaris 10 in this area (and some others ...)
Updating Solaris 11 is a very low risk operation given the fact you can easily rollback to the previous version with a single reboot should something doesn't work as expected.
Quote:
Any advice for doing it in 11.1? We can have break for that server..
dd, zfs snapshot, ufsdump, flar, unified archive, TAR?
Nothing straightforward. Peasant already answered to that. A splitted ZFS root pool is the closer but has some pitfalls.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Red Hat

Unable to mount a clone file system (NetApp)

Hi I have the following difficulty: the NetApp admin has clone one file system from one red hatserver and presented this cloned LUN into another redhat server. I can see the LUN as: fdisk -l Disk /dev/sda: 64.4 GB, 64424509440 bytes 255 heads, 63 sectors/track, 7832 cylinders Units =... (1 Reply)
Discussion started by: fretagi
1 Replies

2. Solaris

system clone : sun4V --->sun4u ?

Hi, First sorry for my english ! I'm a newbie on Solaris and I'm trying to clone a SUN T5220 (sun4V platform) on SUN V240 (sun4u platform) using ufsdump/ufsrestore. Dumping all filesystem and restoring it on the V240 box and Make the disk bootable using installboot command. When... (21 Replies)
Discussion started by: manata
21 Replies

3. AIX

Post mortem for critical Production AIX System Reboot/Crash

Hello All, Critical AIX production box crashed/rebooted while our team is working on it and we need to generate a detailed report for that, below are few questions that need to be included in the report. (We are System Administration team and everyone in our team has root access via sudo as well... (3 Replies)
Discussion started by: lovesaikrishna
3 Replies

4. BSD

Copying OpenBSD Kernel from a non production to production machine

Hi All, There are few OpenBSD 4.8 servers without compiler installed at my working place. However, sometimes there are some patches released for patching the kernel. My question is: Can I setup a non production OpenBSD 4.8 server as a test machine with compiler installed and use it to... (1 Reply)
Discussion started by: lcxpics
1 Replies

5. Solaris

Clone Production Server (Sun v120)

It's a DHCP server. We want to make a clone for fail over purpose since there are some identical systems available here. We do have a secondary DHCP server. Hardware: Sun v120. OS: Solaris 9. Two disks without array, /var and /opt on the secondary disk. How can I clone the system via network... (1 Reply)
Discussion started by: aixlover
1 Replies

6. Filesystems, Disks and Memory

ext4 - ready for production system?

Gidday, Are you using ext4 for production system? Or is it better to opt for a more conservative strategy, like ext3 for instance? What are your experiences? Thanks in advance, Loïc. (3 Replies)
Discussion started by: Loic Domaigne
3 Replies

7. Programming

mknod system call to clone /dev/null

I'm trying to use the "mknod" call in C to create a clone of /dev/null. I am stumped as to the final parameter I should provide to "mknod()". I am supposed to give it a type dev_t, which specifies a major & minor number. I want to specify major 3, minor 1, but how can I do this? dev_t seems to... (2 Replies)
Discussion started by: nathan
2 Replies
Login or Register to Ask a Question