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

endview

Deactivates a view

APPLICABILITY

ProductCommand type
ClearCasecleartool subcommand
ClearCase LTcleartool subcommand

Platform
UNIX
Windows

SYNOPSIS

endview [ –ser·ver ] view-tag

DESCRIPTION

Deactivates the specified view. The exact behavior varies according to the kind of view.

We recommend against deactivating a view for the purpose of backing it up.

Dynamic View

The endview command deactivates the dynamic view. It removes all references to the view from the MVFS on the current host. The view-tag disappears from the MVFS directory (on Windows this directory is, by default, M:\). The –server option terminates the view's view_server process. Without –server, endview does not affect the view's availability from computers other than the current one. For information about view_server, see the Administrator's Guide.

If a Windows drive was assigned to the view, the drive is marked unavailable in the drive table (see the Windows net use command) and can be reused.

In a mixed UNIX/Windows environment, any NFS drive that was mounted to support access to the view storage directory gets unmounted (assuming no other active views or VOBs require it).

Caution: Processes set to or associated with a view are stranded if you deactivate that view without exiting the processes. This can cause MVFS activities to fail. To recover from this situation, use startview or setview to restart the view on all computers that were using it, or kill the processes manually with the UNIX kill command or the Windows Task Manager. To avoid this situation, follow these guidelines:

  • Before you run endview (without –server) on your computer, exit all processes on your computer that are set to or associated with the view, including any processes started by other users. Any processes that are running when you deactivate the view will be stranded.
  • Before you run endview –server, exit all processes set to or associated with the view, including processes on other computers and/or processes started by other users.

Snapshot View

When issued with the -server option, endview ends the view's view_server process on the host where the view-storage directory resides. Any ClearCase or ClearCase LT command issued from the view-storage directory restarts the snapshot view's view_server process.

endview used without the -server option has no effect on a snapshot view.

RESTRICTIONS

With the –server option, you must have permission to modify the view.

OPTIONS AND ARGUMENTS

Stopping the View Server

Default
endview does not stop the view's view_server process; the view remains accessible from other network hosts.

–ser·ver
Terminates the view's view_server process.

Specifying the View to Deactivate

Default
None. You must supply a view tag.

view-tag
Deactivates view view-tag if view-tag specifies a dynamic view. If view-tag specifies a snapshot view, -server must also be specified to deactivate the view.

EXAMPLES

The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.

The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.

In cleartool single-command mode, cmd-context represents the UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.

  • Deactivate the dynamic view r3_main on the local host. Do not terminate the view_server process.

    cmd-context endview r3_main 

  • Same as previous example, but terminate the view_server process, making the view temporarily unavailable to all hosts.

    cmd-context endview –server r3_main 

  • Stop and restart the dynamic view alh_main, which is currently assigned to drive W.

    cmd-context endview alh_main 
    cmd-context startview alh_main 
    net use 
    ...
    Unavailable W:    \\view\alh_main       ClearCase Dynamic Views
    ...
    net use w: \\view\alh_main 
    Command completed successfully.

  • Deactivate the snapshot view r4_main.

    cmd-context endview –server r4_main 

SEE ALSO

startview, Administrator's Guide

SPONSORED LINKS



 

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