Difference between revisions of "Default:Reboots"

From CAC Wiki
Jump to: navigation, search
(Created page with "This is a help file with trouble-shooting advice for commonly encountered issues. Please let us know if you would like us to add something. {| style="border-spacing: 8px;" |...")
 
 
Line 1: Line 1:
This is a help file with trouble-shooting advice for commonly encountered issues. Please let us know if you would like us to add something.
 
 
 
{|  style="border-spacing: 8px;"
 
{|  style="border-spacing: 8px;"
 
| valign="top" width="50%" style="padding:1em; border:1px solid #aaaaaa; background-color:#e1eaf1; border-radius:7px" |
 
| valign="top" width="50%" style="padding:1em; border:1px solid #aaaaaa; background-color:#e1eaf1; border-radius:7px" |
== Text file format wrong after file transfer between Windows and Unix ==
+
== We are rebooting our login nodes on a weekly basis ==
 
+
If you are creating or editing a text file on a Windows system and then transfer it to a Unix system, the file is often littered with ```control characters''' such as ^M. Conversely, text files that were created or edited on a Unix machine and then transferred to Windows appear as an endless line with no breaks.
+
 
+
These issues stem from the different text formats that the two systems are using. To convert the format you can use utilities called '''dos2unix''' and '''unix2dos''':
+
  
* '''On a Unix system''': to convert a file that comes from a Windows system into the proper Unix text format, use '''dos2unix'''
+
To maintain smooth operations of our login nodes (sflogin0, swlogin1, sxlogin0) we conduct weekly reboots. These take place on '''Monday morning at 8 am'''. The reboot cycle takes about 1 hr, during which time our systems will not be accessible. Any processes running on the nodes are terminated. Users who are connected to the systems at this time will have to re-login. '''Running production jobs scheduled via Grid Engine are not affected'''.
<pre>dos2unix input output</pre>
+
: will convert the file ''input'' (dos, Windows) into the (Unix) file ''output''. If both filenames are identical, it will convert the file in-place from one format to the other.
+
  
* '''On a Windows system''': a similar utility that can be run from a command prompt window in Windows is called '''unix2dos''' and [http://tofrodos.sourceforge.net/download/tfd1713.zip can be downloaded here] (very small, just 110K).
 
 
|}
 
|}

Latest revision as of 16:25, 21 June 2017

We are rebooting our login nodes on a weekly basis

To maintain smooth operations of our login nodes (sflogin0, swlogin1, sxlogin0) we conduct weekly reboots. These take place on Monday morning at 8 am. The reboot cycle takes about 1 hr, during which time our systems will not be accessible. Any processes running on the nodes are terminated. Users who are connected to the systems at this time will have to re-login. Running production jobs scheduled via Grid Engine are not affected.