Managing ObjectStore

oschhost: Changing Rawfs Link Hosts

The oschhost utility changes the host that a link in the rawfs points to.

Syntax

oschhost [-f][-R] newhost pathname ...
newhost 
Specifies the name of the new host for the specified rawfs link.

pathname ...
Specifies one or more rawfs links.

oschhost [server_host] old_link_host new_link_host
server_host 
Specifies the Server on which you are running oschhost. When you do not specify this argument, ObjectStore runs the utility on the local host.

old_link_host 
Specifies the name of the host the link currently points to.

new_link_host

Specifies the name of the host the link will point to.

Options
-f 
Forces execution. Errors are not reported.

-R 
Indicates that ObjectStore should change the host recursively for all specified directories.

Description

This utility operates only on rawfs links. The oschhost utility changes only the host component of the rawfs symbolic link, or all links in the rawfs. The utility does not physically move any databases or directories.

You can use oschhost to update the rawfs after you restore an entire file system from one Server to another.

Use the first form of the utility to change specified links, that is, links with particular pathnames.

Use the second form of the utility to change all links on a particular host (server_host) that point to a specified host (old_link_host) so that they point to a new host (new_link_host).

UNIX

You must be the superuser to change the host for a rawfs.

API

Class: os_dbutil
Methods: rehost_all_links and rehost_link



[previous] [next]

Copyright © 1999 Object Design, Inc. All rights reserved.

Updated: 03/11/99 11:19:07