Linux LVM: Reduce Filesystem and Logical Volume
March 14, 2012 – 5:07 pm | No Comment

The following example shows how to reduce the size of a filesystem mounted on an LVM logical volume. The instructions below are only for non-root filesystems. No reboot is required, but the filesystem will need to be unmounted. So, if there are any user applications using this filesystem, they will need to be stopped and the users will need to log out.

Read the full story »
Networking

Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.

Applications

Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.

Data

Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.

Monitoring

Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

Home » Archive by Category

Articles in Applications

NetBackup statistics, Part I
November 21, 2005 – 4:59 pm | One Comment
NetBackup statistics, Part I

The following script will calculate total size of data backups for each Veritas NetBackup client over the past week (or as defined by the “daysago” variable in the script). The final output will be uploaded …

If Exceed host window does not come up
November 21, 2005 – 11:30 am | No Comment
If Exceed host window does not come up

If Exceed host selection window doesn’t come up or disappears after a few seconds, check the servers in the xdmcp.txt file for Exceed for a dead xdm process. Restart xdm by running /etc/rc3.d/S90xdm stop and …

Install PHP, Mysql, Apache2 on Solaris 9
November 21, 2005 – 11:05 am | No Comment
Install PHP, Mysql, Apache2 on Solaris 9

FROM: http://www.sunhelpdesk.com/articles/Mysql_Apache2_PHP_Solaris_9.htm?file=Mysql_Apache2_PHP_Solaris_9.htm

Note:
I would consider using BlastWave to install your precompiled binaries if your system is connected to the Internet. This documentation will use some of the binaries they provide to make the installation a bit …

Apache MySQL PHP Solaris 8 Installation
November 21, 2005 – 11:03 am | One Comment

FROM: http://ampubsvc.com/~meljr/a2m4p5s8.html
BY: Mel Lester Jr.
This page briefly documents the installation of Apache 2.0.xx, MySQL 4.0.xx and PHP 5.0.x on Sparc Solaris 8.
Disclaimer
Rapid revision is the nature of Open Source products and the versions I refer …

vx command to show vmsa processes running:
November 21, 2005 – 11:00 am | No Comment

vx command to show vmsa commandline processes running:
date;vxtask list
Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post …

Using GNUPlot to chart MySQL data
November 20, 2005 – 12:17 pm | No Comment
Using GNUPlot to chart MySQL data

The following Korn shell function connects to a MySQL database and extracts specified data, which is then plotted as a function of time using GNUPlot.  Using correct syntax is critical. Note the use of single- …

Database operations with SQL and Korn shell
November 20, 2005 – 11:46 am | No Comment
Database operations with SQL and Korn shell

The following Korn shell function will read the a directory containing CSV data files named server_sysstat.20051119.csv with format:
server_2,7,1461,2,2195979,90,00:00:17,42
server_2,6,1467,2,2200018,85,00:02:18,42
server_2,6,1462,2,2198306,89,00:04:20,42
The function will read each file line by line and do either an insert to or an update …

Using NetBackup to restore boot disk
November 19, 2005 – 11:13 pm | No Comment
Using NetBackup to restore boot disk

enable “Rename hard links”
disable “Rename soft links”
if root of destination drive is mounted as /destination/ then select “Restore to alternate path: from / to /destination/ , Restore search path
This is the alternate path for everything: …

Oracle reinstallation
November 19, 2005 – 10:35 pm | No Comment

Before beginning Oracle REinstall, make sure to remove the /var/opt/oracle/oraInst.loc file created by /tmp/orainstRoot.sh script during prior installation
Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about …