Boy, these have made my life as a sysadmin a lot easier. No longer need to have an RDP session in full-screen to do alt-tab etc. Fantastic. The ctrl-alt-minus + plus require you to use the +/- on the numeric keypad to create a local screenshot in the clipboard on the server.
A commenter also says CTRL+ALT+MINUS is equivalent to ALT+PRTSCRN, and CTRL+ALT+PLUS = PRINTSCRN.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa383500(v=vs.85).aspx
Wednesday, September 26, 2012
Sunday, September 23, 2012
Church
Church spins me about.
It fogs things up.
It muddles my mind.
Some guy goes up in front of me, setting himself as the
representative of the God I love and the Christ to which I try to make myself a
disciple. He gathers all the trappings
of power and authority, ranging from an American flag to a stage and a big podium
and a cross and a bible and a business suite,
and then he proclaims things with which I would vociferously disagree, based,
actually, on my faith and interpretation of the teachings of Christ.
This puts me in an untenable position. Do I resist this man who is trying to
exercise this power over me, and in doing so resist what, in some powerful part
of my feeble mind, is still the representative of Christ, or do I succumb to his
teachings and, in doing so, abandon my own carefully studied, deeply held
beliefs, that I’ve worked out with no small amount of prayer, fasting, sleepless
nights, fear and trembling.
I won’t be put in that position.
My mind is my own. My
faith is my own. I can read, I can think critically. I can approach almighty God, having been gifted
at birth with everything I need to do so.
Friday, August 31, 2012
You didn't build that
I know a lot of smart, hard working people who aren't rich. I know rich people who are lazy as the days is long. Rich people aren't rich because they're smart and hard-working. They're rich because they found a way to get rich. Many times it's because of connections, who they know, or access that they have. I know rich people who aren't very bright at all. I know poor people who are smart and work really hard, but don't find money to be the most important thing in their lives, or chose a vocation that isn't well compensated by our free markets, like nursing.
I'm no Billionaire, but I've had some success in my life. I've put in a lot of weekends and late nights and 15 hour days and gone to bed for months at a time with chest-pains to get it. At the risk of sounding like douche, I've got an IQ that I'd put up against about anybody's. And yet, I'm not rich. How does that work?
And, even for the success I've had, I have to credit much of that success to people who cared about me: great family and public schools with teachers who invested of themselves in my success and access to higher education, and great people who inspired me. Yes, it's true - I've worked REALLY hard for whatever success I've had. But THAT's only one factor in the equation.
"Somebody helped to create this unbelievable american system that we have that allowed you to thrive.
Somebody invested in roads and bridges. If you've got a business, you didn't build that. Somebody else made that happen."
I wish our normally eloquent and articulate POTUSA had said "you didn't build those roads and bridges on which your business relies". In context, it's quite clear THAT THAT's what he meant by THAT "THAT".
http://youtu.be/YKjPI6no5ng
Tuesday, August 07, 2012
Auto Starting WebSphere Network Deployment V8 on AIX
We have very basic AIX, with no bells or whistles installed.
To create a launch script, the startmanager, startserver, and starnode scripts will generate this for you. The command is
.. as appropriate...
In my case, I'm going to auto-start the deployment manager and the node agent, and then use the WAS monitoring policy to handle the individual app servers.
So, the steps are:
To create a launch script, the startmanager, startserver, and starnode scripts will generate this for you. The command is
./startManager.sh -script -backgroundor
./startNode.sh -script -backgroundor
./startServer.sh-script -background
.. as appropriate...
In my case, I'm going to auto-start the deployment manager and the node agent, and then use the WAS monitoring policy to handle the individual app servers.
So, the steps are:
- Generate the startup scripts using the above commands.
- make a copy of rc.was (found in the was bin directory) for the deployment manager, and another for the node agent. I called these rc.dm.was and rc.na.was.
- Edit these to point to the start_dmgr.sh and start_nodeagent.sh scripts generated above
- create entry in etc/Inittab for the two files created in step 2
- was:2:once:/usr/WebSphere/AppServer/bin/rc.dm.was >/dev/console 2>&1
- was:2:once:/usr/WebSphere/AppServer/bin/rc.na.was >/dev/console 2>&1
And, that should do it. Let's see if it works :-)
Monday, August 06, 2012
Starting WebSphere Certification
I'm starting work on my WebSphere certification.
I'm beginning my work with the IBM WebSphere website.
WebSphere main page:
http://www-01.ibm.com/software/websphere/
WebSphere Application Server V8.0 Administration Curriculum:
http://www-01.ibm.com/software/websphere/education/curriculum/appserv/index.html
Several courses are offered.
1 - Administration on Windows
2 - Administration on Linux
3 - Technical Overview
4 - Problem Determination
5 - Transition to V8
I think that this is a good place to start focusing. No budget to actually TAKE these courses, but this makes a fantastic outline.
The Certification page (http://www-01.ibm.com/software/websphere/education/certification/#free-was-cr) lists quite a few resources as well.
Available certifications include
"IBM Certified System Administrator - WebSphere Application Server Network Deployment V8.0"
The Recommended prerequisite section is telling:
There is an assessment test which I think will be a very, very useful tool, found here: http://www-03.ibm.com/certify/tests/sam317.shtml. Cost is $30 / practice test.
There is also a "Training Resources" section (http://www-03.ibm.com/certify/tests/edu317.shtml) that lists several redbooks and Web Resources.
REDBOOKS:
http://www.redbooks.ibm.com/abstracts/sg247957.html?Open
http://www.redbooks.ibm.com/redpieces/abstracts/sg247971.html?Open
There are about a bazillion web resources. Probably worth checking out.
I'm beginning my work with the IBM WebSphere website.
WebSphere main page:
http://www-01.ibm.com/software/websphere/
WebSphere Application Server V8.0 Administration Curriculum:
http://www-01.ibm.com/software/websphere/education/curriculum/appserv/index.html
Several courses are offered.
1 - Administration on Windows
2 - Administration on Linux
3 - Technical Overview
4 - Problem Determination
5 - Transition to V8
I think that this is a good place to start focusing. No budget to actually TAKE these courses, but this makes a fantastic outline.
The Certification page (http://www-01.ibm.com/software/websphere/education/certification/#free-was-cr) lists quite a few resources as well.
Available certifications include
"IBM Certified System Administrator - WebSphere Application Server Network Deployment V8.0"
The Recommended prerequisite section is telling:
Recommended Prerequisite Skills
(*Knowledge and skills one needs to possess before beginning to prepare for this job role certification; skills not measured on test)
- basic Java Enterprise Edition 6 knowledge
- basic Web application architecture and deployments
- network and operating system security concepts
- network or operating system administration and problem determination skills
- understanding of operating systems
There is an assessment test which I think will be a very, very useful tool, found here: http://www-03.ibm.com/certify/tests/sam317.shtml. Cost is $30 / practice test.
There is also a "Training Resources" section (http://www-03.ibm.com/certify/tests/edu317.shtml) that lists several redbooks and Web Resources.
REDBOOKS:
http://www.redbooks.ibm.com/abstracts/sg247957.html?Open
http://www.redbooks.ibm.com/redpieces/abstracts/sg247971.html?Open
There are about a bazillion web resources. Probably worth checking out.
Friday, June 08, 2012
Windows PowerShell script to find all occurrences of a string in files, all subdirectories
(get-childitem -recurse -include *.java | select-string -pattern PrepareStatement | foreach {$_.line}).Count
I developed this fairly quickly to count the occurrences of "PrepareStatement" in *.java in all sub-directories. Worked like a charm. Just in case it does you any good :-)
I developed this fairly quickly to count the occurrences of "PrepareStatement" in *.java in all sub-directories. Worked like a charm. Just in case it does you any good :-)
Thursday, May 17, 2012
My Experience with SQL Server 2005 Database Engine Tuning Advisor
I won't go into the how-to's for using SQL Server DBTA. There are many out there of higher quality than I would produce, most notably:
http://msdn.microsoft.com/en-us/library/ms173494(v=sql.105).aspx
There are also several blogs with good info.
I want to relate some specifics of my recent experience.
http://msdn.microsoft.com/en-us/library/ms173494(v=sql.105).aspx
There are also several blogs with good info.
I want to relate some specifics of my recent experience.
I executed both the turning advisor and the activity monitor
from a separate instance of SQL server.
My rationale for this was to distribute the workload across these two
devices, thus hopefully minimizing the impact to the server that was being
profiled.
Several observations:
1.
While the activity monitor will store trace data
on the local server, the database tuning advisor will run its analysis and
consume resources on the server that is being targeted. This eventually lead to issues as the memory
resources for the server in question were consumed.
2.
It is important to keep the workload being
analyzed as small as possible. The
analysis runs for a very long time.
3.
It is important to disable the timeout value. I had several analysis runs that ran for over
an hour and a timed out, producing no recommendations.
4.
It appears possible that prior analyses which
are left open continue to consume resources.
By resources, I mean resources on the server are being analyzed, not the
server that is running the tuning advisor.
All of that said, the SQL server database tuning advisor is
a fantastic tool. It was able to
recommend new indexes and statistics that improved our entire batch cycle time
by almost 50%.
Subscribe to:
Posts (Atom)
Get Restart log using PowerShell
I'm often curious about a restart on a Windows server system. An easy way to get a list of the restart and what initiated it is to use t...
-
I’ve been having some trouble getting DBCA to run in order to create databases. Thought I’d share it with you, and thus document it for la...
-
BibleGateway.com - Passage Lookup: John 10:7, 9-10 9I am the gate; whoever enters through me will be saved.[a] He will come in and go out, a...
-
It will often occur that we need to search a large character string in a relational database, something like an email address, postal addres...