/srv/irclogs.ubuntu.com/2012/11/11/#ubuntu-server.txt

=== cpg|away is now known as cpg
brunosthi! I'm working on setting up a little home server (my first server I may add) and I am trying to figure out what would be the best way to deal with a drive to run the OS on00:32
gdeebleYou only have 1 drive?00:32
gdeebleor multiple?00:32
brunostgdeeble: I'll have a raidz of 4 drives for storage00:33
brunostI am trying to figure out what solition to go for for storing the OS00:33
brunostoptimally a solution like freenas where it loads an image from a pendrive to ram would be the best00:33
brunostbut I don't really have enough knowledge about this myself to figure out if this is a clever solution00:34
gdeeblebrunost: See I have my os on 1 drive then mounted my raid to a mount point.00:34
ironmduli, I was thinking also about such concepts (just using xen ... but I didn't get the xen live image working as wanted wanted and had to stop due to missing time resources)00:35
ironm<duli> ironm: i'd like to use ubuntu on the flash drive as a server solely for manage virtual machines. The real storage will be built on 3 HDs using ZFS00:35
ironmbut ubuntu-server is definitively the best base for kvm hosts00:35
brunostofc I'll keep the OS on a separate drive, just not sure if I should try out loading from usb to ram or use a 2.5" drive of some sort00:35
duliironm: i think so algo.00:35
duliironm: but I've given up the idea of using ubuntu-server on a usb stick00:36
duliwould require a lot of tweaks to reduce disk writes00:36
gdeeblebrunost: depends on your needs. I have a little hard drive running my os, but USB solutions are def. nice as long as everything wants to play ball.00:36
duliI'll go with a simple notebook hd (5400 rpm) to t install the sustem00:36
brunostgdeeble: thats the thing, will I get it to play nicely00:37
ironmduli, I gave such ideas too ;) ... I run ubuntu-servers as kvm hosts on raid5 or raid6 (with 4 or 8 drives) .. and use additional raid5 or raid6 as storage for VMs00:37
ironmduli, well .. when you run in live you don't need really to care if your KVM host have enough RAM (ECC)00:38
ironmgdeeble, I use own debian live images (booting from a USB stick) for my daily work .. it works great :)00:39
duliironm: sure, but my concern would be the usb key falling appart in a short period of time00:39
duliironm: since you mentioned kvm00:39
ironmduli, yes .. that can happen00:39
gdeeblebrunost: I never had success myself but I am still a novice at this. I ended up using Zentyal which uses ubuntu with a web management face.00:39
ironmgdeeble,  eg. ... http://rsync.it-infrastrukturen.org/postgresql/live-wheezy-amd64-awesome-public-databases-20121024e.iso00:39
duliironm: is it possible to open a vm machine remotely, using the virt-manager?00:40
ironmduli, yes00:40
ironmduli, like: ironm@wheezy:~$ virt-manager -c qemu+ssh://192.168.1.75/system00:40
duliironm: ah, that's so great!00:40
duliironm: so I can perfom the os install on the vm remotely, right?00:41
gdeebleironm: I always ran into something but I think my problem was lack of patience and knowledge when I was trying.00:41
ironmduli, 192.168.1.75 is a ubuntu-server KVM host (HP DL385g7 ,,, with 32 or 64GB ECC RAM and 2 pieces of P410 RAID controller with 1GB cache each ... and 16 SCSI drives)00:42
gdeeblebut that was a few years ago.00:42
ironmduli, you have to put .iso images for the installation inside /var/lib/libvirt/images/ an the KVM host, but the installation of VMs happen mostly from remote client (with the command like above)00:43
duliironm: ah, ok, that was my doubt00:43
duliwell, fair enough00:43
duliseems nice00:43
ironmvirt-manager doesn't offer you the possbility to use local .iso images on the virt-manager client for installation on the KVM host00:44
ironmduli, you need "virtual machine host" tasksel option of ubuntu-server to install the KVM host. You need also the ssh-server tasksel option for virt-manager (remote)00:47
duliironm: ok, that's totally fine. I could always do a scp to the kvm host00:47
duliironm: ok,. I just complet4ed the install and selected those to options00:47
duliironm: I already have ssh access to it00:47
duliironm: do you recommend ant specific tutorial on kvm/ubuntu?00:48
ironmgdeeble, now a day linux live images are very comfortable00:49
ironmduli, eg. this one : Red_Hat_Enterprise_Linux-6-Virtualization_Host_Configuration_and_Guest_Installation_Guide-en-US.pdf00:50
ironmI can't find the link00:50
duliironm: no prob., I'll go through the redhat manuals00:50
dulitks a lot00:51
ironmduli, give me few minutes . I have some links also for ubuntu00:51
duliok00:51
ironmduli, may I pc you? (query)00:52
dulisure00:52
=== n0ts_off is now known as n0ts
LeChacalhello, i am trying to setup the 2nd nic in my server for a local connection to another machine through a swtich using static IP and it isn't working, this is my interface file http://paste.ubuntu.com/1349628/ am I missing something in my interface file or something else i needed to do. If I reboot the interface doesn't automatically come up and if I bring it up manual it doesn't ever list as having the address set in the interface file.02:51
qman__two things02:54
qman__you can't have more than one default gateway without a lot of extra config, or it will just choose at random which interface to send traffic out of02:55
qman__and you're missing auto eth102:55
qman__and you can't have IPs from the same subnet on different interfaces02:55
qman__I lied, three things02:55
LeChacalok so do i just not set a gateway on the 2nd nic then?  And I have differnt subnets DHCP gives out 192.168.1.x and the static is 192.168.0.141.02:56
qman__yes02:56
qman__you only set a gateway on your internet-facing side02:56
qman__if you have more than one internet-facing address, you have to do some extra stuff to get it to either prefer one or load balance02:57
qman__dhcp sets a gateway automatically, so just remove the manual one02:57
LeChacalok i have made the changes and rebooting, ill see if that was all my problems shortly02:59
LeChacalqman_ thank you that seems to fix my problem03:01
uvirtbot`New bug: #1070322 in quantum (main) "again creation of quantum db" [Undecided,New] https://launchpad.net/bugs/107032203:09
=== pztty is now known as pztrick
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== Ursinha-afk is now known as Ursinha
star314Hi! How can I (temporary) disable a software raid device, e.g., /dev/md2 from the system such that it will not re-added after a system restart?07:35
star314I've tried mdadm --stop /dev/md2 and removing it from /dev/mdadm/mdadm.conf07:36
star314but this didn't work.07:36
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== cpg is now known as cpg|away
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
bananapieIs there a command in ubuntu to which I can pipe an email and an IP address and it would send an abuse report to the abuse email for the given IP ?14:12
bananapieI got hits attacks from 200 different IPs in a 24 hour period, I could never work on this list by hand.14:14
patdk-lapbananapie, only 200?14:20
bananapiethat's if I count each IP only once.14:20
dassoukiI'm looking for a scheduling service for my employee similar to ms exchange14:25
dassoukiwe use google mail14:25
queencyhello all: can someone tells me where is the logs of start-stop-deamon ?14:32
bananapiequeency, what is it you are looking for ?14:43
bananapiesome daemons send information into /var/log/syslog when starting or stopping, but not all do.14:43
queencyMy main task is fly away when starting with start-stop-deamon and i don't know why !14:44
bananapiewhat do you mean fly away ?14:45
queencydie14:46
queencybtw how can i replay like you did with the starting of "queency," ?14:48
=== erichammond1 is now known as erichammond
=== mcclurmc is now known as mcclurmc_away
=== erichammond1 is now known as erichammond
=== mcclurmc_away is now known as mcclurmc
=== n0ts is now known as n0ts_off
mrrothhcloud__anyone here used Transcenders?17:09
guckidoes it make any sense to have "R/W multiple sector transfer" enabled for sata disks? i see it's set to 0 for all my hdds...17:21
patdk-lapthat is extreemly odd17:30
patdk-lapgenerally you want it to be atleast 817:31
=== peterrus- is now known as peterrus
jacobwi have a problem using --location with virt-install, the files are downloaded to /var/lib/libvirt/boot/ but disappear immediately after they are downloaded and seabios in the VM hangs on booting from ROM18:07
=== cpg|away is now known as cpg
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
NomadJimanyone running an ubuntu webserver that can share some anecdotal evidence of how often they have to patch their server?21:42
ikoniayou patch your servers when ubuntu provides package updates21:46
ikoniait's that simple21:46
DaveRiirc there is a setting to have your sever automatically deploy security related patches21:47
ikoniayes, but that's not wise21:49
ikoniaas you don't want to blindly patch unless you have a test system first21:49
DaveRthat's fair21:50
greppyNomadJim: I use apticron to get emailed notifications of pending updates.21:56
NomadJimikonia:  i'm looking for number of times/year or some other kind of statistic21:57
ikoniaNomadJim: it changes from release to release and version to version, you can't guess how many bugs or security alerts will be found21:58
NomadJimbecause it's going to be different based on packages, i'd like to focus on people with web servers21:58
ikoniaNomadJim: it will differ for different people depending on what packages they are using21:58
NomadJimyup21:59
NomadJimmaybe i'll compile something if I can't find it on google22:03
DaveR NomadJim, I make a point on my box to check weekly.  Having said that though, I will say this: my box is for personal use and therfore if it breaks/gets owned its not that big of a deal.22:14
DaveRie: I'm not saying that weekly updates are the best or that it's how you should do it22:14
greppyI still like apticron as a way to get notification of new package updates.22:15
NomadJimyeah i think automatic notification like greppy said would be best when i'm actively administering a production server22:15
greppythat way you don't have to remember to login and check, if there is an update, you get an email.22:15
NomadJimi have a whole bunch of personal use servers22:16
NomadJimbut i usually outsource it to a managed provider if it gets important22:16
NomadJimso I am not very good at best practices22:17
NomadJimgreppy:  might be kind of cool if someone combined apticron + uptime monitoring22:25
NomadJimas a service for lazy people22:26
ikoniaor you could just not be lazy22:26
ikoniaand run the server properly22:26
NomadJimikonia:  i'm talking about a business idea as opposed to personal administration22:27
ikoniadoesn't seem a good idea to me personally22:27
NomadJimi bet someone is already doing it though22:27
NomadJimwhat's the downside of having apticron in addition to the normal uptime monitoring most services provide22:27
ikoniathat's not what it was meant to do22:28
ikoniaso you're just adding a pointless function to it22:28
ikoniathere are tools for monitoring - this isn't one of them, so adding one random monitoring measure to it doesn't seem good22:28
NomadJimI'm talking about uptime monitoring services like https://www.pingdom.com/22:29
ikoniayeah, I'm saying I think it's a bad idea22:29
NomadJimI think it would be valuable if they added apticron notifications as well to their offering22:29
ikoniathat's not what the tool was meant for22:29
NomadJimnotifying of updates isn't what apticron is for?22:29
ikoniano, monitoring22:29
ikoniathere are already monitoring plugins for most proper monitoring solutions22:30
ikoniasorry, I just think it's a bad/pointless idea22:30
NomadJimapticron doesn't do the monitoring it's an addition22:30
ikoniawhat ?22:30
NomadJimi'm not quite sure what you're arguing22:30
ikoniathat uptime monitoring included as part of aptcron is a bad idea22:31
ikoniawhich is what you stated22:31
NomadJimi'm saying uptime monitors like https://www.pingdom.com/22:31
NomadJimcould add apticron22:31
ikoniawhy ?22:31
greppyNomadJim: xymon can monitor apt status, including apticron.22:32
ikoniathere are already solutions/plugins for proper monitoring solutions22:32
ikoniatools like pingdom are not monitoring solutions22:32
NomadJimgreppy:  that's cool. currently trying to learn zabbix, don't know if that's equivalent ot xymon22:32
greppyNomadJim: xymon used to be hobbit which used to be big brother.  I find that I prefer it to most other monitoring solutions.22:33
NomadJimhttp://en.wikipedia.org/wiki/Comparison_of_network_monitoring_systems22:36
NomadJimlooks like they are pretty similar22:36
NomadJimat least in terms of features22:36
=== acidflash_ is now known as acidflash
bananapiefail2ban23:00
=== glebihan_ is now known as glebihan
=== glebihan_ is now known as glebihan
=== Ursinha is now known as Ursinha-afk

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!