2.Add the following line to the /etc/fstab file:

/dev/mapper/vg_fsefs-fsefs_01

/fse/fsefs_01

hsmfs noauto 0 2

CAUTION: You must use the values in the third1, fourth2, fifth, and sixth column as specified above. You may use different values in the first and second column according to your actual LVM volume configuration.

3.If necessary, repeat the steps 1 and 2 for all other local HSM file systems that you plan to use.

4.Comment out each line that you added in step 2.

For the above example, the commented out line would look as follows:

# /dev/mapper/vg_fsefs-fsefs_01

/fse/fsefs_01

hsmfs noauto 0 2

After the corresponding FSE partitions are configured, you will need to remove the commenting characters from the file /etc/fstab. This will enable automatic mounting of the local HSM file systems after subsequent restarts of the locally running FSE processes.

The automation of mounting completes the software installation phase. To find out how to configure FSE resources such as disk media, tape libraries, FSE partitions, and how to perform other configuration tasks, see the FSE user guide, chapter ”Configuring FSE”.

The next section describes how to configure the post-start and pre-stop scripts.

Configuring the post-start and pre-stop helper scripts

You can set up two helper scripts to automatically perform various tasks at startup and shut-down of the local FSE processes. These scripts are called post-start and pre-stop scripts, and are plain text files containing lists of commands to be run sequentially.

Both scripts are executed by the fse command. If they are not present, their execution is simply skipped.

NOTE: The commands that you specify in the post-start and pre-stop scripts should not block the execution of the fse command. Therefore, they must conform to the following rules:

They must not require interactive input.

They must finish in a reasonable time and return the control to the script afterwards.

The post-start script

The post-start script is executed by the fse --startcommand after all local FSE processes have been started and, if the local system hosts HSM file systems, all HSM file systems with an entry in the /etc/fstab file have been mounted. The script therefore, runs the specified commands directly after this particular component of the FSE implementation is put into its fully operational state.

The post-start script must be named post_start.sh. It has to be located on the local system in the /opt/fse/sbin directory. The script must have execute permissions.

The following are examples of the post-start script.

1.The keyword hsmfs in the third column refers to the type of file system. This is an HSM file system.

2.The keyword noauto refers to the file system mounting option. An HSM file system cannot be automatically mounted at system startup when the local FSE processes are not running yet.

50 Installing FSE software

Page 50
Image 50
HP File System Extender (FSE) manual Configuring the post-start and pre-stop helper scripts, Post-start script

File System Extender (FSE) specifications

HP File System Extender (FSE) is a sophisticated solution designed to optimize data storage management for enterprises that deal with large volumes of unstructured data. This technology addresses the challenges of data growth and the need for effective data retention strategies, enabling organizations to store and manage their information more efficiently.

One of the main features of HP FSE is its ability to intelligently migrate data between primary and secondary storage. By utilizing policies that determine when to move infrequently accessed files to lower-cost storage environments, FSE helps reduce the strain on primary storage systems and saves on costs associated with high-performance storage solutions. This tiered approach to data management ensures that organizations can access the data they need quickly while still maintaining an efficient overall storage architecture.

Another notable characteristic of HP FSE is its seamless integration with existing storage infrastructures. The solution works with a variety of storage systems, allowing organizations to utilize their current investments without the need for significant changes to their infrastructure. This interoperability is powered by advanced technologies that facilitate data migration and retrieval, ensuring a smooth transition for organizations looking to optimize their storage strategies.

Additionally, HP FSE is equipped with robust reporting and analytics capabilities. This functionality provides organizations with insights into their storage usage, helping them understand data patterns and optimize their storage environments accordingly. By having visibility into which files are accessed most frequently and which are rarely used, organizations can make informed decisions on data retention policies and storage management.

Security is paramount in data management, and HP FSE addresses this concern by implementing advanced data protection features. This includes data encryption, secure access controls, and compliance with industry regulations, ensuring that sensitive information is safeguarded throughout its lifecycle.

Overall, HP File System Extender is a comprehensive data storage solution that combines intelligent data management, seamless integration, insightful analytics, and robust security features. By leveraging these capabilities, organizations can efficiently manage their unstructured data, lower costs, and enhance operational efficiency, making it an invaluable tool in today’s data-driven landscape.