Skip to content

Author Archives:

Pacemaker – remove node

06-Dec-11

cibadmin –delete –obj_type nodes –crm_xml ‘‘

Join multiple lines together using TR

30-Nov-11

tr “\\n” “,”

APG ( automated password generator ) runs slow on CentOS

01-Nov-11

I use apg to generate random password all the time. On a new vpn server I built, apg was taking a long time to generate a pass, I traced it back to “not enough entropy” You can see how much entropy you have with this command: cat /proc/sys/kernel/random/entropy_avail It should be at least in the [...]

Repadmin commands to monitor your Windows 2008 Active Directory

19-Jun-11

Repadmin /replsummary /bysrc /sort:delta Repadmin /showrepl /verbose /all /conn repadmin /latency repadmin /checkprop /intersite and if you wanted to sync your AD … repadmin /syncall /e

TCPdump – sniff all traffic

31-Mar-11

Another one of those switches I always forget …   sudo tcpdump -i interface -nnXSs 0