Difference between revisions of "GW2012 Install"
(→eDirectory Install) |
|||
Line 88: | Line 88: | ||
./nds-install | ./nds-install | ||
− | *Export the paths. The installer will display several paths that need to exported. Copy them one by one following an export statement on the commandline. They should look something like: | + | *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 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 MANPATH=/opt/novell/man:/opt/novell/eDirectory/man:$MANPATH |
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.