You can access assets stored on a Rational® Asset Manager server
from an NFS client.
Before you begin
The NFS server bundled with
Rational Asset Manager must
be installed and configured by the repository administrator. To learn
how install and configure the NFS server, see
Configuring NFS support.
Procedure
- Get a token from the Rational Asset Manager server
by browsing to http://server/context_root/accessToken,
where server is the server running Rational Asset Managerand context_root is
the context root for the Rational Asset Manager web
client, typically ram. The
token is valid for 24 hours. Tokens are unique and user-specific.
The token is returned in XML format. The element of the XML file that
contains the actual token is called token.
- Copy the contents of the token element
from the web browser, so that you can use the token in the NFS mount
command.
- On the computer running the NFS client, issue the following
command: mount NFS_server:token/asset/GUID/version local_directory,
where:
| Option |
Description |
| NFS_server |
The IP address or fully-qualified host name of the NFS server. |
| token |
The contents of the token element obtained
in step 1. |
| GUID |
The Unique ID of the Rational Asset Manager asset
to mount. |
| version |
The version of the Rational Asset Manager asset
to mount. |
| local_directory |
The mount point on the NFS client. For example, /temp. |
If the operating system on the computer running the NFS client
is Red Hat Enterprise Linux 6 or later, issue the following command:
mount -t nfs -o nfsvers=2 NFS_server:token/asset/GUID/version local_directory.
Results
You can now install or extract the asset stored in
Rational Asset Manager on
the computer running the NFS client.
Note: NFS access is read-only.
You cannot make changes to a mounted asset in Rational Asset Manager from
an NFS client. Also, you cannot make changes to file systems exported
from the NFS server.