Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Note:

...

These

...

insturctions

...

are

...

currently

...

written

...

for

...

RHEL

...

5.

...

Check

...

http://trac.mcs.anl.gov/projects/bcfg2/wiki/Prereqs

...

for

...

general

...

requirements

...

that

...

may

...

be

...

missing

...

from

...

RHEL

...

4.

...

  1. Determine

...

  1. if

...

  1. the

...

  1. system

...

  1. being

...

  1. installed

...

  1. to

...

  1. is

...

  1. a

...

  1. client,

...

  1. Host

...

  1. server,

...

  1. or

...

  1. a

...

  1. Master

...

  1. server.

...

  1. Install

...

  1. the

...

  1. lxml

...

  1. Python

...

  1. package

...

  1. from

...

  1. Trogdor.

...

  1. It

...

  1. is

...

  1. named

...

  1. lxml-2.0.3.tar.gz.

...

  1. Code Block

...

  1. 
    cd /opt
    tar -xzvf /root/lxml-2.0.3.tar.gz
    cd lxml-2.0.3
    python setup.py build
    python setup.py install
    

...

  1. If the system is a Host or Master server, download the Python OpenSSL wrapper from the software repository on Trogdor. It is named pyOpenSSL-0.6.tar.gz.

...

  1. Code Block

...

  1. 
    cd /opt
    tar -xzvf /root/pyOpenSSL-0.6.tar.gz 
    cd pyOpenSSL-0.6
    python setup.py build
    python setup.py install
    

...

  1. Download and install the Bcfg2 source code for the repository on Trogdor. It is in CM-project/Bcfg2/bcfg2-0.9.5.7.tar.gz.

...

  1. Code Block

...

  1. 
    cd /opt
    tar -xzvf /root/bcfg2-0.9.5.7.tar.gz
    cd bcfg2-0.9.5.7
    python setup.py install --prefix=/usr/local
    

...

  1. If this is a new network or site, set up a repository on the Host server.
    Code Block
    
    bcfg2-admin init
    

...

    • Answer the configuration questions,

...

    • conforming

...

    • to

...

    • ISDA/MAP

...

    • standards.

...

    • Code Block

...

    • 
      location of bcfg2 repository [/var/lib/bcfg2]: /opt/bcfg2
      please provide the password used for communication verification: *******    -- set a custom password, do not use stars
      please provide the server location[https://eurydice.mit.edu:6789]:
      Country Name (2 letter code) [GB]:US
      State or Province Name (full name) [Berkshire]:Massachusetts
      Locality Name (eg, city) [Newbury]:Cambridge
      Organization Name (eg, company) [My Company Ltd]:Massachusetts Institute of Technology
      Organizational Unit Name (eg, section) []:IS&T ISDA
      Common Name (eg, your name or your server's hostname) []:eurydice.mit.edu
      Email Address []:map-support@mit.edu
       selection: a
      Repository created successfuly in /opt/bcfg2
      

...

  1. If this is the Host server, copy the init script to /etc/init.d,

...

  1. check

...

  1. the

...

  1. status

...

  1. of

...

  1. it,

...

  1. and

...

  1. start

...

  1. up

...

  1. the

...

  1. server

...

  1. if

...

  1. it

...

  1. is

...

  1. not

...

  1. running.

...

  1. Code Block

...

  1. 
    cp /root/bcfg2-server /etc/init.d
    /etc/init.d/bcfg2-server status
    /etc/init.d/bcfg2-server start
    

...