News for September 2008

Flush DNS on MacOS X Leopard

dscacheutil -flushcache
Posted: September 29th, 2008
Categories: Uncategorized
Tags:
Comments: No Comments.

Convert sar text to RRDTool Graphs

sar2rrd.pl by Jerome Delamarche converts the sar text to useful RRDTool graphs. Visit http://www.trickytools.com/php/sar2rrd.php to download the latest sar2rrd.pl and for more information about sar2rrd.

Posted: September 27th, 2008
Categories: Uncategorized
Tags:
Comments: No Comments.

Network & System Monitoring with UNNOC

Here’s a new network & system monitoring tool that I like for the simplicity.
Unnoc is a NOC network monitoring application that is designed to integrate traffic graphs (RRDTool) with SNMP host checking, monitoring and graphing. It uses native SNMP to monitor servers, Wireless Access Points, UPS’s, routers, firewalls, network switches–anything SNMP-enabled, and will send out pages and email alerts if something is wrong.
Visit http://unnoc.org/ for more info or better yet visit http://unnoc.org/demo for a live demo.
 

Posted: September 26th, 2008
Categories: Uncategorized
Tags:
Comments: No Comments.

Exclusive NIC for a Solaris Zone

By default, when you setup a Solaris Zone the ip-type will be set to shared.
Now, you can setup exclusive access to a Solaris Zone. This means only the Zone can communicate with the NIC. Even the global zone will NOT be able to communicate on the specified NIC.
You can use DHCP, static IPs and manage routing.

global# zonecfg -z myzone
zonecfg:myzone> set ip-type=exclusive
zonecfg:myzone> add net
zonecfg:myzone:net> set physical=bge1
zonecfg:myzone:net> end
zonecfg:myzone:>exit
Posted: September 26th, 2008
Categories: Uncategorized
Tags:
Comments: No Comments.

Physical, Virtual & Locked Memory Settings for Zones

Physical Memory:

global# zonecfg -z myzone
zonecfg:myzone> add capped-memory
zonecfg:myzone:capped-memory> set physical=500m
zonecfg:myzone:capped-memory> end
zonecfg:myzone> exit

Same but while the zone is running:

global# rcapadm -z myzone -m 600m

Warning: Paging will occur if you over-subscribe.
Virtual Memory:

global# zonecfg -z myzone
zonecfg:myzone> add capped-memory
zonecfg:myzone:capped-memory> set swap=1g
zonecfg:myzone:capped-memory> end
zonecfg:myzone> exit

Same but while the zone is running:

global# prctl -n zone.max-swap -v 2g -t privileged   -r -e deny -i zone myzone

Locked Memory:

global# zonecfg -z myzone
zonecfg:myzone> add capped-memory
zonecfg:myzone:capped-memory> set locked=100m
zonecfg:myzone:capped-memory> end
zonecfg:myzone> exit
Posted: September 26th, 2008
Categories: Uncategorized
Tags:
Comments: No Comments.

Installing Solaris Package to Global Zone Only

When you install a package on the global zone, pkgadd will install the package to the global and non-global zones unless you use the -G attribute.
For example:

pkgadd -G -d SUNWtest
Posted: September 26th, 2008
Categories: Uncategorized
Tags:
Comments: No Comments.

Installation of Collabnet Subversion on Solaris

  1. Download the Subversion Binaries for Solaris from Collab

    http://www.collab.net

  2. Download the certificate from Collab 
    wget http://www.collab.net/nonav/downloads/subversion/certificate/certificate.pem
  3. Install the certificate
    pkgadm addcert -ty certificate.pem
  4. Install the packages
    pkgadd -G -d CSVNclnt-1.5.2.1-sparc-local
    pkgadd -G -d CSVNsrvr-1.5.2.1-sparc-local
    pkgadd -G -d CSVNxtrs-1.5.2.1-sparc-local
Next, start the configuration by running /opt/CollabNet_Subversion/bin/Configure-CollabNet-Subversion
Posted: September 26th, 2008
Categories: Uncategorized
Tags:
Comments: No Comments.

Satellite Radio Playlists

To find out the playlist of any satellite radio station, visit the following url below.

  1. http://www.mmr247.com/mmrweb/AllAccess/
  2. Select 7 Days Reports
  3. Select Station Playlists

Popular Stations:

  • “X081″ for BPM (XM’s BPM Station on 81)
  • “S036″ (Sirius The Beat on 36)
Posted: September 26th, 2008
Categories: Uncategorized
Tags:
Comments: No Comments.

Secure SNMP on the Cisco router

Below is an example where the router is only allowing host 10.10.10.20 to make snmp calls.

access-list 10 permit 10.10.10.20
snmp-server community public ro 10
Posted: September 26th, 2008
Categories: Uncategorized
Tags:
Comments: No Comments.

Changing the default message size limit in Postfix

The default message size limit for postfix is 10 megabytes. Modify your main.cf file and use the message_size_limit = option.
Don’t forget to reload postfix once your done.

Posted: September 26th, 2008
Categories: Uncategorized
Tags:
Comments: No Comments.