EnglishFrenchSpanish

Ad


OnWorks favicon

fs_setclientaddrs - Online in the Cloud

Run fs_setclientaddrs in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command fs_setclientaddrs that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


fs_setclientaddrs - Sets the client interfaces to register with the File Server

SYNOPSIS


fs setclientaddrs [-address <client network interfaces>+] [-help]

fs setcl [-a <client network interfaces>+] [-h]

fs sc [-a <client network interfaces>+] [-h]

DESCRIPTION


The fs setclientaddrs command defines the IP addresses of the interfaces that the local
Cache Manager registers with a File Server when first establishing a connection to it.

The File Server uses the addresses when it initiates a remote procedure call (RPC) to the
Cache Manager (as opposed to responding to an RPC sent by the Cache Manager). There are
two common circumstances in which the File Server initiates RPCs: when it breaks callbacks
and when it pings the client machine to verify that the Cache Manager is still accessible.

The list of interfaces specified with this command replaces the list that the Cache
Manager constructs and records in kernel memory as it initializes. At that time, if the
file /etc/openafs/NetInfo exists on the client machine's local disk, the Cache Manager
uses its contents as the basis for the list of interfaces addresses. If the file does not
exist, the Cache Manager instead uses the network interfaces configured with the operating
system. It then removes from the list any address included in the local
/etc/openafs/NetRestrict file. It records the final list in kernel memory. (An
administrator must create the NetInfo and NetRestrict files; there are no default versions
of them.)

If an RPC to that interface fails, the File Server simultaneously sends RPCs to all of the
other interfaces in the list, to learn which of them are still available. Whichever
interface replies first is the one to which the File Server then sends pings and RPCs to
break callbacks.

To list the interfaces that the Cache Manager is currently registering with File Servers,
use the fs getclientaddrs command.

CAUTIONS


The list specified with this command persists in kernel memory only until the client
machine reboots. To preserve it across reboots, either list the interfaces in the local
/etc/openafs/NetInfo file, or place the appropriate fs setclientaddrs command in the
machine's AFS initialization script.

Changes made with this command do not propagate automatically to File Servers to which the
Cache Manager has already established a connection. To force such File Servers to use the
revised list, either reboot each file server machine, or change the NetInfo file and
reboot the client machine.

The fs command interpreter verifies that each of the addresses specified as a value for
the -address argument is actually configured with the operating system on the client
machine. If it is not, the command fails with an error message that marks the address as a
"Nonexistent interface".

OPTIONS


-address <client network interfaces>+
Specifies each IP address to place in the list of interfaces, in dotted decimal
format. Hostnames are not acceptable. Separate each address with one or more spaces.

-help
Prints the online help for this command. All other valid options are ignored.

OUTPUT


The message

Adding <interface>

confirms that each new interface was added to the Cache Manager's list. The address
appears in hexadecimal format to match the notation used in the File Server log,
/var/log/openafs/FileLog.

EXAMPLES


The following example sets the two interfaces that the Cache Manager registers with File
Servers.

% fs setclientaddrs 191.255.105.68 191.255.108.84
Adding 0xbfff6944
Adding 0xbfff6c54

PRIVILEGE REQUIRED


The issuer must be logged in as the local superuser root.

Use fs_setclientaddrs online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

  • 1
    abidiff
    abidiff
    abidiff - compare ABIs of ELF files
    abidiff compares the Application Binary
    Interfaces (ABI) of two shared libraries
    in ELF format. It emits a meaningful
    repor...
    Run abidiff
  • 2
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 3
    copac2xml
    copac2xml
    bibutils - bibliography conversion
    utilities ...
    Run copac2xml
  • 4
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 5
    gather_stx_titles
    gather_stx_titles
    gather_stx_titles - gather title
    declarations from Stx documents ...
    Run gather_stx_titles
  • 6
    gatling-bench
    gatling-bench
    bench - http benchmark ...
    Run gatling-bench
  • More »

Ad