Re: [CentOS] Systemd and VirtualBox
On 28/05/16 12:12, Rob Kampen wrote: which of the 9 answers did you use - there are four with [0] points. I did see this some time ago and got a variant working under CentOS 6. I was hoping to use the new-fangled systemd, partly as a learning exercise, but also to avoid having bespoke config files and methods of starting daemons proliferating which the methods described on askubuntu.com seem to be. rob Apologies - I should have stated that in my initial response. It's the answer that starts of with - "You can use the VirtualBox Auto-start service." - it has an up-vote score of 20 (as of now). That article cites the following link *[0]* as the original source: *[0]* http://lifeofageekadmin.com/how-to-set-your-virtualbox-vm-to-automatically-startup/ ak. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Systemd and VirtualBox
On 28/05/16 12:43, Anthony K wrote: On 17/05/16 17:55, Rob Kampen wrote: No idea where to from here, so if there is anyone that has a working systemd autostart VirtualBox setup on a headless CentOS 7 server - please advise what you have done to get it working. I'm running CentOS7 as my host and when I was using Virtualbox, I had my VM's autostarting for a while. I simply followed this answer [0] on "askubuntu.com" and it worked flawlessly. However, I've since migrated all my VM's to KVM once performance on KVM surpassed that of Virtualbox (most of my VM's are Linux servers). thanks for the pointer which of the 9 answers did you use - there are four with [0] points. I did see this some time ago and got a variant working under CentOS 6. I was hoping to use the new-fangled systemd, partly as a learning exercise, but also to avoid having bespoke config files and methods of starting daemons proliferating which the methods described on askubuntu.com seem to be. rob My $0.02, ak. [0] https://askubuntu.com/questions/404665/how-to-start-virtual-box-machines-automatically-when-booting/548134 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Kernel panic on 6.8 release with kernel-2.6.32-642.el6.x86_64
On May 27, 2016, at 1:42 AM, Sorin Srbuwrote: > The one I posted a screen dump of earlier. I don’t see any posts of a screen dump. The mailing list software (mailman) is set to strip any non-text attachments, so if it was an image, it was probably stripped. (The thread starts here https://lists.centos.org/pipermail/centos/2016-May/159655.html ) -- Jonathan Billings ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Systemd and VirtualBox
On 17/05/16 17:55, Rob Kampen wrote: No idea where to from here, so if there is anyone that has a working systemd autostart VirtualBox setup on a headless CentOS 7 server - please advise what you have done to get it working. I'm running CentOS7 as my host and when I was using Virtualbox, I had my VM's autostarting for a while. I simply followed this answer [0] on "askubuntu.com" and it worked flawlessly. However, I've since migrated all my VM's to KVM once performance on KVM surpassed that of Virtualbox (most of my VM's are Linux servers). My $0.02, ak. [0] https://askubuntu.com/questions/404665/how-to-start-virtual-box-machines-automatically-when-booting/548134 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Continuous Release repository RPMs now released
On 05/27/2016 02:36 PM, Kay Schenk wrote: > > > On 05/17/2016 03:07 AM, Johnny Hughes wrote: >> On 05/16/2016 04:02 PM, Wes James wrote: >>> On Mon, May 16, 2016 at 12:47 PM, Johnny Hughes>>> wrote: >>> The Continuous Release repository RPMs for CentOS-6.8 are now released. It includes the following releases: >>> This is the first time I've installed updates from CR. I did this on >>> 6.7 >>> in virtualbox. When I reboot, it still says 6.7. When I run >>> lsb_release >>> -a, it is still 6.7. Are they supposed to say 6.7? Does this change >>> when >>> it is official in 10-21 days? >>> >> >> Yes, and yes. >> >> When we released the official 6.8 tree and isos, they will have a new >> centos-release rpm. >> >> If you continue to run updates against the CR repo, that will be the >> only update you get when you switch. >> >> >> >> > > I just did this update yesterday and everything is great! Thank you all > for a wonderfully simple update process. > > My lsb_release -a output says 6.8 but this was 10 days after the former > post. You are very welcome. Yes, the final release is done now, so the centos-release for 6.8 is in there. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ipmitool and CentOS 7
I've also noticed an unexpected difference between ipmitool in CentOS 6 and 7. The CentOS 6 ipmitool supports the IPMITOOL_OPTS environment variable but the CentOS 7 ipmitool does not. I simply copy ipmitool from a CentOS 6 to work around this limitation. - on CentOS 6 # which ipmitool /usr/bin/ipmitool # rpm -q --whatprovides `which ipmitool` ipmitool-1.8.11-29.el6_7.x86_64 # ipmitool -V ipmitool version 1.8.11 - on CentOS 7 # which ipmitool /usr/bin/ipmitool # rpm -q --whatprovides `which ipmitool` ipmitool-1.8.13-8.el7_1.x86_64 # ipmitool -V ipmitool version 1.8.13 -- View this message in context: http://centos.1050465.n5.nabble.com/CentOS-ipmitool-and-CentOS-7-tp5743237p5743470.html Sent from the CentOS mailing list archive at Nabble.com. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Continuous Release repository RPMs now released
On 05/17/2016 03:07 AM, Johnny Hughes wrote: On 05/16/2016 04:02 PM, Wes James wrote: On Mon, May 16, 2016 at 12:47 PM, Johnny Hugheswrote: The Continuous Release repository RPMs for CentOS-6.8 are now released. It includes the following releases: This is the first time I've installed updates from CR. I did this on 6.7 in virtualbox. When I reboot, it still says 6.7. When I run lsb_release -a, it is still 6.7. Are they supposed to say 6.7? Does this change when it is official in 10-21 days? Yes, and yes. When we released the official 6.8 tree and isos, they will have a new centos-release rpm. If you continue to run updates against the CR repo, that will be the only update you get when you switch. I just did this update yesterday and everything is great! Thank you all for a wonderfully simple update process. My lsb_release -a output says 6.8 but this was 10 days after the former post. -- MzK "Time spent with cats is never wasted." -- Sigmund Freud signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] dnf replacing yum? [OFF TOPIC]
On Fri, May 27, 2016 8:25 am, James B. Byrne wrote: > > On Thu, May 26, 2016 10:51, Juan Bernhard wrote: >> >> El 26/05/2016 a las 11:39 a.m., Valeri Galtsev escribió: >>> I guess, it is just me in general unhappy about all Linuxes >>> getting much less "UNIX"y lately. >> >> I feel you Valerei, im switching new server instalations to FreeBSD. >> Im tired to spend useful time learning new ways (systemd, firewalld, >> dnf, etc) to do the same old sh*t. >> >> > > We are doing exactly the same thing and for the same reasons. We have > been running RH or its derivatives since 1998 but now it is time for > us to move on. > At some point these things reminded me the old sure way to defeat your enemy (competitor) whom you can not defeat by force (by better product). You just join him, then gradually lead him into the "black hole". I'm not saying this _is_ what is happening, we will know that 5-10 years down the road, but what I observe has all signs of this process. Luckily I migrated my servers to UNIX several years ago (workstations still stay Linux though). Valeri PS Thanks a lot to CentOS team for the great job you, guys and gals, are doing! We really do use CentOS a lot for what it is good for! > > -- > *** e-Mail is NOT a SECURE channel *** > Do NOT transmit sensitive data via e-Mail > Do NOT open attachments nor follow links sent by e-Mail > > James B. Byrnemailto:byrn...@harte-lyne.ca > Harte & Lyne Limited http://www.harte-lyne.ca > 9 Brockley Drive vox: +1 905 561 1241 > Hamilton, Ontario fax: +1 905 561 0757 > Canada L8E 3C3 > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] dnf replacing yum?
On Thu, May 26, 2016 10:51, Juan Bernhard wrote: > > El 26/05/2016 a las 11:39 a.m., Valeri Galtsev escribió: >> I guess, it is just me in general unhappy about all Linuxes >> getting much less "UNIX"y lately. > > I feel you Valerei, im switching new server instalations to FreeBSD. > Im tired to spend useful time learning new ways (systemd, firewalld, > dnf, etc) to do the same old sh*t. > > We are doing exactly the same thing and for the same reasons. We have been running RH or its derivatives since 1998 but now it is time for us to move on. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrnemailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slow RAID Check/high %iowait during check after updgrade from CentOS 6.5 -> CentOS 7.2
All of our Kafka clusters are fairly write-heavy. The cluster in question is our second-heaviest – we haven’t yet upgraded the heaviest, due to the issues we’ve been experiencing in this one. Here is an iostat example from a host within the same cluster, but without the RAID check running: [root@r2k1 ~] # iostat -xdmc 1 10 Linux 3.10.0-327.13.1.el7.x86_64 (r2k1) 05/27/16_x86_64_ (32 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 8.870.021.280.210.00 89.62 Device: rrqm/s wrqm/s r/s w/srMB/swMB/s avgrq-sz avgqu-sz await r_await w_await svctm %util sdd 0.02 0.550.15 27.06 0.0311.40 859.89 1.02 37.40 36.13 37.41 6.86 18.65 sdf 0.02 0.480.15 26.99 0.0311.40 862.17 0.155.56 40.945.37 7.27 19.73 sdk 0.03 0.580.22 27.10 0.0311.40 857.01 1.60 58.49 36.20 58.67 7.17 19.58 sdb 0.02 0.520.15 27.43 0.0311.40 848.37 0.020.78 42.840.55 7.07 19.50 sdj 0.02 0.550.15 27.11 0.0311.40 858.28 0.62 22.70 41.97 22.59 7.43 20.27 sdg 0.03 0.680.22 27.76 0.0311.40 836.98 0.76 27.10 34.36 27.04 7.33 20.51 sde 0.03 0.480.22 26.99 0.0311.40 860.43 0.33 12.07 33.16 11.90 7.34 19.98 sda 0.03 0.520.22 27.43 0.0311.40 846.65 0.57 20.48 36.42 20.35 7.34 20.31 sdh 0.02 0.680.15 27.76 0.0311.40 838.63 0.47 16.66 40.96 16.53 7.20 20.09 sdc 0.03 0.550.22 27.06 0.0311.40 858.19 0.74 27.30 36.96 27.22 7.55 20.58 sdi 0.03 0.530.22 27.13 0.0311.40 856.04 1.60 58.50 27.43 58.75 5.21 14.24 sdl 0.02 0.560.15 27.11 0.0311.40 858.27 1.12 41.09 27.89 41.16 5.00 13.63 md127 0.00 0.002.53 161.84 0.3668.39 856.56 0.000.000.000.00 0.00 0.00 avg-cpu: %user %nice %system %iowait %steal %idle 13.110.001.821.070.00 84.01 Device: rrqm/s wrqm/s r/s w/srMB/swMB/s avgrq-sz avgqu-sz await r_await w_await svctm %util sdd 0.00 0.000.00 81.00 0.0038.48 972.95 51.00 219.060.00 219.06 6.37 51.60 sdf 0.00 1.000.00 73.00 0.0033.70 945.33 55.02 235.860.00 235.86 7.12 52.00 sdk 0.00 1.000.00 56.00 0.0025.70 939.73 60.45 223.790.00 223.79 9.29 52.00 sdb 0.00 2.000.00 70.00 0.0034.48 1008.70 58.88 292.810.00 292.81 7.37 51.60 sdj 0.00 3.000.00 62.00 0.0029.87 986.60 59.32 243.480.00 243.48 8.26 51.20 sdg 0.00 1.000.00 49.00 0.0023.43 979.45 60.37 234.980.00 234.98 10.53 51.60 sde 0.00 1.000.00 61.00 0.0027.95 938.38 58.17 239.570.00 239.57 8.52 52.00 sda 0.00 2.000.00 56.00 0.0027.48 1004.88 56.27 202.880.00 202.88 9.27 51.90 sdh 0.00 1.000.00 70.00 0.0033.57 982.19 59.00 277.840.00 277.84 7.43 52.00 sdc 0.00 0.000.00 64.00 0.0030.06 961.89 58.20 268.300.00 268.30 8.08 51.70 sdi 0.00 3.000.00 116.00 0.0055.62 981.94 44.54 199.720.00 199.72 4.56 52.90 sdl 0.00 1.000.00 128.00 0.0060.31 964.88 43.91 215.940.00 215.94 4.11 52.60 md127 0.00 0.000.00 1143.00 0.00 538.90 965.59 0.000.000.000.00 0.00 0.00 avg-cpu: %user %nice %system %iowait %steal %idle 15.700.001.970.440.00 81.89 Device: rrqm/s wrqm/s r/s w/srMB/swMB/s avgrq-sz avgqu-sz await r_await w_await svctm %util sdd 0.00 0.000.00 119.00 0.0056.39 970.42 42.84 639.450.00 639.45 6.66 79.20 sdf 0.00 1.000.00 129.00 0.0061.21 971.84 48.89 672.040.00 672.04 6.34 81.80 sdk 0.00 0.000.00 152.00 0.0072.62 978.53 61.02 716.760.00 716.76 5.74 87.20 sdb 0.00 1.000.00 133.00 0.0062.86 967.88 54.10 695.350.00 695.35 6.45 85.80 sdj 0.00 0.000.00 146.00 0.0068.36 958.85 69.22 767.120.00 767.12 6.85 100.00 sdg 0.00 0.000.00 146.00
Re: [CentOS] Redefine ethX interface names in CentOS 5.11?
Le 27/05/2016 à 12:44, James Pearson a écrit : > Have you tried swapping the HWADDR lines in > /etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth1 ? > > No idea if will work ... I gave it a try. Worked like a charm. Thanks very much. Niki -- Microlinux - Solutions informatiques durables 7, place de l'église - 30730 Montpezat Web : http://www.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Redefine ethX interface names in CentOS 5.11?
Nicolas Kovacs wrote: Hi, I have a LAN server running CentOS 5.11 with two NICs eth0 and eth1. I'd like to swap the interface names, but I don't know how to go about that under CentOS. Here's what I would do on a Slackware server (I have one next to me in my office). Open /etc/udev/rules.d/70-persistent-net.rules and edit it: # PCI device 0x8086:/sys/devices/pci:00/:00:04.0/:03:00.0 (e1000e) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:22:64:8a:4c:c2", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" # PCI device 0x8086:/sys/devices/pci:00/:00:02.0/:02:00.0 (e1000e) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="2c:27:d7:15:54:a1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" To swap interfaces, I simply have to switch the respective NAME="ethX" attributes and restart the server. How would you do something similar on a machine running CentOS 5.11? Have you tried swapping the HWADDR lines in /etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth1 ? No idea if will work ... James Pearson ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Redefine ethX interface names in CentOS 5.11?
Hi, I have a LAN server running CentOS 5.11 with two NICs eth0 and eth1. I'd like to swap the interface names, but I don't know how to go about that under CentOS. Here's what I would do on a Slackware server (I have one next to me in my office). Open /etc/udev/rules.d/70-persistent-net.rules and edit it: # PCI device 0x8086:/sys/devices/pci:00/:00:04.0/:03:00.0 (e1000e) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:22:64:8a:4c:c2", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" # PCI device 0x8086:/sys/devices/pci:00/:00:02.0/:02:00.0 (e1000e) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="2c:27:d7:15:54:a1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" To swap interfaces, I simply have to switch the respective NAME="ethX" attributes and restart the server. How would you do something similar on a machine running CentOS 5.11? Cheers, Niki -- Microlinux - Solutions informatiques durables 7, place de l'église - 30730 Montpezat Web : http://www.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [SOLVED] Kernel panic on 6.8 release with kernel-2.6.32-642.el6.x86_64
> -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of Sorin Srbu > Sent: den 27 maj 2016 07:43 > To: CentOS mailing list> Subject: Re: [CentOS] Kernel panic on 6.8 release with kernel-2.6.32- > 642.el6.x86_64 > > > > Uninstalled NFS, as it wasn't needed anyway. > > > > > > Still got the panic. > > > > Seriously, what panic? > > The one I posted a screen dump of earlier. Did some more digging this morning. All physical machines are quite okay with the 6.8 upgrade. All virtual machines running on Hyper-V get a kernel panic - if the linux integration services (lis) are installed on the guest. Uninstalling lis, then applying the kernel-2.6.32-642.el6.x86_64 and rebooting works just fine. No kernel panics. Supposedly (according to some forum posts I read) the lis shouldn't care what kernel is actually running, as long as it is compiled with a kernel that is installed and available on the system, in this case the last previous before the 6.8-upgrade. In any case, problem solved for now. Thanks for all the feedback! Marking thread as solved. -- //Sorin ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos