[CentOS] Help Requested: KVM VM configuration on Centos 6.3
Hello I am trying to install KVM based VMs on my machine. First Timer...little idea on actually configuring related networking related issues. Am planning to follow this howto: http://www.howtoforge.com/virtualization-with-kvm-on-a-centos-6.3-server My trial machine is a server cum desktop with two network ports..eth0 is normally used for LAN Internet access...eth1 is reserved for use with LTSP which is to be configured later. I need my VMs to be reachable from the internet by ssh vnc etc. required ports will be forwarded from the Internet router. I propose to use subnet 10.0.1.0/24 for my virtual machines. Can someone please advise the content of bridge configuration file at /etc/sysconfig/network-scripts/ifcfg-br0, as given in the howto? The two bridges ltspbr0 virbr0 shown below, are created by packages installed not by me, so if any modifications are required in them...I need to know. Also, please advise if it is possible to get the VMs to use a 3G usb device for Internet access through the host machine Network Manage, in case Internet access through eth0 is down? Though this is not a priority at this stage, as I am just learning to use my first VM, but I'd like this feature if it is not too difficult. With regards. Sanjay. ifconfig output: [root@Swayam ~]# ifconfig eth0 Link encap:Ethernet HWaddr E0:69:95:77:A7:F3 inet addr:10.0.0.101 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::e269:95ff:fe77:a7f3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5120 errors:0 dropped:0 overruns:0 frame:0 TX packets:5506 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4205139 (4.0 MiB) TX bytes:684760 (668.7 KiB) Interrupt:20 Memory:fe60-fe62 eth1 Link encap:Ethernet HWaddr 00:60:52:0C:0B:DE UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:16 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:155 errors:0 dropped:0 overruns:0 frame:0 TX packets:155 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:59335 (57.9 KiB) TX bytes:59335 (57.9 KiB) ltspbr0 Link encap:Ethernet HWaddr AE:41:A9:3D:FE:A3 inet addr:172.31.100.254 Bcast:172.31.100.255 Mask:255.255.255.0 inet6 addr: fe80::ac41:a9ff:fe3d:fea3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:73 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:14407 (14.0 KiB) virbr0Link encap:Ethernet HWaddr 52:54:00:86:BD:15 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:45 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:11636 (11.3 KiB) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Help Requested: KVM VM configuration on Centos 6.3
On Mon, Feb 25, 2013 at 5:00 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 25.02.2013 12:27, schrieb Sanjay Arora: I need my VMs to be reachable from the internet by ssh vnc VNC via internet? man ssh-forwarding! Yes, Thanks. But my problem at this stage is getting the bridging working right and testing it from LAN where I do not have any firewall between the VM host client. Security issues will come later. Right now I'm failing to access the VMs at all ;-( so I am doing a fresh setup with the howto! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Help Requested: KVM VM configuration on Centos 6.3
On Mon, Feb 25, 2013 at 5:11 PM, Sanjay Arora sanjay.k.ar...@gmail.com wrote: Yes, Thanks. But my problem at this stage is getting the bridging working right and testing it from LAN where I do not have any firewall between the VM host client. Security issues will come later. Right now I'm failing to access the VMs at all ;-( so I am doing a fresh setup with the howto! BTW, Just in case this info is needed...10.0.0.2 to 10.0.0.200 is the dhcp range for our LAN. My VM host machine has a reserved dhcp address of 10.0.0.101. IPs above 10.0.0.201 are allocated to static use and 10.0.0.251 above are statically used 201 to 250 are available. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Networking: Some Queries -- GURUS HELP PL
On Wed, Jun 13, 2012 at 9:12 PM, Les Mikesell lesmikes...@gmail.com wrote: On Wed, Jun 13, 2012 at 1:52 AM, Sanjay Arora sanjay.k.ar...@gmail.com wrote: OK, I don't quite understand what 'reserved for LAN' use means. I'll assume it means someone else controls it and they won't cooperate if Correct. you bridge you VM's to the LAN. In most scenarios, the adsl router would give out DHCP addresses and unless you run out, bridged machines would just grab their own address and work just like a new physical machine. True Enough but the adsl Ip range is not in my control as you have assumed correctly. Now My machine has a second card for LTSP Network (it is a LTSP Server) with IP 172.16.1.0/24 I want Virtual hosts on my machine so I have to have a different IP rangesay 192.168.2.0/24 And I want routing among three as well as Internet access through the NATTED adsl router which has a dynamic IP. This is my problem. You still don't say what kind of access you need Basically accessing the VMs from the Internetssh, vnc, rdp, ftp so on...different needs for different vm. - or why you can't bridge on the 172.16.1.0 side which eliminates half of the problem. Outbound connections are easy - your LTSP clients probably already have that via NAT on the server, and they also should be using the server as their default gateway. Yes LTSP has outward NAT access...require the same inward access there too... If you don't want the VM guests on the same subnet, you can create a new guest-only subnet with the same setup as the LTSP side (server is default gateway and can route among all networks). So you only have a problem if you need to accept inbound connections from the LAN or internet. You probably don't have that now for the LTSP subnet. Do you need it for the VMs? Yes to both. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Networking: Some Queries -- GURUS HELP PL
On Tue, Jun 12, 2012 at 9:19 PM, Les Mikesell lesmikes...@gmail.com wrote: It might be easier to suggest an approach if you describe what you need to do. You can't magically make new public addresses that aren't available appear on an existing network, whether it is on real or virtual NICs. But there are ways to tunnel access to different private networks to each other or to reverse-proxy connections to a public address to a server on a private address. My machine is on LAN 192.168.1.0/24, has an IP of 192.168.1.3. This Network has GW 192.168.1.1 which is an adsl router in the office. No firewall on the router. Other LAN machines have IPs in the 192.168.1.0/24 network I'm not allowed to use those IPs. They are reserved for LAN use. Now My machine has a second card for LTSP Network (it is a LTSP Server) with IP 172.16.1.0/24 I want Virtual hosts on my machine so I have to have a different IP rangesay 192.168.2.0/24 And I want routing among three as well as Internet access through the NATTED adsl router which has a dynamic IP. This is my problem. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Network Device control by Virtual host - Possibility Security - Centos 6.2
Is it possible to pass the Network port to a virtual host and have a minimal Firewall, IDS/IPS install there and this virtual host to be the Gateway to the Network for the host as well as other virtual hosts? I am talking specifically Centos 6.2 KVM/Xen. Also, what harware requirements need to be met. And most of all what security implications. Normally minimal software at the perimeter of the host should be a positive, but does virtualization impose any weaknesses? Rgds. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Networking: Some Queries -- GURUS HELP PL
On Tue, Jun 12, 2012 at 10:40 AM, Gordon Messmer yiny...@eburg.com wrote: On 06/11/2012 12:45 AM, Sanjay Arora wrote: But that segregated network does not have access to the Internetor am I wrong? You're wrong. The automatically created network will have internet access via NAT. Thanks. But through NAT inward access would not be possible...right? NAT only provides outward access. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Networking: Some Queries -- GURUS HELP PL
On Tue, Jun 12, 2012 at 10:43 AM, Gordon Messmer yiny...@eburg.com wrote: No. Multi-homing in this fashion is complex. You will require advanced routing on all of the guests to accomplish it. Shorewall makes this easier, but you'll need to create multiple routing tables using 'ip route', mark packets based on their destination, and then select the appropriate routing table based on firewall marks. This is not a simple idea. Since I am routing a complete class C network between two bridges, I'll have to add a ip route add script in every guest ltsp host in rc.local Will try this out. But can live with thisas long as it provides unfettered to fro access to all hosts, virtual or ltsp. Thanks again. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Networking: Some Queries -- GURUS HELP PL
On Sat, Jun 9, 2012 at 6:59 AM, Gordon Messmer If you want to use NAT and keep your guests in a segregated network, that is exactly how the default install behaves. You don't have to do any network-specific configuration. But that segregated network does not have access to the Internetor am I wrong? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Networking: Some Queries -- GURUS HELP PL
On Mon, Jun 11, 2012 at 3:42 PM, Ross Cavanagh ross@gmail.com wrote: I'm just jumping in and may not have read everything, but having the NAT option will still allow Internet access to the guest if the host is setup to allow this (which is the default on most virtual hosts as far as I'm aware). But you may find it harder to access the NAT guest if you're trying to access it from another system on the same network as the host system. You can always setup multiple NIC's on the guest. Now I wonder why I did not think of so simple an idea! Simply put in a multi-port NIC card, Another questions...I put in another network port I end up with 3 NICs 3 bridges...One providing Internet access, One providing routing to virtual hosts and one providing route to ltsp network. Now, traffic among these three networks will be routed automatically or do I have to put in some code to enable traffic between these three networks internet access to the virtual host ltsp network? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Networking: Some Queries -- GURUS HELP PL
On Mon, Jun 11, 2012 at 4:00 PM, Ross Cavanagh ross@gmail.com wrote: Now, traffic among these three networks will be routed automatically or do I have to put in some code to enable traffic between these three networks internet access to the virtual host ltsp network? It shouldn't be a problem, because if it's different networks, the system will send them accordingly (as far as I'm aware). If it does come to any issues with the networks, you can always setup static routes if required. Thanks. I guess this problem is solved with a workaround. Good enuff for me! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Networking: Some Queries -- GURUS HELP PL
On Mon, Jun 4, 2012 at 10:44 PM, Gordon Messmer yiny...@eburg.com wrote: On a separate note however, I'd still like to know how to use a bridge to route packets between two networks.say network card having address...192.168.1.3 and a kvm based virtual network say 172.31.1.0/24needing to use this device for Internet access (through router 192.168.1.1) using a bridge? How to do it? If your networks are on different IPv4 broadcast domains (as you describe), you don't want a bridge. If you want bridged networking with KVM, your guests will be on the same network as the host. They'll use your existing DHCP services and routing. They can be configured according to this document: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6-Beta/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/sect-Virtualization_Host_Configuration_and_Guest_Installation_Guide-Network_Configuration-Network_Configuration-Bridged_networking_with_libvirt.html That configuration used to be reflected here: http://wiki.centos.org/HowTos/KVM ...but someone went and put in some really braindamaged instructions. That should be fixed or removed. In case of a separate network, should it not be possible to create a dummy bridge or something and forward packets through maybe...NATA guy talks of this kind of thing here http://ghantoos.org/2007/10/24/kvmqemu-bridging-with-dummy-network-card/ but I don't quite understand it, because I am not familiar with /etc/network/interfaces.seems to be ubuntu or some other linux. I am using /etc/sys-config/network-scripts/ifcfg-xxx files. or any other forwarding system...but don't know how? Any ideas of how to do it with separate IP addressing? The main network is out of my control and I cannot use its IP addresses. Rgds. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos 6 - Networking: Some Queries -- GURUS HELP PL
With NM_Controlled=No in the ifcfg file, NM applet shows Not Managed, so the ifcfg file is being read. What is the extent of interaction of NetworkManager with ifcfg files is unknownvery little information on the net. Seems Network Manager is still mostly unplublished compared to other utilities. Any pointers to literature on this or macro architecture of NM would be appreciated, as Google is not throwing up the right results. On a separate note however, I'd still like to know how to use a bridge to route packets between two networks.say network card having address...192.168.1.3 and a kvm based virtual network say 172.31.1.0/24needing to use this device for Internet access (through router 192.168.1.1) using a bridge? How to do it? With regards. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Centos 6 - Networking: Some Queries
Hello all I am setting up a Centos 6 machine with one network card one onboard network port. Both are recognized work. Onboard Network port is unused yet, but is required for dedicated access to LTSP LAN, which would allow older PIII machines to boot from this system. I have installed LTSP but again Networking seems to be the problem area, as the clients won't boot from this machine. Have muddled tinkered with Networking a bit...deleted reconfigured the ifcfg files again again but as I don't understand NetworkManager and Google is not helping get relevant results, so I have brought the system to minimum working condition, where one network card is providing LAN access on which Internet Router is configured. And now I am posting my system's condition below as output of various commands. My network-scripts directory: [root@swyam network-scripts]# ls ifcfg-Internet_GW ifup-eth ifcfg-lo ifup-ippp ifdown ifup-ipv6 ifdown-bnepifup-isdn ifdown-eth ifup-plip ifdown-ipppifup-plusb ifdown-ipv6ifup-post ifdown-isdnifup-ppp ifdown-postifup-routes ifdown-ppp ifup-sit ifdown-routes ifup-tunnel ifdown-sit ifup-wireless ifdown-tunnel init.ipv6-global ifup net.hotplug ifup-aliases network-functions ifup-bnep network-functions-ipv6 Ifconfig output: [root@swyam network-scripts]# ifconfig eth0 Link encap:Ethernet HWaddr E0:69:95:77:A7:F3 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:20 Memory:fe60-fe62 eth1 Link encap:Ethernet HWaddr 00:60:52:0C:0B:DE inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2245698 errors:0 dropped:0 overruns:0 frame:0 TX packets:1785431 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3105161344 (2.8 GiB) TX bytes:148843277 (141.9 MiB) Interrupt:16 Base address:0x2000 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:525 errors:0 dropped:0 overruns:0 frame:0 TX packets:525 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:53459 (52.2 KiB) TX bytes:53459 (52.2 KiB) [root@swyam network-scripts]# cat ifcfg-Internet_GW TYPE=Ethernet BOOTPROTO=none IPADDR=192.168.1.3 PREFIX=24 GATEWAY=192.168.1.1 DNS1=218.248.245.1 DNS2=8.8.8.8 DOMAIN=218.248.245.1 8.8.8.8 8.8.4.4 DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME=Internet GW UUID=d4535709-a05b-459d-a4fd-f08ec9460bcc ONBOOT=yes DNS3=8.8.4.4 Network Manager is running and the above card Internet_GW was configured through the NetworkManager applet. Internet works. One can disconnect Internet through the NetworkManager applet. Yet the applet's Edit Connection -- Wired -- Last Used status shows Never. Now let's come to what I want to do with this machineThe Onboard network port for LTSP servicesNetwork card on network 192.168.1.0/24(192.168.1.1 is the ISP ADSL router) to provide LAN access Internet access. Now what I want to do is to create a third network for my virtual machines (KVM) say 172.16.1.1/24. Now create some sort of dummy bridge and get these machines talking to the Internetsaid bridge to either forward the packets through the normal Internet path or somehow use NAT to do it. I think this should be doable but haven't come across any example or any tutorial for this. Now comes why I want a separate networkwhy not use 192.168.1.0/24...problem is...I don't want to disable Network Manager by putting Managed=NO in my ifcfg file. As with Network Manager enabled, I can use USB devices whenever my ISP goes downand I'm afraid it happens more frequently than I care to bear. I frankly also don't understand how Network Manager worksin a broad mannerliterature I found was either too technical or too old or was focussed on a particular problem. I would like to know a network/bridge/device topology that can solve my issuethree networks...lan. ltsp, virtual machines, all having access to each other the net, while keeping the option of using networkmanager or any other tool (I'm open) to plugin any other wireless internet access device. I am not very advanced admin, but can follow instructions. Kindly help. With regards thanks. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Installation on Intel DH67BL motherboard failed
Hello all I tried to install Centos 6 on Intel DH67BL motherboard with i7-2600 processor and a PCI Parallel/Serial port Card. This machine is running Win7, Ubuntu Fedora 15. Booting from DVD, the machine boots up in text mode loads vmlinuz and then the screen goes grey. Pressing a keyboard key does some dvd/hdd activity, so the machine is not hung. So the issue is obviously the graphics chipset. Research in CentOS forums shows that this may be supported by CentOS 6.1 machine. Can I install graphics/network support from some other repo, till 6.1 arrives and then again I can reinstall with only CentOS repos. My skillset is limited to compiling from source if instructions are there, but not trial error otherwise. Any pointers? With best regards. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Recovering LVM volumes
Hello all I have two sets of eIDE hard drives from earlier servers, one centos one fedora. Both were LVM volumes with three or four physical disks, with ext3 fs. One disk, maybe even the boot one may even be missing, either from one or both sets and we do not know the disk order. I got these left from an earlier sysadmin who left the company nobody know what's what. I need to recover data so I need to backup each of the disks to a disk image file first, then find block-size/recover lvm metadata on the volume, mount the volume to my current server and recover whatever files can be recovered manually. My question is: - what switches to be used with dd in creating the image, so that I retain the lvm disk data, for future recovery, if I mess up the recovery job? Can you please give the actual command assuming disk is connected at /dev/sdb? - How do I find the blocksize used by the disk how do I get the meta-data and mount the disk to current lvm fs. Request please give me step by step process. I am finding the howtos examples on the net very daunting as most of them have co-issues of raid etc. Mine is a plain lvm spanning multiple disks. I don't have expertise of this level suddenly my boss is expecting me to perform a miracle. Please help. With best regards. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Recovering LVM volumes
Thanks guys...will try these! On Fri, Feb 4, 2011 at 1:08 AM, James A. Peltier jpelt...@sfu.ca wrote: also, if the disk is multi-disk, which is the case here, you can look into /etc/lvm/backup for LVM meta data information. - Original Message - | Hello all | | I have two sets of eIDE hard drives from earlier servers, one centos | one fedora. Both were LVM volumes with three or four physical disks, | with ext3 fs. One disk, maybe even the boot one may even be missing, | either from one or both sets and we do not know the disk order. I got | these left from an earlier sysadmin who left the company nobody know | what's what. | | I need to recover data so I need to backup each of the disks to a disk | image file first, then find block-size/recover lvm metadata on the | volume, mount the volume to my current server and recover whatever | files can be recovered manually. | | My question is: | | - what switches to be used with dd in creating the image, so that I | retain the lvm disk data, for future recovery, if I mess up the | recovery job? Can you please give the actual command assuming disk is | connected at /dev/sdb? | | - How do I find the blocksize used by the disk how do I get the | meta-data and mount the disk to current lvm fs. | | Request please give me step by step process. I am finding the howtos | examples on the net very daunting as most of them have co-issues of | raid etc. Mine is a plain lvm spanning multiple disks. | | I don't have expertise of this level suddenly my boss is expecting | me to perform a miracle. | | Please help. | | With best regards. | Sanjay. | ___ | CentOS mailing list | CentOS@centos.org | http://lists.centos.org/mailman/listinfo/centos -- James A. Peltier IT Services - Research Computing Group Simon Fraser University - Burnaby Campus Phone : 778-782-6573 Fax : 778-782-3045 E-Mail : jpelt...@sfu.ca Website : http://www.sfu.ca/itservices http://blogs.sfu.ca/people/jpeltier ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Recovering LVM volumes
On Fri, Feb 4, 2011 at 6:23 AM, Gregory P.. Ennis po...@pomec.net wrote: I think Terry meant 'man vgscan', but I have not connected the dots to be able to mount an lvm volume from a different machine either. Greg Actually I think there should be some LVM uuid magicbut maybe I'll learn more from errors when I try to mount or whateversince I have not run vgscan, don't knowgetting a big hdd for dd images...will start trial error after. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Amazon EC2 - building a minimal centOS ebs bootable image
Hello Looking to build CentOS based micro EC2 instance bootable from Amazon EBS. Want that the image be minimal, so that I can add only the rpms I want. Despite looking could not find a way to import a CentOS image from scratch or an existing minimal CentOS image that is bootable from EBS. My server must must persist, as I cannot handle issues with a dynamic server, so I want to use a server that can boot from EBS. Am a EC2 newbie and a follow the instructions kind of a Sys Admin ;-) Please guide me to links, howtos and give experienced advice, in general. With best regards. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Amazon EC2 - building a minimal centOS ebs bootable image
Basically what Mathieu is wishing me luck for ;-) I want to create a server which I can use while in development stage, use as a main image, copy of which I can instantiate as a base image, build a apache webserver app image or a qmail mail-server image or a workgroup /db / crm image etc..upgrade to an upper instance when I feel the micro instance is too tight a fit for the given use. I don't have the resources to configure a dynamic ami to my specific requirements everytime. I'd rather create various images, spend some time everyday/week to update them, instantiate a copy of them whenever I needjust so when I save that all updates, changes to configuration etc. persist in that copy of instance. At this stage, I am just creating my infrastructure, I don't need to run any image 24 hours, just for the period I am working on it. A static server would be the best bet but can't be as cost effective as Amazonand I am on a shoestring budget. On Sat, Jan 29, 2011 at 2:51 PM, Mathieu Baudier mbaud...@argeo.org wrote: physical instances. EC2 is *not* a replacement for a conventional static server. Could you please elaborate a bit? What do you think should be left on the physical servers? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Amazon EC2 - building a minimal centOS ebs bootable image
On Sat, Jan 29, 2011 at 3:35 PM, Sanjay Arora sanjay.k.ar...@gmail.com wrote: Basically what Mathieu is wishing me luck for ;-) Sorry, it was John! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Amazon EC2 - building a minimal centOS ebs bootable image
On Sat, Jan 29, 2011 at 2:23 PM, John R Pierce pie...@hogranch.com wrote: good luck with the persistence part in a cloud. the whole idea of clouds is to distribute your services and separate them from the physical instances. EC2 is *not* a replacement for a conventional static server. Well, Data/OS Files have to be stored somewhereEBS evolved to serve that need...initially Amazon did not support booting off EBS but now I think they do. This creates an infrastructure for storing servers as well as EBS data volumes. Servers can be updated with patches, hardened. Copy images can be instantiated updated/upgraded and tested...etc. Why do you say it is not a replacement for a conventional static server...to me it seems it is better...though one will need to handle lags/latencies in data access/persistence as storage is network attached not direct attached. Maybe I will gain an insight here...can you please elaborate. With best regards. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Amazon EC2 - building a minimal centOS ebs bootable image
On Sat, Jan 29, 2011 at 7:46 PM, Rainer Traut tr...@gmx.de wrote: To get an image into the cloud I did: - format a 10GiB file with ext3 - install a minimal centos to it (yum with --installroot option) - put this into S3 as an AMI - start an instance of it - clone this to an EBS file with rsync - make a snapshot of this EBS - convert this snapshot to an EBS AMI - use your EBS instances... Looking exactly for something like this...but more detailed. I have slow dsl...so I would rather use somebody else's centos image to build my own. Have found many howtos but all seem to be for just for copying some other ami and then reconfiguring it, or else they are too technical for me to dive into. Found one link http://jeevanullas.in/blog/2010/08/using-boxgrinder-to-build-your-own-ami-for-ec2/ which comes nearest to what I want, using a tool called boxgrinder. I'd rather not handcode because I don't really understand the syntax of initrd or grub...I'm more of a user and usually have a tutorial/detailed howto that I follow. Can anyone tell me about more tools or scripts, that can help automate doing the steps required to build an ec2 ebs bootable instanceor a howto for a dummy.though I am googling each of Rainer's steps to see if I can get better information individually than I could get on the subject as a single detailed howto. BTW, should't 2-3 gb be enough for a base minimal install as data would/should go into a separate ebs volume? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Help: Please help me size my server requirements
I am looking to build a Workgroup Server. (Should be compatible/certified with both XEN VMware hypervisors, as I am not sure which one I will settle with...comments requested) To run baremetal on hypervisor, with each of the following services running virtualized with minimum OS install (CentOS 5.x, latest stable release). - Multi-homed router-cum-border firewall (Access to Network Card limited to this instance...will act as router for rest of virtual machines). - DNS Server (djbDNS). - Mail Server (Qmail). - News Server (INN). - Webserver (Apache). - RDBMS (postgreSQL...highest load). In addition to above the server to provide Windows RDP /or Linux Desktop Thinclient to 5 users running diskless thin clients or old desktops (second highest load). Server to have adequate amount of memory for the above and 500 GB/1 TB RAID 5 or better using SATA disks. What Server Specs. I am looking at? I understand DB load is major in this but assuming moderate to medium db load, what do I need. Will seperate the server Thinclient server six months/year down the road. What budget? Recommendations for a processor/motherboard/ram/disks/sata card? With best regards and thanks in advance. Sanjay Arora. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Request advise regarding Driver for Intel Motherboard
On Wed, Sep 9, 2009 at 3:15 AM, Ned Slidern...@unixmail.co.uk wrote: Sanjay Arora wrote: I believe this is the one you want: http://elrepo.org/linux/elrepo/el5/i386/RPMS/kmod-r8169-6.010.00_NAPI-2.el5.elrepo.i686.rpm Or if you're running the Xen kernel: http://elrepo.org/linux/elrepo/el5/i386/RPMS/kmod-r8169-xen-6.010.00_NAPI-2.el5.elrepo.i686.rpm Once you get your network setup right, I advise you to set up the elrepo repository (see http://elrepo.org for instructions on how to do it) so you get updates for this module once newer versions are released. Thanks Filipe Never knew about this repo. Will try and post back. Sanjay. There is also information at the top of this page (below) that explains how to identify the correct driver for your hardware by querying the vendor:device ID pairing and comparing to the list of supported devices here: http://elrepo.org/tiki/DeviceIDs Thanks lspci | grep -i Ethernet shows RTL8111/8168B PCI Adapter Intel site on the other hand linked to 8169 driver, which in this case is obviously wrong. Now, situation is this...if I query rpm using rpm -qa | grep -e kmod it shows 8169 driver is installed. However, if I try to uninstall it using rpm -e, it states that it is not installed. On the other hand, 8168 rpm documentation at elrepo.org states The Realtek documentation states that any r8169 driver must be unloaded (and disabled) before the r8168 driver is used. The kmod-r8168 package will perform this task for you. And again trying to install 8168 rpm using rpm -ivh shows errors that it needs kernel(xxx) modules. Elrepo does not seem to have kernel modules and in any case if I try to get latest kernel module, it will try to update the entire system from centos 5.0 to 5.3. So, how do I do it? Should I install additional nic card that will enable me to update the system online and install the 8168 driver and then try to rediscover this onboard nic so that the nic card can be removed? But I want to know which version of kernel is this demanding.it simply shows a hash, not a human readable kernel version number. Awaiting earliest response. Thanks. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Request advise regarding Driver for Intel Motherboard
On Wed, Sep 9, 2009 at 12:34 PM, Akemi Yagiamy...@gmail.com wrote: Please read the instructions on the DeviceIDs page once again. You ran only the first command. You now need to look at the output and run the second command lspci -n | grep something. The something part is the first item of the output from the first command. The output of the second command gives you the vendor:device ID pairing. Now look for this pairing within that page and identify the driver you should use. If you find it in the r8168.ko section, then what you will need is the kmod-r8168 package. If you find it in the r8169.ko section, you will want the kmod-r8169 package. If you have already installed kmod-r8169 and if you want to uninstall it, then run: rpm -e kmod-r8169 That will cleanly uninstall the kernel r8169 module. So, first, let us know the output from the second command above so that we can tell which kernel module package your NIC requires. Please show the entire output without truncating it. [r...@localhost] lspci -n | grep Ethernet 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) [r...@localhost] lspci -n | grep 03:00.0 03:00.0 0200: 10ec:8168 (rev 03) And yes, the kmod-r8169-xen was installed somehow and has been uninstalled cleanly. I was uninstalling kmod-r8169 instead of kmod-r8169-xen. Sorry for not being more careful. rpm -qa reports my installed kernel as kernel-xen-2.6.18-8.el5 kmod-r8168-xen still wont install due to kernel module dependencies. So what next. Thanks. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Request advise regarding Driver for Intel Motherboard
Hello All I made the mistake of assuming all Intel motherboards would be Linux compatible out of the box and bought one without checking support information. And now on initial install the Network is not workingthe Network port is not detected at all. I have bought an Intel board DG41RQI (http://www.intel.com/support/motherboards/desktop/DG41RQ/index.htm) which does not support Linux Out of Box. I am using a Core 2 Duo E7200 64 bit processor. I am installing CentOS 5.x XEN, minimal install for a XEN dom0. The Intel Linux Support page links to this page here http://forgeftp.novell.com/driver-process/pub/update/realtek/sle10sp2/common/i586/ and lists a lot of drivers. Can someone please advise me which ones I need to install for my particular motherboard processor type? Also, will these drivers clash with yum updatation from CentOS repos? Can someone please guide and if possible, comment on issues I will face. Intend to install minimal xen dom0 install and couple of low utilization servers and linux desktop. Also, would like to know if I can install Windows XP on same desktop under XEN. With best regards and thanks. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Request advise regarding Driver for Intel Motherboard
I believe this is the one you want: http://elrepo.org/linux/elrepo/el5/i386/RPMS/kmod-r8169-6.010.00_NAPI-2.el5.elrepo.i686.rpm Or if you're running the Xen kernel: http://elrepo.org/linux/elrepo/el5/i386/RPMS/kmod-r8169-xen-6.010.00_NAPI-2.el5.elrepo.i686.rpm Once you get your network setup right, I advise you to set up the elrepo repository (see http://elrepo.org for instructions on how to do it) so you get updates for this module once newer versions are released. Thanks Filipe Never knew about this repo. Will try and post back. Sanjay. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos