CentOS 5 :: Save To Update A Production System With Xen/drbd?
Jun 23, 2009
i have problems with my failover machines and cant locate the cause. The last update is quite some time ago.So will it hurt my configuration when I do an yum-update? I have 5 Xen VM on each machine, also they replicate with drbd and heartbeat. Can I just update the dom0 and leave the VM untouched inside?
I'm running RHEL 5.5 on two workstation for test DRBD and I get something that sound strange ...[URL] Quote:Protocol C. Synchronous replication protocol. Local write operations on the primary node are considered completed only after both the local and the remote disk write have been confirmed. As a result, loss of a single node is guaranteed not to lead to any data loss. Data loss is, of course, inevitable even with this replication protocol if both nodes (or their storage subsystems) are irreversibly destroyed at the same time. By far, the most commonly used replication protocol in DRBD setups is protocol C.
I've been working at creating a highly available set of host servers for a linux diskless boot cluster.Each host machine is fitted with redundant power supplies and two 1TB drives in a Raid-1 configuration.When I first started this project they each had twin 160GB drives. In my original setup I had both nodes acting as primary systems so that I could mount /dev/drbd0 to my /data directory and see changes immediately.It had worked in the past where I could make a file in /data on the first machine and it would show up in the /data directory on the second machine. One day this had stopped working where if I made a file on the first machine it would display on the second one until I unmounted /data and remounted it to the /dev/drbd0 disk.
This is when I bought the new disks and decided to start from scratch. The weird thing is that if I make a file on the primary and remount on the secondary to see it and then delete it from the secondary and THEN delete it on the primary, the primary throws no error however it goes into read-only mode because it knows that file was already gone.Below is my configuration file, sda8 is an 820GB partition which is used for all of the data I want to replicate, currently populated with ~10GB of data. Sda7 is my metadisk partition which is 500MB large clearly more than needed by drbd.Also you will notice "incon-degr-cmd "halt -f";" is commented out. This is because when I go to actually use it drbd throws an error when reloading the configuration and I'm not sure why that is either
I'm trying to configure an ISCSI/DRBD high-availability cluster and I'd like to know what is the best option between OpenAIS and Heartbeat. I've seen they both are included in Centos Repos, yet OpenAIS requires installing 2 addition repos to install Pacemaker (EPEL and Clusterlab repos).
On a healthy production system, should it still be possible to overload the system resources with taking Sar reports with verbose information...let's say like 1 shot per a second? Or should a healthy production system be able to handle this?
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.
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]....
I have a error when i want to update my system via YUMI execute the next command.sh@ yum -y updateYou could try using --skip-broken to work around the problemYou could try running:package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigestThe program package-cleanup is found in the yum-utils package.
I am an old days RH release user(from 6.x) and just switching back from Debian/Ubuntu to CentOS on some servers, but I can not understand the kernel update strategy currently enabled in CentOS.There are two boxes, with almost identical installation, but recently there was an auto update of kernel on one box. This auto update also seems to issue an auto reboot on the machine, which is unacceptable on server machines.
When I logout Gnome session, the whole system reboots. I found this command, "gnome-session-save --kill", it restarts the system, too.That's what is happening with two of my Dell destops(CentOS 5.6). How could this happen?
I have Centos 5.3 on our server When I log-in in webmin I have a message "Warning - Your system is actually running CentOS Linux version 5.3." In the next line I have a button "Update Detected Operating System" My question is Do I need to click the link and update Detected operating system? If I do, is it going to change any configuration on our server?
Last I upgraded one of our cent 5 boxes which is running kvm with a mix of centos and windows VMs.After the update performance just tanked on the XP guest, but the others (including other windows VMs) are just fine.I checked with our good friend google and didn't really get any help there.We're hoping to NOT have to rebuild the XP guest, so I thought I'd check in here first.
1) does it overwrite existing configuration files that is will i need to reconfigure every service after running yum update
2) If somebody pushes the reset button or electricity to the system is reset while yum update is running what will happen i think there can be two stages to that
a) if it is still downloading while the electricity to system is reset
b) it is installing while electricity to system is reset
I've tried to use the GUI tool for update system in Fedora 10. It listed all of the available updates successfully, but it have not any response when i click the 'Update System' button~
Brand new to Linux. Sort of got thrown in front of the bus if you know what I mean. The company I work for has a Linux server running CentOS 5.4 Company uses Linux for their Email, FTP and Web Server. Have been here a few years dabbling in and out of Linux and now that the old Admin has left the company.....I need to learn it ASAP. The server has run pretty solid until today.
The email server runs SendMail and SpamAssasin. Received lots of complaints today regarding extra SPAM. Noticed that SpamAssassin was not running. Tried to restart it through the WebMin tools and got the following error: Starting spamd: child process [3956] exited or timed out without signaling production of a PID file: exit 255 at /usr/bin/spamd line 2588.
My CentOS installation correctly recognize my video card and my monitor if I go to System->Preferences->Screen Resolution and set monitor refresh rate to 75 hz, everything works fine, but if I reboot, at startup refresh return to 60 hz.How can I save refresh rate value?
I am having with CentOS5.4 and Pirut?The update system is telling me I have a Pirut update, but when I go to apply it, the system complains about dependency issues with rhn-setup-gnome. I have searched high and low for the solution to this but haven't found it yet.I have found some hacks, but I am hesitant on messing with the integrity of the system just to complete the update.
It seems to be drbd is not available in ubuntu 10.10 at all. I just installed the drbd8-utils package thinking the kernel module would already be built-in. But I guess not, because here is the error I get:
Code: # drbdadm syncer r0 Could not stat("/proc/drbd"): No such file or directory do you need to load the module? try: modprobe drbd Command 'drbdsetup 1 syncer --set-defaults --create-device' terminated with exit code 20 drbdadm syncer r0: exited with code 20
I'm gonna set up a HA-cluster with the help of DRBD. I have installed DRBD and it's working on the Primary node, I synced them and formated it to ext3 and mounted it successfully on the Primary.
When I'm gonna mount it on the Secondary node it just tells me that I need to specify a filesystem.. so it looks like is hasn't been synced properly or something but both nodes are up to date.
This is my drbd.conf:
Code: global { usage-count no; } resource dbcluster {
[Code].....
and could mount it without any problems on dbcluster1, but it doesn't work on dbcluster2.. according to the documentation and various howtos I'm suppose to be able to use it, mount it on both nodes etc. unless I've missed something.
Does anyone know if there is something else I need to do to get it running properly on the Secondary?
i have a two node drbd cluster, while drbd1 is primary and drbd2 is slave i should make drbd1 slave and unmount drbd partition and make make drbd2 primary and mount drbd partition to see content on drbd2is it any way to automate it so as drbd1 goes down, drbd1 make itself primary and mount the partition?
I created a kickstart file and put it on a floppy. I have installed several times to refine the process and confused. I am not sure if the kickstart file is even being used by grub. I specified
autostep --autoscreenshot The install STILL asks me all those questions I was trying to avoid by doing autostep in the first place, and /root/anaconda-screenshots coes not exist.
I specified linux = hd:fd0:/ks.cfg
as a Grub command line option. I got that line off a forum, so it may be inaccurate. Anyone know if that is correctd? If I screw that up, shouldn't anaconda complain about file-not-found? Are the screenshots only applicable to graphics mode or also to text mode? (I have been using text mode, assuming text file screen dumps would appear in that subdirectory...)
We need to provide multiple people from outside access to QuickBooks. Each and everyone user from outside should be able to connect (remotly) to their own sandbox (maybe) or virtual screen and be able to use Quickbooks to update their own books.
I was wondering if there is any way to use Xen or some sort of Virtualization to achive this using CentOS virtualization? I want to save on MS Windows license if possible.
If not, then what do you suggest I should do with Windows + CentOS to get this running? Should I install multiple instances of Windows onto CentOS and give access to users?
I've recently lost my window options, had to somehow manipulate my way to Xchat and ask some people how do I get it back (it was metacity --replace, and after I decided to stop the command and run it in background the X was completely useless so I had to do killall -u user). And that was after the internet connection stopped working for some reason (might've been the ISP).
The thing is, after using linux a long time, I still get the feeling that on dire situations, I don't know the good tricks (stuff like metacity --replace). I feel like a really need like a "rescue" cheatsheet for things like: how to save the X no matter what without pressing reset how to reset the system to "normal state" how to connect to the internet through the command line how to monitor what the X is doing (using ubuntu linux 10.04 btw)
I am helping a friend to install ubuntu, and he has a small ssd hardrive that he wants the OS installed on, but everything else he wants to save to another drive!
Is it possible to setup ubuntu to automatically save into another drive?