EnglishFrenchSpanish

OnWorks favicon

realminitp - Online in the Cloud

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

This is the command realminitp 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


realminit - Create new realm records for a DNSSEC-Tools realms file.

SYNOPSIS


realminit [options] <realm1> ... <realmN>

DESCRIPTION


realminit creates new realm entries for a realms file. dtrealms manages multiple distinct
DNSSEC-Tools rollover environments running simultaneously. Each rollover environment,
called a realm, is defined in a realms file. dtrealms uses this file to determine how to
run the rollover environment. This is useful for such things as managing very large
collections of zones, segregating customer zones, and software tests.

The newly generated realm entries are written to standard output, unless the -out option
is specified.

A realms file contains a number of entries, one for each managed realm. A realm entry has
this format:

realm "example"
state "active"
configdir "/usr/realms/configs/example"
statedir "/usr/realms/states/example"
realmsdir "/usr/realms/realms-files/example"
rollrec "example.rrf"
administrator "[email protected]"
display "1"
manager "rollerd"
args "-display -loglevel phase"

Multiple realm entries may be created with a single execution of realminit. Except for
the entry's name field, the entries will be exactly the same unless the '=' metacharacter
is used in the command-line options. If the values of the configdir, statedir, realmdir,
rollrec, administrator, args, or user options contain an '=', then it will be replaced
with the realm's name when building the entry. See the EXAMPLES section for examples of
how options are used by realminit.

OPTIONS


realminit may be given the following options:

-active
This indicates that dtrealms should start the realm when dtrealms starts. realms are
active by default.

-administrator
This is the email address for the realm's administrator.

-args
This is a set of command-line arguments passed to the realm's rollover manager when
the realm is started.

-configdir
This is the realm's configuration directory. This will contain such files as the
DNSSEC-Tools configuration file for that realm.

-display
This indicates if the realm should be included in grandvizier output.

-inactive
This indicates that dtrealms should not start the realm when dtrealms starts.

-manager
This is the rollover manager for the realm. rollerd is the default rollover manager,
but other managers may be used.

-out output-file
The new realm entries will be appended to output-file. The file will be created if it
does not exist.

If this option is not given, the new rollrec entries will be written to standard
output.

-realmdir
This is the realm's data directory. This directory is expected to contain the rollrec
file, zone files, keyrec files, and key files for the zones in that realm.

-rollrec
This is the path to the realm's rollrec file. This is used to control rollover
actions for the realm. If it is not an absolute path, it will be assumed to be
relative to the realmdir field.

-statedir
This is the realm's state directory. This will contain such files as that realm's
rollrec lock file and the rollerd communications socket. If the statedir is not
defined for a realm, then the realm's configdir is used for that value.

-user
This is the user that the realm is executed as. (This is not yet implemented in
dtrealms.)

-help
Display a usage message.

-Version
Display version information for realminit and DNSSEC-Tools.

EXAMPLES


The following options should make clear how realminit deals with options and the new
realms. Example 1 will show the complete new realm record. For the sake of brevity, the
remaining examples will only show the fields relevant to that example. Further examples
will also use short-hand forms of the option names.

Example 1. One realm, with -statedir
This example shows the realm generated by giving realminit a single realm.

$ realminit -active -configdir /realms/confs/example -statedir /realms/states/example -realmdir /realms/realms/example -rollrec example.rrf -admin [email protected] -args "-loglevel phase -logfile logger" example

realm "example"
state "active"
configdir "/realms/confs/example"
statedir "/realms/states/example"
realmdir "/realms/realms/example"
rollrec "example.rrf"
administrator "[email protected]"
display "1"
manager "rollerd"
args "-loglevel phase -logfile logger"

Example 2. One realm, without -statedir
This example shows the realm generated by giving realminit a single realm.

$ realminit -active -configdir /realms/confs/example -realmdir /realms/realms/example -rollrec example.rrf -admin [email protected] -args "-loglevel phase -logfile logger" example

realm "example"
state "active"
configdir "/realms/confs/example"
statedir "/realms/confs/example"
...

Example 3. Two realms, without metacharacters
This example shows the realms generated by giving realminit two realms, without using the
special "=" metacharacter.

$ realminit -configdir /realms/confs/example -statedir /realms/states/example -realmdir /realms/realms/example -rollrec example.rrf -admin [email protected] example test

realm "example"
configdir "/realms/confs/example"
statedir "/realms/states/example"
realmdir "/realms/realms/example"
rollrec "example.rrf"
administrator "[email protected]"
...

realm "test"
configdir "/realms/confs/example"
statedir "/realms/states/example"
realmdir "/realms/realms/example"
rollrec "example.rrf"
administrator "[email protected]"
...

Example 4. Two realms, with metacharacters
This example shows the realms generated by giving realminit two realms, and that uses the
special "=" metacharacter.

$ realminit -configdir /realms/confs/= -statedir /realms/states/= -realmdir /realms/realms/= -rollrec =.rrf -admin bob@cat.=.com example test

realm "example"
configdir "/realms/confs/example"
statedir "/realms/states/example"
realmdir "/realms/realms/example"
rollrec "example.rrf"
administrator "[email protected]"
...

realm "test"
configdir "/realms/confs/test"
statedir "/realms/states/test"
realmdir "/realms/realms/test"
rollrec "test.rrf"
administrator "[email protected]"
...

COPYRIGHT


Copyright 2012-2014 SPARTA, Inc. All rights reserved. See the COPYING file included with
the DNSSEC-Tools package for details.

Use realminitp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 3
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 5
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands

Ad