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
WREN(3) Library Functions Manual WREN(3)
NAME
wren, ata - hard disk interface
SYNOPSIS
bind #H[drive] /dev
bind #w[target[.lun]] /dev
/dev/hd0disk
/dev/hd0partition
/dev/sd0disk
/dev/sd0partition
...
DESCRIPTION
The hard disk interfaces (wren, #w, is a SCSI disk; ata, #H, is an IDE or ATA disk) serve a one-level directory giving access to the hard
disk partitions. The parameter to attach defines the numerical SCSI target and logical unit number or the IDE drive number to access.
Both default to zero.
Each partition name is prefixed by hd and the numeric drive identifier. The partition always exists and covers the entire disk. The size
of each partition as reported by stat(2) is the number of bytes in the partition, so the size of is the size of the entire disk.
The partition also always exists; it is the last block on the disk for SCSI, second to last for IDE. If it contains valid partition data,
those partitions will be visible as well. Every time the device is bound, the partitions are updated to reflect any changes in the parti-
tion file.
The format of the partition file is the string
plan9 partitions
on a line, followed by partition specifications, one per line, consisting of a name and textual strings for the block start and limit for
each partition on the disk.
The program prep(8) writes the partition table for the disk; its use is preferred to writing it by hand.
SEE ALSO
prep(8), scsi(3)
SOURCE
/sys/src/9/port/devwren.c
/sys/src/9/pc/devata.c
WREN(3)