Select Page

ZCM agent debugging

More how-to guides. This one is turning on ZCM agent-side debugging.

First set the zmd logging to be at debug level; there are two ‘true’ settings in the conf file:

%ZENWORKS_HOME%conflogger-zmd-conf.xml

<configuration>
<log4net>
    <!–Appender to log event to console–>
    <appender name=”ConsoleAppender” type=”log4net.Appender.ConsoleAppender”>
    <param name=”Threshold” value=”DEBUG” />
    <layout type=”Novell.Zenworks.Logger.SimpleLayout, Novell.Zenworks.Logger”></layout>
    </appender>

    <!–This section is used to enable or disable the above configured appenders –>
    <logger name=”ZEN_LOGGER” additivity = “true“>
        <level value=”DEBUG”/>
        <appender-ref ref=”ConsoleAppender” />
    </logger>

    <!– This section is used to Enable component Logging –>
<!–
        <logger name = “ZEN_LOGGER.TestLogger” additivity =”true”>
                   <level value=”DEBUG”/>
        </logger>
–>
</log4net>

<ZenworksMessageLogger>
    <!– This section is used to turn on/off the Global Debug Flag –>
    <param name=”FileDebug” type=”Boolean” value =”true” />
</ZenworksMessageLogger>
</configuration>

Next restart the ZENworks agent

net stop “novell zenworks agent service”

The Novell ZENworks Agent Service service is stopping.
The Novell ZENworks Agent Service service was stopped successfully.

net start “novell zenworks agent service”

The Novell ZENworks Agent Service service is starting..
The Novell ZENworks Agent Service service was started successfully.

The log file for the agent is in %ZENWORKS_HOME%logsLocalStorezmd-messages.log

The log rolls – so you might need to collect the zip as well.

MySQL tuning

I use mysql a lot. It is the underpinning of these blogs, my online photo albums, my new drupal sites – a lot.

I found this collection of great scripts to help even the seasoned mysql admin tweak some more.

I especially liked the tuning script:

SLOW QUERIES
Current long_query_time = 10 sec.
You have 9 out of 8370223 that take longer than 10 sec. to complete
The slow query log is NOT enabled.
Your long_query_time may be too high, I typically set this under 5 sec.

TABLE CACHE
Current table_cache value = 64 tables
You have a total of 288 tables
You have 64 open tables.
Current table_cache hit rate is 0%, while 100% of your table cache is in use
You should probably increase your table_cache

Very nice work. I’ll be working on squeezing that extra 1% out of mysql tomorrow.

Time off

Back from travelling – I’m taking a few more days off to decompress.

Working on a website for Grania – I’ve decided to use Drupal again. I’m a bit rusty (it’s been 18 months since I touched Drupal 4.7) and I’ve been exposed to too much WordPress. I need to get my head around Drupal templates again rather than WordPress themes.

Also looking at migrating the production webserver from Apache to lighttp – I’ve been testing lighttp for a while and it is incredible.

Time for a break

It’s been a busy few months.

I’m taking some time off for a while to get back to normal.

No more logging bugs, testing fixes, writing docs, building demos, working in the superlab, answering questions, defending the decisions of others …

I’ll be back online in a week or so.

ENGL ZToolkit 5 beta

I’m building demos – and I’m using a pre-release (very restricted) version of the ENGL ZToolkit version 5.

It not only supports Vista – but also ZENworks Configuration Management.

I’ll get round to doing some screencams later.

Blog backlog

Phew. Finally we shipped ZENworks Configuration Management.

An incredible team effort by the Novell engineering and QA teams – a complete rewrite and integration job from the ground up in just over 18 months. There have been some fantastic individual and team contributions – both early on and in the final few weeks.

It’s been the sole focus of my life for the past six-nine months – it feels like a massive weight has lifted from me.

The last few weeks have been pretty intense – I’ve spend time in the Novell Superlab overnight, testing the product; more time in the Superlab running more tests and competitive tests; endless hours logging bugs, getting fixes and verifying that everything is resolved.

I’ve logged way over 200 bugs against the product in the last nine months (that’s a lot for Product Management) and about twenty showstoppers.

I know the product is a lot better, more customer ready and more ready to be deployed because of this.

I’ve got a backlog of posts that I’m going to start posting.

Dilbert and real life

Scott Adams wrote:

Yesterday I was creating a Dilbert comic that will run in August. In the first panel, Dogbert needed to describe his job as VP of marketing. How do you do that in the fewest words? Here was my solution.

Feel free to leave your own comments..

In the Novell SuperLab

I’m in the Novell SuperLab for the night – don’t ask. I’ve got the run of the place – there are thousands of machines in here – and I’ve got 500 workstations to play with. It’s a geek playground.

I’m running some tests, collecting data and writing notes for a set of white papers about ZENworks Configuration Management.

Written at: Provo, UT