User Tools

Site Tools


virtualization:otc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
virtualization:otc [2012/04/30 12:30]
gcooper created
virtualization:otc [2017/01/25 11:53] (current)
gcooper
Line 11: Line 11:
 Run with /usr/bin/javaws. Run with /usr/bin/javaws.
  
-On first use, connect to the realm 'openthinclient' using password 'secret'.+:!: On first use, connect to the realm ''openthinclient'' using password ''secret''.
  
 ===== Supported Hardware ===== ===== Supported Hardware =====
Line 17: Line 17:
 http://openthinclient.org/supported_hardware http://openthinclient.org/supported_hardware
  
-==== Virtual Machine ====+==== Monitors/Displays ==== 
 + 
 +See also **[[virtualization:otc_display|Monitors / Displays]]** 
 + 
 +===== Virtual Machine =====
  
 Use the pre-configured VM if at all possible. Use the pre-configured VM if at all possible.
Line 23: Line 27:
   * Supports ATOM-based thin client hardware   * Supports ATOM-based thin client hardware
   * Configure VMware for VNC console access   * Configure VMware for VNC console access
-    * <file>vncviewer linus:5901</file> +    * <file>vncviewer hostname:5901</file> 
-  * you can access the OTC Manager via a web browser+  * You can access the OTC Manager via a web browser
     * http://ip.of.vm:8080     * http://ip.of.vm:8080
     * Package management doesn't work in remote Manager     * Package management doesn't work in remote Manager
Line 31: Line 35:
     * Use sudo     * Use sudo
  
-==== Install OTC Server ====+===== Install OTC Server =====
  
 :?: Doesn't seem to work properly on Centos :?: Doesn't seem to work properly on Centos
  
-=== Verify Open Ports ===+==== Verify Open Ports ====
  
-^Protocol^Ports^ +^Protocol ^Ports                                                                                          
-|TCP|1098, 1099, 2069, 3873, 4444, 4445, 8009, 8080(internal webserver), 8083, 10389 (LDAP server)| +|TCP      |1098, 1099, 2069, 3873, 4444, 4445, 8009, 8080 (internal webserver), 8083, 10389 (LDAP server) | 
-|UDP|67 (DHCP proxy), 69 (TFTP server), 514 (SYSLOG server), 2069, 4011 (DHCP proxy)|+|UDP      |67 (DHCP proxy), 69 (TFTP server), 514 (SYSLOG server), 2069, 4011 (DHCP proxy)                |
  
 Check for conflicts: Check for conflicts:
Line 49: Line 53:
 If there are 'hits' with this command, investigate. If there are 'hits' with this command, investigate.
  
-=== Install Java 6 ===+==== Install Java 6 ====
  
 http://www.java.com/getjava http://www.java.com/getjava
Line 61: Line 65:
 </file> </file>
  
-=== Install Java 6 (JRE) ===+==== Install Java 6 (JRE) ====
  
 <file> <file>
Line 69: Line 73:
 </file> </file>
  
-=== Install Server Component ===+==== Install Server Component ====
  
 <file> <file>
 mkdir /opt/openthinclient mkdir /opt/openthinclient
 cd /opt/openthinclient cd /opt/openthinclient
-wget http://internap.dl.sourceforge.net/sourceforge/openthinclient/openthinclient-0.4.1.jar+wget http://downloads.openthinclient.org/openthinclient-1.0.0.jar
 </file> </file>
  
-SME Server Only - X11 Forwarding+==== SME Server Only - X11 Forwarding ====
  
 http://wiki.contribs.org/X11_Forwarding_on_SME http://wiki.contribs.org/X11_Forwarding_on_SME
  
 +<file>
 mkdir -p /etc/e-smith/templates-custom/etc/ssh/sshd_config/ mkdir -p /etc/e-smith/templates-custom/etc/ssh/sshd_config/
 cd /etc/e-smith/templates-custom/etc/ssh/sshd_config/ cd /etc/e-smith/templates-custom/etc/ssh/sshd_config/
Line 90: Line 95:
  
 signal-event post-upgrade; signal-event reboot signal-event post-upgrade; signal-event reboot
 +</file>
  
-Start the OpenThinClient Server+=== Start the OpenThinClient Server ===
  
-ssh -X -l root linus+<file> 
 +ssh -X -l root hostname
  
-java -jar openthinclient-0.4.1.jar+java -jar openthinclient-1.0.0.jar 
 +</file>
  
-OpenThinClient Manager+===== OpenThinClient Manager =====
  
 From a workstation with Java 6: From a workstation with Java 6:
  
-http://linus:8080/ (Start Manager)+http://hostname:8080/ (Start Manager)
  
-Connect to Existing Realm+==== Connect to Existing Realm ====
  
-LDAP password 0pen%TC     (was 'secret')+|LDAP password |''0pen%TC'' |was 'secret'  |
  
-Select 'openthinclient' realm and click finish+Select the ''openthinclient'' realm and click ''finish''.
  
-Install Packages+==== Install Packages ====
  
 Open Package Management Open Package Management
Line 115: Line 123:
 Right-click "Installable packages" and choose "Edit" Right-click "Installable packages" and choose "Edit"
  
-Printer+==== Printer ====
  
 Terminal-connected USB or Parallel printer: Terminal-connected USB or Parallel printer:
Line 127: Line 135:
 Printer is effectively shared on the network Printer is effectively shared on the network
  
-Flash 9+==== Flash 9 ====
  
 From an OTC client terminal: From an OTC client terminal:
  
 +<file>
 wget http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz wget http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz
 tar xzvf install_flash_player_9.tar.gz tar xzvf install_flash_player_9.tar.gz
 mkdir ~/.mozilla/plugins mkdir ~/.mozilla/plugins
 mv libflashplayer.so ~/.mozilla/plugins mv libflashplayer.so ~/.mozilla/plugins
 +</file>
  
 Restart Firefox and check with about:plugins Restart Firefox and check with about:plugins
Line 140: Line 150:
 This is not system-wide.  It is just for the logged-in user. This is not system-wide.  It is just for the logged-in user.
  
-Backup and Restore+===== Backup and Restore =====
  
 http://openthinclient.org/tiki-index.php?page_ref_id=84 http://openthinclient.org/tiki-index.php?page_ref_id=84
  
-All configuration information is located in the apacheds-store under server\default\data.+All configuration information is located in the ''apacheds-store'' under ''server\default\data''.
  
-Is there a better way to get a failover server??+==Linux==
  
-Well, what I would do: +To save the configuration on the filesystem level create a backup of the following directory:
-- install both servers, +
-- activate the OTC service on the primary, deactivate on the secondary, +
-- regularly sync apacheds-store from primary to secondary, ( +
-... normal operation...+
  
-Now, in case of disaster: +<file> 
-- activate OTC service on backup server+/opt/openthinclient/server/default/data/apacheds-store 
-run OTC updates (if needed) +</file>
-- boot clients...+
  
-If the primary does come up again, either sync back (if config changes +==Windows==
-make that seem a good idea) or just let it run and shut down the backup +
-service when the clients are down.+
  
-Troubleshooting+To save the configuration on the filesystem level create a backup of the following directory:
  
-Java+<file> 
 +C:\Programme(x86)\openthinclient\server\default\data\apacheds-store 
 +</file> 
 + 
 +===== High Availability ===== 
 + 
 +==== Warm Spare ==== 
 + 
 +=== Setup === 
 + 
 +  - Install both servers 
 +  - During normal operation, activate the OTC service on the primary and deactivate on the secondary 
 +  - During normal operation, regularly sync 'apacheds-store' from primary to secondary 
 + 
 +=== In Case of Disaster === 
 + 
 +  - Activate OTC service on backup server 
 +  - Run OTC updates (if needed) 
 +  - Boot clients... 
 + 
 +If the primary does come up again, either sync back (if config changes make that seem a good idea) or just let it run and shut down the backup service when the clients are down. 
 + 
 +===== Troubleshooting ===== 
 + 
 +==== Java ====
  
 Run "javaws -viewer" and activate the java console in the control Run "javaws -viewer" and activate the java console in the control
Line 171: Line 198:
 window, too. window, too.
  
-Logs to Check on the Server+==== Logs to Check on the Server ====
  
 In the Manager, right-click the thin client and choose 'log' In the Manager, right-click the thin client and choose 'log'
 openthinclient/server/default/data/nfs/root/var/log/*.log openthinclient/server/default/data/nfs/root/var/log/*.log
-openthinclient/wrapper/logs/wrapper.log +openthinclient/wrapper/logs/wrapper.log
  
 +==== Open a Command Prompt (Shell) on the Client ====
  
-Notes+<file> 
 +<CTRL><ALT><SHIFT><x> 
 +</file> 
 + 
 +===== Notes =====
  
 http://www.nabble.com/Lame-Openchrome-driver-td18905980.html#a19357701 http://www.nabble.com/Lame-Openchrome-driver-td18905980.html#a19357701
  
 http://www.nabble.com/Series-of-Questions-td19357388.html#a19357388 http://www.nabble.com/Series-of-Questions-td19357388.html#a19357388
- 
  
 according to the openchrome wiki: according to the openchrome wiki:
virtualization/otc.1335810646.txt.gz · Last modified: 2012/04/30 12:30 by gcooper