beautypg.com

1 file system types, 2 precapture and postcapture scripts – HP Insight Control Software for Linux User Manual

Page 110

background image

NOTE:

To account for the time it may take to capture or deploy a very large image over a slow

network, a time out of five days is in effect for capturing or deploying a Linux image so that you
can determine if an operation hangs. HP recommends that you check your task results to verify
the status of any running jobs.

10.1.1 File system types

Table 10-1

lists the supported and unsupported file system types on the source and target managed

systems for Linux image capture and deployment tasks.

Table 10-1 File system support matrix for image capture and deployment

Unsupported file system types

Supported file system types

Journaling File System (JFS)

ext2

XFS

ext3

VMware file system (VMFS)

ReiserFS

Logical Volume Manager (LVM)

extended partitions

NOTE:

Software RAID is supported in RHEL 4 and RHEL 5 operating systems.

Software RAID is not supported in SLES 10 or SLES 11 operating systems.

10.1.2 Precapture and postcapture scripts

Precapture scripts provide a streamlined ability to prepare or sanitize (that is, to remove
confidential data) a managed system’s image before capturing it.

You can use a Postcapture script to undo what a Precapture script does, or to perform some other
action afterward.

Precapture and Postcapture scripts are Linux shell scripts; for more information on adding,
removing and managing them, see

Section 5.2.5 (page 55)

.

The Precapture, Postcapture scripts run in the Insight Control for Linux RAM disk. The managed
server's file system is mounted as read/write in the RAM disk under the /mnt/target
mountpoint. If your scripts manipulate any files on the managed server, remember to specify
/mnt/target

in the path; otherwise you are only manipulating the RAM disk files.

You can use any script that is registered and copied to the repository. Insight Control for Linux
also creates the /tmp/variables.txt file on a managed system, which contains hardware
specific information about the server. The script can source this file ( . /tmp/variables.txt)
to load information determined by the RAM disk about the current operating environment.

The /tmp/variables.txt file contains shell variables of the form VARIABLE="value". The
most important variables are:

HOSTNAME

DOMAINNAME

DEVICE

IPADDR

NETMASK

NETWORK

BROADCAST

GATEWAY

GATEWAYDEV

IMAGESERVER

110

Capturing and deploying Linux images