Anthony Lopez

“I’d rather see a sermon than hear one any day;”

How to set up Dell Openmanage for usage with yum CentOS5

Posted by lopeza on April 24, 2009

I set this up successfully on a poweredge 2950 running centos5.3

  1. Set up this repository:
    wget -q -O – http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash
  2. Install Open Manage:
    yum install srvadmin-all
  3. Start Open Manage services
    srvadmin-services start

Posted in Linux | Leave a Comment »

Cycling Merit Badge Safety Presentation

Posted by lopeza on March 24, 2009

After this presentation I see that presenting to a group of teens ages 10-16 surely is a task.  What helped the presentation was keeping the audience engaged by having them assist in the demonstrations.  I had one scout demo a trainer attached to a bike and challenged the scout to see how long he can peddle while I gave the demonstration.  Soon after every other scout wanted to participate in some way during the presentation.  To keep them engaged make it fun and challenge them.

http://lopeza.files.wordpress.com/2009/03/cycling.pdf

Posted in Scouting | Tagged: , , , , | Leave a Comment »

Hall rentals in Bergen county

Posted by lopeza on February 22, 2009

I hope someone else can make good use of this list.  I spent quite some time researching and visiting places.  The list’s information may not stay accurate so contact the hall for updates.

Read the rest of this entry »

Posted in Bergen County | Tagged: , , , , | 3 Comments »

Delete messages containing a keyword in Mutt

Posted by lopeza on February 11, 2009

Log in as user, run mutt, then run the following 
T
Newsletter
;
d
$

T – asks which messages you want to tag. 

; – asks which action you want to run on the tagged messages.

d – tells that the action you want is delete.

$ – synchronizes the view with the underlying persistence layer.

Posted in Tips | Leave a Comment »

SMART Method to meet objectives

Posted by lopeza on February 11, 2009

I formally learned this method at a scouting leadership training and have been using it ever since.  You can apply this method to almost anythnig you set out to accomplish.

Setting S.M.A.R.T. objectives

The objective setting process is a difficult one for most individuals, particularly those who’ve never been asked to set objectives. The process seems daunting. However, it doesn’t need to be. The process can be as simple as sitting down with the objectives and asking the question, “How can I best help to meet these objectives?” From that answer comes the core for setting the individual’s objectives. For example, if the objective is to improve the customer satisfaction score, the team can work on providing more self-service information to reduce the number of calls and call wait-time or offer tools to improve customer service levels by clarifying how to communicate with a customer.

The S.M.A.R.T. method is one way to help you remember how to walk through the process of setting your first MBO objectives.

  • S for Specific: There are several key factors which should be present in the objectives that are set in order for them to be effective. They should be specific. In other words, they should describe specifically the result that is desired. Instead of “better customer service score,” the objective should be “improve the customer service score by 12 points using the customer service survey.”
  • M for Measurable: The second example is much more specific and also addresses the second factor—measurable. In order to be able to use the objectives as a part of a review process it should be very clear whether the person met the objective or not.
  • A for Achievable: The next important factor to setting objectives is that they be achievable. For instance, an objective which states “100 percent customer satisfaction” isn’t realistically achievable. It’s not possible to expect that everyone must be 100 percent satisfied with their service. A goal of “12 percent  improvement in customer satisfaction” is better—but may still not be achievable if it’s assigned to the database developer. They aren’t likely to have enough influence over the customer interaction process to improve satisfaction by 12 percent.
  • R for Realistic: This leads into the next factor—realistic. Realistic objectives are objectives that recognize factors which can not be controlled. Said another way, realistic goals are potentially challenging but not so challenging that the chance of success is small. They can be accomplished with the tools that the person has at their disposal.
  • T for Time-based: The final factor for a good objective is that it is time-based. In other words, it’s not simply, “improve customer service by 12 percent,” it’s “improve customer service by 12 percent within the next 12 months.” This is the final anchor in making the objective real and tangible. This final factor is often implied in MBO setting. The implied date is the date of the next review, when the employee will be held accountable for the commitments that they’ve made through their objectives.

Posted in Learning | 1 Comment »

Installing oracle 9 on rhel 5

Posted by lopeza on January 15, 2009

I had to install Oracle on a RHEL 5 and after some troubles all works good.  Be sure to review all links and verify all paths on your specific system before creating the links.

The following are the steps that I used.

  1. Add oracle user and some other stuff
    # groupadd dba
    # useradd -g dba oracle
    # cd /opt
    # mkdir oracle
    # chown oracle:dba oracle
    # cd /opt
    # ln -s path/to/jre1.6.0_11
    (Edit the Disk1/install/linux/oraparam.ini and modify JRE_LOCATION
    variable and set path to our JRE installation from Step 2.
    JRE_LOCATION=/opt/jre1.6.0_11)
  2. Kernel settings – Edit the /etc/sysctl.conf and add following lines (I decided to leave default values and did not modify any of these.  These have to be verified)
    kernel.sem = 250 32000 100 128
    kernel.shmmax = 2147483648
    kernel.shmmni = 128
    kernel.shmall = 2097152
    kernel.msgmnb = 65536
    kernel.msgmni = 2878
    fs.file-max = 65536
    net.ipv4.ip_local_port_range = 1024 65000

Note: You need execute “sysctl -p” or reboot system to apply above settings.

  1. create access list for oracle to use xwindows
    # xhost +local: oracle (with no space inbetween oracle)
  2. Check for required packages:
    rpm -q compat-db compat-gcc-34 compat-gcc-34-c++ compat-libgcc-296 compat-libstdc++-296 compat-libstdc++-33 gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers libgcc make libXp
  3. Set environment – add these to /home/oracle/.bash_profile
    ORACLE_BASE=/opt/oracle
    ORACLE_HOME=$ORACLE_BASE/920
    ORACLE_SID=ORCL
    LD_LIBRARY_PATH=$ORACLE_HOME/lib
    PATH=$PATH:$ORACLE_HOME/binexport ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH
  4. First Workaround
    su -
    cd /usr/lib
    ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.1-1.so.2
  5. Download and Install:
    rpm -ivh http://oss.oracle.com/projects/compat-oracle/dist/files/RedHat/compat-libcwait-2.1-1.i386.rpm
    rpm -ivh http://oss.oracle.com/projects/compat-oracle/dist/files/RedHat/compat-oracle-rhel4-1.0-5.i386.rpm -nodeps
  6. Second Workaround
    su -
    cd /usr/bin
    ln -s gcc34 gcc32
  7. Third Workaround
    su -
    cd /usr/lib
    ln -s libgdbm.so.2.0.0 libdb.so.2
  8. Run installer
    ./runInstaller
  9. When NETCA/DBCA will fail
  10. Fourth Workaround
    I suggest to apply 9.2.0.8 patchset before.
    cd $ORACLE_HOME
    rm JRE
    ln -s $ORACLE_BASE/jre/1.3.1 JRE
    cd JRE/bin
    ln -s java jre
    cd i386/native_threads/
    ln -s java jre

Posted in Oracle, RHCE | Leave a Comment »