Difference between revisions of "GW2012 Install"

From GWAVA Technologies Training
Jump to: navigation, search
(eDirectory Install)
 
(30 intermediate revisions by one user not shown)
Line 1: Line 1:
 
Installing GroupWise 2012 from Scratch
 
Installing GroupWise 2012 from Scratch
  
==Prerequisites==
+
==General Prerequisites for GW2012==
  
 
*SLES 11
 
*SLES 11
 
**apache2.2
 
**apache2.2
**tomcat6 (added by gW software installer)
 
 
**ModProxy module
 
**ModProxy module
**IBM JRE 5 or later
 
 
*eDirectory
 
*eDirectory
 
*ConsoleOne
 
*ConsoleOne
 +
**tomcat6 (added by GW software installer)
 +
**IBM JRE 5 or later (installed by GW installer)
  
 
==SLES 11==
 
==SLES 11==
 
Just a normal install with ESXi 5.5 on the network card and thin provisioned hard drive.
 
Just a normal install with ESXi 5.5 on the network card and thin provisioned hard drive.
 +
*Create domain and postoffice directories
 +
md /groupwise/domain
 +
md /groupwise/po
  
===apache===
+
==HTTP Server Install==
  
*Install from YaST
+
GroupWise needs a webserver and apache2 is fine.
*Enable proxy and proxy_connect (mod_proxy module) under Modules
+
*Open YaST  
 +
**HTTP Server
 +
**take defaults
 +
**Make sure to set to start on boot.
 +
*Open HTTP Server again
 +
**Go to Modules tab
 +
**Enable proxy and proxy_connect (mod_proxy module)
  
===IBM JRE 5===
+
==Open Firewall==
 +
For a lab it is ok to disable the firewall.
  
ConsoleOne requires IBM JRE 5 Update 11 or later.
+
----
  
It is not available standalone from IBM apparently, however Oracle has several version of the Java Runtime Environment [http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html]
+
==eDirectory Install==
 
+
Novell's LDAP directory system, much like Active Directory.
Download rpm.bin and follow these instructions [http://www.oracle.com/technetwork/java/javase/install-linux-64-rpm-138254.html]
+
 
+
<code>
+
chmod a+x jre-1_5_0_22-linux-amd64.rpm.bin
+
./jre-1_5_0_22-linux-amd64.rpm
+
</code>
+
 
+
then install .rpm
+
 
+
==eDirectory==
+
Novell's version of Active Directory
+
  
 
===prerequisites===
 
===prerequisites===
 +
*static IP address
 +
*network time protocol (NTP) set
 
*SLP
 
*SLP
 
*multicast routing
 
*multicast routing
*network time protocol (NTP) set
 
*static IP address
 
  
===Static IP===
+
===Static IP address===
Set in YaST/Network Settings
+
Set in YaST/Network Settings, this should be set for any server.
 +
 
 +
===Set time===
 +
Having good time set on the server is important.
 +
Open Control Center/Date and Time
 +
*Set time zone
 +
*Click Change button
 +
**Set Synchonize with NTP Server (time.nist.gov)
 +
**Synchronize now
  
 
===SLP===
 
===SLP===
Install OpenSLP from YaST/SLP server
+
Install OpenSLP.
  
/etc/init.d/slpd start|stop
+
Open YaST/SLP server
 +
* Under Global SLP Configuration: Set to start service while booting
 +
* Under SLP Server Configuration: Set response to: Multicast
 +
* Finish
  
 
===multicast routing===
 
===multicast routing===
To check if the host is enabled for multicast routing, enter the following command:
+
To check if the host is enabled for multicast routing, enter the following command on the command line:
  
 
  /bin/netstat -nr
 
  /bin/netstat -nr
Line 60: Line 70:
 
  224.0.0.0 0.0.0.0
 
  224.0.0.0 0.0.0.0
  
If the entry is not present, log in as root and enter the following command to enable multicast
+
If the entry is not present, log in as root and enter the following command to enable multicast routing: The ''interface'' could be a value such as eth0, hme0, hme1, or hme2, depending on the NIC that is installed and used.
routing:
+
  
 
  route add -net 224.0.0.0 netmask 240.0.0.0 dev ''interface''
 
  route add -net 224.0.0.0 netmask 240.0.0.0 dev ''interface''
  
The ''interface'' could be a value such as eth0, hme0, hme1, or hme2, depending on the NIC that is
+
For example:
installed and used.
+
 
 +
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
 +
 
 +
===Start SLP===
 +
Open a command line and start the SLP service:
 +
/etc/init.d/slpd start|stop
  
 
===eDirectory Install===
 
===eDirectory Install===
Install from .iso
+
Install eDirectory. Download the edir installer from Microfocus or the Software Depository.
  
 +
*From the command line run, The defaults should be good enough:
 
  ./nds-install
 
  ./nds-install
  
Configure using:
+
*Export the paths. The installer will display several paths that need to exported.
<code>
+
LD_LIBRARY_PATH=/opt/novell/eDirectory/lib64:/opt/novell/eDirectory/lib64/nds-modules:/opt/novell/lib64:$LD_LIBRARY_PATH
 +
MANPATH=/opt/novell/man:/opt/novell/eDirectory/man:$MANPATH
 +
TEXTDOMAINDIR=/opt/novell/eDirectory/share/locale:$TEXTDOMAINDIR
 +
 
 +
*Copy them one by one following an export statement on the commandline. They should look something like:
 +
export LD_LIBRARY_PATH=/opt/novell/eDirectory/lib64:/opt/novell/eDirectory/lib64/nds-modules:/opt/novell/lib64:$LD_LIBRARY_PATH
 +
export MANPATH=/opt/novell/man:/opt/novell/eDirectory/man:$MANPATH
 +
export TEXTDOMAINDIR=/opt/novell/eDirectory/share/locale:$TEXTDOMAINDIR
 +
 
 +
*Import the paths. Run the following command to import the paths into eDirectory:
 +
. /opt/novell/eDirectory/bin/ndspath
 +
 
 +
===Configure eDirectory===
 +
To configure eDirectory change to the eDirectory directory
 
  cd /opt/novell/eDirectory/bin
 
  cd /opt/novell/eDirectory/bin
  ./ndsconfig new -t gw12-tree -n gwava -a admin.gwava -S gw12server
+
 
</code>
+
run the following command changeing gw12-tree to the tree name, and the admin common name and organization to something appropriate:
 +
  ./ndsconfig new -t gw12-tree -n gwava -a cn=admin.o=gwava  
  
 
The result should look something like this:
 
The result should look something like this:
Line 95: Line 124:
 
   Instance Location : /var/opt/novell/eDirectory/data
 
   Instance Location : /var/opt/novell/eDirectory/data
 
   DIB Location : /var/opt/novell/eDirectory/data/dib
 
   DIB Location : /var/opt/novell/eDirectory/data/dib
 +
 +
Make sure this worked by accessing iMonitor: Browse to the nds page on the server on port 8029. For example, http://10.1.4.150:8028/nds
 +
 +
Specify a user name, context, and password. For example, login cn=admin.o=novell
 +
See [https://www.netiq.com/documentation/edir88/edir88/data/a6l60f7.html]
  
 
==ConsoleOne==
 
==ConsoleOne==
 
Prerequisites:
 
Prerequisites:
*IBM JRE 5 Update 11 or later, installed above.
+
*eDirectory (installed above)
*eDirectory
+
*X Windows System (pre installed on SLES)
+
  
Install from GroupWise2012 .iso in consoleone/Linux directory
+
Install from GroupWise2012 .iso in the <code>consoleone/Linux</code> directory
  
 
  ./c1-install
 
  ./c1-install
  
It asks about installing a JRE so I wonder if I needed the above one.
+
*choose language 1 for English
 +
*choose 8 for all snapins, so we don't have to worry about installing them later
 +
*install the JRE  
 +
 
 +
To determine if it worked. At the system prompt of a local session or an X terminal (remote) session, enter the following command:
 +
/usr/ConsoleOne/bin/ConsoleOne
 +
 
 +
Log into the tree with the credentials created above in eDirectory. For example:
 +
cn=admin
 +
Tree sfgw12tree (browse should work if you got this far successfully, other trees on the network will show up too)
 +
Context o=gwava
  
 
==GroupWise 2012==
 
==GroupWise 2012==
 
Prerequisites:
 
Prerequisites:
 
*SLES11
 
*SLES11
**Installs tomcat6 with the GroupWise software
+
*eDirectory
**IBM JRE 5 or later
+
*ConsoleOne
**ModProxy Module
+
  
Run installer from .iso.
+
Run installer from .iso or top of untared directory.
  
 +
./install
 +
 +
*1 for English
 +
*Configure GW for clustering? (n)
 +
*1 for English EULA
 +
*click through and accept EULA
 +
*Install New GroupWise system
 +
*Configure GroupWise will open ConsoleOne
 +
**Log into tree
 +
**Go to Tools/GroupWise Utilities/New System
 +
**Give it a System name: sfgw12
 +
**Give it a Domain: gw12doc
 +
 +
Install Agents:
 +
Go Back tot he GW Installer
 +
*Select "Install Products"
 +
*Select "GroupWise Agents"
 +
*Select "Install Agents" to install the software
 +
*Select "Configure Agente" to configure by providing
 +
 +
===Configure GW 2012===
 
Double click ConsoleOne icon on desktop to start the program.
 
Double click ConsoleOne icon on desktop to start the program.
  
 
Login using credentials from eDirectory above.
 
Login using credentials from eDirectory above.
 +
 +
Software Distribution Directory should be /opt/novell/groupwise/software by default
 +
 +
 +
Tools/GroupWise Utilities/Create New System
 +
*Domain:
 +
domain: supportgw12dom
 +
dir: /groupwise/supportgw12dom
 +
context: gwava (watch out there is a dialog box that comes up but under the main window)
 +
*Post Office
 +
po: supportgw12po
 +
dir: /groupwise/supportgw12po
 +
*Add the admin user
 +
*Install agents
 +
 +
Now add more users.
 +
 +
===Start agents===
 +
MTA:
 +
open Terminal window
 +
cd /opt/novell/groupwise/agents/bin
 +
./gwmta --show --home /groupwise/supportgw12dom &
 +
 +
A window will pop up showing the MTA, go to ConsoleOne right-click on the domain and choose "Properties" and verify that Database Version field displays 12.
 +
Check connection by browsing to http://10.1.4.101:7180/ to show MTA web console.
 +
 +
POA:
 +
in the same directory as above with the MTA
 +
./gwpoa --show --home /groupwise/supportgw12po &
 +
 +
A window will pop up showing the POA, go to ConsoleOne right-click on the post office and choose "Properties" and verify that Database Version field displays 12.
 +
Check connection by browsing to http://10.1.4.101:7181/ to show POA web console.
 +
 +
(The & allows the program to run in the background so you can reclaim the terminal window.)
 +
 +
If they won't restart Error: Running the agent with conflicting effective users [https://www.novell.com/support/kb/doc.php?id=7001170]
 +
*go to /groupwise/supportgw12mta and delete uid.run
 +
*go to /groupwise/supportgw12po and delete uid.run
 +
*then start as above.
 +
 +
Make sure apache and tomcat start on bootup:
 +
chkconfig apache2 on
 +
chkconfig tomcat6 on
 +
 +
==GroupWise 2012 Client==
 +
 +
Create a VM and install a gw12 client and have it connect to 10.1.4.212:1677.
 +
 +
for the webacc go to 10.1.4.212/gw/webacc but it seems to want to have the user logged in via the client first.

Latest revision as of 17:42, 19 January 2017

Installing GroupWise 2012 from Scratch

Contents

[edit] General Prerequisites for GW2012

  • SLES 11
    • apache2.2
    • ModProxy module
  • eDirectory
  • ConsoleOne
    • tomcat6 (added by GW software installer)
    • IBM JRE 5 or later (installed by GW installer)

[edit] SLES 11

Just a normal install with ESXi 5.5 on the network card and thin provisioned hard drive.

  • Create domain and postoffice directories
md /groupwise/domain
md /groupwise/po

[edit] HTTP Server Install

GroupWise needs a webserver and apache2 is fine.

  • Open YaST
    • HTTP Server
    • take defaults
    • Make sure to set to start on boot.
  • Open HTTP Server again
    • Go to Modules tab
    • Enable proxy and proxy_connect (mod_proxy module)

[edit] Open Firewall

For a lab it is ok to disable the firewall.


[edit] eDirectory Install

Novell's LDAP directory system, much like Active Directory.

[edit] prerequisites

  • static IP address
  • network time protocol (NTP) set
  • SLP
  • multicast routing

[edit] Static IP address

Set in YaST/Network Settings, this should be set for any server.

[edit] Set time

Having good time set on the server is important. Open Control Center/Date and Time

  • Set time zone
  • Click Change button
    • Set Synchonize with NTP Server (time.nist.gov)
    • Synchronize now

[edit] SLP

Install OpenSLP.

Open YaST/SLP server

  • Under Global SLP Configuration: Set to start service while booting
  • Under SLP Server Configuration: Set response to: Multicast
  • Finish

[edit] multicast routing

To check if the host is enabled for multicast routing, enter the following command on the command line:

/bin/netstat -nr

The following entry should be present in the routing table:

224.0.0.0 0.0.0.0

If the entry is not present, log in as root and enter the following command to enable multicast routing: The interface could be a value such as eth0, hme0, hme1, or hme2, depending on the NIC that is installed and used.

route add -net 224.0.0.0 netmask 240.0.0.0 dev interface

For example:

route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0

[edit] Start SLP

Open a command line and start the SLP service:

/etc/init.d/slpd start|stop

[edit] eDirectory Install

Install eDirectory. Download the edir installer from Microfocus or the Software Depository.

  • From the command line run, The defaults should be good enough:
./nds-install
  • Export the paths. The installer will display several paths that need to exported.
LD_LIBRARY_PATH=/opt/novell/eDirectory/lib64:/opt/novell/eDirectory/lib64/nds-modules:/opt/novell/lib64:$LD_LIBRARY_PATH
MANPATH=/opt/novell/man:/opt/novell/eDirectory/man:$MANPATH
TEXTDOMAINDIR=/opt/novell/eDirectory/share/locale:$TEXTDOMAINDIR
  • Copy them one by one following an export statement on the commandline. They should look something like:
export LD_LIBRARY_PATH=/opt/novell/eDirectory/lib64:/opt/novell/eDirectory/lib64/nds-modules:/opt/novell/lib64:$LD_LIBRARY_PATH
export MANPATH=/opt/novell/man:/opt/novell/eDirectory/man:$MANPATH
export TEXTDOMAINDIR=/opt/novell/eDirectory/share/locale:$TEXTDOMAINDIR
  • Import the paths. Run the following command to import the paths into eDirectory:
. /opt/novell/eDirectory/bin/ndspath

[edit] Configure eDirectory

To configure eDirectory change to the eDirectory directory

cd /opt/novell/eDirectory/bin

run the following command changeing gw12-tree to the tree name, and the admin common name and organization to something appropriate:

./ndsconfig new -t gw12-tree -n gwava -a cn=admin.o=gwava 

The result should look something like this:

 Tree Name		: gw12-tree
 Server DN		: gw12server.gwava
 Admin DN		: admin.gwava
 NCP Interface(s)	: 10.1.4.101@524
 HTTP Interface(s)	: 10.1.4.101@8028
 HTTPS Interface(s)	: 10.1.4.101@8030
 LDAP TCP Port		: 389
 LDAP TLS Port		: 636
 LDAP TLS Required	: Yes
 Duplicate Tree Lookup	: Yes

 Configuration File	: /etc/opt/novell/eDirectory/conf/nds.conf
 Instance Location	: /var/opt/novell/eDirectory/data
 DIB Location		: /var/opt/novell/eDirectory/data/dib

Make sure this worked by accessing iMonitor: Browse to the nds page on the server on port 8029. For example, http://10.1.4.150:8028/nds

Specify a user name, context, and password. For example, login cn=admin.o=novell See [1]

[edit] ConsoleOne

Prerequisites:

  • eDirectory (installed above)

Install from GroupWise2012 .iso in the consoleone/Linux directory

./c1-install
  • choose language 1 for English
  • choose 8 for all snapins, so we don't have to worry about installing them later
  • install the JRE

To determine if it worked. At the system prompt of a local session or an X terminal (remote) session, enter the following command:

/usr/ConsoleOne/bin/ConsoleOne

Log into the tree with the credentials created above in eDirectory. For example: cn=admin Tree sfgw12tree (browse should work if you got this far successfully, other trees on the network will show up too) Context o=gwava

[edit] GroupWise 2012

Prerequisites:

  • SLES11
  • eDirectory
  • ConsoleOne

Run installer from .iso or top of untared directory.

./install
  • 1 for English
  • Configure GW for clustering? (n)
  • 1 for English EULA
  • click through and accept EULA
  • Install New GroupWise system
  • Configure GroupWise will open ConsoleOne
    • Log into tree
    • Go to Tools/GroupWise Utilities/New System
    • Give it a System name: sfgw12
    • Give it a Domain: gw12doc

Install Agents: Go Back tot he GW Installer

  • Select "Install Products"
  • Select "GroupWise Agents"
  • Select "Install Agents" to install the software
  • Select "Configure Agente" to configure by providing

[edit] Configure GW 2012

Double click ConsoleOne icon on desktop to start the program.

Login using credentials from eDirectory above.

Software Distribution Directory should be /opt/novell/groupwise/software by default


Tools/GroupWise Utilities/Create New System

  • Domain:
domain: supportgw12dom
dir: /groupwise/supportgw12dom
context: gwava (watch out there is a dialog box that comes up but under the main window)
  • Post Office
po: supportgw12po
dir: /groupwise/supportgw12po
  • Add the admin user
  • Install agents

Now add more users.

[edit] Start agents

MTA: open Terminal window

cd /opt/novell/groupwise/agents/bin
./gwmta --show --home /groupwise/supportgw12dom &

A window will pop up showing the MTA, go to ConsoleOne right-click on the domain and choose "Properties" and verify that Database Version field displays 12. Check connection by browsing to http://10.1.4.101:7180/ to show MTA web console.

POA: in the same directory as above with the MTA

./gwpoa --show --home /groupwise/supportgw12po &

A window will pop up showing the POA, go to ConsoleOne right-click on the post office and choose "Properties" and verify that Database Version field displays 12. Check connection by browsing to http://10.1.4.101:7181/ to show POA web console.

(The & allows the program to run in the background so you can reclaim the terminal window.)

If they won't restart Error: Running the agent with conflicting effective users [2]

  • go to /groupwise/supportgw12mta and delete uid.run
  • go to /groupwise/supportgw12po and delete uid.run
  • then start as above.

Make sure apache and tomcat start on bootup:

chkconfig apache2 on
chkconfig tomcat6 on

[edit] GroupWise 2012 Client

Create a VM and install a gw12 client and have it connect to 10.1.4.212:1677.

for the webacc go to 10.1.4.212/gw/webacc but it seems to want to have the user logged in via the client first.

Personal tools
Namespaces

Variants
Actions
Home
Exchange
GroupWise
JAVA
Linux
MTK
Retain
GW Monitoring and Reporting (Redline)
GW Disaster Recovery (Reload)
GW Forensics (Reveal)
GWAVA
Secure Messaging Gateway
GW Mailbox Management (Vertigo)
Windows
Other
User Experience
Toolbox
Languages
Toolbox