Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The following playbooks are available:

    • deploy-docker.sh - Deploys custom schemas for Docker configuration
    • deploy-opendj.sh - Deploys custom schemas for OpenDJ configuration
    • deploy-servers-sh - Main script to deploy new servers to a ziNet
    • deploy-sshldap.sh - Deploys custom schemas for sshldap configuration
    • deploy-tenant.sh - Deploys custom schemas for a new tenant space

Script: deploy-docker.sh

This script will add Docker schema to the Directory Server. 

Prerequisite: OpenDJ must have been deployed.

Result: 0 for success

ParameterDescriptionDefaultMandatory
-z ziDThe ziD of the ziNet instance.N/A Yes 
-C docker config fileA docker config file. See this page for reference. This file will be sources prior to configuring the Docker schema in the Directory ServerN/AYes
-D admin user DNAn admin user bind DN. This user must be able to perform modifies to any parts of the Directory Server specified in the Docker config file.N/AYes
-w admin user passwordAdmin user password.N/ANo
-WPrompt for a password. The default behavior will be to prompt for a password.trueNo
-y admin user password fileA file containing the admin user's passwordN/ANo

Script: deploy-opendj.sh

This script deploys OpenDJ schema to the Directory Server.

ParameterDescriptionDefaultMandatory
-z ziDThe ziD of the ziNet instance.N/A Yes 
-C docker config fileA opendj config file. See this page for reference. This file will be sources prior to configuring the OpenDJ schema in the Directory ServerN/AYes
-D admin user DNAn admin user bind DN. This user must be able to perform modifies to any parts of the Directory Server specified in the OpenDJ config file.N/AYes
-w admin user passwordAdmin user password.N/ANo
-WPrompt for a password. The default behavior will be to prompt for a password.trueNo
-y admin user password fileA file containing the admin user's passwordN/ANo

Script: deploy-servers.sh

This script deploys a set of servers to a ziNet network fabric.

 

ParameterDescriptionDefaultMandatory
-i Inventory FileThe inventory file containing server configurationN/A Yes
-r Repo folder

A repository folder containing the following:

  • Java archive (specified by JAVA_REPO_FILENAME)
  • OpenDJ archive (specified by OPENDJ_ZIP_ARCHIVE

 

N/AYes
-w service_sshldap account passwordThis is the password for the default service account defined by this DN: uid=service_sshldap,${SSHLDAP_SVCS_OPS_DN}. Is this is not passed in, then the default behavior of the Directory Server must be to allow anonymous binds. In addition, you should set SSHLDAP_ACI_DN_TYPE=userdn and SSHLDAP_ACI_DN=anyoneN/ANo
-y service_sshldap account password fileA file containing the password for the default service account. The same rules apply as the '-w' parameter.N/ANo
-Y opendj password fileA file containing two (2) passwords. The first line of the file should be the Directory Administrator's password. The second line contains the Admin User password. If a password file is not passed, then the user will be promoted for the required passwords.N/ANo

Inventory File Format

An ".ini" formatted file with the following directives.

DirectiveDescriptionExample
Repository
repo.[0..9]*A Git repository that will be fetched on the target host being installed.[repo.1]
REPO_URI

The URI of the repository that will be exported.

e.g. git archive --remote=${REPO_URI} ${theBranch} | tar -x -C /tmp/

git@bitbucket.org:zibernetics/zinet.git
REPO_BRANCHThe branch that will be fetchedmaster
REPO_ROOT

The root of the git repo that will be fetched. e.g.

git archive --remote=${REPO_URI} ${theBranch}:${REPO_ROOT} | tar -x -C /tmp/

prod
   
   
   

 

 

Script: deploy-sshldap.sh

This script deploys SSHLDAP schema to the Directory Server.

ParameterDescriptionDefaultMandatory
-z ziDThe ziD of the ziNet instance.N/A Yes 
-C docker config fileA sshldap config file. See this page for reference. This file will be sources prior to configuring the sshldap schema in the Directory ServerN/AYes
-D admin user DNAn admin user bind DN. This user must be able to perform modifies to any parts of the Directory Server specified in the sshldap config file.N/AYes
-w admin user passwordAdmin user password.N/ANo
-WPrompt for a password. The default behavior will be to prompt for a password.trueNo
-y admin user password fileA file containing the admin user's passwordN/ANo

 

 

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.