IPnom Home • Manuals • ClearCase

 Rational ClearCase Commands Reference

ClearCase Stuff:ClearCase LinksClearCase BooksClearCase Commands ReferenceClearCase ForumsClearCase News
Keyword Live Search (10 results max):
 Type in part of a ClearCase command in the search box.
 
Commands Index:
  intro
  annotate
  apropos
  catcr
  catcs
  cc.icon
  cc.magic
  cd
  chactivity
  chbl
  checkin
  checkout
  checkvob
  chevent
  chflevel
  chfolder
  chmaster
  chpool
  chproject
  chstream
  chtype
  chview
  clearaudit
  clearbug
  cleardescribe
  cleardiffbl
  cleardiff
  clearexport_ccase
  clearexport_cvs
  clearexport_pvcs
  clearexport_rcs
  clearexport_sccs
  clearexport_ssafe
  clearfsimport
  cleargetlog
  clearhistory
  clearimport
  clearjoinproj
  clearlicense
  clearmake
  clearmake.options
  clearmrgman
  clearprojexp
  clearprompt
  cleartool
  clearviewupdate
  clearvobadmin
  comments
  config_ccase
  config_spec
  cptype
  credmap
  creds
  deliver
  describe
  diffbl
  diffcr
  diff
  dospace
  edcs
  endview
  env_ccase
  events_ccase
  export_mvfs
  exports_ccase
  file
  find
  findmerge
  fmt_ccase
  getcache
  get
  getlog
  help
  hostinfo
  init_ccase
  ln
  lock
  lsactivity
  lsbl
  lscheckout
  lsclients
  lscomp
  lsdo
  lsfolder
  lshistory
  ls
  lslock
  lsmaster
  lspool
  lsprivate
  lsproject
  lsregion
  lsreplica
  lssite
  lsstgloc
  lsstream
  lstype
  lsview
  lsvob
  lsvtree
  makefile_aix
  makefile_ccase
  makefile_gnu
  makefile_pmake
  makefile_smake
  makefile_sun
  man
  merge
  mkactivity
  mkattr
  mkattype
  mkbl
  mkbranch
  mkbrtype
  mkcomp
  mkdir
  mkelem
  mkeltype
  mkfolder
  mkhlink
  mkhltype
  mklabel
  mklbtype
  mkpool
  mkproject
  mkregion
  mkstgloc
  mkstream
  mktag
  mktrigger
  mktrtype
  mkview
  mkvob
  mount_ccase
  mount
  msdostext_mode
  mvfslog
  mvfsstorage
  mvfstime
  mvfsversion
  mv
  omake
  pathnames_ccase
  permissions
  profile_ccase
  promote_server
  protect
  protectvob
  pwd
  pwv
  query_language
  quit
  rebase
  recoverview
  reformatview
  reformatvob
  register
  relocate
  rename
  reqmaster
  reserve
  rgy_backup
  rgy_check
  rgy_passwd
  rgy_switchover
  rmactivity
  rmattr
  rmbl
  rmbranch
  rmcomp
  rmdo
  rmelem
  rmfolder
  rmhlink
  rmlabel
  rmmerge
  rmname
  rmpool
  rmproject
  rmregion
  rmstgloc
  rmstream
  rmtag
  rmtrigger
  rmtype
  rmver
  rmview
  rmvob
  schedule
  schemes
  scrubber
  setactivity
  setcache
  setcs
  setplevel
  setsite
  setview
  shell
  snapshot.conf
  softbench_ccase
  space
  startview
  type_manager
  umount
  uncheckout
  unlock
  unregister
  unreserve
  update
  version_selector
  view_scrubber
  vob_restore
  vob_scrubber
  vob_sidwalk
  vob_snapshot
  vob_snapshot_setup
  wildcards_ccase
  winkin
  xclearcase
  xcleardiff
  xmldiffmrg

clearlicense

Monitors and controls the product license database

APPLICABILITY

ProductCommand type
ClearCasecommand
MultiSitecommand

Platform
UNIX
Windows

SYNOPSIS

clearlicense [ –pro·duct product-name ] [ –hos·tid | –rel·ease [ username | user-ID ] ... ]

DESCRIPTION

The clearlicense command reports the status of the ClearCase user licensing facility. You can also use this command to release users' licenses, making them available to other users.

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

Default
A report on licenses and user activity for all products with valid licenses is displayed, in the format described above.

–pro·duct product-name
Specifies the product whose licensing information is to be displayed or changed. product-name must match (including capitalization) the word that follows –license in the product's license entry—for example: ClearCase and MultiSite.

–hos·tid
Displays the machine identifier of the host on which you invoke the command.

To obtain the license server host ID for the License Registration Form (located in the Installation Guide; to be used when you want to add licenses to an existing license database or add a license server host), log on to the current or future license server host and run clearlicense –hostid.

–rel·ease [ username | user-ID ] ...
Specifies users (by user name or by numeric user-ID) whose licenses are to be revoked. Using –release without an argument causes your own license to be revoked. To discourage license battles among users, albd_server prevents this option from being used an excessive number of times during any single day.

LICENSING ERRORS

This section describes errors typically encountered in licensing.

Problems with License Host File

If the UNIX file /var/adm/rational/clearcase/config/license_host or the Windows registry key value LicenseHost does not exist or is empty, this message appears:

mvfs: ERROR: view view-tag not licensed! 
command-name: .: Input/Output error  

Additional error messages may be displayed or written to /var/adm/rational/clearcase/log/view_log or the the Windows Event Viewer:

Error: You do not have a license to run ClearCase.
Error: Your license server is not specified.

UNIX platform errors may include:

Error: Unable to open file 
“/var/adm/rational/clearcase/config/license_host”: 
              No such file or directory.
Error: Your license server is not specified.

Create “/var/adm/rational/clearcase/config/license_host” 
and put the license server hostname in it.

Windows platform errors may include:

Error: Unable to query value of LicenseKeys in the NT Registry; NT error  
Windows-NT-status-code.
 

Error: Unable to read LicenseKeys from the NT Registry; NT error 
.
Windows-NT-status-code

Problems with License Server Host

If the license server host cannot be contacted, this message appears:

mvfs: ERROR: view view-tag not licensed!
command-name: .: I/O error

In addition, error messages are displayed or are logged.

  • On UNIX, they are logged to the file /var/adm/rational/clearcase/log/view_log:

    Error: Cannot contact license server host "hostname"
    defined in file /var/adm/rational/clearcase/config/license_host
    Error: You do not have a license to run ClearCase.

  • On Windows, they are logged to the Event Viewer:

    Error: Cannot contact license server host "hostname"
    defined in HKEY_LOCAL_MACHINE\SOFTWARE\Atria\ClearCase
               \CurrentVersion\LicenseHost.

    Error: You do not have a license to run ClearCase.

    Error: Error
     Windows-NT-status-code reading license server hostname from the NT Registry.

Losing a License

If you lose your license while a view is active, this message appears when you try to use the product:

mvfs: ERROR: view shtest - all licenses in use! 

SEE ALSO

Administrator's Guide

SPONSORED LINKS



 

ClearCase Links • ClearCase Books • ClearCase Commands Reference • ClearCase Forums • ClearCase News