HP P6000 Replication Solutions Manager Job Command Reference (T3680-96090, October 2012)

SetHostVolumeGroupWriteCacheMode ( "\\HostA2\dom01", WRITE_CACHE_ENABLED, NOWAIT
)
Tru64 UNIX
Not applicableWindows
Comments
Associated validation commands. ValidateHostVolumeGroup.
Agent and license prerequisites. Requires a host agent.
Command result value. None. For a complete list, see Command result values.
OS specifics. Yes. See examples.
See Resource names and UNC formats.
SetHostVolumeWriteCacheMode
Enables or disables (stops and flushes) the write cache of the storage volumes (virtual disks) that
underlie a host volume.
When the job is run, the virtual disk write cache mode is enabled or disabled as specified. If the
write cache mode is already as specified, no change in operation occurs.
Resulting actionMode found when the job is runAction specified
No change in write cache operationDisabledDisable
Write caching is stopped and the cache
memory is written to disk (flushed)
EnabledDisable
Write caching is startedDisabledEnable
No change in write cache operationEnabledEnable
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
SetHostVolumeWriteCacheMode ( %hostvol_unc_name%, WRITE_CACHE_ENABLED, NOWAIT )
UNC Host volume Name (%hostvol_unc_name%). Select or enter the name of the host volume whose
write cache mode is to be set.
Write Cache Mode. Select the write cache mode for the host volume. Choices are
write_cache_enabled, and write_cache_disabled
Wait Flag. Select WAIT or NOWAIT. See Wait/nowait argument.
Examples
These examples show host volume mount points. Device names can also be used.
SetHostVolumeWriteCacheMode ( "\\HostA2\/home/cats", WRITE_CACHE_ENABLED, NOWAIT
)
AIX
SetHostVolumeWriteCacheMode ( "\\HostA2\/users/cats", WRITE_CACHE_ENABLED, NOWAIT
)
HP-UX
SetHostVolumeWriteCacheMode ( "\\HostA2\/var/cats", WRITE_CACHE_ENABLED, NOWAIT
)
Linux
SetHostVolumeWriteCacheMode ( "\\HostA2\CATS:", WRITE_CACHE_ENABLED, NOWAIT )OpenVMS
SetHostVolumeWriteCacheMode ( "\\HostA2\/usr/cats", WRITE_CACHE_ENABLED, NOWAIT
)
Solaris
Job commands 161