HP Enterprise File Services WAN Accelerator manual Restricting Clients, Creating Log Files

Page 23

 

Restricting Clients

 

By default, the server only allows data in and under the working directory to be altered.

 

You can create restrictions so that only clients from a specified list are allowed.

To restrict clients

1. Move to the working directory on the server. For example:

 

cd e:\working

 

2. At the command prompt, restrict clients. For example:

 

rcu /server /allowclientip 10.0.0.100 /allowclientip Portola

 

where /allowclientip specifies the IP address (in this example, 10.0.0.100) and /

 

allowclientip specifies the client machine (Portola), that you want to allow access to.

 

Creating Log Files

 

The RCU can log actions to a file or set of files. You can use a rotating log, where it

 

writes to a single log file until a size limit is reached. Upon reaching the size limit, it

 

creates a new log file.

 

A maximum number of log files can also be specified so that the RCU rotates through

 

a small set of files. This feature is more appropriate when the RCU is running in server

 

or monitor mode.

To create a log file

For example:

 

rcu /monitor /mirror c:\build server1 build1 /logfilename

 

build_watcher.log /logfilenum 10 /logfilemax 10

 

In this example, the client is monitoring the c:\build directory. It is logging

 

information to a set of 10 files named build_watcher.log.1 through

 

build_watcher.log.10, with each file restricted to a maximum of 10 Megabytes. When

 

the first log file reaches this maximum capacity then the next log file is used.

Additional RCU Features

The following section describes additional features of the RCU. It contains the following sections:

‹“Specifying Time Limits,” next

‹“Specifying Wild Cards” on page 22

‹“Excluding Files and Directories” on page 22

2 - INSTALLING AND USING THE RCU

HP STORAGEWORKS ENTERPRISE FILE SERVICES REMOTE COPY UTILITY REFERENCE MANUAL

21

Image 23
Contents 392364-003 HP StorageWorks Enterprise File Services Remote Copy UtilityPage Contents Index Chapter HP EFS RCU CommandsTypes of Users Organization of This Guide IntroductionAbout This Guide Boldface Document ConventionsAdditional Resources Hardware and Software DependenciesRelated Reading Contacting HP HP Storage Web Site HP NAS Services Web SiteIntroduction Overview HP EFS Remote Copy UtilityHP EFS RCU Deployment FeaturesTransparent Prepopulation HP EFS Remote Copy Utility Client and server Installing and Using the RCUInstalling the RCU To install the RCU on aUpgrading from RCU 2.1 to Modifying the Default RCU ParametersScheduling Tasks for the RCU Running the RCU from the Command-Line InterfaceRCU on a client To schedule tasks forTo copy data To start the RCU in server mode as a Windows serviceCopying Data To mirror data Mirroring DataTransparently Prepopulating Cifs Data Monitoring Data To run the RCU in monitor modeTo restrict clients Additional RCU FeaturesRestricting Clients Creating Log FilesExcluding Files and Directories Specifying Time Limits Specifying Wild CardsSyntax HP EFS RCU CommandsClient Actions CopyDescription MirrorPrepop ParametersExample Client OptionsExcludepath MaxretriesMaxretrywait TimeoutServer Options Denyclientip AllowabspathAllowclientip Serverdebug ServerMonitormaxwait Monitoring ActionsMonitor MonitoridlewaitLogfilemax Logging OptionsLogfile Quiet Global OptionsLogfilename LogfilenumCompareacls ConfigfileSendbuf ReadtimeoutPort RecvbufHP EFS RCU Commands RCU IndexIndex
Related manuals
Manual 232 pages 61.98 Kb Manual 1 pages 12.03 Kb Manual 14 pages 52.65 Kb Manual 124 pages 48.85 Kb