HULFT resources protect a HULFT file transfer service by managing the HULFT Windows service during failover and failback. HULFT (Harmonious Universal Link File Transfer) is a high-speed data transfer product.

Resource Type: gen/hulft
Aliases: hulft

Preconditions

  • HULFT must be installed on the server as a Windows service.
  • The HULFT service name, executable path, and HULFT environment settings file storage folder path must be provided.

Subcommands

HULFT resources are managed by commands of the form:

lkcli resource gen/hulft <subcommand> [flags]

Subcommand Description Required Role
create Create a new HULFT resource admin
extend Extend to a standby server admin
get-property Read a resource property guest
set-property Update an editable resource property admin

create

lkcli resource gen/hulft create \
  --hulexep=<string> --hulname=<string> --hulpath=<string> [flags]

Flag Short Type Required Default Constraints Description
--hulexep string Yes Path to the HULFT executable
--hulname string Yes HULFT Windows service name
--hulpath string Yes HULFT environment settings file storage folder path
--ip-resource string No LifeKeeper IP resource tag to bring in/out of service with this resource. If specified, a dependency is created with the IP resource. If not specified, then no dependency is created.
--volume-resource string No LifeKeeper Volume resource tag to relocate with this resource. If specified, a dependency is created with the Volume resource. If not specified, then no dependency is created.
--tag string No Auto-generated Resource tag name
--switchback enum No INTELLIGENT INTELLIGENT, AUTOMATIC Switchback type

extend

lkcli resource gen/hulft extend --primary-sys=<string> --primary-tag=<string> [flags]

Flag Short Type Required Default Constraints Description
--primary-sys string Yes Hostname of the server the existing resource is extended from
--primary-tag string Yes Tag of the existing resource to extend
--standby-sys string No Value of --host (defaults to localhost) Hostname of the standby server
--switchback enum No INTELLIGENT INTELLIGENT, AUTOMATIC Switchback type
--primary-priority int No Defaults to the current priority of the --primary-sys server, or 1 if the resource has not yet been extended min: 1, max: 999 Failover priority for the primary server
--standby-priority int No Defaults to an unused value which is computed dynamically based on the priority values currently in-use min: 1, max: 999 Failover priority for the standby server

get-property / set-property

lkcli resource gen/hulft get-property --tag=<string> --property=<string>
lkcli resource gen/hulft set-property --tag=<string> --property=<string> --value=<string>

Flag Short Type Required Description
--tag -t string Yes Resource tag name
--property -p string Yes Property name (see Properties table below)
--value -v string Yes (set-property only) New property value

Properties

Property Type Constraints Editable Description
hulname string Yes HULFT Windows service name
hulexep string Yes Path to the HULFT executable
hulpath string Yes HULFT environment settings file storage folder path
retry-count int min: 0, max: 10 Yes Number of retries on failure
retry-interval int min: 1, max: 10 Yes Interval between retries in seconds
status-check-interval int min: 1, max: 10 Yes Interval for status checks in seconds
timeout int min: 0, max: 3600 Yes Timeout for HULFT operations in seconds

Example Usage

# Create a HULFT resource
lkcli resource gen/hulft create \
  --host=server1 \
  --hulname="HULFT(something)" \
  --hulexep="C:\HULFT Family\hulft10\bin" \
  --hulpath="D:\HULFT Family\hulft10\etc" \
  --ip-resource=ip-192.168.1.100 \
  --tag=hulft.0

# Extend to server2
lkcli resource hulft extend \
  --primary-sys=server1 \
  --primary-tag=hulft.0 \
  --standby-sys=server2

# Read retry count
lkcli resource gen/hulft get-property \
  --host=server1 \
  --tag=hulft.0 \
  --property=retry-count

# Update retry count
lkcli resource gen/hulft set-property \
  --host=server1 \
  --tag=hulft.0 \
  --property=retry-count \
  --value=3

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment