Copy image on Server-1 and Restores image on Server-2


 
Thread Tools Search this Thread
Operating Systems Solaris Copy image on Server-1 and Restores image on Server-2
# 1  
Old 09-21-2014
Ubuntu Copy image on Server-1 and Restores image on Server-2

Hi,

I have done Copy image and Restores back on Windows.

I have two solaris servers, one contains Solaris OS and Applications on Server-1.

Want i required is want to copy image of Server-1 and restores the copied image on Server-2.

First of all, is it possibile in Solaris. If it is then how to copy and restores image.

Thanks.

Best Regards
Arhsad
# 2  
Old 09-21-2014
You should state what Solaris release you are using and on what hardware (both sides).
# 3  
Old 09-21-2014
And please also state which filesystem you are using...
# 4  
Old 02-26-2015
solaris imaging

read up on jumpstart-it allows u to create and restore an image in solaris
# 5  
Old 02-27-2015
I'll assume your purpose is trying to build new server, there other ways to do it.

For solaris it must be same server model exactly the same.

2 ways use dd or try using break os mirror.

using dd command to copy, first boot to single user mode from cdrom boot cdrom -s

you must mustknow exactly which disk is which I suggest you mount the disk to physically check before going any further.

--- example c1td0 is my os disk and c1t1d0 is the blank disk.

AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@0/pci@0/pci@2/scsi@0/sd@0,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@0/pci@0/pci@2/scsi@0/sd@1,0
Specify disk (enter its number):


format the c1t1 disk partition exactly as what is on c1t0 then issue the command.

dd if=/dev/rdsk/c1t0d0s2 of=/dev/rdsk/c1t1d0s2 bs=2048k

if=source of=destination

dd will copy everything even blank spaces and is very risky You must must be certain and know exactly which is which get it wrong os disk will wipeout you been warned! If you are unsure DONT DO THIS!!!


or

on the new server first disconnect all the network cables.

on old server break detach the os disk mirror ---> remove ---> connect into new server exact same disk slot and try to boot it up, you may need to modify ok prompt boot_device settings or installbootblk from cdrom.

Once up change hostname change IP address


For info when I tried similar method on hpux 2 rx servers exact same model does not seem to work when I try remove os disk from one server try to boot up in another.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

How to make an exact image copy of a SCSI hard drive in Solaris 8 OS?

To Solaris 8 Experts, Please let me know what's the best method / procedure as well as the Solaris 8 commands for accomplishing the following tasks on a production Sun Enterprise 250 Server running Sun Solaris 8 Operating System: 1. Make an exact image/copy of the SCSI Hard Drive in the... (3 Replies)
Discussion started by: ssabet
3 Replies

2. Red Hat

Taking an image or clone of Red Hat server

Dear All , We have a linux Server where we have installed all our Softwares and applications. Now we want to clone this Server to another server or copy the image of it and put it in the another server.So that all the softwares and apps appear in the new server also , rather than re... (7 Replies)
Discussion started by: jegaraman
7 Replies

3. Solaris

ERROR: Copy of CD image failed

Hi I tried to boot as single-user mode on my sunfire t1000 to change my root password since the guy has left the company without give us the root password. anyhow since this machine not have attached with cd/dvd/usb so the only think that to do it through Jumpstart now i tried to... (8 Replies)
Discussion started by: jmishal
8 Replies

4. Shell Programming and Scripting

Shell script to copy a file from one server to anther server and execute the binary

Hi , Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file. We want to copy a file on multiple servers and run the installation. Thanks (1 Reply)
Discussion started by: Nawrajesh
1 Replies

5. Shell Programming and Scripting

matching image files to create one image

Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Discussion started by: kylle345
6 Replies

6. UNIX for Advanced & Expert Users

Create an Ignite image on tape from Online IgniteUX image

Hi, (HP-UX 11.11) I need to create a tape image of an igniteUX image created on our igniteUX server. That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Discussion started by: Andrek
3 Replies

7. UNIX for Advanced & Expert Users

Image copy (Clone)

Hi all, I need to perform a physical copy of a DIGITAL(HP) Server machine: is it possibe to do this in order to have an exact copy ( a clone to intend of)to another machine: including also the configuration files and the network configuration of the previous machine?. Someone said me I can use... (2 Replies)
Discussion started by: cicalons
2 Replies

8. SCO

image src to raid5 sco open server

Hi all! I am in need of some advice. I have a sco open server with NO redundancy. I am exploring different ways of trying to backup everything. Either to an image (ghost) or tape. Only problem is I dont know how. Using ghost in windows is pretty straight forward, but not know much about unix I... (1 Reply)
Discussion started by: dlucas313
1 Replies
Login or Register to Ask a Question