Server :: Drbd Active-passive Cluster Change Primary One?
May 21, 2011
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'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).
Can anybody have an idea of an ftp client code using raw ftp commands.
OR Can anybody tell me how to turn off passive mode using raw ftp commands. PASV is the command which turns on passive mode but there is no such alternative of active mode. I have already tried using pasv_enable=NO in vsftpd.conf but that is not working.
I'm trying to build a Fedora 12 cluster to run DHCP on top of two servers using pacemaker and drbd. The pacemaker runs great but i'm having the hardest time getting DRBD installed.
My kernel version is 2.6.32.11-99.fc12.i686.PAE First i tried to [root@dhcp-primary drbd]#yum install drbd this doesn't give me everything because apparently the kernel module for DRBD must be built from source. so i unpacked drbd-8.3.6.tar.gz and tried :
[Code]...
I'm not very experienced in compiling from source i'd love to make an rpm for this but after scouring the web and trying different install methods, I am still at a loss.
I've set up DRBD on 2 machines, 1 of them is the master, another is the slave.
After each bootup, I need to run the following on the master machine:
Code: drbdadm -- --overwrite-data-of-peer primary all
Do we need to specify which machine should be the primary node every time? Is there any method to make the machine "know" it's itself the primary node?
I'm having a very strange problem with red hat cluster. After testing it in the lab, I tried to install a new cluster and received the following error: cman not started: Cannot start, cluster name is too long or other CCS error /usr/sbin/cman_tool: aisexec daemon didn't start I've checked the internet for that error, but nothing. I decided to to take the example from cluster.conf man, which looks like that :
[Code]...
And still I get the same error. I can find my servers both from DNS (FQDN and short name) and they also appear in /etc/hosts.
This is the scenario: Active Directory Server = 192.168.0.1 Squid/Dansguardian Proxy Server w/NTLM Auth = 192.168.0.10 The Linux box has been integrated with AD and works fine. Users can authenticate automatically when login the AD or when they access the web through Basic authentication. That part is just fine.
But, when I add a new user, or change a users' primary group, I have to change the 'filtergroups' file in Dansguardian. I tried to make auto this process using the USERMAP and USERMAP2 scripts in [URL].. at the "Extras and Add Ons" section, but both scripts doesn't run properly in Ubuntu if they are not changed. I tried, following the instructions, but got a lot of syntax errors. So, I wrote a very simple script using 'net rpc' to retrieve all users according to the AD Security and Domain Groups. I created an output folder in dansguardian to dump the rpc outputs into files. And read the files to apply filtering groups.
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?
tring to run an ftp server on default ports with port 10100-10199 as passive. Using vsftp. But the ports refuse to open what the heck am I doing wrong? see screen shot. oh using karmac, now.
Is this possible that a process running on a remote-host only inform nagios when some thing is wrong. Rather then nagios-monitoring-server checking through NRPE every so often. Reason is I want to add too many alerts in the application. And I don't want a whole list of ok messages.
I am trying to do the cluster storage with the Rock Cluster storage operating system . I have install the rock cluster on the main server . and I want to connect the client with the PXE boot . when I starting the client then it boot from the PXE boot into the mode of compute node. but it ask the where is to be stored the I have give the path..then server says that not able to find the directory path.
Steps:- 1) insert-ethers 2) client is started with the PXE boot. 3) it detects the dhcp . 4) At last it demand where is to be started by cd-rom, harddisk ,nfs etc.
then I started with the nfs and I have given the lanIp of server.and server is detecting the client but client is not finding the filesystem directory. into export partition directory but it is not taking path.
PATH:- /export/rock/install it is not finding this path then it is not able to start the o/s from PXE boot..Is there any solution and manual of rock or anyother solution then u can reply to me...
Is there a method of changing the Primary DNS other than system-config-network?When using system-config-network the new settings are always over written with the original settings after re-boot.
I compiled a code on a Linux cluster machine with mpich and ifort. A test run shows that the program works fine. However, it seems that the program is running in serial instead of parallel mode: reducing the number of CPU's from 32 to 3 does not increase the time it takes to run the simulation. Infact, the simulation is slightly faster with 3 compared to 32 CPU's. Unfortunately I have very little experience on the subject.
My questions are:
(1) How can I be 100% sure my code is running in parallel and not in serial mode?
(2) If the code is running serial, what do I need to do to make it run in parallel mode?
Details:
For submission I use a jobscript which includes the following lines:
I run a dual-screen setup, and the installation detected both screens without troubleowever I want to change primary screen, so the panels and menus will be located in the biggest monitor.I am not able to do this in the System -> Preferences -> Monitors interface. Where can I do this simple operation
So i was searching around my big desktop was working fine by default but I couldn't figure out how to switch my primary monitor and all the threads on this topic where real old and the fglrx drivers kept messing me up
so I went to my profile and showed hidden files and found a cool .xml file called monitors under .config
opend it up and chooses the primary monitor I wanted
I've been fighting with this nearly for three hours, but nothing seems to be working. I have one Gigabit Realtek chip integrated on my Mainboard (which I use for internet connection), and one aditional 100Mbit in PCI slot. So, I basically want to use this 100Mbit for testing purposes, but when I connect something to this 100Mbit NIC adapter, it becomes default and I can not access internet. So, I want to set my eth0 (gigabit integrated adapter) as default adapter.
P.S. I've tried to edit /etc/network/interfaces and iftab, but nothing worked.
I have first installed Windows7 to sda2 (sda1 being the MBR). Then I installed Ubuntu as follows: sda3 /boot, sda5 swap (sda4 being the Extended partition), sda6 /, sda7 /home. So far so good. Windows and Ubuntu worked fine. I also planned to create another partition for data and two more partitions for Arch Linux. And here is the problem.I just assumed that the Extended partitions were created logical but actually they are also primary. So, as things stand, all my 7 partitions are primary and I cannot create any more partitions.I must've erred somewhere during the Ubuntu installation. Is it possible ti change the Extended partitions into logical, without affecting all the stuff within? Any ideas? Otherwise I will have to delete everything after Windows and install Ubuntu again, making sure that I create logical partitions in the Extended part
linux newbie and i made a mistake while installing windows and linuxI made 4 primary partitions for my HD as i didnt know that only maximum 4 primary partitions are allowed.Now 25 GB of my HD is wasted. It is shown as unusable.CAN ANYONE PLEASE TELL ME IF I CAN CONVERT MY WASTED 25GB INTO SECONDARY AND USE IT WITHOUT FORMATTING AND RE PARTITIONING MY ENTIRE HD ???
I am trying to build GFS2 cluster with 2 or 3 Fedora 14 nodes, but I've encountered some problems from the start. First luci does not work at all in Fedora 14. There is no luci_admin and even if I manage to start luci service, I get a blank white screen when I try to open it from the browser. I've googled a bit and found that I'd might be able to setup GFS if I manage to build cluster.conf manually and start the cluster suite, but I cannot find documentation on how to create cluster.conf anywhere. If anyone knows how to setup GFS2 without a cluster suite or how to configure cluster.conf.
I am working in a project that needs to set up an Apache Web Cluster. The cluster needs to be High-availability (HA) cluster and Load-balancing cluster. Someone mentioned the use of Red Hat Cluster Suite, but, honestly, I can't figure out how it works, I haven't been able to configure it correctly. The project currently have two nodes, but we need to support at least three nodes in the cluster.
I just installed Ubuntu 9.10 this evening. I have a Nvidia Geforce 8500GT video card with two monitors hooked up (one to the cards VGA, the other to the DVI). I installed Nvidia drivers and Ubuntu is working with both monitors fine.
The problem I am having is it chose the monitor plugged into VGA as the primary (uses that monitor for the toolbars) when I really want them to go on the monitor that is plugged into DVI. Is there anyway for me to switch which monitor Ubuntu treats as the primary?
I have google'd the crap out of this and have yet to find a "solved" forum. I currently have 2 sapphire ati 5770's in xfire. I also have two monitors. My (preferred) primary display has a dvi input and my other display is hdmi. I have them both plugged into only one of the cards. For some reason it keeps setting the hdmi display as the primary. And I want them in extended view. The ATI CCC suite does not support changing the primary monitor and I have tinkered with the xconfig but I do not really know what I am doing, so I have ultimately not been successful. here is my xorg.config file.
I am using Ubuntu Live CD. I want to set a partition as active partition in my laptop which is not booting up right now. How can i set a partitoion as active through Ubuntu Live CD?
Does anyone have any experience with clustering KVM? I know how to do this for Xen, but I would like to know if it can also be accomplished with KVM. I am looking for a solution that is not specific for a distro.
Can a Cluster, made up of 5 Dell Poweredge computers, each with a NIC and a HDD, be a file-server that is highly available? If I go over, and break one of the computers with a sledgehammer, will the cluster continue to operate without data loss?Goes on to say how fancy the cluster is,
I followed these steps to add a client to my active directory domain, everything is working as expected except that when a username has whitespace it creates a directory in /home with whitespace and gconf fail to access his config dir in the user's home. KDE also fails to start but I don't know what's failing yet. I found that the easiest way to fix these issues is to replace whitespaces by underline in homepaths so I changed the pam_mkhomedir source to replace the whitespaces and save it using the usermod command. It should work but is not... the reason is that I can't change the user data using the usermod because domain users are not in /etc/passwd.