14
© 2012 Riverbed Technology, Inc.
Configuring the log storage
Following operations may take several hours depending on the capacity of the LUN and the size of the
existing logs that need to be copied. Therefore, you must run the commands under the screen program
in case the ssh session is lost.
If you have installed a Fibre Channel Host Bus Adapter card in more than one Analysis or Expansion
Module in an Enterprise Profiler, then configure each module individually, one at a time. Performing the
configuration on more than one Enterprise Profiler module at a time will corrupt the database settings.
Configuring the LUN
Format the attached LUN by running the
mazu-storage
command as root. You must enter
Yes
and then
enter it again when prompted. For a multi-path topology, for example:
[root@profiler ~]#
mazu-storage --prepare
san
Preparing '
/dev/mapper/mpatha
' ...
DANGER: Existing data on a disk (
/dev/mapper/mpatha
) will be destroyed!
You have 10 seconds to interrupt mazu-storage... proceeding
Warning: The existing disk label on
/dev/mapper/mpatha
will be destroyed and all
data on this disk will be lost. Do you want to continue?
Yes/No? yes
Information: You may need to update /etc/fstab.
Successfully initialized '
/dev/mapper/mpathap1
'.
Complete!
With the single-path topology, the actual block device (
/dev/sd?
) is used in place of the device-mapper
device (
/dev/mapper/mpath?
).
Copying existing logs
Copy the existing logs and configure the use of new log storage by running the following command.
[root@profiler ~]#
mazu-storage --attach disk --device
san
WARNING: mazuctl is running. It will be stopped.
You have 5 seconds to interrupt mazu-storage... proceeding
WARNING: mazuctl will NOT be restarted automatically upon exit.
WARNING: Please restart it if the result is satisfactory.
Attaching '
/dev/mapper/mpathap1
' ...
DANGER: --no-copy NOT specified.
DANGER: Existing data on a partition (
/dev/mapper/mpathap1
) will be destroyed!
You have 10 seconds to interrupt mazu-storage... proceeding
Successfully attached '
/dev/mapper/mpathap1
'.
Logs copied over OK.
Complete!