Monthly Archives: June 2009

Perl cheat sheets

Original post blogged on b2evolution.

Posted in Uncategorized | Leave a comment

Linux: create bootable USB pen drive for installation

The server I need to install Red Hat Enterprise Linux on does not have a floppy drive or CD-rom drive, but it has a USB port. What are the steps to configure a USB pen drive to boot and install … Continue reading

Posted in Uncategorized | Leave a comment

Veritas: Veritas Initialization

1. Kick off the veritas initialization program vxinstall 2. Enter the license keys when you are prompted for them 3. Choose custom install from the menu 4. Choose to encapsulate your rootdisk 5. Choose to leave all other disks alone … Continue reading

Posted in Uncategorized | Leave a comment

Veritas: Mirroring The Root Disk

Create the mirrors 1. Give veritas control of a disk to create the mirror on /usr/lib/vxvm/bin/vxdisksetup -i solaris-disk-name 2. Add the new disk to the rootdg disk group and give it a veritas name vxdg -g rootdg adddisk rootmirror=solaris-disk-name 3. … Continue reading

Posted in Uncategorized | Leave a comment

Veritas: Remove A Disk Group

1. remove any volumes from the disks a. vxassist –g disk-group remove volume volume-name b. repeat the above procedure for each volume on the disk 2. remove disks from the disk group a. vxdg –g disk-group rmdisk vxvm-disk-name b. repeat … Continue reading

Posted in Uncategorized | Leave a comment

Veritas: Create A Disk Group

1. Initialize all disks to be in the disk group a. For instructions see “initializing a new disk” below 2. create the disk group vxdg init disk-group-name solaris-disk-name=veritas-disk-name \ [solaris-disk-name=veritas-disk-name …] Original post blogged on b2evolution.

Posted in Uncategorized | Leave a comment

Veritas: Create A Volume

Run the command with all attributes specificed vxassist –g disk-group-name make volume length layout=[…] ncol=[…] Original post blogged on b2evolution.

Posted in Uncategorized | Leave a comment

Veritas: Manually Un-mirror A Volume

Identify which plex you wish to remove using vxprint vxplex –o rm dis plex-name Original post blogged on b2evolution. Incoming search terms:veritas un-mirror volume

Posted in Uncategorized | Leave a comment

Veritas: Upgrade A Disk Group

After a veritas volume manager upgrade you may need to upgrade the disk groups vxdg upgrade disk-group Original post blogged on b2evolution. Incoming search terms:verita upgrade disk groups

Posted in Uncategorized | Leave a comment

Veritas: Force Direct I/O

Add the following mount options to the filesystem mincache=direct Original post blogged on b2evolution. Incoming search terms:san and force direct io

Posted in Uncategorized | Leave a comment