Server :: LVM Strategy For A Fault Tolerant Server
Jan 22, 2010
I'm working on a home project to build a VM server. I'm have older hardware (IBM x306) and my processor doesn't have built-in virtualization support, so I'm going with VirtualBox. That seems to give me the most flexibility with supported guest OS's on my P4 processor. I'm using CentOS 5.4 installed on a software RAID1 array and I ran into an issue where every time I try to create a fixed-size virtual hard drive my whole server locks up. I think VirtualBox may have a problem managing virtual hard drives on a software RAID (unconfirmed).Anyway my idea is to create 2 mirrored volumes using LVM to see if that works out any better. I started reading up on it and found this article. My server only has 2 hard drive bays (it's 1U) and the article says that 3 physical disks are really necessary for true fault tolerance.
View 1 Replies
ADVERTISEMENT
Oct 13, 2010
I have a CentOS machine at home serving mainly as a fileserver. It has a few hard drives for this purpose alone - mounted as /mnt/media0, /mnt/media1, /mnt/media2.What I'd like is to have all of these drives act as one big "file pile" - but I don't want raid or jbod because I don't want one disk failure to kill the whole "array". I don't have anything on these drives that is very important or hard to replace, therefore I don't want to use any redundancy.
I have been looking at LVM with intent to mount all tree drives as one LV and VG (i.e. /mnt/filepile). But I can't really make out what will happen if one or more of the drives fail (breaks down/won't start). What will happen? Are all files lost, or just the files on the failing pysical drive? How do I recover files from the other drives in case of failure? Or do I need to? Can I just recreate the VG without the broken drive and just see which files were lost and replace them from backups?
View 6 Replies
View Related
Mar 5, 2010
I have a centos server running nagios for monitoring. I restarted the machine, it is actually a console server anyway. After getting to the login screen, I typed in my user name but it never propt for my password. I can't even ssh into the system. So I tried to use the installation cd and enter into rescue mode where I typed chroot and was able to enter into the root environment. I was able to configure a network interface in the rescue mode and can ping the machine at this point, though can ssh still. In the root environment, I tried running couple commands. like try to restart the sshd. When I typed /etc/init.d/sshd restart, I got an error saying:
766 segmentation fault.
when I vi any thing I get error:
segmentation fault.
how can I solve this problem? What is causes this. Even in the event of restarting the machine, I see so many fails with segmentation fault.
View 5 Replies
View Related
May 2, 2011
I am getting below information from the core file on our production servers. one of our server is crashing with segmentation fault .Program terminated with signal 11, Segmentation fault.
#0 0x00b24332 in _int_malloc () from /lib/libc.so.6
(gdb) where
#0 0x00b24332 in _int_malloc () from /lib/libc.so.6
[code]....
View 2 Replies
View Related
May 30, 2011
Iam currently messing about with a Raq4 server and getting the above response,
I have post the log below.
View 7 Replies
View Related
Jan 5, 2010
My centos linux mailserver has crushed and does not allow any login form any user including root. I have managed to start it in single user mode but using vi editor, df command gives segmentation fault. I suspect the /var/* is full but I can neither remove any file/folder/mail/logs nor copy these to make a backup.Attempt to do this as single user/root is met with readonly files yet I have given full permissions to the files and the folders.
View 5 Replies
View Related
Apr 14, 2010
Having upgraded Debian Linux i386 squeeze release from kernel 2.6.30 to 2.6.32 everything works except X-server segmentation fault on launching a graphic program (CHIMERA, [URL]... I have successfully recompiled CHIMERA on the updated Linux, to no avail.
Below - between *** - the final part of "Xorg.0.log" reporting troubles. Before that, the log is identical to when X-server is working properly (reported in full between ).
[Code]...
View 5 Replies
View Related
Mar 3, 2010
My J2EE application is deployed in Weblogic 9.2 MP3 in Linux box.The problem is "api response time in production system is higher that test system( test system has more data and load w.r.t production .)"we got large amount of page fault in production Garbage collection log ,where as in test system (with same load ) page fault is Zero.And this page fault making my production system slow.In respect of JVM(JrockIt)both the system memory settings(Xms1024m -Xmx1024m -Xgcprio:throughput) are same.
Meminfo for Production:
MemTotal: 3866724 kB
MemFree: 1131748 kB
Buffers: 52304 kB[code].....
any system/kernel parameter set is missing in production which might cause this large amount of page fault. If any more information is required let me know?
Linux Version in Prod:
Linux version 2.6.18-53.el5 (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 16:34:19 EDT 2007[code]....
View 1 Replies
View Related
Jan 25, 2011
I'm running ubuntu server 10.10 64 bit.
1. Set quota in /etc/fstab like this:
/dev/sdb1 /var/www reiserfs defaults,usrquota 0 2
2. Checked quotas:
# quotacheck -cavm
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
3. Tried to activate quotas using "quotaon -a" and got a segmentation fault error.
When I change filesystem to ext3 (using mkfs.ext3 and changing /etc/fstab) it works well. So there are 2 problems, quotacheck warning about journaled quota and the segmentation fault error.
View 1 Replies
View Related
Mar 12, 2011
Instructions for installing ns-allinone ns2-version 2.27 to the network can be simulated DTN (delay tolerant network).
View 14 Replies
View Related
Aug 15, 2009
I have a red hat linux 8.0 server and I want to upgrade mysql 3.23.58 to 4.0, but my rpm command shows this error "segmentation fault" at the end of the rpm -Uvh mysql-server-version command, is there another way to upgrade it?
View 1 Replies
View Related
Jun 25, 2010
I've spent all day trying to work this out. We have a ticketing system (request tracker), which polls a POP3 mailbox for new inbound ticket emails. We've upgraded both our mailserver to exchange 2007 and are trialling RT on a new ESXi host. While this arrangement has worked perfectly for 2 years on exchange 2003, 2007 gives you the option of using TLS.
Unfortunately, the version of fetchmail in the repositories for 10.04 (fetchmail 6.3.9) just does not want to work with exchange 2007, no matter what i specify in /etc/fetchmailrc, however by playing around with the production RT server, I've found that upgrading fetchmail to 6.3.17 (which is the latest version) just makes everything work again.
However, I've pretty much broken the fetchmail install on my production box - I now seem to have both 6.3.9 & 6.3.17 installed on there, and if I use /etc/init.d/fetchmail to restart it, it'll restart 6.3.9 which then generates errors about certificates and never collects any mail, however if I manually start fetchmail then it starts 6.3.17 (which is the version that i want the init script to start for me).
So, 2 questions. How do I fix my garbled install of fetchmail on my production box, and how do I upgrade my ESXi instance to fetchmail 6.3.17 without breaking anything? I'm happy with doing the ./configure and make install to get 6.3.17 on the box, but it then extracts it to my home directory - what do I do then to update the 6.3.9 fetchmail files that are currently in existance?
View 2 Replies
View Related
Apr 2, 2010
I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.
I have installed Ubuntu 9.10 server x64 and have got apache running.
I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.
View 4 Replies
View Related
Sep 29, 2010
have to create a webhost on an running fedora server which runs multiple webpages + a coldfusion serveri have to add an coldfusion virtual host to these.what i would do:*crate a new user & group*enter vhosts.conf and copy an existing host and modify it for the new one.*create an new folder and copy the main files (phpstarter and webroot) *chown the files for the right useri think an apache graceful would be needet
View 1 Replies
View Related
May 5, 2011
Right now i have a HP DL 180 Server with 130 Gb Hard Disk & 8 Gb ram after Raiding0+1. i want to configure Domain Controller Server for my office for 200 to 300 Users. what should the partition size must be mentioned in my 130 Gb Hard Disk, is that going to be Sufficient for ME ?
i am bit confused about /Usr /Var /Boot partitions, as i need to manage perfectly in 130 GB
if i go with 4 Gb swap and remaining for " / " is that will be fine ? should i need to specify partition sizes separately for / tmp /var / usr ..
View 3 Replies
View Related
Apr 21, 2011
I'm running a linux cloud server with the following config
1.2ghz Processor allocation
752MB Ram
The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?
Httpd.conf
Timeout 20
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
code....
View 2 Replies
View Related
Jun 21, 2011
iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.
View 14 Replies
View Related
Jan 25, 2011
I will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.
In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).
View 14 Replies
View Related
Feb 16, 2010
I have got a running mail server on CentOS5.4 Final using Zimbra free edition. . Assume that domain is organization.com.local And it is running fine with users created and bugzilla running on the same machine can send mails using this server. But it can obviously send messages to the internal users. There is this option to configure it to use external mail server to send mails outside the network but my external smtp server needs an authentication.Is it possible to configure it this way to use my external server to send mails from internal domain to say gmail?
View 15 Replies
View Related
Jan 6, 2011
i recently installed apache2 mysql php exc. to run a realtime stat site for my servers.the only thing is that the buttons/ images are not showing up.i checked that my GD was up to date and installed perl5 GD. dont know what else to check.my site with problems go to:http://24.20.177.228/stats_public
View 2 Replies
View Related
May 24, 2010
I am working on linux server with below specifications.Linux EDT 2008 i686 i686 i386 GNU/LinuxWhile checking the status of the server using the command 'opmnctl status' and when server is down the output is not getting redirected to file.I m using the command as,opmnctl status > abc.txt.
View 2 Replies
View Related
Jan 8, 2011
i have been trying to complete the following project1) Configure a FTP server where we can upload and download files.........2) server must run at 9 pm & stop at 9 am automatically ............although the first task was easy ,i have no idea how to accomplish the 2nd task(not to mention I'm a new user)
View 5 Replies
View Related
Jun 19, 2010
My laptop's been locking up in Linux (Ubuntu, Backtrack, Puppy) periodically for a while now. When it locked up, it was always immune to the magic of SysRq, which I thought might indicate a hardware problem. It became so bad that I had to stop using the laptop.
Today, when I turned it on and tried to boot into Fedora 12, I got the following error (just once, it just locked up at various points during the splash screen after this once):
double fault: 0000 [#1] SMP
last sysfs file:
CPU 0
odules linked in:
Pid: 1, co m: swapper Not ta nted 2.6.32.11-99.fc 2.x86_64 #VGN-T 250N
RIP: 0010:[<ff
All the seemingly missing letters were really missing, not my typos.
As you can see, kernel version is 2.6.32.11-99.fc12.x86_64 and my laptop is a Sony Vaio TZ 250N (Core 2 Duo ULV 1.2GHZ). Note that with the other remaining kernels from the updates, nothing ever happened other than the locking up. The core temperatures hover pretty high, about 55-60C peak but this is still below the critical temp. Memtest came up clean when the problem first started happening.
View 3 Replies
View Related
Nov 12, 2009
I'm setting up a Fedora 11 server for the company of one of my friends. So far so good. But now he has asked me to setup access restrictions to folders through samba. Now I'm quite familiar with user access policies, even though I'm quite new to the GNU/Linux world. What I want to know is : what is the best way to give and remove, on the go, rwx access for a specific user to a certain folder in a linux system? Can I create groups for each folders, whose members will have the given permissions? Or do I have to create users for each folder and add to their group the user witch i want to give privilege to?
View 5 Replies
View Related
Jun 20, 2010
I just did my first rsnapshot backup of my /home/ to an external harddisk. When I am not at my computer for a couple of hours, I always shut it down. Therefore, there are no predictable hours of the day where I know that my computer is running. So, how should I schedule/crontab my rotating rsnapshot backups?
Is anyone using rsnapshot in combination with a schedule which is not based on exact times but rather on the time the computer is running?
View 2 Replies
View Related
Mar 7, 2011
I'm planning to partition a new hard drive to dual-boot Mint+Mepis. I've read partitioning tutorials and posts, and want to check my understanding--I'd appreciate input from an experienced person.For 500GB hard drive, dual-boot Mint+Mepis:
--Mint: / root partition for OS; /home partition for ease of upgrading
--Mepis: same as Mint
= four partitions
And:
/swap partition to be shared between Mint+Mepis
/shared partition for shared data
= two partitions
Total = six partitions
Since four primary partitions are allowed, I should use three primary partitions and one extended partition containing three logical partitions.Is that correct?If so, what should go where? I assume there's an optimal strategy--Should each /root of Mint+Mepis go in a primary? What should go in the other primary, and in the three logicals? Or maybe I don't need three primaries?--use two primaries and four logicals?
View 4 Replies
View Related
Apr 8, 2010
I compiled and install a binary source using "make" and "make install", but after I done that I think it's kind a messy not to build it in package. Therefore I tried to uninstall it and make a package out of it.
Questions:
1. How do I uninstall a compiled binary from "make install"? Some suggested to do it manually. How do I do it cleanly so that I won't miss any spot?
2. I understand that makepkg is used to build a package. I have the binary compressed in tar.gz format and have some difficulties to understand the man page for makepkg since I'm not familiar with "make". How do I build it using makepkg, what is the proper step?
View 9 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
Aug 21, 2010
I've two internet based server ( xx.xx.xx.xx and yy.yy.yy.yy ) The Y server is running VNC server and is responsible for answering to VNC sessions. But I need to hide the IP of Y server so I want X server to be as VNC Proxy and redirect all VNC sessions to Y server.
I guess the best way is to use iptables but actually I can't get it working so
View 4 Replies
View Related
Feb 7, 2011
I'm trying to setup RAID 1 on a CentOS 5 server for a zimbra email server.I get a partion schema error. Can I do this?The server is a HP Proliant ML150 G3 server with two 80GB HDD.
View 1 Replies
View Related