CentOS 5 Server :: Cloning An Existing Installation?
Feb 16, 2009
is there a way to clone an installation? I have a couple "master systems" which I want to replicate into other servers. In Solaris I can build a flar image from the first one and install from that image, I looked into cobbler and koan, but they seem to be more repo and kickstart oriented.I need a way to say "take this system as a base and build an installation image out of it".
View 3 Replies
ADVERTISEMENT
Aug 12, 2011
Basically I have setup and configured a CentOS 5.6 system on one server, and will be getting a brand new server in about a months time I was wondering if there was a way to clone a system from one server to another so I don't have to add all the users again, the config files are not a issue as I can just copy them over, but having to re-do all the user accounts, smb accounts and folder permissions will be a pain.
View 3 Replies
View Related
Jan 13, 2011
We have two CentOS 5 servers in production (web and database). We are setting up a single staging server that will mirror the configurations of these servers as closely as possible. What is the easiest way to ensure the exact same software and configs as the production servers are setup on the new staging server. Our contracted data center provider has already informed us that they do not perform images and NO we do not have physical access to the machines. It is undetermined whether we will be virtualizing the staging server into two virtual servers yet, so for the purposes of this post lets assume we are not. I'm seeking a faster/more precise method than doing this by eye and hand.
Some information on our web server code...
View 4 Replies
View Related
Oct 8, 2009
I have CentOS 5.3 dual booting with Vista on a machine with AMD-V support. I'm looking to get my existing Vista partition running as a DomU Xen machine. Can this be done without having a dedicated video card?I've got a Xen kernel (from the repositories) installed and running perfectly with my nVidia graphics card. I tried to set up a new DomU through virt-manager and set it up as Vista, pointed it at the physical partition (fakeRAID mapper device) and gave it 2Gb RAM (I have 8Gb total). I got it to do a PXE network boot, knowing that this would fail and therefore no installation would be attempted, as no installation is needed.
This worked well in that the initial PXE boot failed and the machine shut down. When I start it now it seems to actually boot Vista, but I just can't see it! It goes as far as saying "Booting from Hard Disk..." in the viewer window and then doesn't update, although the disk activity and CPU usage are very similar to a machine booting Vista to the login prompt.
View 4 Replies
View Related
Jun 23, 2010
I have an existing unix user that some how didnt make it into the copy over to our LDAP server. How do I add an existing unix user to an existing LDAP directory? Will ldapadd work? I was under the impression ldapadd required an ldif file to work properly.
View 7 Replies
View Related
Oct 3, 2009
I have a rock solid server running CentOS 5.3 (probably 5.4 soon enough). Basic LAMP box with a few tweaks thrown in. Everything is running perfectly, with one problem - the drive is too small (I project it filling up to dangerous levels in 6-8 months). So, what I'm looking to do is basically clone the drive, store the image, pull the current drive and replace with a bigger drive (same number of heads and cylinders though), and install the image.
What I did do once, a million years ago, is put the new drive as a slave on the same IDE cable, and use dd (working from a live CD of the distro) to copy from the master (smaller) to slave (larger). Then, yank the smaller, change jumper on bigger drive from slave to master, and away I go. Next step as I recall was using gparted to get access to all the space on the new, bigger drive.
Is this more less still a reasonable way to go? I recall the issue was making sure the old smaller and new larger drive had the same number of heads/cylinders (although I don't remember exactly why).
View 7 Replies
View Related
Sep 1, 2010
what is the best software for cloning my centos as an exact image?
View 1 Replies
View Related
Jun 21, 2011
we have an existing debian server which host our moodle installs , but i need to look at converting to virtual and host within our test network for breal fix testing... but i cant find anything that will allow me to convert it as it stands.
we use Virtual machine manager, i would like to have used Redhat but its a no no ...
View 8 Replies
View Related
Nov 7, 2010
I just invested nearly 12 hours configuring a CCTV system using CentOS 5.5 Server and Zoneminder. I have it setup just the way I want it. I would like to make a clone image of the drive just in case disaster strikes (lightning strike, failed hard disk, etc). In the Windows PC world, I use a program called Ghost to make a mirror image of a hard disk. I power the computer down, run Ghost to make a block level clone of the drive, then power it back up. Can I assume that will work with CentOS without problem?
In the computer now is a 320GB SATA drive. One partition on it is swap, and the other is ext3. There is no raid setup on the drive. I have an identical 320GB drive I could use and keep it in the computer unplugged from the power and not spinning. That way if anything ever happens, I can power down, move the power and data cable to the new drive and power it back up. Granted, I will lose any new config and database changes, but it will be a lot better than starting back at square 1 and reconfiguring the entire OS and software.
View 10 Replies
View Related
Mar 28, 2010
I want to upgrade from another distro to ubuntu server for a few reasons. The only problem is I have a lot of data that needs to survive. here is how my computer is setup. I've 5 drives on the computer,
A- 10gb drive for OS and swap only, no data
B,C,D,E - 4x 500 GB drives in a LVM. they make up one large drive with xfs and this volume has about 1.2 TB of data. there is nothing fancy on it, no encryption and no software raid of course the little 10gb drive can be formatted no problem, but the LVM needs to be migrated over intact.
View 5 Replies
View Related
Sep 20, 2010
I have installed nagios successfully, also I have added one windows server for monitoring. Now I want to add another windows server with the same default services is there any option in nagios which can clone existing window server with new one. So I don't have to do all steps again.
View 13 Replies
View Related
Sep 20, 2010
I have configured a kickstart file where it will ask for the hostname, ipaddress and so on from the user and will proceed further.But I would also like to detect the keyboard, mouse and language and provide it to the user so that he can select the required options.Do I have to call any existing CentOS scripts from ks.cfg file?or if any one has developed any scripts or can any one give me any inputs for it.
View 2 Replies
View Related
Jan 14, 2010
I need to backup my active production servers (yeah it's too late now) with image cloning application that were running RHEL3-5. The problem is I need to run it remotely from my office. Most of the software I found either need to use bootable cd or need to unmount my partitions which is I wasn't allowed to since it's a production servers. I also tried dd but it consume too much time, sector by sector cloning and empty disk space also included so the file created also big in size.
View 4 Replies
View Related
Apr 26, 2010
We are giving away 20+ machines to 3rd world county and I was asked from the receiving party to install linux on them. What I don't want is to pop a cd into all of them and do the manually install.
I'm thinking of installing one computer the old fashion way and do the OEM-configuration on it afterwards. It would be nice to just clone the hard drives since the computer is identical right down to the hard drive.
View 7 Replies
View Related
Dec 4, 2015
I have read several manuals and online html on how to clone a partition to a greater one, I am still not sure about what to do.
Code: Select all# df -k /srv /usr
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md5 38445384 195236 36297128 1% /srv
/dev/md3 8648896 1088016 7121540 14% /usr
What is the recommended procedure to clone i.e. /dev/mdx (/usr) partition to a greater one, say /dev/mdy, to accommodate for growth, whilst preserving attributes including timestamps (and yes, that means also including ctime).All of # cp -ax SOURCE DEST, # rsync -ax SOURCE DEST and # cpio modify ctime.Some sites recommend dd, i.e.:
Code: Select all# dd if=/dev/mdx of=/dev/mdy bs=512 conv=noerror,notrunc,sync
URL....However, I am not sure what will dd copy do with end of partition, and will it see the remaining space on /srv (it's contents are dummy and will be overwritten).
View 8 Replies
View Related
Mar 8, 2010
I have a busted XP notebook, no CD, no boot from USB. I have the option of booting from network, my provider wants to charge me to set up a static IP address I'm hoping to just plug in to my working 8.04 install with a cat5 cable or through a simple workgroup switch & get the basics installed where would I find such a procedure?
the gateway notbook hangs, part way through the restore [xp] process, I can only get to bios & restore, no dos prompt I don't care about any of the info or having XP I know the HDD may be bad
View 2 Replies
View Related
Jun 3, 2010
I have my Mythbuntu 9.10 environment installed on an old 160GB PATA disk and have just purchased a new 64GB SSD that I want to transfer my installation to.In the past I've just used ddrescue to clone disks, however in this case the source disk is larger than the destination disk so it won't work. I only have a few GB of actual data on the 160GB disk, so the 64GB SSD is definitely going to be enough for me.
I guess I need someway of either cloning so that only the actual data and not the partition is brought across, or possible shrinking the partition(s) first on the source drive and then using the same ddrescue method I've used in the past.Just looking for some assistance on what method is the best/most reliable?
View 8 Replies
View Related
Oct 2, 2010
I would like to replace my old 100gb boot drive in my server with a new SSD...for obvious reasons. So what is the best way to clone the existing installation (10.04 desktop) from the old boot drive onto the new SSD? I have read some guides online that suggest using the live CD and various software packages but most of them say it will only work if you are cloning to a disk of the same size or larger, nobody seems to address taking an installation from a larger volume down to a smaller one - in my case a 100gb IDE onto a 30gb SATA SSD.
As this is a datadump, the only drives I really care about are the various 1.0/1.5tb drives that actually store the data, the OS drive contains nothing more than the standard OS, samba/webmin and a few monitoring tools. So I guess it's not the end of the world for me to start fresh and install 10.10 next week, but I would like to know for the sake of this upgrade and future ones if anyone can be of assistance. basic specs if needed: Athlon64 X2 3800, 2gb DDR500, Asus A8N SLI Premium (Nforce 4/Silicon Image 3114R RAID controller). OS is on a 100gb IDE (WD1000BB-00C) and I would like to toss it on a Kingston 30gb SSD (SNV125-S2/30).
View 5 Replies
View Related
Nov 8, 2010
I bought an 1tb hard disk today and cloned my old 160gb ubuntu install to the new disk using gddrescue (from this tutorial [URL]) and everything worked fine. The problem is that I can't resize my home partition to fill the rest of the disk. I've tried using a live-cd and booting from my 160gb hard disk but I still can't resize the partition.
Here's the "sudo fdisk -l" output:
Quote:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]......
View 2 Replies
View Related
Aug 18, 2009
I have fedora 10 and it has been working fine for over 6 months. Today I did the system update. After the update, I rebooted the system. Now, it hangs displaying the message "Not cloning cgroup for unused subsystem ns".
View 9 Replies
View Related
Aug 9, 2010
The company I work for use Ubuntu on the PC's that control the system they manufacture. To simplify and speed up the OS install we use a standard PC (all the same hardware) and install a disk image on each system. The disk image was produced from one of the systems and the network settings were set to use a Static IP
However every time we clone a system the network settings change from the static IP settings to Roaming Mode.
why this happens or if it is possible to have the static IP settings remain after the clone?
View 5 Replies
View Related
Aug 6, 2010
I have used GParted several times but I only know how to clone a single partition. I am looking for a way to clone and entire drive that has several partitions, along withthe MRB, unpartitioned space and everything else in one step. I have a 500 GB drive that is going out and I want to clone it to a 1 TB drive so I don't have to reinstall 3 different OSs and fix the GRUB. One of the other OSs is on anther drive so I'm not sure that it would work even if I can clone everything exactly. I'm not sure if the drive that is failing is the one with the MBR on it or not. how to do this in GParted or know another good program I can run from a live CD to do this?
View 2 Replies
View Related
Mar 2, 2011
I have installed Centos 5.5 running in VMware on my windows PC. My PC is part of a network which connects to a Linux Fileshare system. I am wanting to connect to the existing Linux fileshare from centos. The know the fileshare is NFS and I know the IP address and directory name. I attempted to connect using the 'mount' command as#mount -t nfs <server IP address>:/<directory> <local directory>An attempt was made to mount, however it is username/password protected. I have gone through the docco for 'mount' and cannot find anyway of passing <username><password> with 'mount'. Does anyone know how? Or am I using the wrong command?
View 3 Replies
View Related
Sep 24, 2009
I've installed CentOS 5.3+ xampp 1.7.2 (apache,proftpd and php5) +postgresql 8.4. And some strange errors appear from time to time, but can't reproduce it by wish. For example client opens a webpage on CentOS, the page can be open many times, but in some moment browser gives error as for non-existing page and when I check lampp's logs, there is only a record in error_log "[notice] child pid NNNN exit signal Segmentation fault (11)".
Or another example: client opens ssh-connection and ftp-connection. When ftp-connection got timed out and server closes it, ssh-connection unexpectedly gets closed the same moment without any errors in logs. And again it happens not everytime, but cannot be related to physical network because the same server on the same network with Fedora never had such errors. Possibly xampp-1.7.2 is not too compatible with CentOS 5.3? How to get more info from system in this case?
View 1 Replies
View Related
Dec 20, 2010
I administer a small network of computers connected to a windows 2003 server. The machines Dual boot Windows XP and CentOS 5. My question is this. The machines are being upgraded to HP Z800 workstations. These workstations come with 2 1TB drives setup on a hardware RAID0. Can I install Linux on these machines, using the RAID0? Can I do an install as if it was just one hard drive? The machines came with Windows7 and I'd like to keep it intact including the RAID0. Can I do the install where it resizes the partition, adding the linux partition to the "drive".
If I can't use the existing windows RAID0 to install CentOS I was thinking of just installing another hard drive in the machines for it. This brings up another question, what would happen if I moved my Linux drive from one of the old workstations and put it in the new workstation, would it boot? I know windows wont boot like this because of the hdd controller drivers and I have a sneaky work around for this anyway but am not wanting to transfer the windows installation.
View 2 Replies
View Related
Mar 22, 2010
I have just finished installing (after hard work ) Centos 5.4 x86 configured with Snort & Snorby as frontend web, i would like to create from this installation kind of image that could fit to almost any hardware type.
View 2 Replies
View Related
Aug 30, 2009
Does anyone know how to install the Default KDE Desktop settings in an existing user? I copied a user's home directory from another Linux and when I added the user using adduser on the new intallation, it did not copy any of the Desktop or other .rc/.profile settings.
Is there a script that is run by adduser, or a list somewhere of the files that are needed for KDE Desktop to work correctly? Or, do I delete or rename certain files and then, what executable do I run to get the Desktop?
View 3 Replies
View Related
Jan 3, 2011
I had set up 4 virtual machines on centos 5.5 system where I directed the image locations to an external storage. I have lost the image files in the storage, but I have the image files that were copied from the virtual machine image location. I want to put up the same system on the same computer by copying these backup images. However, when I copy the image file to the same exact location and start the corresponding virtual machine I get "no bootable disk" error. When I increase the size of the image using "qemu-img" commands, I can get rid of this error, but get "error reading disk" error. Is there a way to overcome these problems, or is it not possible to restore a virtual machine by copying the machine image file under ..../xen/images?
View 1 Replies
View Related
Aug 31, 2010
I want to upgrade existing MySQL 5.0.77 version on CentOS 5 Red Hat Linux to MySQL 5.1.x. Is anybody have list of patches or upgrades to upgrade to MySQL 5.1.x?
View 6 Replies
View Related
Jul 2, 2011
I have a Centos 5.6 Linux Server configured as Router with NAT for my LAN. There are currently 2 NIC's on my server. One is connected to WAN , a PPOE connection (eth0) and eth1 is connected to a switch which supports my LAN. I have enabled NAT and configured iptables on my server and I am able to access internet from LAN and everything is working fine.I have a Belkin F5D8233-4v3 Wireless router and I need to configure wireless on my network so that I can access internet from my Laptop. The issue is that I have only 2 NIC's on my server, one Gigabit NIC integrated with my motherboard and another NIC which I am currently using for WAN access and LAN. I need to setup the Belkin as an wireless Access Point.
Can I connect my Belkin to my switch and set it up as a Wireless Access Point?? I have read about setup using 3 Nic's.Any ideas on how to configure my Belkin as Wireless Access Point with my existing setup? Is Belkin F5D8233-4v3 supported on Linux.
View 1 Replies
View Related