GraphKnowledge

graph-studio

Importing the NFS Configuration

Before creating a Cloud Location, the configuration details for the NFS server or servers need to be imported into Graph Studio. This is a one-time procedure; the configuration that you import is used for all Cloud Locations. Graph Studio will automatically mount the NFS server to any nodes that are provisioned when applications are deployed.

For information about the NFS requirements, see NFS Guidelines.

Create the NFS Configuration File

The NFS configuration details need to be specified in TriG format. The TriG file is imported to Graph Studio using the Graph Studio Admin CLI. Use the following contents as a template to create a .trig file on the Graph Studio server. If you have multiple NFS servers for different regions, you can configure each server in the same configuration file. The objects to supply values for are described below:

@prefix : http://cambridgesemantics.com/ontologies/cloud/deployment/config# . @prefix nfsmountconfig: http://cambridgesemantics.com/ontologies/CloudDeployment/NFSMountConfiguration/ . @prefix deployment: http://cambridgesemantics.com/ontologies/CloudDeployment/ . @prefix anzo: http://openanzo.org/ontologies/2008/07/Anzo# . @prefix int: http://openanzo.org/system/internal/ . @prefix role: http://openanzo.org/Role/ . @prefix reg: http://cambridgesemantics.com/registries/ .

#Mode:REPLACE :nfsMountConfig1 { :nfsMountConfig1 a deployment:NFSMountConfiguration, deployment:MountConfiguration; nfsmountconfig:NFSfqdn "NFSfqdn" ; nfsmountconfig:NFSMountDir "NFSMountDir" ; nfsmountconfig:NFSMountOptions "NFSMountOptions" ; nfsmountconfig:NFSSharedDir "NFSSharedDir" . } #Mode:ADD reg:CloudLocation { reg:CloudLocation anzo:defaultNamedGraph :nfsMountConfig1 }

:nfsMountConfig2

{

:nfsMountConfig2 a deployment:NFSMountConfiguration, deployment:MountConfiguration;

nfsmountconfig:NFSfqdn "NFSfqdn2" ;

nfsmountconfig:NFSMountDir "NFSMountDir2" ;

nfsmountconfig:NFSMountOptions "NFSMountOptions2" ;

nfsmountconfig:NFSSharedDir "NFSSharedDir2" .

}

Mode:ADD

reg:CloudLocation {

reg:CloudLocation anzo:defaultNamedGraph :nfsMountConfig2

}

Object Description
NFSfqdn The IP address for the NFS server.
NFSMountDir The NFS mount location on the Graph Studio server. The same mount location will be used to mount the NFS when dynamic resources are provisioned.
NFSMountOptions The mount options to use when mounting the NFS.
NFSSharedDir The NFS directory to share between Graph Studio and the dynamic resources.

For example:

# nfs-config.trig @prefix : http://cambridgesemantics.com/ontologies/cloud/deployment/config# . @prefix nfsmountconfig: http://cambridgesemantics.com/ontologies/CloudDeployment/NFSMountConfiguration/ . @prefix deployment: http://cambridgesemantics.com/ontologies/CloudDeployment/ . @prefix anzo: http://openanzo.org/ontologies/2008/07/Anzo# . @prefix int: http://openanzo.org/system/internal/ . @prefix role: http://openanzo.org/Role/ .

#Mode:REPLACE :nfsMountConfig1 { :nfsMountConfig1 a deployment:NFSMountConfiguration, deployment:MountConfiguration; nfsmountconfig:isTransferFiles false ; nfsmountconfig:NFSfqdn "10.104.0.6" ; nfsmountconfig:NFSMountDir "/private/var/nfsshare_dev" ; nfsmountconfig:NFSMountOptions "hard,nfsvers=4.1" ; nfsmountconfig:NFSSharedDir "/global/nfs/data" . } #Mode:ADD reg:CloudLocation { reg:CloudLocation anzo:defaultNamedGraph :nfsMountConfig1 }

Import the File

Once the NFS configuration file is created, run the following command to import the file to Graph Studio with the Graph Studio Admin CLI:

<install_path>/Client/anzo <file_path>/.trig -u sysadmin --useModes

For example:

/opt/Anzo/Client/anzo import nfs-config.trig -u sysadmin --useModes

When the NFS configuration details have been imported to Graph Studio, see Creating a Cloud Location for next steps.

Source: https://docs.sw.siemens.com/documentation/external/PL20260212925461721/en-US/graph_studio/cloud-location-nfs.htm · retrieved 2026-08-23