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

SetHostDiskDeviceWriteCacheMode ( "\\HostA2\/dev/dsk/c0t5d0s6", WRITE_CACHE_ENABLED,
NOWAIT )
Solaris
SetHostDiskDeviceWriteCacheMode ( \\HostA2\/dev/disk/dsk100c", WRITE_CACHE_ENABLED,
NOWAIT )
Tru64 UNIX
SetHostDiskDeviceWriteCacheMode ( "\\HostA2\Disk3", WRITE_CACHE_ENABLED, NOWAIT
)
Windows
Comments
Associated validation commands. ValidateHost.
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.
SetHostVolumeGroupWriteCacheMode
Enables or disables (stops and flushes) the write cache of the storage volumes (virtual disks) that
underlie a host volume group.
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:
SetHostVolumeGroupWriteCacheMode ( %volgroup_unc_name%, WRITE_CACHE_ENABLED, NOWAIT )
UNC Host Volume Group Name (%volgroup_unc_name%). Select or enter the name of the host
volume group 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
SetHostVolumeGroupWriteCacheMode ( "\\HostA2\/home/vg02", WRITE_CACHE_ENABLED,
NOWAIT )
AIX
SetHostVolumeGroupWriteCacheMode ( "\\HostA2\/users/vg02", WRITE_CACHE_ENABLED,
NOWAIT )
HP-UX
SetHostVolumeGroupWriteCacheMode ( "\\HostA2\/var/vg02", WRITE_CACHE_ENABLED,
NOWAIT )
Linux
Not applicableOpenVMS
SetHostVolumeGroupWriteCacheMode ( "\\HostA2\/usr/vg02", WRITE_CACHE_ENABLED,
NOWAIT )
Solaris
160 Job Commands