01-10-2008
Long Distance UNIX (Solaris) Cloning ?
Need some advice and guidance for this UNIX beginner. Due to downsizing I have inherited the SysAdmin duties..(sigh). Please excuse and forgive me if I use the wrong terms below....
Situation:
We have UNIX ( Solaris 7/8/9( it varies) on Sun Ultra 10's) servers located at several global locations - in Malaysia, Mexico, and South Carolina. We access these from our New England location via the corporate network, thru firewalls located at these sites.
At each of the sites, we have a UNIX server ( Ultra 10 running Solaris) that acts as a gateway server, that bridges from the corporate network, to a isolated "Test Engineering" network within the remote factory. Hanging off of this "Test Eng Network", are more Ultra-10 Servers, used as NMS Network Management System servers to run Systems level traffic tests on test equipment.
Goal: Is to make duplicate clones of each of these servers hard drives, so if ( and When) they die and crash, we can rapidly power up and attach the cloned server ( with duplicate hard drives) and prevent downtime.
Problem:
1) These Ultra-10's have 2 hard drives in them, attached to the IDE bus connections - thus no way to attach a new fresh drive and do a "DD" duplication, as both IDE connections are in use..
2) Due to the remote location , and lack of expertise in IT capability there, we also can't rely on the local people to dismantle and attach
the fresh drive to do a DD clone anyways - too risky.
3) We want to avoid powering down these servers, as we have had problems in the past of them rebooting without hard drive crashes due to their age.
My Question:
Is there a way to make a copy of each hard drive, by doing a copy over the network?. Would this involve partitioning the fresh drive( as an attachment 2nd drive on a 1 drive Solaris system in my lab) to match the same partitions as the ones in the remote global location that we want to copy , and then copying all of the files in each partition/directory.??
Or is there a way to do the equivalent of a DD cloning operation between 2 systems that are on a global network...
??
Any ideas or advice is appreciated.!!
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I amtrying to write a script that would compute the distance between an "x" number of points. This is what I have come up with so far and it is not working. Can anyone modify it to make it work?
A=34.16597 B=-84.33244
C=34.2344 D=-84.29189
test "$A" -eq "$C" -o "$B" -eq "$D"
then
echo... (3 Replies)
Discussion started by: Ernst
3 Replies
2. Solaris
I have gone over some articles regarding zones, I haven't found one that gives the exact information I'm looking for. I think I'm close though.
I have 2 servers, each with a HBA into a SAN, they are both presented with the same luns.
On server1, configured and installed the zone (zone1), the... (6 Replies)
Discussion started by: beaker457
6 Replies
3. Programming
Hi power user,
I have this type of data (distance list):
file1
A B 10
B C 20
C D 50I want output like this
# A B C D
A 0 10 30 80
B 10 0 20 70
C 30 20 0 50
D 80 70 50 0 Which is a distance matrix
I have tried... (0 Replies)
Discussion started by: anjas
0 Replies
4. UNIX for Advanced & Expert Users
I have several Solaris 8,9 and 10 servers.
I need to refresh them and avoid doing any OS upgrades. I may have to apply patches when I am done due to the new hardware.
My current servers have internal disk and my new target servers (same processor types) will have only SAN storage. Once the... (0 Replies)
Discussion started by: zzqv9p
0 Replies
5. Shell Programming and Scripting
hi,
i have a pair of latitude and longitude and i want to calculate the distance between these two points. In vbscript i achieved in the following way...Now i want to implement this in unix shell scripting....
<%
Dim lat1, lon1, lat2, lon2
const pi = 3.14159265358979323846
... (8 Replies)
Discussion started by: aemunathan
8 Replies
6. Solaris
Hello and let me say at first, thank you for viewing this problem I have.
From the top!
Where I work, we have a Dell PowerEdge T300 X86 system running Solaris 10 8/07 s10x_u4wos_12b X86, and we realized, if this machine went down, we would be in trouble. So to fix that situation, I took it... (5 Replies)
Discussion started by: nitrolinux
5 Replies
7. Solaris
Hello,
What is the best method to use to clone a Solaris 10 machine with zones, to ensure all software and config can be easily installed on new hardware?
Thank You (4 Replies)
Discussion started by: da2013
4 Replies
8. Shell Programming and Scripting
Does anyone know of any script or packages that allow the calculation of the geographical distance between two points of lat/long from within a bash shell?
I have been searching the web for the past few days and none of the options seem compatible with bash variables... (eg. geodist)
Many... (3 Replies)
Discussion started by: lily-anne
3 Replies
9. Solaris
Hi all,
I am trying to use archiveadm to backup/clone an existing Solaris11.4 system.
However, i failed at media creation with the error -> "Media can only be created from archives containing root-only data"
root@xxx:/mnt/opt/software# zpool list
NAME SIZE ALLOC FREE CAP DEDUP ... (6 Replies)
Discussion started by: javanoob
6 Replies
HD(4) Linux Programmer's Manual HD(4)
NAME
hd - MFM/IDE hard disk devices
DESCRIPTION
The hd* devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major
device number 3) is hda; the slave drive is hdb. The master drive of the second controller (major device number 22) is hdc and the slave
hdd.
General IDE block device names have the form hdX, or hdXP, where X is a letter denoting the physical drive, and P is a number denoting the
partition on that physical drive. The first form, hdX, is used to address the whole drive. Partition numbers are assigned in the order
the partitions are discovered, and only nonempty, nonextended partitions get a number. However, partition numbers 1-4 are given to the
four partitions described in the MBR (the "primary" partitions), regardless of whether they are unused or extended. Thus, the first logi-
cal partition will be hdX5. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions
on an IDE disk.
For example, /dev/hda refers to all of the first IDE drive in the system; and /dev/hdb3 refers to the third DOS "primary" partition on the
second one.
They are typically created by:
mknod -m 660 /dev/hda b 3 0
mknod -m 660 /dev/hda1 b 3 1
mknod -m 660 /dev/hda2 b 3 2
...
mknod -m 660 /dev/hda8 b 3 8
mknod -m 660 /dev/hdb b 3 64
mknod -m 660 /dev/hdb1 b 3 65
mknod -m 660 /dev/hdb2 b 3 66
...
mknod -m 660 /dev/hdb8 b 3 72
chown root:disk /dev/hd*
FILES
/dev/hd*
SEE ALSO
chown(1), mknod(1), sd(4), mount(8)
COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 1992-12-17 HD(4)