I use both, mediawiki and self written html documentation,
but you may use dokuwiki, since it hast more security features, in mediawiki, everyone can read everything, but I don't want to migrate to dokuwiki, since we have 1000 articles+
here is my self written html documentation, wrote this a long time ago,
it's also very helpful to see how servers are configured, and how they looked like 2 months ago
Code:
#!/usr/bin/ksh
DATE=$(date +%y%m%d%H)
#choose OS from: solaris, aix, aixvio, linux
BINDIR="/usr/local/bin"
OS=aix
JOBLIST="${BINDIR}/joblist_$OS.txt"
HTMLDIR="/tmp/systemscan/$OS/"
HTMLFILE="$(hostname)_${DATE}.html"
HTML="${HTMLDIR}${HTMLFILE}"
echo $HTML
if [ ! -d $HTMLDIR ] ; then mkdir -p $HTMLDIR ; fi
>$HTML
echo "<html>
<head>
<title>Automated System report</title>
<style type=\"text/css\">
span {
display:none;
background-color : #ccffff;
}
body {
background-color : #ffffff;
}
</style>
</head>
<body>" >> $HTML
echo "<H3> Automated System Report for Host: $(hostname)</H3><br/>Date: $(date)<hr>">>$HTML
SID=0
cat $JOBLIST | while read line
do
SID=$(($SID+1))
DESC=$(echo $line | awk -F\& '{print $1}')
COMMAND=$(echo $line | awk -F\& '{print $2}')
echo "<hr><H4>$DESC</H4>" >> $HTML
echo "<a onmouseover=\"this.style.cursor='hand'\"
onclick=\"a_$SID.style.display='block'\">
<FONT SIZE=2>show</FONT></a>
<a onmouseover=\"this.style.cursor='hand'\"
onclick=\"a_$SID.style.display='none'\">
<FONT SIZE=2>hide</FONT></a><br/><hr>" >> $HTML
echo "<span id=\"a_$SID\"><hr><pre>$(eval $COMMAND)</pre><hr></span>" >> $HTML
done
echo "<br><H3> End Report for Host: $(hostname)</H3></body>" >> $HTML
then you need a joblist_aix.txt, may look like mine:
Code:
uname -a & uname -a
oslevel -s & oslevel -s
lparstat -i & lparstat -i
lspv & lspv
lspv -l all disks & lspv | while read i ; do lspv -l $i ; echo ; done
lsvg & lsvg
lsvg -l all vgs & lsvg | while read i ; do lsvg -l $i ; echo ; done
df -g & df -g
mount & mount
lsdev -C & lsdev -C
lscfg -vpl all adapter & lsdev -Ccadapter | while read a b ; do lscfg -vpl $a ; echo ; done
netstat -in & netstat -in
netstat -rn & netstat -rn
netstat open ports & netstat -an | grep -w LISTEN
lslpp -l & lslpp -l
lssrc -a & lssrc -a
errpt & errpt
errpt -a & errpt -a
/etc/passwd & cat /etc/passwd
/etc/group & cat /etc/group
/etc/hosts & cat /etc/hosts
/etc/security/user & cat /etc/security/user
/etc/filesystems & cat /etc/filesystems
left is the heading in the html file, right the command to be run
then copy the generated html file to a webserver
I run it every saturday on all hosts, and copy it to folders with timestamp
made a screenshot of the rendered html (attachment)
I need to install unix sun solaries software on my machine. But i don't have software & documentation to install on my system. Could you please send me the free software and documentation regarding unix sun solaries?
Regards,
rajesh. (1 Reply)
If you have documents of preconfigured Solaris server with all tuned improvements..
This is all about how it is released, as first example. It must contain ready instructions to setup server from scratch in a case of global system crash
mb some FS tunings (i.e. log fs, var fs) mb some ready... (1 Reply)
Started using trac and svn and it is working nicely, but am looking for some other things to add: continuous integration, automatic documentation. What suggestions do you guys have for the most full featured easy to use software for this?
Stuff I am looking for:
continuous integration... (1 Reply)