Skip to main content

How to Setup the SPSS Network License Manager on Linux

1. Install Red Hat Enterprise Linux 5.5 on your server (or RHEL 6 if you are enlightened) =)

                a. VMware: Install from ISO Library by selecting the “Datastore ISO File” Location. “Check Connect at Power On”. Start the VM and Install, configure Networking and yum –y upgrade RHEL 5.5.

                b. Physical: Install RHEL 5.5 from PXE, Kickstart, or DVD to Physical Server. Install, configure networking and yum –y upgrade RHEL 5.5. NOTE: Physical servers are a pain to manage vs. virtual.

2.  Make Directory’s for SPSS under /opt/ folder. Opt folder is for 3rd party applications on Linux.

NOTE: Do not do anything as root. Configure visudo first and then run your commands under sudo. Root is unforgiving if you make a mistake!!!
               
a. sudo mkdir /opt/SPSS
b. Download the SPSS Linux .tar file or using wget from CLI (e.g. Terminal, Putty, SecureCRT). NOTE: For downloads use /tmp/ only and change directory into /opt/SPSS. [e.g. sudo cp /tmp/linux64-8.2.2.tar.gz /opt/SPSS]

Terminal, Putty, SecureCRT:
Web Browser:

3. Uncompress the SPSS tar.gz file and navigate to sentinellm directory:

                a. Check your directory: [username@server]$ pwd
                b. Make sure you copied the file to /opt/SPSS: [username@server]$ ll /opt/SPSS/
                c. Untar: [username@server]$ sudo tar xzf SPSS-linux64-8.2.2.tar.gz
                d. Change to sentinellm directory: [username@server]$ sudo cd /opt/SPSS/sentinellm

4. Start the SPSS Service: [username@server]$ sudo ./lserv               
a. Make sure that port 5093 is open in SELinux if you have SELinux Enabled:


            b. Check your IPTables configuration also. Restart IPTables if necessary:

[username@server sentinellm]$ sudo cat /etc/sysconfig/iptables
[sudo] password for username:
# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 5093 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5093 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
-A RH-Firewall-1-INPUT -p udp --dport 5093 -d 10.10.60.186 -j ACCEPT
COMMIT

5. Add your license keys to the Network Licensing Server:
                a. [username@server]$ sudo ./licenseactivator aaaa000rrrr888ddd999www
NOTE: Only Paste the CTRL+SHIFT+P (RHEL 5.5 Terminal) authorization codes after licenseactivator. It will then give you a validation code saying that the key has been added successfully.
6. Restart the Network License Manager:
                a. Script: sudo /opt/SPSS/SPSSRestart.sh
                NOTE: Use the vi editor. It is the default editor for all Linux/Solaris Servers.
               #!/bin/bash
                # Restart SPSS Services
                #
                /opt/SPSS/lserv
                /opt/SPSS/lsrvdown servername
                 
                chmod a+x /opt/SPSS/SPSSRestart.sh to activate the script so that it will be executable.

                b. Manually: sudo ./lsrvdown servername ; sudo ./lserv
7. Verify that the service is running:
                a. [username@server]$ ps  -ef | egrep lserv
8. Add the Network License Manager Service:
                a. [username@server]$ /sbin/chkconfig --add NOTE: Please reference chkconfig man page for configuration. www.google.com/linux or www.yolinux.com
9. Verify that Service is going to start on Restart of Server:
                a. [username@server]$ /sbin/chkconfig --list |grep lserv

10. Install the Network License Manager Tools on a Windows Server 2008/Windows 7 to Manage the NLM. http://support.spss.com/Tech/default.asp NOTE: You need your IBM SPSS Support Login.
Creative Commons License
How to Setup SPSS Network License Manager on Red Hat Enterprise Linux 5.5 by Shea Bennett is licensed under a Creative Commons Attribution 3.0 Unported License.
Based on a work at blog.migrationking.com.

Popular posts from this blog

How to Configure BGInfo for Windows Server 2012 R2

FYI: It's not hypervisor specific and works fine for physical servers also.
Download BGINFO from Microsoft Downloads Only
http://technet.microsoft.com/en-us/sysinternals/bb897557

1. Create a folder named bginfo under C:\bginfo
2. Extract all of the contents of bginfo to that folder.
3. Open Bginfo and setup your configurations.


*Custom configurations can be found here thanks to Shay Levy: http://blogs.microsoft.co.il/scriptfanatic/2008/07/22/bginfo-custom-information/

4. Once you have completed your custom configurations. Click on File Save As and save your .bgi configuration to C:\bginfo (Don't bother saving to C:\Windows\System32\* SysPrep and Imaging will strip and mess up any settings so don't bother) *Do NOT just clone your VM's!!


5. After you have saved your configuration. Create a batch file named whatever and add the following to the first line (*whatever you named the .bgi file is what you put second after the bginfo.exe path):


6. In case you forgot how. Enable…

How to Configure HP ILO 4 for Active Directory Login

1. Make sure that your Windows Active Directory Domain Controller has an SSL Certificate to support port 636 (HP's authentication doesn't like 389)

2. Use Softerra LDAP Administrator (or whatever is your preferred tool to get the OU path) if you don't know how to do it by heart (which...um...sometimes its better to verify).

3. Make sure that you have a way to authenticate users by adding in the OU where your restricted accounts are located. You don't want anyone in the domain to be able to login to the server.

ILO Login > Administration > User Administration - Click New and Add the Group DN Only:



Click Add Group and then you will see your group added. (*Make sure it's a security group)


4. Add in your Windows Active Directory DC to authenticate against (Verified against 2008R2):

ILO Login > Administration > Security - Directory (*Make sure it's the OU where the security group is)


5. Sign Out (Log off) and then Log Back in (If you don't see Direct…

How to Launch Citrix .ica files Using Google Chrome

Updated: 10/19/2013

One of the problems you may face when launching a Citrix Application in Google Chrome is that .ica may not launch automatically. This is what you have to do to make it work. (Tested only on Citrix XenApp 6.0/6.5)

Option A:

1. Login to your Citrix XenApp web interface public facing website.
2. Click on a Citrix application to launch.
3. The file will "download". Click on the arrow and select "Always Open Files of this Type"


4. Click on the name of the application and it will launch. [Optionally, after selection. Launch the item again from Citrix. It should launch]

Option B:

* Usually for people that can't seem to launch anything in Citrix XenApp
* Mac User's. Just make sure that you have Citrix Receiver for Mac (11.8) Installed and after completing Option A. *You "shouldn't experience issues", it seems to be a Windows issue.
1. Click on the tool option and select options (Windows/MAC - Settings)


2. Settings => Show Advanced…