SCIENTIFIC-LINUX-USERS Archives

January 2013

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bluejay Adametz <[log in to unmask]>
Reply To:
Bluejay Adametz <[log in to unmask]>
Date:
Tue, 29 Jan 2013 13:20:38 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
target
> hard drive.  The hard drive on A is /dev/sda, call it Ahd.  A is shut down
> power off.  Bhd is installed into an available bay on A, A is booted, and
> Bhd appears as /dev/sdb in A.  Using dd on A, clone /dev/sda to /dev/sdb .
> Mount on A the partition of /dev/sdb that contains /etc (there are no end
> user home directories -- only home directories are those of the system
> administration users).  Using a text editor (e.g., vi), modify the
> /etc/sysconfig/net* scripts/directories, as well as /etc/hosts. for the name
> and IP address of machine B that will contain Bhd (resolv.conf will be the
> same -- all of these machines are in the same DNS subzone, same TCP/IP
> subnet).  Iterate through all of the target workstation hard drives.  As
> there are no other distributed services running, this should suffice.

Using tar rather than dd would likely be faster if there's any
significant amount of free space on the source disk. dd will copy all
those unused blocks, while tar will copy just the Useful Data.

The network interface config files
(/etc/sysconfig/network-scripts/ifcfg-*) contain the interface MAC
address. You'll probably need to modify that. It may be easiest to set
up a one-time boot script so this can be set on the destination (B)
machine the first time it boots.

If you use selinux, you may want to touch .autorelabel in the B root
file system so the contexts will get set properly when it boots.

                                                         - Bluejay Adametz

Definition: Alponium n. (chemical symbol:Ap) Initial blast of odor
from a can of dog food.

-- 


NOTICE: This message, including any attachments, is only for the use of the intended recipient(s) and may contain confidential and privileged information, or information otherwise protected from disclosure by law.  If the reader of this message is not the intended recipient, you are hereby notified that any use, disclosure, copying, dissemination or distribution of this message or any of its attachments is strictly prohibited.  If you received this message in error, please contact the sender immediately by reply email and destroy this message, including all attachments, and any copies thereof. 

ATOM RSS1 RSS2