Archive for August, 2007
Tuesday, August 14th, 2007
I recently had a series of conversations with one of my colleague's employed with a competing consulting firm. He is in a senior management position and is directly responsible for the success of the engagement.
I will not divulge the customer nor consulting firm to protect the innocent. What I will say about the customer is that ...
Posted in People | No Comments »
Wednesday, August 8th, 2007
Scope, Resources and Schedule. These boundaries are often referred to as triple constraint or the iron triangle. These boundaries have long dictated "classic" project management theory and practice.
In classic PM, projects are treated as distinct entities within the business. They have a scope, resources, schedule and are self-contained. The ...
Posted in Project Management | 3 Comments »
Tuesday, August 7th, 2007
Tip courtesy of Kyle Reynolds at http://www.camelrichard.org
mkdir /var/svc/manifest/application/monitoringcreate the /var/svc/manifest/application/monitoring/bigbrother.xml file. contents of bigbrother.xml (change directories, user, group, and stop/start script paths to fit your install):---------------------------------------------------------------------------------
<?xml version='1.0'?><!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'><!-- bigbrother.xml : BigBrother manifest, Kyle Reynolds 2006-07-02--> <service_bundle type='manifest' name='bigbrother'><service name='application/monitoring/bigbrother' type='service' version='1'>
<single_instance /> <dependency name='multi-user-server' grouping='require_any' restart_on='error' type='service'> <service_fmri ...
Posted in Big Brother | No Comments »
Tuesday, August 7th, 2007
Tip courtesy of Kyle Reynolds at http://www.camelrichard.org
On the machine running the process you wish to test for, create a script in the $BBHOME/ext
directory following the example script below. Change the `PROC_1` variable to reflect the process
you will `grep` for and the `BBPROG` variable to reflect the name of the ...
Posted in Big Brother | No Comments »
Tuesday, August 7th, 2007
Tip courtesy of Kyle Reynolds at http://www.camelrichard.org
If Iplanet (Sun One Webserver) has security turned on (in the magnus.conf) it will prompt for a password to start the webserver. In cases where you might script the starting of Iplanet, you might want to provide the password, but not be prompted every ...
Posted in iPlanet | No Comments »
Tuesday, August 7th, 2007
Tip courtesy of Kyle Reynolds at http://www.camelrichard.org
To force daily rotation of Iplanet (Sun One Web Server) logs, add the following line to magnus.conf:
Init fn=flex-rotate-init rotate-start=0000 rotate-interval=1440
where the rotate-interval is in minutes, 1440 being 24 hours.
Restart Iplanet. "access" and "errors" logs will be rotated every 24 hours and named as such:
-rw-r--r-- ...
Posted in iPlanet | No Comments »
Tuesday, August 7th, 2007
Tip courtesy of Kyle Reynolds at http://www.camelrichard.org
Iplanet (Sun One Webserver) requires a server certificate to boot if you turn security on (to require a password to boot). This is commonly done through the admin console, but can also be done on the command line. This example uses Sun One Webserver ...
Posted in iPlanet | No Comments »
Tuesday, August 7th, 2007
Tip courtesy of Kyle Reynolds at http://www.camelrichard.org
vi reference
------------
Editing commands
Moving around the file
h cursor left j cursor right
k cursor up l cursor down
^ & B Beginning of line
$ end of line
) Next sentance
( Previous sentance
} Next Paragraph
{ Previous Paragraph
:$ end of file
w one character forward
W one word forward
:20 go to Line ...
Posted in Unix | No Comments »
Tuesday, August 7th, 2007
Tip courtesy of Kyle Reynolds at http://www.camelrichard.org
Trusted authentication with OpenSSH
1. Change directory to the .ssh (hidden directory) located under your home
directory, or create it (mkdir -m 755 ~/.ssh).
2. Create the necessary 1024 bit public and private keys for type dsa, version 2,
of ssh (-t dsa).
ssh-keygen -t dsa -b 1024
3. ...
Posted in Unix | 1 Comment »
Tuesday, August 7th, 2007
Tip courtesy of Kyle Reynolds at http://www.camelrichard.org
SED add/ delete/ replace
------------------------
sed -f <scriptname> <filename> # runs the scripted commands against the <filename>
example:
sed -f deletescript myfile.ldif
sed -f addscript newfile.ldif
or from command line:
sed '/<searchstring>/d' filename
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
deletescript:
# deletes any line containing <searchstring>
/<searchstring>/d
------------------------------------------------------------------------------------
addscript:
# adds the <newline entry> above any line containing <searchstring>
/<searchstring>/i\
<newline entry>
------------------------------------------------------------------------------------
addscript:
# adds the <newline ...
Posted in Unix | No Comments »