logs archiveIRC Archive / Freenode / #centos / 2015 / September / 26 / 1
wetpaste
what do you guys use these days for imaging bare metal machines?
is kickstart still the way to go?
TrevorH
kickstart works well
chuck in puppet (insert configuration management product of choice) and you're done
Logos01
Unless you want a more secured/complete-at-point-of-provisioning stance for your systems.
But yes. pxeboot via kickstart to customize to the extent you feel necessary, then establish connection to configuration management engine and perform supplemental steps as needed.
wetpaste
good to know
Logos01
wetpaste: Of course, this is presuming that by bare-metal you mean truly bare metal.
wetpaste
I do.
Logos01
As opposed to say blade servers.
wetpaste
sometimes VMs and openvz containers too
Logos01
Containers don't get kickstarted IIRC.
wetpaste: You may find this useful: https://github.com/Logos01/admin-tools/tree/master/CIS_kickstart
         

ryu945
Does the centos installer have an option to install as a raid or do I have to do something special
wetpaste
Is there some alternative to using this GUI to get the initial kickstart file, because its driving me insane
hwdplinux
use the /root/anaconda-ks.cfg and modify it?
ryu945
I am planning i n using the headless version of centos
billings
ryu945: easiest would be to use a kickstart
MrPockets
Man
CentOs 7 is a whole different kettle of fish..
wetpaste
or rather, is there centos 7 installer that doesnt use this UI?
billings
which UI?
twainwek
does centos not have w3m in its official repos? i can't seem to be able to find any w3m related packages
billings
it's in EPEL
wetpaste
the anaconda UI that practially requires using a mouse
for manual installs of centos 7
billings
add 'text' to the kernel line in the boot and its a text-based one
but it's fairly limited in what it can do
wetpaste
Theres no way to do disk partitioning that way, it seems
twainwek
yum. found it. thanks
yup*
johnnyfive
to run a cron job every 3 minutes is */3 * * * *, correct?
Logos01
wetpaste: Yeah, "text" will install without launching a GUI.
wetpaste: ... you really wanna look at the CIS kickstart link I provided.
I have a Cent7 kickstart file in there.
wetpaste
ah thanks, Ill take a closer look
Logos01
wetpaste: https://github.com/Logos01/admin-tools/blob/master/CIS_kickstart/floppy_root/CentOS-7-x86_64.ks
Bahhumbug
johnnyfive: man 5 crontab
wetpaste
thanks
whats the consensus on swapfile vs. swap partition these days?
         

TrevorH
still the same as it always was: use a partition/LV if poossible, if not possible then a file is the least worst alternative
Evolution
use shared swap file over nfs mount.
</terrible things>
Bahhumbug
Man, you can't just leave the evil in #rhel, can you? You have to bring it here as well :(
Evolution
hehehe
Ussat
Evolution, ewww
TrevorH
only if the NFS mount is on 100Mbps ethernet or less though
midgaze
Optimize swap for speed and use a memory-backed loopback device
Ussat
bah...on a usb connected external drive
Bahhumbug
10mbs unswitched.
TrevorH
(Action) still has a netgear 10Mbps hub somewhere
Bahhumbug
I do as well. On the bottom of one of my scrap piles.
TrevorH
I need a skip :(
Ussat
token ring FTW
Bahhumbug
I need a fire. Not fire _sale_, just a fire.
Evolution
midgaze: I have actually put swap on a ramdisk before...
but as Bahhumbug says, I'm an evil person.
Bahhumbug
You put the EV in evil.
Evolution
at the time I was working around a horribly written app for $industry which would copy data twice. once into memory, and once into swap. since we had tons of ram, it was a perf hack.
Bahhumbug
(Action) twitchs
sigh, twitches
dgbaley
What's the correct documentation for understanding what's under /etc/pki and where the kosher place would be for me to store .crt/.key pairs as well as custom CAs? (for apache,openvpn,openldap,...)
lastmikoi
I can't seem to be able to find a package for drbd, under centos 6. What would be the recommended third-party yum repo to get this package ?
(It's not on epel6 either.)
(and the official documentation links to CentOS 5's extras repository...)
TrevorH
lastmikoi: elrepo haev drbd packages
kmod-drbd84-8.4.6-1.el6.elrepo.x86_64 & drbd84-utils-8.9.2-1.el6.elrepo.x86_64
lastmikoi
TrevorH: thanks ! Never heard of that repo, is it prone to cause problem with, say, EPEL ?
TrevorH
they also have drbd90 packages in elrepo-testing if you're really really brave or foolhardy
no
@repos
centbot
Additional packages are often in 3rd party repos. Information on additional CentOS repos is available at http://wiki.centos.org/AdditionalResources/Repositories Pay attention to the reference on yum-priorities.
lastmikoi
mh, I see.
TrevorH
they concentrate mainly on packaging drivers for hardware that isn't supported out of the box
@elrepo
centbot
The ELRepo Project is recommended for additional hardware support beyond that provided by the distribution. Please see http://elrepo.org/tiki/tiki-index.php for more information.
fenrus02
TrevorH, do you have all of these repos configured on your workstation?
TrevorH
no, I use drbd in production on my servers
fenrus02
ah, makes sense.
lastmikoi
very nice to know. At least I'm glad to hear that it's working in production :)
I'll configure this repo then, thanks again TrevorH.
fenrus02
TrevorH, why did you choose that over *luster?
TrevorH
I run many pairs of servers hosting VMs and use drbd so that we can live migrate them from one to the other
we've been using drbd since before gluster was probably thought of
fenrus02
(Action) nods
lastmikoi
TrevorH: I'm setting up drbd in an ansible-provisionned environment, in the end it would allow me to have two frontend loadbalancing servers in a active-passive HA setup. I'd be more than happy to get some documentation, if any source in particular catched your eye that is.
(If not, I'll just carry on my regular documentation browsing and work it out, no biggies)
dgbaley
I'm in a chroot and want to remove an old kernel, but it happens to match the host, how can I force yum to remove the "running" kernel?
fenrus02
reboot first.
dgbaley
fenrus02: I don't want to reboot the host
fenrus02
then you REALLY dont want to remove that kernel
dgbaley
I'm sure I do
fenrus02
it'll wait until you reboot.
dgbaley
It's a chroot
fenrus02
if you want to keep a working system, you'll wait.
dgbaley
It's just a coincidence that the kernel version matches.
Bahhumbug
yum won't remove the running kernel in any event.
chder
He's not removing the "running" kernel. Just another kernel with the same version.
Bahhumbug
Hmm... if you fully trust your chroot it should be safe enough.
dgbaley
I foudn this: http://lists.baseurl.org/pipermail/yum-devel/2010-June/007230.html Is there a way for me to temporarily unprotect the kernel package? Or is that protection hard-coded into yum?
« prev 1 2 next »