Red Hat / Fedora :: MUltiple IP Creation With IP Redundancy
Mar 4, 2010
I have to implement hardware redundancy.I have 2 linux machine for this and each have similar configuration/hardware. Lets say two machine Linux1 and Linux2. Currenty Linux1 have one NIC and it has 4 Ip address bind on it. Now I have to down the Linux1 and up Linux2 with same Ip addresses. Could it possible to configure all the Ip (same)address on both Linux1 and Linux2 and Linux1 have eth status UP while Linux2 have eth:y status down. I am trying it but on Linux2 machine I cant able to create multiple Ip interfaces with down status.
I have to implement hardware redundancy.I have 2 linux machine for this and each have similar configuration/hardware. Lets say two machine Linux1 and Linux2. Currently Linux1 have one NIC and it has 4 IP address bind on it. Now I have to down the Linux1 and up Linux2 with same Ip addresses.
Could it possible to configure all the Ip (same)address on both Linux1 and Linux2 and Linux1 have eth:x status UP while Linux2 have eth:y status down.
I am trying it but on Linux2 machine I cant able to create multiple Ip interfaces with down status.
I've been running 10.04 since September on my new MSi i3 notebook and about two weeks ago I noticed that when I login after system boot, propagation of icons on my desktop and the content of my Panel have become slower and slower.If I logout and login again the propagations are not slow.
I have been battering with FC10 and software RAID for a while now, and hopefully I will have a full working system soon. Basically, I tried using the F10 live CD to setup Software RAID 1 between 1 hard drives for redundancy (I know its not hardware raid but budget is tight) with the following table;
[Code]....
I set these up by using the RAID button on the partition section of the install except swap, which I set-up using the New partition button, created 1 swap partition on each hard drive that didn't take part in RAID. Almost every time I tried to do this install, it halted due to an error with one of the raid partitions and exited the installer. I actually managed it once, in about...ooo 10-15 times of trying but I broke it. After getting very frustrated I decided to build it using just 3 partitions
[Code]....
I left the rest un-touched. This worked fine after completing the install and setting up grub, reboot in to the install. I then installed gparted and cut the drive up further to finish my table on both hard drives. I then used mdadm --create...etc to create my RAID partitions. So I now have
I bought a brand new PC with 2 hard disk: a solid state 250gb and a 500gb sata drive. On the first one, I installed Ubuntu LTS 10.04.2. My question is: how can I make the redundancy of the boot partition and / on the sata disk? I thought to clone the internal hard disk and then run a rsync before every shutdown. But the PC doesn't always boot from the ssd and change the boot sequence from the bios has no effect. I had also considered the idea of a raid 1 with mdadm, but it seems to worsen the performance.
Evening, had a switch outage today, what a PITA. ok, that's behind me, my next project is to have the least amount of single point of failures.
So the current scenario is the following; ISP -> linux firewall -> 3 network subnets. 1. load balanced network 2. public servers (ftp, etc.) 3. management network
I would like to change it to be more like; ISP -> switch, 2 patch cords to 2 seperate firewalls (right now using a basic linux box with iptables, works great), might go the endian or other route with failover. But, each server has a public IP and private 192.x ip, most server have 2 adapters 2 interfaces each, so I do have 4 ports already. I would like to send 1nic with public/private to switch1, the other to switch 2 but either keep them down, or better the same IP. So I guess, is this possible? I would say the word bonding, not sure if it can be used in this term. The webserver are running Ubuntu 9.10 64bit, DB's etc are mostly CentOS 5.4 box's.
We have all dell hardware, switches, etc. but I don't know in my years, can you have 2 seperate adapters share an IP for fault tollerance, or would I have to down/up each of the nic's in the event of a switch failure.
I currently have 9 physical servers that I wanted to condense to 1 physical server with 7 VMs using Xen. The only issue that I have with doing this is that if the server happens to fail due to hardware problems, I am going to have a major issue. I wanted to set up a two node cluster so in the event of something happening to one of the servers, it will automatic failover to the next.
With so many ways to cluster servers, does anyone have any suggestions on the way to perform my needed task. The OS for Xen will be Red Hat and the VMs will have many versions of linux. Some of the VMs will have mysql, apache, dns, and postfix running.
I want to automatically allow all users read execute or write permissions on everything created by a specific user, is this possible? For example user Wendy creates an office doc, saves it on a shared folder. Then another user (usually windows log into this folder and wants to edit this file and cannot. I know I can edit the permissions on this particular doc to allow all users, but I want this to happen by default so I don.t have to keep changing permission on each doc....
Can list options available for server redundancy? (i.e. fault tolerance methods so that if a server goes down another server can take over). Also is it possible to implement RAID1/disk mirroring across servers?
I have been using Trixbox CE for a couple of years and a client has asked me to setup a VOIP system with two phones and a couple of extensions. When he gets hit with a borage of phone calls I need to have the call that are behind the others to go the the next extension. I need redundancy if one Internet connection goes down and have the another kick in or failover. How does one configure Trixbox to failover to the other Internet connection and can someone give me a list of carriers in the Washington D.C area. Can someone point me in the right direction?
Our machine has two NIC on it but i'm only using one NIC, how do i make the most of the other one? I'm wondering if i can use it as a redundancy or load balanced but i dont know how.
I installed Fedora on IBM desktop PC with 40 GB. During installation I only created Boot and swap partitions and remain 30 GB as free space and now I want to create partitions from 30 GB free of Harddisk and I do in Windows XP and use Administration TOOL and create an other partition. so How I can create partitions on fedora after completed installation of Fedora Desktop. Need steps of post harddisk partition tool in Fedora.
I have a list of .jpg files from two cellphones that I would like to rename to the file creation date... but so far I can't seem to find a suitable script (or anything remotely close to what I need).
These are jpg's snapped on cellphone cameras, so no EXIF data exists.
I am experiencing poor performance when using cifs share.Such poor performance occur only in the creation of files on the share but not in the rewrite.This is what i do:
I have several servers that we have bonded some NICs for rundancy and they will of course switch from primary to secondary NIC if connection state is lost to the switches they are physically connected to, but is there any way to be able to sense upstream connectivity (off switch) for each NIC and failover even though the NIC itself has a connection state to the switch it is plugged into? We are using Dell managed switches on VLANs with trunking.
I have four Red Hat 5 servers located in two different geographical sites. they are working active/active on each site.
Is there any software that I can use in order to have the four servers running Active/Active Active/Active in the same time, and if one site has been destroyed the other two servers in the other site handle the traffic?
I have used Frontpage and Dreamweaver in Windows.Now it is time to do all this in linux - reference book I have is old (2004) listing Amaya, Websphere, Siteseed, and Wisewig for linux as comparable to Frontpage and Dreamweaver What is currently being used to add html or other code pages to a web site using linux Fedora ?
I am currently working on a Diskless Fedora10 based PXE image that should auto login and then launch the ICA client without launching the desktop (so normal autostart will not cut it)I have got the image up and running, the clients boot correctly, autologin etc, but still launch KDE, and I was hoping replace the desktop with the ICA Client.
I have a question about the ln command for link creation. I have both Windows and Linux partitions on my system. While I'm working on linux, sometimes I need to access the data stored on my windows partition. Yet, the access is provided through /media directory and I often, I have to click on several folders in order to access windows "My Documents" folder. So, in order to avoid this, I decided to create a link to "My Documents" folder directly from my $HOME directory.
The link was created without any problem and now I have a direct access to that folder just by a click. Yet, there is a problem. If I update any file of the windows MyDocuments folder within this linking directory, the file is actually updated on the windows partition, which is of course what I want to do. But If I decide to create a new file on the windows "MyDocuments" folder by using this linking folder, that is, /home/dariyoosh/MyDocuments, the file is put actually on the linux partition instead of the windows MyDocuments folder. So, having created a directory linking to another directory, is there any way to proceed so that any file operation, in particular, creation, affects directly the linked directory?
I have a windows 7 ultimate host machine, installed oracle virtual box on it. Made a iso image to boot fr fedora. All this is fine when the installation is complete, it asks for reboot. Reboot done. Then I went to terminal. Did a SU - root to get into the root. Then I did a firstboot command to enter information. I created a user for myself and at the end rebooted the virtual box.
When it starts up, it does not show my user. It just shows "Automatic Login" and it logs in as Live System User. Even if I try to switch user then it gave me a authentication failure when I enter the credentials of the user which I created. If I try to create users manually using system administration, the user is lost after reboot. I have tried all possible steps...as instructed on the net.
I wanted to create my own folder called /Softwares so that whenever i download a rpm i could place it there , run createrepo and then use yum install software_name.What am i doing wrong am i doing something wrong in the .repo file? The only way i could actually install sskype.rpm is to go in the directory where it was installed and type yum install sskype.But then whats the point of the repository.
I recently added a second interface to my Ubuntu 9.10 server, I now have a dsl AND Cable connection for it, Im not trying to load balance or anything sophisitcated, heres my problem.
The machines networked, I put static entries in my dhcp servers and both interfaces are up and live with dhcp, and Ive tried with dhcp and static, same problem occurs.
But my problem is that services will only respond on one interface at a time, not both.
Anyone know what the heck is going on here?
Kernel IP routing table
Should I make them static and remove both gateways?
I am trying to design an application which violates the DHCP. Specifically the difficulty in writing this application is physically sending the raw packet. I need some documentation on either a library that supports this or where to look for support for raw packet creation. I am not trying to create a raw datagram, that doesn't meet my needs because a raw datagram is still at layer 3 I need to craft a raw layer 2 PDU.
Specifically I want to Send a very specific DHCPDISCOVER Receive a DHCPOFFER and pull apart the offer while never sending a DHCPREQUEST.
Specifically I am pulling apart various options that are sent in the DHCPOFFER. I have a raw DHCPDISCOVER already crafted and the formatted struct sockaddr_ll where I fault is I can't send the damn thing. Getting the file descriptor after calling socket is okay but what now? How would I write to that file descriptor and have it transmit?
Code: int connfd; struct sockaddr_ll bcast; bcast.sll_family = PF_PACKET; ... connfd = socket(PF_PACKET,SOCK_RAW,0); //now what
I need little help on live disk creation and disk image backup.
Can I create live disk using my hard drive installation? If yes then, can I restore the fedora from the live disk to the hard drive. I mean to say that from that live disk can I install fedora again in my hard drive.
Second question is, if I create the disk image of my hard drive( including ntfs & FAT32 partition) , can I restore it in a blank drive. If so , then can os will be restored also?
With reluctance I installed JRipper from Packman to rip some CD's because the KDE apps (K3B 2 and Amarok 2) on my 11.3 x86 install dont want to rip. Albeit a good ripping app I would like the KDE apps to work as intended.
K3b2 and K3b2 codecs packages are from Packman 11.3 x86 version. Amarok 2.3.1 is from the 11.3 x86 update apps openSUSE repro. LAME and transcode are also from Packman.
I have installed bacula which by default installed the mysql backend. Asked me for the root password of mysql but since I couldn't remember I cancelled the configuration. I checked it out afterwards and now I know it but I can't find my way back to the bacula database setup screen once again. I have read that there should be a create_bacula_database script somewhere but I can't find it. Any tips on how to set this up?
the OEM account was created when I just installed Maverick (10.10) and now I've changed the password on that account and want to create a daily user account, cannot locate where I can do that.I want to learn Linux badly but am completely in the dark beginner right now.