13.07.2013 Views

The IBM eServer BladeCenter JS20 - IBM Redbooks

The IBM eServer BladeCenter JS20 - IBM Redbooks

The IBM eServer BladeCenter JS20 - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.1.1 Setting up an <strong>IBM</strong> Director Server<br />

Before Director clients can be installed, you must first configure the Director<br />

server. <strong>The</strong> following instructions explain how we set up our server.<br />

1. Mount the Director CD.<br />

sysmgr:/ # mount -t iso9660 -o map=off /dev/cdrom /media/cdrom<br />

Important: It is critical that the CD is mounted in this manner. If you do not<br />

specify -o map=off, the capitalization of RPM names is not preserved and<br />

the installation script fails.<br />

2. With the CD mounted, copy the contents of the appropriate directory to the<br />

hard drive of the server.<br />

sysmgr:/root/Director-Source/ # cp<br />

/media/cdrom/director/server/linux/i386/* .<br />

3. With the sources copied to the hard drive, launch the installer.<br />

sysmgr:/root/Director-Source/ # ./dirinstall<br />

4. After the Director code is installed, configure a database for it to use. Because<br />

PostgreSQL ships as a standard part of SLES, we chose to use it.<br />

Example 8-1 shows how we configured it.<br />

Example 8-1 Configuring PostgreSQL<br />

sysmgr:/root/Director-Source/ # cd /usr/share/pgsql<br />

sysmgr:/usr/share/pgsql/ # ln -s jdbc7.1-1.2.jar postgresql.jar<br />

sysmgr:/usr/share/pgsql/ # cd /etc/TWGserver/<br />

sysmgr:/etc/TWGServer/ # echo export CLASSPATH=/usr/share/pgsql/psotgresql.jar<br />

> setup_env<br />

sysmgr:/etc/TWGServer/ # chmod u+x setup_env<br />

Important: We assume that PostgreSQL is configured and running<br />

properly on the system. Refer to the documentation regarding how to do<br />

this.<br />

5. By default, PostgreSQL on SLES does not bind to a TCP/IP socket. To enable<br />

this, modify /etc/sysconfig/postgresql and add the following line:<br />

POSTGRES_OPTIONS="-i"<br />

6. Begin the database configuration, as shown in Example 8-2.<br />

Example 8-2 Launching the database configuration<br />

sysmgr:/etc/TWGServer/ # passwd postgres<br />

Changing password for postgres<br />

142 <strong>The</strong> <strong>IBM</strong> Eserver <strong>BladeCenter</strong> <strong>JS20</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!