<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
	<channel>
		<title>***somethingsomewhere.net***</title>
		<link>http://www.somethingsomewhere.net/index.php</link>
		<description><![CDATA[***somethingsomewhere.net***]]></description>
		<copyright>Copyright 2012, Nicolas Bellemand</copyright>
		<managingEditor>Nicolas Bellemand</managingEditor>
		<language>fr-FR</language>
		<generator>SPHPBLOG 0.4.8</generator>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Script de creation de Vmware sur Esxi (v5)</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry120129-183959</link>
			<description><![CDATA[Ce script effectue les taches suivantes:<br /><br />- demande du nom de machine.<br />- type de machine.<br />- creation de l&#039;image.<br />- Enregistrement de l&#039;image depuis l&#039;inventaire du Vsphere.<br />- Demarrage de la machine.<br /><br /><br /><br />Quelques variables sont a mettre en place.<br /><br />- Datastore ou les templtes sont disponibles.<br /><br />datasource=&quot;/vmfs/volumes/datastore_1&quot;<br /><br />- Datastore ou les images seront crees.<br /><br />datatarget=&quot;/vmfs/volumes/Datastore_2&quot;<br /><br /># Source image name<br /><br />source_vm_centos=&quot;centos-r&quot;<br />source_vm_w2k3=&quot;win2003-template&quot;<br />source_vm_w2008=&quot;win2008-64&quot;<br />source_vm_wxp=&quot;winXP-T&quot;<br />source_vm_w7=&quot;win7-T&quot;<br /><br />Memoire associee a la machine lors de la creation.<br /><br />VMMEMSIZE=&quot;1024&quot;<br /><br /><br />Script complet:<br /><br />### VM Creation Script Utilizing Cloning ####################<br />#Script Version 1.0<br /># Author Nicolas Bellemand - Date 24-1-12<br /># <br />#<br />###############################################################<br />#<br /># get the name of the new vms<br />#<br />#<br /># variables to set<br />#<br />#<br /># datasource = datastore where the source vm is stored<br /># datatarget = datastore where the target vm will be created<br /># complete and absolute path<br /># ex: /vmfs/volumes/datastore1<br /># VM Memory allocation - VMMEMSIZE<br />#<br /><br /><br /><br /># Datastore where the template are stored<br /><br />datasource=&quot;/vmfs/volumes/datastore_1&quot;<br /><br /># Datastore where the vm will be created<br /><br />datatarget=&quot;/vmfs/volumes/Datastore_2&quot;<br /><br /># Source image name<br /><br />source_vm_centos=&quot;centos-r&quot;<br />source_vm_w2k3=&quot;win2003-template&quot;<br />source_vm_w2008=&quot;win2008-64&quot;<br />source_vm_wxp=&quot;winXP-T&quot;<br />source_vm_w7=&quot;win7-T&quot;<br />VMMEMSIZE=&quot;1024&quot;<br />##############################################################<br /><br />##############################################################<br /># Vm name request<br /># if vm name already the script stop.<br /># giving the list of vm already presents.<br />##############################################################<br /><br />clear<br />echo<br />echo &quot;----------------------------------------------&quot;<br />echo &quot; * * * * * * * Main Menu * * * * * * * * * * &quot;<br />echo &quot;----------------------------------------------&quot;<br /><br />echo &quot;list of the current machines:&quot;<br />echo<br />ls -lF $datatarget/<br /><br />echo &quot;Give the name of the New Machine?&quot;<br />echo<br /><br />echo Enter file name:<br />read NVMname<br /><br />if [ -d &quot;$datatarget/$NVMname&quot; ]; then<br /><br /><br /><br />	echo<br />	ls -al $datatarget/<br />	echo<br />	echo &quot;Name already exist, quit in 5 seconds&quot;<br />	sleep 5<br />	echo <br />else<br /><br />if [ ! -d &quot;$datatarget/$NVMname&quot; ]; then<br /><br />	<br />	echo<br />	echo &quot;Creation of the path of the machine:$datatarget/$NVMname &quot;<br />	<br />fi<br />fi<br /><br /><br /><br />while :<br />  do<br />  clear<br />  echo &quot;----------------------------------------------&quot;<br />  echo &quot; * * * * * * * Type of Machine * * * * * * *  &quot;<br />  echo &quot;----------------------------------------------&quot;<br />  echo &quot;[1] Create Windows 2003 Server Sp2 vm&quot;<br />  echo &quot;[2] Create Centos 5.7 vm&quot;<br />  echo &quot;[3] Create Windows 2008R2 vm&quot;<br />  echo &quot;[4] Create Windows XP SP2&quot;<br />  echo &quot;[5] Create Windows Win7&quot;<br />  echo &quot;[6] Stop/Exit&quot;<br />  echo<br />  echo &quot;Chosen Name for the Machine: $NVMname&quot;<br />  <br />  read choice<br />  case $choice in<br />  <br />  <br />  1) echo &quot;Creation of Windows 2003 Machine&quot;<br />  <br />  NVM=&quot;$NVMname&quot;<br />  NVMDIR=&quot;$NVMname&quot;<br />  CONTROLER=&quot;lsilogic&quot;<br />  NVMOS=&quot;winNetEnterprise&quot;<br />  sourcevm_name=&quot;&quot;$source_vm_w2k3&quot;&quot;<br />  vmdk_source=&quot;&quot;$sourcevm_name&quot;.vmdk&quot;<br />  ;;<br />  <br />  2) echo &quot;Creation of Centos Machine&quot;<br />  <br />  NVM=&quot;$NVMname&quot;<br />  NVMDIR=&quot;$NVMname&quot;<br />  CONTROLER=&quot;lsilogic&quot;<br />  NVMOS=&quot;rhel6-64&quot;<br />  sourcevm_name=&quot;&quot;$source_vm_centos&quot;&quot;<br />  vmdk_source=&quot;&quot;$sourcevm_name&quot;.vmdk&quot;<br />  echo $datasource/$sourcevm_name/$vmdk_source<br />  ;; <br /> <br />  3) echo &quot;Creation of Windows 2008R2&quot;<br />  <br />  NVM=&quot;$NVMname&quot;<br />  NVMDIR=&quot;$NVMname&quot;<br />  CONTROLER=&quot;lsisas1068&quot;<br />  NVMOS=&quot;windows7srv-64&quot;<br />  sourcevm_name=&quot;&quot;$source_vm_w2008&quot;&quot;<br />  vmdk_source=&quot;&quot;$sourcevm_name&quot;.vmdk&quot;<br />  echo $datasource/$sourcevm_name/$vmdk_source<br />  ;; <br /> <br />  4) echo &quot;Creation of Windows XP SP2&quot;<br />  <br />  NVM=&quot;$NVMname&quot;<br />  NVMDIR=&quot;$NVMName&quot;<br />  CONTROLER=&quot;none&quot;<br />  NVMOS=&quot;winxppro&quot;<br />  sourcevm_name=&quot;&quot;$source_vm_wxp&quot;&quot;<br />  vmdk_source=&quot;&quot;$sourcevm_name&quot;.vmdk&quot;<br />  echo $datasource/$sourcevm_name/$vmdk_source<br />  ;;      <br /> <br />  5) echo &quot;Creation of Windows 7&quot;<br />  <br />  NVM=&quot;$NVMname&quot;<br />  NVMDIR=&quot;$NVMname&quot;<br />  CONTROLER=&quot;lsisas1068&quot;<br />  NVMOS=&quot;windows7-64&quot;<br />  sourcevm_name=&quot;&quot;$source_vm_w7&quot;&quot;<br />  vmdk_source=&quot;&quot;$sourcevm_name&quot;.vmdk&quot;<br />  echo $datasource/$sourcevm_name/$vmdk_source<br />  ;;<br /> <br />  6) echo &quot;bye now&quot;<br />     echo<br />  exit 1<br />  ;;<br /><br />  *) echo &quot;$choice is an invaild option. Please select option between 1-4 only&quot;<br /><br />  echo &quot;Press [enter] key to continue. . .&quot;<br />  read enterKey<br />  ;;<br />      <br />esac<br /><br /><br />####################<br />#<br /># Creation of the machine path to the datastore<br />#<br />############<br /><br /><br /><br />	mkdir $datatarget/$NVMname<br /><br />      <br />#TEMPLATE        <br />####################<br /># sets up write to file for the vmx configuration file<br />#<br />#############<br />					<br />exec 6&gt;&amp;1 # Sets up write to file<br />exec 1&gt;$datatarget/$NVMDIR/$NVM.vmx # Open file<br />							<br /># write the configuration template<br />#############<br /><br /><br /><br /> echo .encoding = &#039;&quot;&#039;UTF-8&#039;&quot;&#039;<br /> echo config.version = &#039;&quot;&#039;8&#039;&quot;&#039;<br /> echo virtualHW.version = &#039;&quot;&#039;8&#039;&quot;&#039;<br /> echo pciBridge0.present = &#039;&quot;&#039;TRUE&#039;&quot;&#039;<br /> echo pciBridge4.present = &#039;&quot;&#039;TRUE&#039;&quot;&#039;<br /> echo pciBridge4.virtualDev = &#039;&quot;&#039;pcieRootPort&#039;&quot;&#039;<br /> echo pciBridge4.functions = &#039;&quot;&#039;8&#039;&quot;&#039;<br /> echo pciBridge5.present = &#039;&quot;&#039;TRUE&#039;&quot;&#039;<br /> echo pciBridge5.virtualDev = &#039;&quot;&#039;pcieRootPort&#039;&quot;&#039;<br /> echo pciBridge5.functions = &#039;&quot;&#039;8&#039;&quot;&#039;<br /> echo pciBridge6.present = &#039;&quot;&#039;TRUE&#039;&quot;&#039;<br /> echo pciBridge6.virtualDev = &#039;&quot;&#039;pcieRootPort&#039;&quot;&#039;<br /> echo pciBridge6.functions = &#039;&quot;&#039;8&#039;&quot;&#039;<br /> echo pciBridge7.present = &#039;&quot;&#039;TRUE&#039;&quot;&#039;<br /> echo pciBridge7.virtualDev = &#039;&quot;&#039;pcieRootPort&#039;&quot;&#039;<br /> echo pciBridge7.functions = &#039;&quot;&#039;8&#039;&quot;&#039;<br /> echo vmci0.present = &#039;&quot;&#039;TRUE&#039;&quot;&#039;<br /> echo hpet0.present = &#039;&quot;&#039;TRUE&#039;&quot;&#039;<br /> <br /> echo nvram = &#039;&quot;&#039;$NVM.nvram&#039;&quot;&#039;<br /> echo virtualHW.productCompatibility = &#039;&quot;&#039;hosted&#039;&quot;&#039;<br /> echo powerType.powerOff = &#039;&quot;&#039;soft&#039;&quot;&#039;<br /> echo powerType.powerOn = &#039;&quot;&#039;hard&#039;&quot;&#039;<br /> echo powerType.suspend = &#039;&quot;&#039;hard&#039;&quot;&#039;<br /> echo powerType.reset = &#039;&quot;&#039;soft&#039;&quot;&#039;<br /> <br /> echo displayName = &#039;&quot;&#039;$NVM&#039;&quot;&#039;<br /> <br /> echo extendedConfigFile = &#039;&quot;&#039;$NVM.mxf&#039;&quot;&#039;<br /> <br /> echo scsi0.present = &#039;&quot;&#039;TRUE&#039;&quot;&#039;<br /> echo scsi0.sharedBus = &#039;&quot;&#039;none&#039;&quot;&#039;<br /> echo scsi0.virtualDev = &#039;&quot;&#039;$CONTROLER&#039;&quot;&#039;<br /> <br /> # set the default memory<br /> <br /> echo memsize = &#039;&quot;&#039;$VMMEMSIZE&#039;&quot;&#039;<br /> echo scsi0:0.present = &#039;&quot;&#039;TRUE&#039;&quot;&#039;<br /> <br /> # set the file name<br /> <br /> echo scsi0:0.fileName = &#039;&quot;&#039;$NVM.vmdk&#039;&quot;&#039;<br /> echo scsi0:0.deviceType = &#039;&quot;&#039;scsi-hardDisk&#039;&quot;&#039;<br /> echo ide1:0.present = &#039;&quot;&#039;TRUE&#039;&quot;&#039;<br /> echo ide1:0.fileName = &#039;&quot;&#039;CD-ROM 1&#039;&quot;&#039;<br /> echo ide1:0.deviceType = &#039;&quot;&#039;atapi-cdrom&#039;&quot;&#039;<br /> echo ide1:0.startConnected = &#039;&quot;&#039;FALSE&#039;&quot;&#039;<br /> echo ethernet0.present = &#039;&quot;&#039;TRUE&#039;&quot;&#039;<br /> echo ethernet0.virtualDev = &#039;&quot;&#039;e1000&#039;&quot;&#039;<br /> echo ethernet0.networkName = &#039;&quot;&#039;VM Network&#039;&quot;&#039;<br /> echo ethernet0.addressType = &#039;&quot;&#039;generated&#039;&quot;&#039;<br /> <br /> echo guestOS = &#039;&quot;&#039;$NVMOS&#039;&quot;&#039;<br /> echo annotation = &#039;&quot;&#039;template&#039;&quot;&#039;<br /> echo floppy0.present = &#039;&quot;&#039;FALSE&#039;&quot;&#039;<br /> <br /># close file<br />exec 1&gt;&amp;-<br /># make stdout a copy of FD 6 (reset stdout), and close FD6<br />exec 1&gt;&amp;6<br />exec 6&gt;&amp;-<br /><br />################<br />#<br /># Change permissions on the file so it can be executed by anyone<br />chmod 755 $datatarget/$NVMDIR/$NVM.vmx<br /><br />################ cloning the vmdk file###<br />#<br />	vmkfstools -i $datasource/$sourcevm_name/$vmdk_source -d thin $datatarget/$NVMDIR/$NVM.vmdk<br />     <br />################<br />#<br /># Register VM to the inventory<br />#<br />######<br />     <br />	id=/tmp/id.log<br />	vim-cmd solo/registervm $datatarget/$NVMDIR/$NVM.vmx &gt; $id<br /><br />	active_id=`cat $id`<br />     <br /><br />	echo &quot;Your Machine has been created and registered as $NVMname&quot;<br /><br /><br />################<br />#<br /># Starting the vm<br />#<br />#####<br /><br />	echo<br />	echo &quot;Would you like to start it now? y or n&quot;<br />	read answer<br /><br /><br />	if [ $answer == &quot;y&quot; ] <br />	then<br /><br />	vim-cmd vmsvc/power.on $active_id<br /><br />	rm /tmp/id.log<br />	echo<br />	echo &quot;The vm has been started....&quot;<br />	sleep 10<br />	exit 1<br /><br />else<br /><br />	sleep 5<br />	exit 1 <br /><br />fi<br />done]]></description>
			<category>Esxi</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry120129-183959</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Sun, 29 Jan 2012 18:39:59 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=12&amp;m=01&amp;entry=entry120129-183959</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Mettre un serveur NAS EMC en debug/EMC Cava Agent </title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry120103-105904</link>
			<description><![CDATA[Enabling Debug Logging on the Data Mover<br /><br />    On the Data Mover, type the following to start verbose CAVA logging:<br />    $ server_param server_X -f viruschk -m Traces -v 0xC0000004<br />    Where X is the server number.<br />    To turn it off, execute the following:<br />    $ server_param server_X -f viruschk -m Traces -v 0<br />    Collect the server_log to get these results:<br />    $ server_log server_X -i -s &gt; slogX.out<br />    You may need to use the -i flag in order to see the results:<br />    $ server_log server_X -i -s &gt; slogX.out<br />    Run collect_support_materials and include that output with the submitted log files:<br />    $ /nas/tools/collect_support_materials<br />    <br /><br />Also, please make sure that none of the &quot;copy&quot; tests are performed from a system that is running in the context of EMCVirusChecking privilege (i.e., the CAVA engine itself). <br /><br /><br /><br />Enabling Debug logging on the VNX Event Enabler CAVA agent<br />Note: Turning Verbose on will result in lower performance and should be done for debugging purposes only.<br />Follow these steps:<br /><br />    On the AV server(s) , edit the registry entries depending on CAVA version running as follows:<br />    For CAVA 4.0.3 and later:<br />    (HKEY_LOCAL_MACHINE\SOFTWARE\EMC\Celerra Event Enabler\Configuration)<br />    Set keys as follows (This step is the same for all CAVA versions):<br />    verbose set to 1<br />    debug set to 1<br />    (Note: You may need to create these registry entries if they do not exist.)<br />    Obtain DebugView (dbgview.exe) from <a href="http://www.sysinternals.com/" target="_blank" >http://www.sysinternals.com/</a> and install it on the AV server(s) to see the debug messages from CAVA.<br />    Start the DebugView application on the AV server(s).<br />    Go into the &quot;Capture&quot; menu and select &quot;Capture Win32.&quot;  Some versions of DebugView also have the option &quot;Capture Global Win32.&quot;  If your version has that option, enable it as well.<br />    a. Click Start -&gt; Programs -&gt; Administrative tools -&gt; Services and select EMC Checker Server Service.<br />    b. Stop and start the service.  Debugging is now ready.<br />    Recreate the issue that needs to be captured.  Messages from CAVA will be seen in the DebugView window.<br />    Save and send the log file(s) to EMC Support.<br />    Restore the registry entries to the defaults.<br />    Stop and start the EMC Checker Server Service again.<br /><br /><br />]]></description>
			<category>EMC Celerra</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry120103-105904</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Tue, 03 Jan 2012 10:59:04 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=12&amp;m=01&amp;entry=entry120103-105904</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Automatique shutdown planifié Esxi v5</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry120102-145242</link>
			<description><![CDATA[Deux commandes disponible sur Esxi v5.0<br /><br />- /sbin/powerOffVms (Arreter les vms)<br />et<br />- /bin/poweroff (Arreter le host Esx)<br /><br />Création d&#039;un script, qui arretera les Machines Virtuelles puis éteindra l&#039;Esxi.<br />Je conseille de créer celui ci depuis le DataStore.<br /><br />auto-shutdown.sh<br />----------<br /><br />#! /bin/ash<br />echo &quot;shutting down VMs..please wait..&quot;<br />/sbin/powerOffVms<br />echo &quot;done.&quot;<br />echo &quot;shutting down the host now..&quot;<br />/bin/poweroff<br /><br />----------<br /><br />Appliquez les droits a l&#039;exécution :<br /><br />chmod +x /vmfs/volumes/datastore1/auto-shutdown.sh<br /><br /><br />Rajoutez celui ci dans /etc/rc.local<br /><br />/bin/echo &quot;0    22   *   *   *   /vmfs/volumes/datastore1/auto-shutdown.sh&quot; &gt;&gt; /var/spool/cron/crontabs/root<br /><br />Ce script arretera les Machines Virtuelles, puis éteindra l&#039;Esxi a 22h tous les jours.<br />]]></description>
			<category>Esxi</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry120102-145242</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Mon, 02 Jan 2012 14:52:42 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=12&amp;m=01&amp;entry=entry120102-145242</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Lister les vms machine actives depuis votre Host </title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry100204-124927</link>
			<description><![CDATA[commande : vmrun<br /><br /><br />GENERAL COMMANDS         PARAMETERS           DESCRIPTION<br />----------------         ----------           -----------<br />list                                          List all running VMs<br /><br />upgradevm                Path to vmx file     Upgrade VM file format, virtual hw<br /><br />installtools             Path to vmx file     Install Tools in Guest<br /><br />register                 Path to vmx file     Register a VM<br /><br />unregister               Path to vmx file     Unregister a VM<br /><br />listRegisteredVM                              List registered VMs<br /><br />clone                    Path to vmx file     Create a copy of the VM<br />                         Path to destination vmx file<br />                         full|linked<br />                         [Snapshot name]<br /><br /><br /><br /><br />Examples:<br /><br /><br />Starting a virtual machine with Workstation on a Windows host<br />   vmrun -T ws start &quot;c:\my VMs\myVM.vmx&quot;<br /><br /><br />Stopping a virtual machine with Server on a linux host<br />   vmrun -T server -h <a href="https://myHost.com/sdk" target="_blank" >https://myHost.com/sdk</a> -u hostUser -p hostPassword stop &quot;[storage1] vm/myVM.vmx&quot;<br /><br /><br />Running a program in a virtual machine with Workstation on a Windows host with Windows guest<br />   vmrun -T ws -gu guestUser -gp guestPassword runProgramInGuest &quot;c:\my VMs\myVM.vmx&quot; &quot;c:\Program Files\myProgram.exe&quot;<br /><br /><br />Running a program in a virtual machine with Server on a linux host with linux guest<br />   vmrun -T server -h <a href="https://myHost.com/sdk" target="_blank" >https://myHost.com/sdk</a> -u hostUser -p hostPassword -gu guestUser -gp guestPassword runProgramInGuest &quot;[storage1] vm/myVM.vmx&quot; /usr/bin/X11/xclock -display :0<br /><br /><br />Creating a snapshot of a virtual machine with Workstation on a Windows host<br />   vmrun -T ws snapshot &quot;c:\my VMs\myVM.vmx&quot; mySnapshot<br /><br /><br />Reverting to a snapshot with Workstation on a Windows host<br />   vmrun -T ws revertToSnapshot &quot;c:\my VMs\myVM.vmx&quot; mySnapshot<br /><br /><br />Deleting a snapshot with Workstation on a Windows host<br />   vmrun -T ws deleteSnapshot &quot;c:\my VMs\myVM.vmx&quot; mySnapshot<br />]]></description>
			<category>Linux, Useful commands</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry100204-124927</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Thu, 04 Feb 2010 11:49:27 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=10&amp;m=02&amp;entry=entry100204-124927</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Erreur invalid network name avec IIS</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry090825-084309</link>
			<description><![CDATA[La machine ayant IIS a changé d&#039;adresse IP, depuis impossible de demarrer votre Default Site web.<br />une erreur intervient lors de la tentative.<br /><br />popup: &quot;The format of the specified network name is invalid&quot;<br /><br />Verifier les adresses depuis la clef de base de registre:<br />HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Pa rameters\ListenOnlyList <br /><br />127.0.0.1<br />192.168.x.x<br /><br />- Modifiez la seconde IP qui doit correspondre l&#039;adresse de la machine.<br />- Lancez une session dos, puis redemarrer IIS:<br />    - net stop http /y<br />    - net start w3svc<br /><br />Une fois IIS de redemarré, re-tentez de demarrer votre site web]]></description>
			<category>General, Windows</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry090825-084309</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Tue, 25 Aug 2009 06:43:09 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=09&amp;m=08&amp;entry=entry090825-084309</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>apt-get source pour Gutsy (ubuntu 7.10)</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry090730-111618</link>
			<description><![CDATA[Modifiez le le fichier : /etc/apt/source.list<br /><br /><br />deb <a href="http://old-releases.ubuntu.com/ubuntu" target="_blank" >http://old-releases.ubuntu.com/ubuntu</a> gutsy main restricted universe multiverse<br />deb-src <a href="http://old-releases.ubuntu.com/ubuntu" target="_blank" >http://old-releases.ubuntu.com/ubuntu</a> gutsy main restricted universe multiverse<br /><br />deb <a href="http://old-releases.ubuntu.com/ubuntu" target="_blank" >http://old-releases.ubuntu.com/ubuntu</a> gutsy-updates main restricted universe multiverse<br />deb-src <a href="http://old-releases.ubuntu.com/ubuntu" target="_blank" >http://old-releases.ubuntu.com/ubuntu</a> gutsy-updates main restricted universe multiverse<br /><br />deb <a href="http://old-releases.ubuntu.com/ubuntu" target="_blank" >http://old-releases.ubuntu.com/ubuntu</a> gutsy-security main restricted universe multiverse<br />deb-src <a href="http://old-releases.ubuntu.com/ubuntu" target="_blank" >http://old-releases.ubuntu.com/ubuntu</a> gutsy-security main restricted universe multiverse<br />]]></description>
			<category>Linux</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry090730-111618</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Thu, 30 Jul 2009 09:16:18 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=09&amp;m=07&amp;entry=entry090730-111618</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Limiter la vistesse de téléchargement avec wget</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry090528-154340</link>
			<description><![CDATA[wget --limit-rate=20k <a href="http://downloadexemple.fr/file.tar.gz" target="_blank" >http://downloadexemple.fr/file.tar.gz</a>]]></description>
			<category>Linux, Useful commands</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry090528-154340</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Thu, 28 May 2009 13:43:40 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=09&amp;m=05&amp;entry=entry090528-154340</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Quelle ma Linux distribution?</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry090528-143916</link>
			<description><![CDATA[cat /etc/issue<br /><br /><br />Novell SuSE <br />cat/etc/SuSE-release <br />Red Hat <br />cat /etc/redhat-release, /etc/redhat_version <br /><br />Fedora <br />cat /etc/fedora-release <br /><br />Slackware <br />cat /etc/slackware-release, /etc/slackware-version <br /><br />Debian <br />cat /etc/debian_release, /etc/debian_version, <br /><br />Mandrake <br />cat /etc/mandrake-release <br /><br />Yellow dog <br />cat /etc/yellowdog-release <br /><br />Sun JDS <br />cat /etc/sun-release <br /><br />Solaris/Sparc <br />cat /etc/release <br /><br />Gentoo <br />cat /etc/gentoo-release <br /><br />----------------]]></description>
			<category>Linux, Useful commands</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry090528-143916</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Thu, 28 May 2009 12:39:16 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=09&amp;m=05&amp;entry=entry090528-143916</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Envoyer un fichier en FTP via un script</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry090415-140403</link>
			<description><![CDATA[Ci joint le script :<br /><br /><br />#debut<br />#!/bin/sh<br /><br /># Parametres:    host            FTP Server<br />#                     user            FTP Username<br />#                     passwd      FTP Password<br />#                     file             File to send/put<br />############################################################################<br /><br /># Variables<br />HOST=$1<br />USER=$2<br />PASSWD=$3<br />FILE=$4<br />TONAME=$5<br /><br /># Connect to FTP HOST and Send File<br />ftp -n $HOST &lt;&lt;END_SCRIPT<br />    quote USER $USER<br />    quote PASS $PASSWD<br />    dir<br />    ascii<br />    put $FILE $TONAME<br />   dir<br />   quit<br />END_SCRIPT<br />exit 0<br /><br />####fin<br /><br /><br />la commande sera : <br />./ftpscript &lt;host&gt; &lt;username&gt; &lt;passwd&gt; &lt;filename&gt; &lt;toname&gt;<br />exemple:<br /><br />./ftpscript 192.168.1.xx joe motdepasse /var/log/messages /upload/messages.txt<br /><br />]]></description>
			<category>Linux, Useful commands</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry090415-140403</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Wed, 15 Apr 2009 12:04:03 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=09&amp;m=04&amp;entry=entry090415-140403</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Désactiver le firewall sous Redhat Enterprise</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry090408-142244</link>
			<description><![CDATA[Arreter le Service:<br /># service iptables stop<br /><br />Mettre a jour la config:<br /># chkconfig iptables off<br />]]></description>
			<category>Linux, Useful commands</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry090408-142244</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Wed, 08 Apr 2009 12:22:44 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=09&amp;m=04&amp;entry=entry090408-142244</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Reduire la taille de fichiers JPG depuis un dossier</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry090401-132607</link>
			<description><![CDATA[Installation de ImageMagick<br />sudo apt-get install imagemagick<br />Puis utiliser convert:<br /><br />Code:<br /><br />convert -resize 50% -quality 80 input.jpg output.jpg<br /><br />Redimension la photo de 50% puis la qualité<br /><br />Code:<br /><br />find . -iname &quot;*.jpg&quot; | xargs -l -i convert -quality 75 {} /tmp/output/{}<br /><br />Ajuste la Qualité de la photo<br /><br />Afin d&#039;appliquer les deux combinaisons :<br /><br />find . -iname &quot;*.jpg&quot; | xargs -l -i convert -resize 800x600 -quality 75 {} /tmp/output/{}<br />ou encore:<br /><br />for i in *.JPG; do convert -resize 800x600! -quality 75 &quot;$i&quot; web/&quot;$i&quot;; done<br /><br /><br />example de Scripts:<br />#!/bin/bash<br /><br />        # SET PICTURE&#039;S PATH<br />path=/home/user/Photos/<br /><br />        # set variable date<br />NOW=$(date +&quot;%d-%m-%y&quot;)<br /><br />        # condition<br />if  [ -d $path/$NOW ] ; then<br /><br />        # does exist<br />cd $path/$NOW<br /><br />        # creating the folder for lower def<br />mkdir web<br /><br />for i in *.JPG; do convert -resize 800x600! -quality 75 &quot;$i&quot; web/&quot;$i&quot;; done<br />echo &#039;created sub-folder called web and generated jpg&#039;<br /><br />else<br />        # does not exist<br />echo &#039;folder is not present&#039;<br /><br />fi<br /><br />]]></description>
			<category>Linux, Useful commands</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry090401-132607</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Wed, 01 Apr 2009 11:26:07 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=09&amp;m=04&amp;entry=entry090401-132607</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Demarrer hellanzb en Service</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry090223-101141</link>
			<description><![CDATA[Ci joint le bon script :<br /><br />#!/bin/sh<br /># Authors: Ivo Trompert<br />#<br />#<br /># /etc/init.d/hellanzb<br />#<br />### BEGIN INIT INFO<br /># Provides:                     hellanzb<br /># Required-Start:               $local_fs $remote_fs $network<br /># X-UnitedLinux-Should-Start:<br /># Required-Stop:                $local_fs $remote_fs $network<br /># X-UnitedLinux-Should-Stop:<br /># Default-Start:                3 5<br /># Default-Stop:                 0 1 2 6<br /># Short-Description:            Hellanzb<br /># Description:                  Start the hellanzb daemon<br />### END INIT INFO<br /><br />case &quot;$1&quot; in<br />start)<br />echo &quot;Starting hellanzb&quot;<br />su -c &#039;python /usr/local/bin/hellanzb.py -D  -c /usr/local/etc/hellanzb.conf&#039; || echo &quot;Failed!&quot; ;;<br />stop)<br />echo &quot;hellanzb shutdown&quot;<br />su -c &#039;python /usr/local/bin/hellanzb.py -D  -c /usr/local/etc/hellanzb.conf shutdown&#039; || echo &quot;Failed!&quot; ;;<br />status)<br />su -c &#039;python /usr/local/bin/hellanzb.py -D  -c /usr/local/etc/hellanzb.conf status&#039; || echo &quot;Failed!&quot; ;;<br />esac]]></description>
			<category>Linux, Useful commands</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry090223-101141</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Mon, 23 Feb 2009 09:11:41 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=09&amp;m=02&amp;entry=entry090223-101141</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Demarrer un Serveur Domino en service sous Linux</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry090223-100645</link>
			<description><![CDATA[Un script bien utile pour une machine Serveur Domino sous Linux<br /><br /><br />Certaines variables et chemins sont a adapter.<br /><br />/etc/init.d/domino<br />(chmod +x /etc/init.d/domino)<br /><br />#!/bin/sh<br />#<br /># domino Start/stop the Lotus Domino server<br />#<br /># chkconfig: 345 01 95<br /># description: This script is used to start and stop the domino \<br /># server as a background process. It will send \<br /># the serverID password from a file to the server.\<br /># Communication with the server has to be done through \<br /># console, Notes Administrator or webadmin.\<br />#<br /># Usage: /etc/rc.d/init.d/domino start|stop|restart|condrestart<br />#<br /># process name: server, ...<br />#<br /># Version 1.1, by LB, 2205-01-07<br /><br /># Change the USER, GROUP, DATA_DIR and BIN_DIR for your server<br />DOMINO_USER=&quot;notes&quot;<br />DOMINO_GROUP=&quot;notes&quot;<br />DOMINO_DATA_DIR=&quot;/var/local/notesdata&quot;<br />DOMINO_BIN_DIR=&quot;/opt/lotus/bin&quot;<br />LOCKFILE=&quot;/var/lock/subsys/domino&quot;<br /><br />export ODBCINI=&quot;/etc/odbc.ini&quot;<br /><br /># We need a file to put the serverID password in.<br /># Make sure the owner is the Domino owner and the file<br /># permissions are set to 400<br /><br />SERVER_PASSWD_FILE=&quot;/var/local/notesdata/.domino.pwd&quot;<br /><br /># See if the user that runs this script is root<br /><br />if [ `id -u` != 0 ]; then<br />echo &quot;This script must be run by root only&quot;<br />exit 1<br />fi<br /><br />start() {<br /># First, check if the password file exists,<br /># and if not, exit with an errorcode<br />if [ ! -f $SERVER_PASSWD_FILE ] ; then<br />echo &quot;Error: no password file.&quot;<br />exit 1<br />fi<br /><br /># Set permission to 400 (read-only-owner)<br /># and ownership to $DOMINO_USER. These next lines are<br /># not necessary if the ownership was set correctly the first time.<br /><br />chmod 400 $SERVER_PASSWD_FILE<br />chown $DOMINO_USER.$DOMINO_GROUP $SERVER_PASSWD_FILE<br /><br /># Check we&#039;re not already running<br /><br />if [ -f $LOCKFILE ] ; then<br />echo &quot;Domino server apparently already running.&quot;<br />exit 1<br />fi<br /><br /># Two ways to run the server (comment one of them out)<br /># 1. With the output of the console redirected to /var/log/domino.log<br /># Be sure to change the logrotate daemon.<br /># 2. With the output of the console redirected to /dev/null<br /><br />echo -n &quot;Starting domino server...&quot;<br /><br /># Version with logfile<br />su - ${DOMINO_USER} -c &quot;cd ${DOMINO_DATA_DIR};\<br />cat ${SERVER_PASSWD_FILE} | ${DOMINO_BIN_DIR}/server&quot; \<br />&gt;&gt; /var/log/domino 2&gt;&amp;1 &amp;<br />RETVAL=$?<br />if [ &quot;$RETVAL&quot; = &quot;0&quot; ] ; then<br />touch $LOCKFILE &gt; /dev/null 2&gt;&amp;1<br />fi<br /># Version without logfile<br /># su - ${DOMINO_USER} -c &quot;cd ${DOMINO_DATA_DIR};\<br /># cat ${SERVER_PASSWD_FILE} |\<br /># ${DOMINO_BIN_DIR}/server&quot; &gt; /dev/null 2&gt;&amp;1 &amp;<br /><br />echo &quot;done.&quot;<br />}<br /><br />stop() {<br />echo -n &quot;Stopping Domino server. &quot;<br />su - ${DOMINO_USER} -c &quot;cd ${DOMINO_DATA_DIR}; ${DOMINO_BIN_DIR}/server -q&quot;<br />RETVAL=$?<br /># RETVAL is 38 on normal shutdown - what does *that* mean?<br /># Users should test this on their own systems . . .<br />if [ $RETVAL -lt 50 ] ; then<br />rm $LOCKFILE<br />fi<br />}<br /><br />restart() {<br />stop<br />start<br />}<br /><br /># See how we were called.<br /><br />case $1 in<br />start)<br />start<br />;;<br />stop)<br />stop<br />;;<br />restart)<br />stop<br />start<br />;;<br />condrestart)<br />[ -f $LOCKFILE ] &amp;&amp; restart<br />;;<br />*)<br />echo &quot;Usage: domino {start|stop|restart|condrestart}&quot;<br />exit 1<br />;;<br />esac<br /># End of the domino script<br />exit 0]]></description>
			<category>Linux, Useful commands, Domino</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry090223-100645</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Mon, 23 Feb 2009 09:06:45 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=09&amp;m=02&amp;entry=entry090223-100645</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Exemple SCP</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry090223-094521</link>
			<description><![CDATA[Cette commande vous permet de copier des fichiers d&#039;une machine a une autre via SSH.<br /><br /><br /># scp source destination<br /><br />Copier un fichier &#039;file1.txt&#039; d&#039;une machine locale sur une machine distante dans le dossier /tmp:<br /><br />scp file1.txt user@host:/tmp<br /><br />Copier le meme fichier depuis la machine distante vers votre machine locale:<br /><br />scp user@host:/path/file1.txt ./<br /><br />-----<br /><br />Copier un dossier complet sur une machine distante(send):<br /><br />scp -r &#039;dossier&#039; user@host:/path/dossier/<br /><br />-----<br /><br />Copier/rapatrier un dossier complet en local depuis une machine distante (get):<br /><br />scp -r user@host:/path/&#039;dossier&#039; ./&#039;dissierlocal&#039;/<br /><br /><br />]]></description>
			<category>Linux, Useful commands</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry090223-094521</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Mon, 23 Feb 2009 08:45:21 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=09&amp;m=02&amp;entry=entry090223-094521</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Activer Telnet acces root sur Solaris</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry090107-092348</link>
			<description><![CDATA[Avant tout, avant de l&#039;activer veuillez a ne pas solliciter ce type d&#039;acces sur un server en production!!<br />La Security est plus que mauvaise!!!<br /><br />Afin d&#039;autoriser l&#039;acces a root via telnet:<br />Editez le fichier suivant:<br />/etc/default/login puis rajouter/ commenter la ligne suivante:<br /><br />    # If CONSOLE is set, root can only login on that device.<br />    # Comment this line out to allow remote login by root.<br />    #<br />    # CONSOLE=/dev/console<br /><br />]]></description>
			<category>Solaris</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry090107-092348</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Wed, 07 Jan 2009 08:23:48 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=09&amp;m=01&amp;entry=entry090107-092348</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Ldap Search</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry081231-124103</link>
			<description><![CDATA[Exemple:<br /><br />ldapsearch -x -h &lt;hostname&gt; -D &#039;&lt;bind dn&gt;&#039; -w &#039;&lt;password&gt;&#039; -b &#039;&lt;base dn&gt;&#039;&#039;(|mail=**)(proxyAddress=**))&#039; dn proxyAddresses mail<br /><br /><br />Search options:<br />  -a deref   one of never (default), always, search, or find<br />  -A         retrieve attribute names only (no values)<br />  -b basedn  base dn for search<br />  -E [!]&lt;ext&gt;[=&lt;extparam&gt;] search extensions (! indicates criticality)<br />             [!]domainScope              (domain scope)<br />             [!]mv=&lt;filter&gt;              (matched values filter)<br />             [!]pr=&lt;size&gt;[/prompt|noprompt]   (paged results/prompt)<br />             [!]subentries[=true|false]  (subentries)<br />             [!]sync=ro[/&lt;cookie&gt;]            (LDAP Sync refreshOnly)<br />                     rp[/&lt;cookie&gt;][/&lt;slimit&gt;] (LDAP Sync refreshAndPersist)<br />  -F prefix  URL prefix for files (default: file:///tmp/)<br />  -l limit   time limit (in seconds, or &quot;none&quot; or &quot;max&quot;) for search<br />  -L         print responses in LDIFv1 format<br />  -LL        print responses in LDIF format without comments<br />  -LLL       print responses in LDIF format without comments<br />             and version<br />  -s scope   one of base, one, sub or children (search scope)<br />  -S attr    sort the results by attribute `attr&#039;<br />  -t         write binary values to files in temporary directory<br />  -tt        write all values to files in temporary directory<br />  -T path    write files to directory specified by path (default: /tmp)<br />  -u         include User Friendly entry names in the output<br />  -z limit   size limit (in entries, or &quot;none&quot; or &quot;max&quot;) for search<br />Common options:<br />  -c         continuous operation mode (do not stop on errors)<br />  -C         chase referrals (anonymously)<br />  -d level   set LDAP debugging level to `level&#039;<br />  -D binddn  bind DN<br />  -e [!]&lt;ext&gt;[=&lt;extparam&gt;] general extensions (! indicates criticality)<br />             [!]assert=&lt;filter&gt;     (an RFC 2254 Filter)<br />             [!]authzid=&lt;authzid&gt;   (&quot;dn:&lt;dn&gt;&quot; or &quot;u:&lt;user&gt;&quot;)<br />             [!]manageDSAit<br />             [!]noop<br />             ppolicy<br />             [!]postread[=&lt;attrs&gt;]  (a comma-separated attribute list)<br />             [!]preread[=&lt;attrs&gt;]   (a comma-separated attribute list)<br />             abandon, cancel (SIGINT sends abandon/cancel; not really controls)<br />  -f file    read operations from `file&#039;<br />  -h host    LDAP server<br />  -H URI     LDAP Uniform Resource Indentifier(s)<br />  -I         use SASL Interactive mode<br />  -k         use Kerberos authentication<br />  -K         like -k, but do only step 1 of the Kerberos bind<br />  -M         enable Manage DSA IT control (-MM to make critical)<br />  -n         show what would be done but don&#039;t actually do it<br />  -O props   SASL security properties<br />  -p port    port on LDAP server<br />  -P version protocol version (default: 3)<br />  -Q         use SASL Quiet mode<br />  -R realm   SASL realm<br />  -U authcid SASL authentication identity<br />  -v         run in verbose mode (diagnostics to standard output)<br />  -V         print version info (-VV only)<br />  -w passwd  bind password (for simple authentication)<br />  -W         prompt for bind password<br />  -x         Simple authentication<br />  -X authzid SASL authorization identity (&quot;dn:&lt;dn&gt;&quot; or &quot;u:&lt;user&gt;&quot;)<br />  -y file    Read password from file<br />  -Y mech    SASL mechanism<br />  -Z         Start TLS request (-ZZ to require successful response)<br />]]></description>
			<category>Linux, Useful commands</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry081231-124103</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Wed, 31 Dec 2008 11:41:03 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=08&amp;m=12&amp;entry=entry081231-124103</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Argument pour la command apt-get sous Ubuntu</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry081231-123708</link>
			<description><![CDATA[liste des option disponibles:<br /><br /><br />   update - Retrieve new lists of packages<br />   upgrade - Perform an upgrade<br />   install - Install new packages (pkg is libc6 not libc6.deb)<br />   remove - Remove packages<br />   purge - Remove and purge packages<br />   source - Download source archives<br />   build-dep - Configure build-dependencies for source packages<br />   dist-upgrade - Distribution upgrade, see apt-get(8)<br />   dselect-upgrade - Follow dselect selections<br />   clean - Erase downloaded archive files<br />   autoclean - Erase old downloaded archive files<br />   check - Verify that there are no broken dependencies<br /><br />]]></description>
			<category>Linux, Useful commands</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry081231-123708</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Wed, 31 Dec 2008 11:37:08 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=08&amp;m=12&amp;entry=entry081231-123708</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Plusieures Instances Yahoo Messenger sous Windows</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry081104-183718</link>
			<description><![CDATA[Il vous deja arrivé de vouloir vous logger avec deux ID Yahoo Différents sur la meme Machine, <br />alors il  vous suffit de rajouter une clef dans la base de registre :<br /><br />1. Cliquez sur Demarrer &gt; Exécuter and tapez &#039;regedit&#039; puis entrer (OUverture de la base de registre)<br />2. Naviguer dans HKEY_CURRENT_USER\Software\Yahoo\Pager\Test<br />3. Cliquez droit afin de créer une nouvelle clef en DWORD, appelez la &#039;Plural&#039;<br />4. UNe fois crée, double cliquez sur celle ci afin de changer la valeure a &#039;1&#039;<br /><br />Maintenant, vous pouvez ouvrir plusieures session Yahoo, en utilisant des ID différents.<br /><br />]]></description>
			<category>General, Windows</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry081104-183718</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Tue, 04 Nov 2008 17:37:18 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=08&amp;m=11&amp;entry=entry081104-183718</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Shell Script pour verifier la presence d&#039;un processus -&gt; action</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry081028-115454</link>
			<description><![CDATA[[more]<br /><br />#/usr/bin <br /># Verifie si mon porcess est en memoire <br />if ps -ef | grep -q [M]on_process <br />then <br />echo &quot;$(date) - mon process est deja en memoire&quot; &gt;&gt; /tmp/mon_process.log <br />exit <br />else <br /># lancer mon process si pas present en memoire <br />echo &quot;$(date) - mon processus demarre&quot; &gt;&gt; /tmp/mon_process.log <br />ma commande (/opt/...)<br />fi <br />]]></description>
			<category>Linux, Useful commands</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry081028-115454</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Tue, 28 Oct 2008 10:54:54 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=08&amp;m=10&amp;entry=entry081028-115454</comments>
		</item>

Deprecated: Function split() is deprecated in /customers/somethingsomewhere.net/somethingsomewhere.net/httpd.www/scripts/sb_feed.php on line 82
		<item>
			<title>Optimization d&#039;un Server Domino 6/8.x</title>
			<link>http://www.somethingsomewhere.net/index.php?entry=entry080919-142222</link>
			<description><![CDATA[<b>Configuring server tasks</b><br /><br /><br /><br />Each task increases the server&#039;s load and can adversely affect its performance. Minimizing the number of server tasks that are run by the server, the frequency at which they run, and the time in which they run will enable you to increase the performance of the server. For example, these are the server task entries in notes.ini:<br /><br />ServerTasks=Update,Replica,Router,AMgr,AdminP,CalConn,Sched<br />ServerTasksAt1=Catalog,Design<br />ServerTasksAt2=UpdAll<br />ServerTasksAt3=Object Info -Full<br />ServerTasksAt5=Statlog<br /><br />Each of these variables control the schedule for automatic server and database maintenance tasks. The first SeverTasks line denotes the services that are run when Domino starts while the other lines denote the scheduled server tasks. The time is entered in a 24-hour format, where 0 is 12:00 a.m. and 23 is 11:00 p.m. In the example above, Catalog and Design tasks would initiate at 1:00 a.m., and the Statlog task would initiate at 5:00 a.m.<br /><br />You can significantly improve performance by removing tasks that are not appropriate to the server. Consider the following suggestions to increase performance related to Lotus Domino server tasks.<br /><br />    * These tasks should be turned off when they are not in use:<br /><br />      Scheduling: Turn off this task if you are not using the server for scheduling and calendaring.<br /><br />      AMgr: Turn off this task if you are not using the server to run scheduled agents. Remember, this function is not required for WebQuery Agents.<br /><br />      Collector, Reporter: Turn off this task if you are not using the server to automatically track server statistics on a regular basis. You can collect them on demand.<br />    * Remove the Replicator (Replica) and Router tasks.<br /><br />      Both of these tasks can be removed if they are not being used on the server, because each of these tasks take up a fair amount of server resources when loaded. For example, if you have only one Lotus Domino server in your organization that is used for both applications and mail routing, you might not need the Replicator task, because you do not have any other servers from which to replicate (and because clients will be replicating from the Lotus Domino server, not vice versa).<br />    * Carefully choose the times when server tasks are run.<br /><br />      Daily server tasks should not be run when other server tasks are running or at times when there are a lot of users using the Lotus Domino server. This allows the maximum amount of server resources to be available for each server task that is currently executing and for user sessions. Examples of such server tasks are Design, Catalog, Statlog, and customized Notes API programs that need to be run only once a day.<br /><br /><br />The entries in ServerTasks have the following uses:<br /><br />ADMINP: The major Domino scheduler job running batch-like updates<br />AMGR: Domino Agent Manager; takes care of predefined agents<br />CALCONN: Connects the Domino calendar to other types of calendars<br />EVENT: Domino Event Handler<br />REPLICA: Domino database Replicator task<br />REPORT: Domino Report Generator (adding data to STATREP.NSF)<br />ROUTER: Domino Mail Routing task<br />SCHED: Domino Scheduler task<br />SERVER: The main Domino Server task<br />UPDATE: Updates the database indexes and views<br /><br />Tip: A very obvious but important lesson about server tasks and functions is that if your organizational requirements have no need for a particular function, do not run it on your server!<br /><br /><b>Domino database indexing: controlling the Update task</b><br /><br />The Update task is designed to run in the background and is intended to improve response time and performance by ensuring that when a user opens a database view, the user does not have to wait for it to be indexed.<br /><br />Note: Do not remove the Update task from a server. If you do so, the Public Address Book will not be updated.<br /><br />To improve view-indexing performance, you can run multiple Update tasks if your server has adequate CPU power. Doing this can affect server performance and is recommended primarily for multiprocessor machines. On a server with multiple processors, enable a maximum of one Update task per processor<br /><br />This is done within the notes.ini file by adding the line:<br /><br /><b>Updaters = [number of processors]</b><br /><br />Network performance (compression)<br /><br />Network compression is an important performance feature offered in Lotus Notes/Domino 6. When you enable network compression, data is automatically compressed before it is sent over the network. This improves network performance, especially over slower line speeds.<br /><br />Notes/Domino 6 network compression offers a number of immediate benefits. For example, by reducing the amount of data being transmitted, you can improve the performance of your routing and replicating hub servers, especially if they are currently laboring under heavy workloads. In addition, you can enable it by default, so all your users can take advantage of this functionality without having to select it themselves. Because network compression is a standard, out-of-the-box feature, it does not require any additional code, which helps simplify administration and requires fewer CPU resources to run.<br /><br />Note the following statistics about the benefits of network compression:<br /><br />    * A 35-52% reduction in data transferred from the server to client<br />    * A 26% reduction in data transferred from server to server<br /><br /><br />Modify the TCPIP line in the notes.ini file to enable network compression. The last parameter denotes compression:<br /><br />TCPIP = TCP,0,15,0,,12320<br /><br /><b>Setting maximum mail threads for local delivery</b><br /><br />The MailMaxDeliveryThreads setting determines the maximum number of threads the router can create to perform local mail delivery. The default number is 1. Increasing this value can improve message throughput for local deliveries. The ideal number usually falls in the range of 3 to 25, depending on the number of local deliveries on your Lotus Domino mail server.<br /><br />MailMaxDeliveryThreads = [number]<br /><br />Setting maximum mail transfer threads<br /><br />The MailMaxThreads setting determines the maximum number of concurrent processes that the mail router can create to perform it&#039;s mail transfers efficiently. The default setting is one thread per server port.<br /><br />MailMaxThreads = [number]<br /><br />Disabling per-user message caching by the IMAP task<br /><br />This setting disables per-user message caching by the IMAP task. It can improve the capacity of a server by reducing memory consumption. However, response time for some user operations might be slower. If this setting is omitted, IMAP per-user message caching will be enabled.<br /><br />To disable per-user message caching by the IMAP task, set the following value to 1:<br /><br />NoMsgCache = [0 or 1]<br /><br />Using Lotus Domino 6.5 database format<br /><br />Databases that you create in Lotus Domino 6.5 perform considerably better than databases created in previous releases: Database operations require less I/O and fewer CPU resources, view rebuilding and updating is quicker, and memory and disk space allocation is improved.<br /><br />Because of these performance improvements, limiting the size of the databases to improve database performance is less important than in past releases. The maximum database size for Lotus Domino 6.5 format databases is 64 GB.<br /><br />Defining the number of databases cached simultaneously<br /><br />If your server has sufficient memory, you can improve the performance of the server by increasing the number of databases that Lotus Domino can cache in memory at one time. To do so, use the NSF_DbCache_Maxentries statement in the NOTES.INI file. The default value is 25 or the NSF_Buffer_Pool_Size divided by 300 KB, whichever value is greater. The maximum number of databases that can be cached in memory is approximately 10,000. For short intervals, Lotus Domino will store up to 1.5 times the number entered for this variable.<br /><br />Monitor the Database.DbCache.Hits statistic on your server. This indicates the number of times a database open request was satisfied by finding the database in cache. A high value indicates database cache is working effectively. If the ratio of Database.DbCache.Hits to InitialDbOpen is low, you might consider increasing NSF_DbCache_Maxentries.<br /><br />To set the number of databases that a server can hold in its database cache at one time, set the NOTES.INI value as follows:<br /><br />NSF_DbCache_Maxentries = [number]<br /><br />In special circumstances, you might also want to disable the database caching. The database cache is enabled by default. To disable database caching, enter the following syntax on the Domino console:<br /><br />Dbcache disable<br /><br />The database cache keeps databases open. Use this command to disable the database cache when you need exclusive access to a file that might be in the database cache. For example, to run an application such as a virus checker or backup software, disable the cache. To re-enable the database cache, restart the server.<br /><br />Optimizing database index update<br /><br />In general, the fewer view indexes that the Indexer server task must update, the fewer server resources are used by this task. You can use the NOTES.INI variable Default_Index_Lifetime_Days to minimize the amount of effort required by the Indexer task when updating view indexes. The Default_Index_Lifetime_Days variable controls how long a view index is kept in a database before it is deleted due to non-use:<br /><br />Default_Index_Lifetime_Days = [number of days]<br /><br />Full-text indexes<br /><br />Disable the updating of full-text indexes on a server if you do not have any full-text indexed databases on your server (and do not intend to have any). The NOTES.INI variable Update_No_Fulltext can be used to disable all full-text index updating on the server. You might want to use this variable to disable the updating of full-text indexes if, for example, you do not want users to create full-text indexes on their mail files on a mail server in order to save disk space on that server and to save the Indexer task the time and resources of updating these full-text indexes. This is a very good setting for mail and replication hub servers, which in most circumstances do not have any user connections. The full-text index variable is:<br /><br /><b>Update_No_Fulltext = [0 or 1]</b><br /><br />Setting this value to 0 causes full-text indexes to be updated each time the Update task (a server command task) is executed, and setting the value to 1 disables all full-text indexing.<br /><br /><b>Maximum sessions<br /></b><br />When a new user attempts to log on, if the current number of sessions is greater than the value of Server_MaxSessions (in the NOTES.INI file), the Lotus Domino server closes the least recently used session. In order for a session to be considered for closing, it must have been inactive for at least one minute. For example, if this parameter is set to 100, and the 101st person tries to access the Lotus Domino server, the Lotus Domino server drops the least-used session from the server in favor of this new session.<br /><br />Note: Reducing the Server_MaxSessions value to a specific number will not prevent the server from allowing more than that number of concurrent active users on the server, but will drop the sessions soon after they become inactive. This frees up resources. Conversely, Domino will not close any session that has been idle for less than one minute regardless of the demand on the server.<br /><b><br />Controlling minimum mail poll time</b><br /><br />You can control the minimum allowable time in which Lotus Notes clients can poll for new mail. It is possible that your Lotus Domino server resources are being overtaxed by being constantly bombarded by requests for new mail from the Notes client machines if users have changed their default new mail notification check time from 15 minutes to a smaller number such as 2 or 5.<br /><br />You can control the minimum frequency of these requests from the server by using the MinNewMailPoll NOTES.INI variable. This variable determines the minimum allowable checking time from clients regardless of the value specified on the client machines. No default is set during server setup. The syntax of this variable is as follows:<br /><br /><b>MinNewMailPoll = [minutes]</b><br /><br />Setting up multiple replication tasks<br /><br />You can improve server replication performance by running multiple replicator tasks simultaneously. By default, only one replicator task is executed. With a single replicator task running, if you want to replicate with multiple servers at the same time, the first replication must complete before the next one can start. Set the number of replicators by adding the following entry in the NOTES.INI file, where the value is the number of replicators:<br /><b><br />Replicators = [number]</b><br /><br />All other factors aside, it is recommend that you set the number of replicator tasks equal to the number of spoke servers with which the hub replicates. However, you should not exceed 20 replicators to avoid putting too much load on the server. If the server you intended to replicate is not a hub server, the recommended number of replicators should equal the number of processors on the server.<br /><br /><a href="http://www.redbooks.ibm.com/abstracts/tips0421.html?Open" target="_blank" >http://www.redbooks.ibm.com/abstracts/t ... .html?Open</a>]]></description>
			<category>Domino</category>
			<guid isPermaLink="true">http://www.somethingsomewhere.net/index.php?entry=entry080919-142222</guid>
			<author>Nicolas Bellemand</author>
			<pubDate>Fri, 19 Sep 2008 12:22:22 GMT</pubDate>
			<comments>http://www.somethingsomewhere.net/comments.php?y=08&amp;m=09&amp;entry=entry080919-142222</comments>
		</item>
	</channel>
</rss>

