CentOS 5 :: Mirror The Drives And Link All The Servers Together?
Oct 11, 2009
I am Setting up 3 HP Proliant servers with 2 250GB Hard Drives in each. How Do I mirror the drives, and link all the servers together??? I am installing Centos 5.3. From the software install menu I installed Gnome, and the Server software, but can't seem to figure out how to get into the server side of it from gnome. Sorry for all the questions, but I have been out of the loop of all this for about 8 years and trying to re-learn everything.
View 4 Replies
ADVERTISEMENT
Mar 23, 2011
yum repolist shows the reponame. What's the command to list the specific link that it's using?
View 3 Replies
View Related
Sep 16, 2010
How can I mirror drives on the hardware level? I have a Sun X2270 server with 4 1 terabyte hard drives and need to mirror two drives.
View 1 Replies
View Related
Jan 18, 2010
I'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.
Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.
Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.
View 4 Replies
View Related
Jan 30, 2009
I have been looking into setting up a local repository for updates etc as we have an increasing number of fedora clients/servers. Searching the web I found multiple how-to's on how to accomplish this little project. One thing that bothers me is that each how-to seems to refer to a "static URL" mirror for rsync to get the rpms.
View 1 Replies
View Related
May 17, 2010
After digging around trying to figure out how to upgrade my local apt-mirror to 10.04, I figured I would share it here so anyone else who does this, can do it with ease. It requires a few steps, and editing a couple files, but the process is relatively painless.This assumes you have an apt-mirror already running on your server. Also it assumes you're using /var/www/ubuntu as your root where all your packages are stored.
The first step is to visit http://changelogs.ubuntu.com and download the meta-release packages. Create a new directory, /var/www/ubuntu/upgrade, and drop the files there.On the client's end, a single file needs to be edited, /etc/update-manager/meta-release. Change the URI's in that file to the URI of your apt-mirror and run your update manager. Your upgrade will start, only asking if you want to change your paths in your sources.list. Agree to it, and the packages will download and configure.
View 2 Replies
View Related
Sep 27, 2010
I'm wondering if its possible to add an external, non-Ubuntu mirror to my mirror server?
We have a few packages which need to be deployed during kickstart (Cinelerra and Eclipse plugins), and I would like to put them into my mirror repo so they are grabbed during kickstart, rather than manually adding them after the system is up.
View 1 Replies
View Related
Jul 1, 2011
i want install goldendict and source downloaded and i want compile it. for compile i need this packages :
Building under Linux: Make sure you have those dependency packages installed: libvorbis-dev, zlib1g-dev, libhunspell-dev, x11proto-record-dev, qt4-qmake, libqt4-dev, g++, libxtst-dev, libphonon-dev. They can be named slightly different in different distributions
View 5 Replies
View Related
Apr 13, 2010
i have a complete local ubuntu mirror; nicely kept in sync by apt-mirror. unfortunately, i need to keep some of the old releases as well. [URL].. kindly provides those. with the upcoming end-of-life of intrepid ibex, i would like to move the packages for intrepid on my mirror to the directory i use for the old-releases, without having to download these approximately 30GB from the original server.
is there a way to move distributions in a local mirror? apt-move seems only capable of rearranging the packages in /var/cache/apt/archives/ .
View 8 Replies
View Related
Jul 28, 2011
Looking for a few pointers here.I am trying to automate the adding and removal of two external usb disks to my linux raid mirror (md) that I use for an offsite copy of my data.This is what I currently do.Server has 2 x 500 gb internal disks setup with linux raid 1. (md)I connect 1 of the external usb disks, add it as a secondary mirror to the main array.After it rebuilds, I remove it from the array and take it home.I have two of these external drives so one of them is always offsite, and the other is either being rebuilt, or connected as a secondary mirror.At the moment, this involves running commands manually. I cannot seem to figure out how to automatically add these disks from and to the array with a script. It seems that every time it rebuilds on the external disk, it gives it a new UUID.
View 6 Replies
View Related
Jun 26, 2009
I have a server, running Centos 5 and it is working fine. Now I want to have another server (server2), mirror of my current server (server 1) if any time my (sever 1) stopped responding, (server 2) should start working until I fix server 1.
View 1 Replies
View Related
Nov 6, 2009
I created a local mirror with a DVD Image, is there a way to get this mirror to 5.4 now?I already updated the updates/extras repo, but now my main-repo is outdated and my updates go wrong.my directorystructure looks like this:
/server/rpmrepo/centos/5]
# ls
centosplus extras os updates
and the os folder:[code].....
View 3 Replies
View Related
Nov 17, 2009
I have create a LVM volume in mirror 1 method, with two hard drives, In that one disk is get failed. How can I manage the data availability and also what I need to do next?
View 3 Replies
View Related
Apr 27, 2011
I've got a new server built, shaken down and patched (2.6.18-194.el5). Works nicely.
I don't want to rebuild it from scratch if the root drive goes belly up, but I do NOT have a hardware raid controller.
The root disk should be pretty static at this point... any suggestions how I might back it up?
I was thinking I could put in another disk (same size or bigger) and use cron to run something like this nightly: dd if=/dev/sda1 of=/dev/sda2
View 4 Replies
View Related
Aug 22, 2011
I am trying to create a local mirror/repository for CentOS 5.6 for updates and network installs. I have read the page here on the site about how to do it over and over again, and I still can't figure it out. I have already created the directory, but right after that, I can't go any further. I know this is much easier than I probably think it is. Would someone mind telling me, (in beginners terms) on how to do this? I just want the 'os' package and nothing else.
View 1 Replies
View Related
Aug 22, 2011
I want to make a fedora mirror site and i only want to have the fedora 15 i386 rpm files i dont want to download all the rest. How do i di this ?
View 2 Replies
View Related
Jan 13, 2010
I am looking for a solution to mirror a directory on my companys computer that runs in windows to an external ubuntu server on the internet.
View 7 Replies
View Related
Apr 10, 2011
I accidentally rm -rf 'ed /etc directory from the main server. The server has raid1 soft-raid. Is there a way to recover the directory.
View 4 Replies
View Related
Nov 28, 2009
I recently setup a software RAID1 with two hard drives for testing. I manually unplugged one hard drive to test redundancy and it was fine. I then did the same to the second and plugged back in the first and it was fine. But when I plugged both back in it is only loading one of the mirrors instead of both. I am guessing when the mirror (failed), at least as far as the system knew it removed it from the load sequence to prevent data corruption... how do I go about re-enabling it?.
cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[1]
[code]....
View 1 Replies
View Related
Apr 1, 2009
I was puzzling over the nss dependence problem that people are having in upgrading 5.2 to 5.3. The issue is clear (that the mirror people are using for [updates] is not pointing to the latest set when an uptodate mirror may be being used for your [base]). My question is though how the mirror list decides whether a mirror is fresh. According to [URL] then this mirror [URL] is "green" which presumably means that the system thinks it is up to date (last probe was 1 hour ago). However if you look at the files on the mirror now (12:54 BST, Apr 1 2009) you see that the date of the 5/ branch is 24-Jun-2008. Thus this host is not ready to give you updates to 5.3. Is this a bug?
View 2 Replies
View Related
Apr 8, 2009
I am using LVM2 Clustering to mirror logical volumes between 2 different storage arrays ( iscsi target hosts). Everything is up and running fine, but I would like to be able to monitor the status of the mirror(s), and "re-sync" them if necessary.
I have attempted the locate the information from Google. From what I have read, lvdisplay -v should tell me whether the mirrors are in sync, but it either is not, or I am simply miss reading it. I have come also across information stating lvchange -m [ 0 | # ] should be used to add or remove mirror copies. Is the is correct / only way to "resync" a mirror, in the event that I can determine the mirror is actually out sync?
For those who are familiar with Symantec's VERITAS volume manager, I am looking get the equivalent information related to plexes from vxprint, the equivalent function from /etc/vx/bin/vxreattach -br, and the progress information from vxtask list. I hope the information is currently "search challenged", or I am simply not fully comprehending what I have found.
View 1 Replies
View Related
Jan 11, 2010
I've just set up the local mirror for my 96 CentOS 5 workstations. The mirroring script is taken from public-mirror howto and looks like this:
#!/bin/sh
rsync="/usr/bin/rsync -avHzL --delete --delay-updates" # replaced -q with -v for debuging purposes, removed --bwlimit, added -L to follow symlinks
mirror=centos.politechnika.lublin.pl::CentOS # tried several different same result
[Code]....
I tested mirror consistency by putting the mirror addres I'm syncing with, directly into repo file. Than yumex works fine. I tried several different mirrors with the same result.
View 3 Replies
View Related
Jan 21, 2010
After reading a lot of docs, I'm still having problems using wget to download a Centos repo from a mirror. Here's my best attempt so far:
$cd /repos/centos/5.4
$wget -r -nH --cut-dirs=3 -np [URL]
Of course I get all the unwanted index files etc, but I seem to get a lot of other downloads from the mirror, not just their 5.4 directory. It's like it's following other links on the web pages. Maybe I should be using "ftp://" instead of "http://" considering it's an ftp site, but I seem to have connection problems that way.
View 1 Replies
View Related
Jun 15, 2010
since yesterday, this domain has been painful slow and the only fix is removing it from /var/cache/yum/updates/mirrorlist.txt the last straw was about an hour ago, when 10kb/s was the max bandwidth and I had to download perl and glibc * glibc-common it would have taken over an hour. once removed from updates/mirrorlist the other mirrors picked up the slack and I was back in business,
View 1 Replies
View Related
Mar 1, 2011
So everytime i try and use the "yum" command. for some reason it doesn't go past this point: "loading mirror speeds from cached host files". i cleaned up the cache and rebuilt the OS again, and im still getting this problem. would this be a problem with my internet connection? I'm using CentOS 5.5.
View 1 Replies
View Related
Oct 3, 2009
i find this is an issue which might be tiresome for everyone except for those experts. Esp. for the computers which are dual booting(both windows xp and centos installed in the same computer), that when we are in CentOS we need to switch onto windows immediately. and vice versa. i see this is possible only by shutting down the centos/windows and then restarting onto the other OS.
Can anyone tell me the the solution to work simultaneously both xp and centos without the need of shutting down and restarting There maybe or may not be the solution...but i find the pleasure to know if there is for example, remote desktop connection in windows xp, is there any solution, we can work on windows via centos or vice versa ( in the same machine),
View 2 Replies
View Related
Apr 7, 2010
Since RHEL is similar to CentOS posting it here.
Upon booting from DVD, i get the below error: "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."
I have IDE Sony DVD RW AW-G170.
BIOS Setting:
Downloaded the CentOS-5.4-i386-bin-DVD image from centos.org from DVD.torrent using bittorrent file.
When booting from the DVD, it gives me the boot prompt:
Upon pressing enter, the log messages of the boot detect the media drive as: hdc: Sony DVD RW AW-G170 IDE ATAPI CD.
The below steps occur:
1) Select the keyboard type: selected us
2) Select the Language : selected us
3) Select the image:
- Local CDROM
- Hard Drive
- NFS Image
...
...
selected Local CDROM
Then the above error "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."
The booting steps does not ask the for media check step.
The below methods have been tried to solve the problem:
- Burnt the image in another 2 DVDs but the same error "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."
- Upon burning the DVD image , selected the DVD read speed: 8x. Upon burning the DVD selected 18x for burning. and then tried to boot with that DVD
- At the boot prompt entered : linux hdc=cdrom replaced hdc=hdb but the error remains.
View 1 Replies
View Related
Jul 9, 2010
I have run into a bit of a problem. Trying to get a new install of Centos onto a pair of 750GB drives.
These were once part of a software raid setup. The installer reconises them as a ddf1 raid set. so it does not list the drives as 2 individual drives. I can get around this with the nodmraid
View 7 Replies
View Related
Mar 25, 2009
I want to link two servers (nets) 192.168.1.x and 10.0.0.x which use Fedora with firewalls.
View 2 Replies
View Related
Feb 2, 2010
(Disclosure: I posted this in the other forums yesterday and realized this is the better place for it. I'll get rid of the other one.) I'm trying to add a second NIC to my Karmic 9.10 (Server Edition) as eth1. The new NIC is a D-Link DFE-530TX+ [URL]... It seems like everything should be working fine because it showed up in ifconfig with no configuration after I put it in my machine and it's even is able to get an IP address from the DHCP server in the router.
The problem is that it's not transmitting anything. I can't SSH into it from my other computers on the LAN, and when I ran a sniffer on the interface it was directly connected to there were no packets.
Here's lspci:
Code:
00:00.0 Host bridge: Intel Corporation 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 04)
00:01.0 PCI bridge: Intel Corporation 82850 850 (Tehama) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 04)
[Code]...
View 5 Replies
View Related