cfengine2 segfault – culprit ipv6 in kickstart

I had been troubleshooting cfengine segfault for days and finally found the issues:
Network setup in the kickstart %post had enable networking_ipv6, which confuse cfengine

It was a broken kickstart since long time ago, and the workaround was rerun “cfagent” again. Not a very good workaround.

Anyway, by copying and mimic some necessary changes in %post for network setup fixed the issue!

This is the final solution that I had done in my kickstart.cfg:

network –bootproto=dhcp –onboot=on –noipv6

to ensure ipv6 will not be activate during or after kickstart.

 

Posted in Linux | Tagged , | Leave a comment

Basic steps to setup pulseaudio (DisplayPort output) in Linux

Here is some basic steps (and reminder to self):1. install pulseaudio-utils
# yum install pulseaudio-utils
2. Check which output to can be use:
# pactl list

Note:
** find the output you need, the 1 I am outputing is "output:hdmi-stereo-extra2+input:analog-stereo"
** you might need to start "pulseaudio -D"

3. Set the default output:
# pactl set-card-profile 0 output:hdmi-stereo-extra2+input:analog-stereo

4. To make the changes permanent, append/insert/edit /etc/pulse/default.pa:
set-card-profile 0 output:hdmi-stereo-extra2+input:analog-stereo

And this should be able to play sound output to DisplayPort.

More info about:
https://wiki.archlinux.org/index.php/PulseAudio

https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting

Posted in Uncategorized | Leave a comment

How to plot sysstat (SAR) into a beautiful graph?

In the past, I had been using kSar to quickly plot graphs from sar files that I had collected from the systems, but I would really prefer a system that it can consolidate all the sar reports from various systems and generate beautiful graphs to do performance analysis.

I know there are tons of tools out there that can do that : Nagios, Sensu, Shinken, Cacti, just to name a few, but all these is generating the graphs base on the data it collected instead of the sysstat sar file located in /var/log/sa.

I still haven’t find any that do that, but the closer I found is SarGraph, which will run a periodic sar command remotely to systems and keep the data on the sargraph servers. Currently it only give 4 performance metric: CPU, Memory, Swap and Run-Queue Size.

Posted in Linux | Leave a comment

Oh yes! Got the internal workstations to work with internal RH Satellite

After a few weeks of testing and experimenting, finally found out the issue of the setup:some repos were not enable by default

Now, I had figure the issue and put the changes into cfengine (yes I know is old school) and will also include in ansible playbook (WIP).

Posted in Linux | Leave a comment

Am I good in anything at all?

I don’t know how to cook except fried egg, and boil water (for instance noodles and 3 in 1 coffee/tea).
I don’t know how to play any music, can’t even sing without hurting others’ eardrums.

I don’t know how to sew – can’t even sew back a button on the shirt.

I don’t know how to …

What am I good in doing? Maybe only 1 thing I am really good in – being myself!

Posted in Uncategorized | Leave a comment

All of the sudden …

All of the sudden, I felt like the time had halt, and nothing seem to move.

This is just a small stopover, and I shall start again soon.

Posted in Uncategorized | Leave a comment

Note to self 2

I am just here to deliver my message

Posted in Uncategorized | Leave a comment