--- ./old/README.cygwin 2010-07-19 21:26:44.000000000 +0300 +++ ./new/README.cygwin 2010-07-20 15:35:01.022349921 +0300 @@ -1,9 +1,20 @@ This file contains information concerning the installation and use of TORQUE 2.5.0 with Cygwin. -########################### -### Current Status ### -########################### + CONTENTS + + 1. Current Status. + 2. Installing Torque with Cygwin. + 3. Start Torque under Cygwin. + 4. Configuring Torque with Cygwin. + 5. Test Torque under Cygwin. + 6. Start Torque under Cygwin as Windows service. + + + +############################# +### 1. Current Status ### +############################# Tested builds ------------- @@ -41,9 +52,9 @@ -######################################### -### Installing Torque with Cygwin ### -######################################### +############################################ +### 2. Installing Torque with Cygwin ### +############################################ Following variants are recommended: * Cygwin 1.5.25 on Windows XP/Server 2003; @@ -81,9 +92,10 @@ Setup the accounts to be able to login with SSH keys on each host. -##################################### -### Start Torque under Cygwin ### -##################################### + +######################################## +### 3. Start Torque under Cygwin ### +######################################## Enter into working directory as and execute the following commands: @@ -104,8 +116,7 @@ As a rule pbs_mom demands more privileges than pbs_server. -Required privileges for various Torque components is shown in the table below: - +Required privileges for various Torque components is shown in the tables below: ------------------------------------------------------------------------------------------------------- ! ! @@ -126,12 +137,13 @@ ! !! ! ! ! !-------------------!!-----------------------!-------------------------------!--------------------------! ! !! ! ! ! -! Windows service !! --- ! --- ! Windows XP 32 ! +! Windows service !! --- ! --- ! Windows XP x32 ! ! by SYSTEM !! ! ! ! ! !! ! ! ! ------------------------------------------------------------------------------------------------------- - - + SeServiceLogonRight - Log on as a service. + SeCreateTokenPrivilege - Create a token object. + SeAssignPrimaryTokenPrivilege - Replace a process level token. ------------------------------------------------------------------------------------------------------- ! ! ! Cygwin 1.7.5 or later ! @@ -159,13 +171,15 @@ Warning!!! Giving additional privileges can decrease your OS security level. -You will need to reboot your computers so that the new privileges take effect. +You should reboot your computers so that the SeCreateTokenPrivilege takes effect. Open the ports for sshd, pbs_server, pbs_mom and pbs_sched in your firewalls. -########################################## -### Configuring Torque with Cygwin ### -########################################## + + +############################################# +### 4. Configuring Torque with Cygwin ### +############################################# Configure the .../torque/server_priv/nodes file for the pbs_server. @@ -210,9 +224,9 @@ -################################### -### Test Torque under Cygwin ### -################################### +###################################### +### 5. Test Torque under Cygwin ### +###################################### See node information: @@ -226,9 +240,9 @@ -######################################################## -### Start Torque under Cygwin as Windows service ### -######################################################## +########################################################### +### 6. Start Torque under Cygwin as Windows service ### +########################################################### Go to the source directory as and execute the following commands: @@ -244,7 +258,7 @@ For example: - #./contrib/AddPrivileges --add + # ./contrib/AddPrivileges --add # cygrunsrv.exe -I pbs_server -p /usr/sbin/pbs_server.exe -u -w # cygrunsrv.exe -I pbs_sched -p /usr/sbin/pbs_sched.exe -u -w @@ -253,7 +267,7 @@ -On Windows XP x32 the can also start server-sched-mom as services through the Windows +On Windows XP x32 the can also start server-sched-mom as services through the Windows native user SYSTEM (uid=18): # ./contrib/AddPrivileges --add SYSTEM