Building New server Using ufsrestore


 
Thread Tools Search this Thread
Operating Systems Solaris Building New server Using ufsrestore
# 1  
Old 12-22-2008
MySQL Building New server Using ufsrestore

Hi Guys,
Marry X-MAX in advance Smilie
I would like to build a new server using ufsdump/ufsrestore. Both the servers are identical hardware and model. I am using Solaris 10 X86 O/S.
I am having ufsdump "mydump.rootdump.gz" in a Central NFS server.

What I did:-
I took backup of root filesystem (/) of OLD-SERVER using ufssnap/ufsdump.
That backup "mydump.rootdump.gz" put on central NFS server. 10.x.x.n.

Install Solaris 10 on NEW-SERVER. Made identical partions during installation.
After then mounted OLD_SERVER:/mydump.rootdump.gz on /mnt.
NEW-SERVER#mount OLD_SERVER:/mydump.rootdump.gz /mnt
NEW-SERVER@/mnt#cd /
NEW-SERVER@/# gzcat /mnt/mydump.rootdump.gz | ufsrestore rvf -

After running above command I was getting messages like "File already exist"
And then ended with below given messages.
.......
.............

extract file ./usr/lib/fs/udfs/fsck
extract file ./usr/lib/fs/udfs/fstyp
extract file ./usr/lib/fs/udfs/mount
extract file ./usr/lib/fs/xmemfs/mount
extract file ./usr/lib/fs/ufs/fsirand
extract file ./usr/lib/fs/ufs/fsckall
extract file ./usr/lib/fs/ufs/labelit
extract file ./usr/lib/fs/ufs/ufsrestore
Bus Error (core dumped)
NEW-SERVER@/#

When I rebooted my newserver it .. I got boot prompt but after displaying hostname I was getting messages "The System will sync files,save a crash dump if neede ....... panic [cpu7]/thread=fffffffe80009c8000: Unrecoverable Machine-Check ...

Then it started syncing the files...... and again rebooted .....

Could you guys Please help me out from this situation...
My main aim is rebuild an indentical server.
It will great help, If you will give me a step by step procedure for the same.
OS: Solaris 10 X86
Both the server are remote, I can't use Tape drive.. I having root filesystem dump (/) on Central NFS server.

I am waiting your response as soon as possible .....

Thanks in advance ....

Sanjay
# 2  
Old 12-22-2008
does your "old" server had two drive bays? if so, you could always dd from one drive to another. something like below.
Code:
dd if=/dev/rdsk/c0t0d0s2 of=/dev/rdsk/c1t0d0s2 bs=512

this would be the easiest way to clone them. you won't need to pass the vtoc to the new disk as dd will copy all the 'low-level' formatting of the drive including the bootblk. however, do not connect any network cabling when placing the 2nd drive into the new server. you have ip conflicts and hostname conflicts which could cause problems on your network. once the new disk is installed, you may want to rebuild the /etc/path_to_inst just to be safe. after that, run sys-unconfig to do the hostname and ip stuff.
# 3  
Old 12-22-2008
If you want to make a clone like this, you need to boot the server you are building from network or media, if this is a Sun machine you can use the virtual drive.

You cannot safely overwrite the running root partition. In reality a flash archive based installation would be a much simpler way to perform this
# 4  
Old 12-28-2008
you already dump a copy of a root on main server and if you had two bay for another drive not partition i guessed you mount the dump file on another running solaris and restore it in another drive..it works on mine..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Building a NAS server

Hello, I am planning to build a NAS server next week and i was wondering which OS to use. As i see the two most common are FreeNAS and Ubuntu server + samba. What do you think?Do you hava any experience on that?Any other idea? Thanks! (5 Replies)
Discussion started by: @dagio
5 Replies

2. Web Development

Building LAMP server from scratch (build a server with compiled LAMP from CentOS mini)

Hello everyone, I would like to setup a lamp server from a minimal distro and to compile PHP, MySQL and Apache myself. I have chosen CentOS minimal for the OS and I am trying to build the stack by hand... But well, it appears I need some help! First: I am looking for good and recent... (3 Replies)
Discussion started by: freddie50
3 Replies

3. UNIX for Dummies Questions & Answers

Help in server building process.

Hi, I am fresher in Unix and hence need your help in understanding the basic concepts in Server Building. Please guide me with the next steps in building our own server after Assembling hardware and installing OS. (1 Reply)
Discussion started by: laxmi Sharma
1 Replies

4. Web Development

Building a video server.

I have been given the task of building a video server that has basic video editing capabilities through a web interface. Something like what jaycut.com does. Right now we use FFmpeg on one of our servers to do command line editing and conversion but we want to make it super simple so that normal... (0 Replies)
Discussion started by: mcraul
0 Replies

5. UNIX for Advanced & Expert Users

Building a Unix Server from Scratch?

Hello Everyone, This post is a result of my search and quest to build a Unix Server at Home. I am familiar with the most of the systems such as, Solaris 10, HP-UX & Linux. Can somebody help me with more information about How to Build a Unix Server right from Fundamentals.... ? I have... (5 Replies)
Discussion started by: Vabiosis
5 Replies

6. Solaris

Building new ldom server--many questions

Hi All, I am just starting to build T5240 servers with ldoms in the hope of consolidating some of my older hardware (280Rs, 220Rs, etc). These old servers are currently set up using disksuite mirroring to backup all root and data drives. I am new to Ldoms, zpools, zfs, raidctl, et al. ... (2 Replies)
Discussion started by: jimeeye
2 Replies

7. UNIX for Advanced & Expert Users

Building New server using ufsdump/ufsrestore

Hi Guys, Marry X-MAX in advance :) I would like to build a new server using ufsdump/ufsrestore. Both the servers are identical hardware and model. I am using Solaris 10 X86 O/S. I am having ufsdump "mydump.rootdump.gz" in a Central NFS server. What I did:- I took backup of root... (1 Reply)
Discussion started by: SanjayLinux
1 Replies

8. Filesystems, Disks and Memory

Building New server using Ufsdump/ufsrestore

Hi Guys, Marry X-MAX in advance :) I would like to build a new server using ufsdump/ufsrestore. Both the servers are identical hardware and model. I am using Solaris 10 X86 O/S. I am having ufsdump "mydump.rootdump.gz" in a Central NFS server. What I did:- I took backup of root... (1 Reply)
Discussion started by: SanjayLinux
1 Replies

9. UNIX for Advanced & Expert Users

Building UX Server for Dev Environment

Hello. I am asked to build a new UNIX Server for Development environment before we could ask the high level experts to build production environment. Could you please let me know what all must I have to know and the steps inorder to build ux server? Thank you! (2 Replies)
Discussion started by: panchpan
2 Replies

10. IP Networking

building a server

hi, i am a pretty good linux user..but i have no idea on building a server witha domain and everthing. please help! (5 Replies)
Discussion started by: hamza11050
5 Replies
Login or Register to Ask a Question