<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0">
<channel>
	<title>Sysload Maintenance and Housekeeping</title>
	<description>Sysload Maintenance and Housekeeping</description>
	<link>http://www.orsypforum.com/index.php</link>
	<pubDate>Mon, 06 Sep 2010 11:59:17 +0200</pubDate>
	<ttl>30</ttl>
	<item>
		<title>Solved : Management Server: Move Management Server from one host to another</title>
		<link>http://www.orsypforum.com/index.php?showtopic=801</link>
		<description><![CDATA[Maintenance on the production environment may require to move the Management Server product from one host to another.<br /><br />SP Analyst consoles, SP Portal and some SP Monitor modules communicate with the agents via the Management Server. Several console objects and enterprise models can be stored on the Management Server (SP Analyst users, the Enterprise Event Model, different workspaces, SP Portal agent classes and groups, time profiles…). Hence particular attention shall be taken when moving it.<br /><br /><br />REMARKS<br />---<br /><br />A Management Server is known in Sysload by its name, which is in general the name of the machine hosting the program. This name appears when displaying the Management Server window in SP Analyst console. Some console objects (charts and tables and workspaces, event models, entity models…) make a reference to that name when retrieving data from agent declared on a Management Server.<br /><br />When moving the Management Server from one host to another, the name of the host, and therefore of the Management Server, changes. <br /><br />It is possible though to keep the console object database and settings from one Management Server to another but a simple duplication won't be enough to have it ready to work again. A particular procedure is required to have the new name to be used by all existing objects having to send request to the agents. Two methods are available.<br /><br /><br />FIRST METHOD<br />---<br /><br />The first possible way to use the former Management Server database, is to force the new Management Server to use the same name as the previous one.<br /><br />Procedure:<br />- Install the program on the new server without starting the Communication Server and Management Server services.<br />- Copy the object database file, namely sld_objects_repository, located on the old server in the &#092;sldmgts&#092;daily_backup&#092; directory on the new server in the &#092;sldmgts&#092;storage&#092;sldat&#092; directory.<br />- Edit the &#092;sldmgts&#092;sldmgts.ini configuration file on the new server and modify the Name parameter with the old Management Server name.<br />- Start the Management Server and Communication Server services, using the Windows services management panel<br /><br /><br />SECOND METHOD<br />---<br /><br />The second method is not based on forcing the name of the Management Server. Therefore you will be working with the new Management Server name, meaning with the real Management Server host name. But updating the console objects will be mandatory.<br /><br />Procedure:<br />- Install the program on the new server without starting the Communication Server and Management Server services.<br />- Copy the object database file, namely sld_objects_repository, located on the old server in the &#092;sldmgts&#092;daily_backup&#092; directory on the new server in the &#092;sldmgts&#092;storage&#092;sldat&#092; directory.<br />- Start the Management Server and Communication Server services, using the Windows services management panel<br />- Open the Management Server window in SP Analyst console and connect to the new Management Server.<br />- Edit all of the Management Server objects making referece to agents (charts and tables in workspaces, event models, entity models…) and update the agents used within these objects, one by one.]]></description>
		<pubDate>Fri, 09 Oct 2009 17:03:43 +0200</pubDate>
		<guid>http://www.orsypforum.com/index.php?showtopic=801</guid>
	</item>
	<item>
		<title>Solved : Agent: Purge agent history top data</title>
		<link>http://www.orsypforum.com/index.php?showtopic=800</link>
		<description><![CDATA[PROCEDURE ON WINDOWS, UNIX AND LINUX<br />---<br /><br />The procedure is as follows:<br /><br />- Run the SP Analyst console.<br /><br />- Select the agents.<br /><br />- Select the menu Agents &gt; Define the &gt; Collector analysis parameters.<br /><br />- Select the first tab, 'Collector analysis parameters'.<br /><br />- Choose section 'Historical Tops'.<br /><br />- Choose the keyword 'Revolving historic'.<br /><br />- Set a value in number of days (keep the last n days).<br /><br />- Set the value '0' (zero) to keep data forever.<br /><br />- Click OK. Collector will restart.<br /><br />- Wait the next day.<br /><br />- Check in the Collector log file that the purge has been done. The purge will then be done every day.<br /><br /><br />REMARKS<br />---<br /><br />- The purge is done automatically at midnight every day (this is fixed in the source code).<br /><br />- The purge deletes the data in the history file, but leaves empty records. One therefore do not gain disk space by running the automatic purge on the history of tops (the objective of the purge is to have a file withs constant size).<br /><br />- A Sysload tool to manually purge history files exists (&lt;sysload&gt;/tools/sld_purge'), but the effect of this purge depends on the version of the agent:<br />  . Agent &lt;= 5.00x: Same as for automatic purge, no disk space is gained. The only method to gain disk space is by deleting the history files '*-top.dat' and '*-top.idx'. Stop Collector and File Server before doing so.<br />  . Agent &gt;= 5.10: The purge can be used to gain disk space by purging old data. Proceed as for purging history files of acvity but on the '-top' files. See specific FAQ.]]></description>
		<pubDate>Fri, 09 Oct 2009 17:01:10 +0200</pubDate>
		<guid>http://www.orsypforum.com/index.php?showtopic=800</guid>
	</item>
	<item>
		<title>Solved : Token Server: Move Token Server from one host to another</title>
		<link>http://www.orsypforum.com/index.php?showtopic=799</link>
		<description><![CDATA[Maintenance on the production environment may require to move the Token Server product from one host to another.<br /><br />Token Server is a central component that is accessed by several Sysload programs and hence particular attention shall be taken when moving it.<br /><br /><br />REMARKS<br />---<br /><br />Token Server is protected by the license file that was originally set in place during the initial setup of Token Server. Hence if the IP address of the new server is different to the one of the former one, then a new license file is necessary. Contact Orsyp in order to do so.<br /><br />Agents, SP Analyst consoles and SP Portal are clients to Token Server. The configuration of those clients may require to be updated in order to contact Token Server on the new host.<br /><br />A Token Server working as a gateway does not have a license file. Not all the information indicated hereafter then applies.<br /><br />There may be firewalls between Token Server and its clients, and/or between the master Token Server and the Token Server gateways. In this case firewall security policies may require to be updated.<br /><br /><br />PROCEDURE WHEN THE IP ADDRESS REMAINS THE SAME<br />---<br /><br />If the IP address of the former Token Server host is transfered to the new host, then the procedure is as indicated below.<br /><br />Start Token Server:<br />- Install Token Server on the new host.<br />- Stop Token Server on the former host.<br />- Copy the file '&lt;sysload&gt;/sldtkd/sldtkd.dat' from the former host to the new one.<br />- Start Token Server on the new host.<br />- Check the new Token Server is operational with the Token Server web interface:<br />  . Open a web browser.<br />  . Go to address 'http://&lt;new host id&gt;:9557'.<br />  . Click Token Status.<br />  . Check that the agents that were given Tokens by the former Token Server are known by the new Token Server (subscribed agents).<br /><br /><br />Make Token Server clients point to the new Token Server host:<br />- If the clients were contacting the Token Server host by its IP address and as the IP address stays the same, then there is no action to take.<br />- If the clients were contacting the Token Server host by its hostname and if the hostname stays the same there there is no action to take.<br />- If the clients were contacting the Token Server host by its hostname and if the hostname changes, then change the DNS entry for the Token Server host and change the Tokens Server host hostname in the configuration files of the Token Server clients.<br /><br /><br />PROCEDURE WHEN THE IP ADDRESS CHANGES<br />---<br /><br />If the IP address of the new host is different than the one of the former host, then the procedure is as indicated below.<br /><br />Start Token Server:<br />- Obtain a new license file ('sldtkd.lic') from your sales representative.<br />- Install Token Server on the new host. Set it up with the license file newly received.<br />- Check the Token Server web interface:<br />  . Open a web browser.<br />  . Go to address 'http://&lt;new host id&gt;:9557'.<br />  . Click Token Status.<br />  . Check that the stock of tokens in the section Token info (the column used count should be 0 (zero)).<br />- Stop Token Server on the former host.<br />- (From this point onward, agent Collector programs will continue running for the duration of the grace period. Do make clients point to the new Token Server ASAP.)<br /><br />Make Token Server clients point to the new Token Server host:<br />- For the agents this may be done via the SP Analyst console:<br />  . Right mouse button on an agent.<br />  . Select the menu item Define the &gt; Collector analysis parameters.<br />  . Select the tab Collector analysis parameters.<br />  . Select the section Token Server.<br />  . Set host to the new host ID.<br />  . Click Apply (eventually apply to many agents).<br />  . (The agent Collector program will be restarted.)<br />- For SP Analyst console this is done by editing the configuration file of the console:<br />  . Go the SP Analyst console machine(s).<br />  . Edit the file '&lt;sysload&gt;&#092;console&#092;sld.ini'.<br />  . Set the parameter 'masterip' in the section 'SLDTK' to the host ID.<br />  . Start the console to check it can obtain a token from the new host.<br />- For the SP Portal Sldppcoll program this is done by editing its configuration file:<br />  . Go the the server hosting SP Portal.<br />  . Edit the file '&lt;spportal&gt;&#092;sldppcoll&#092;sldppcoll.ini'<br />  . Set the parameter 'masterip' in the section 'SLDTK' to the host ID.]]></description>
		<pubDate>Fri, 09 Oct 2009 16:54:39 +0200</pubDate>
		<guid>http://www.orsypforum.com/index.php?showtopic=799</guid>
	</item>
	<item>
		<title>Solved : Agent: Rename the hostname written in Sysload history files</title>
		<link>http://www.orsypforum.com/index.php?showtopic=798</link>
		<description><![CDATA[The hostname of the machine is written in the history files of Sysload agents (history of activities, history of alerts).<br /><br />When renaming the machine, the name in the history files must be renamed.<br /><br />The rename tool exists on Windows and Unix agents.<br /><br />Hereafter '&lt;sysload&gt;' refers to the Sysload installation directory.<br /><br /><br />PROCEDURE ON UNIX<br />---<br /><br />The procedure is as follows:<br /><br />- Open a command prompt.<br /><br />- Make sure Collector and File Server are not running, run the following commands:<br />  . '&lt;sysload&gt;/coll/conf/sldrmd stop'<br />  . '&lt;sysload&gt;/coll/conf/sldfsd stop'<br /><br />- When applicable, stop Oracle Collector:<br />  . '&lt;sysload&gt;/coll/conf/sldord stop'<br /><br />- Check there are no remaining processes returned by the following commands:<br />  . 'ps -ae | grep sldrm'<br />  . 'ps -ae | grep sldfs'<br /><br />- When applicable:<br />  . 'ps -ae | grep sldor'<br /><br />- Go to the '&lt;sysload&gt;/tools' directory.<br /><br />- Run the following command:<br />  . '&lt;sysload&gt;/tools/sld_rename -hst_file &lt;sysload&gt;/&lt;old hostname&gt;_hst -new_node &lt;new hostname&gt;'<br />  . Example:<br />    . '/opt/sysload/tools/sld_rename -hst_file /opt/sysload/moon_hst -new_node sun'<br /><br />- Start Collector:<br />  . '&lt;sysload&gt;/coll/conf/sldrmd start'<br /><br />- When applicable, start Oracle Collector:<br />  . '&lt;sysload&gt;/coll/conf/sldord start'<br /><br />- Check that it starts successfully by looking at Collector log file ('&lt;sysload&gt;/coll/conf/sldrmd.log').<br /><br />- Start File Server:<br />  . 'sldfsd start'<br /><br /><br />PROCEDURE ON WINDOWS<br />---<br /><br />The procedure is as follows:<br /><br />- Make sure Collector and File Server are not running, stop the following services with the Windows Services panel:<br />  . Sysload Collector<br />  . Sysload File Server<br /><br />- When applicable, stop Oracle Collector service:<br />  . Sysload Oracle Collector<br /><br />- Check there are no remaining processes with Windows Task Manager:<br />  . Sldrm*<br />  . Sldfs*<br />  . Sldor*<br /><br />- Open a command prompt.<br /><br />- Go to the &lt;sysload&gt; directory.<br /><br />- Go to the 'tools' directory.<br /><br />- Run the following command to process the history files of activities:<br />  . Sld_rename.exe -hst_file &lt;sysload&gt;&#092;History&#092;Activity -new_node &lt;new hostname&gt;<br />  . Example:<br />    . Sld_rename -hst_file "C:&#092;Program Files&#092;Sysload&#092;History&#092;Activity" -new_node sun<br /><br />- Run the following command to process the history files of alerts<br />  . Sld_rename.exe -hst_file &lt;sysload&gt;&#092;History&#092;Alert -new_node &lt;new hostname&gt;<br />  . Example:<br />    . Sld_rename -hst_file "C:&#092;Program Files&#092;Sysload&#092;History&#092;Alert" -new_node sun<br /><br />- Start Collector by starting the following service:<br />  . Sysload Collector<br /><br />- When applicable, start Oracle Collector:<br />  . Sldord start<br /><br />- Check that Collector starts successfully by looking at Collector log file ('&lt;sysload&gt;&#092;sldrmd&#092;sldrmd.log').<br /><br />- When applicable, check that Oracle Collector starts successfully by looking at Collector log file ('&lt;sysload&gt;&#092;sldord&#092;sldord.log').<br /><br />- Start File Server by starting the following service:<br />  . Sysload File Server<br /><br /><br />REMARKS<br />---<br /><br />The history files of Tops do not make any reference to the hostname, no need to run the 'sld_rename' on them.<br /><br />When refering to the history files, do not write the file exentions (.dat, .idx).<br /><br />On Unix, it is also recommended to rename the name of the history files according to the new name (Unix command 'mv'). This will maintain the coherence between the name of the history file and the name written in the history file. But then, it is also necessary to change the value of the variable 'node' in the Sysload script '&lt;sysload&gt;/coll/conf/sldrmd'.]]></description>
		<pubDate>Fri, 09 Oct 2009 16:51:52 +0200</pubDate>
		<guid>http://www.orsypforum.com/index.php?showtopic=798</guid>
	</item>
	<item>
		<title>Solved : Agent: Rebuild agent history files</title>
		<link>http://www.orsypforum.com/index.php?showtopic=797</link>
		<description><![CDATA[INTRODUCTION<br />---<br /><br />- History files of Unix OS agent:<br />  . History of activities:<br />    . &lt;sysload&gt;/&lt;hostname&gt;_hst.dat<br />    . &lt;sysload&gt;/&lt;hostname&gt;_hst.idx<br />  . History of tops:<br />    . &lt;sysload&gt;/&lt;hostname&gt;_hst-top.dat<br />    . &lt;sysload&gt;/&lt;hostname&gt;_hst-top.idx<br />  . History of alerts:<br />    . &lt;sysload&gt;/&lt;hostname&gt;_hstevnt.dat<br />    . &lt;sysload&gt;/&lt;hostname&gt;_hstevnt.idx<br /><br />- History files of Windows OS agent:<br />  . History of activities:<br />    . &lt;sysload&gt;&#092;history&#092;activity.dat<br />    . &lt;sysload&gt;&#092;history&#092;activity.idx<br />  . History of tops:<br />    . &lt;sysload&gt;&#092;history&#092;activity-top.dat<br />    . &lt;sysload&gt;&#092;history&#092;activity-top.idx<br />  . History of alerts:<br />    . &lt;sysload&gt;&#092;history&#092;alert.dat<br />    . &lt;sysload&gt;&#092;history&#092;alert.idx<br /><br /><br />PROCEDURE ON UNIX AND LINUX<br />---<br /><br />The procedure is as follows:<br /><br />- Stop Collector, do this by running the following commands:<br />  . &lt;sysload&gt;/coll/conf/sldrmd stop<br /><br />- Check there are no remaining processes returned by the following command:<br />  . ps -ae | grep sldrm<br /><br />- Stop File Server, do this by running the following commands:<br />  . &lt;sysload&gt;/coll/conf/sldfsd stop<br /><br />- Check there are no remaining processes returned by the following command:<br />  . ps -ae | grep sldfs<br /><br />- When applicable, stop the database or application Collector and check they no longer run.<br /><br />- When applicable, delete former backup files.<br /><br />- Run the following command:<br />  . &lt;sysload&gt;/tools/sld_rebuild -hst_file &lt;sysload&gt;/&lt;file basename&gt; [ -save_file &lt;path to a temporary directory&gt;/&lt;backup basename&gt; ]<br />  . Note that when parameter '-save_file' is not set, a default path is given by the program (same directory, suffix '_save' added to file basenames).<br /><br />- Check the rebuild was successful by looking at the rebuild log file (file '&lt;sysload&gt;/tools/sldrebuild.log').<br /><br />- Start Sysload Collector and File Server.<br />  . &lt;sysload&gt;/coll/conf/sldrmd start<br />  . &lt;sysload&gt;/coll/conf/sldfsd start<br /><br />- Possibly delete the backup files.<br /><br /><br />EXAMPLES ON UNIX<br />---<br /><br />Rebuild history files of activities, take default path for backup files:<br />- opt/sysload/tools/sld_rebuild -hst_file opt/sysload/moon_hst<br /><br />Rebuild history files of alerts, force backup file to be stored in '/tmp':<br />- opt/sysload/tools/sld_rebuild -hst_file opt/sysload/moon_hstevnt -save_file /tmp/moon_hstevnt<br /><br />Rebuild history files of tops:<br />- opt/sysload/tools/sld_rebuild -hst_file opt/sysload/moon_hst-top<br /><br /><br />PROCEDURE ON WINDOWS<br />---<br /><br />The procedure is as follows:<br /><br />- Stop Sysload Collector:<br />  . This can be done by stopping the following service from the Windows Services panel:<br />    . Sysload Collector<br />  . This can be done by running the following system command:<br />    . net stop "Sysload Collector"<br /><br />- Stop Sysload File Server:<br />  . This can be done by stopping the following service from the Windows Services panel:<br />    . Sysload FileServer<br />  . This can be done by running the following system command:<br />    . net stop "Sysload FileServer"<br /><br />- When applicable, stop the database or application Collector and check they no longer run.<br /><br />- When applicable, delete former backup files.<br /><br />- Run the following command:<br />  . &lt;sysload&gt;&#092;tools&#092;sld_rebuild.exe -hst_file &lt;path to history file&gt; [ -save_file  &lt;path to save file&gt; ]<br />  . Note that when parameter '-save_file' is not set, a default path is given by the program (same directory, suffix '_save' added to file basenames).<br /><br />- Start Sysload Collector.<br />  . This can be done by starting the following service from the Windows Services panel:<br />    . Sysload Collector<br />  . This can be done by running the following system command:<br />    . net start "Sysload Collector"<br /><br />- Start Sysload File Server.<br />  . This can be done by starting the following service from the Windows Services panel:<br />    . Sysload Collector<br />  . This can be done by running the following system command:<br />    . net start "Sysload Collector"<br /><br />- Possibly delete the backup files.<br /><br /><br />EXAMPLES ON WINDOWS<br />---<br /><br />Rebuild history files of activities:<br />- "C:&#092;Program Files&#092;Sysload&#092;Tools&#092;sld_rebuild.exe" -hst_file "C:&#092;Program Files&#092;Sysload&#092;history&#092;activity"<br /><br />Rebuild history file of alerts.<br />- "C:&#092;Program Files&#092;Sysload&#092;Tools&#092;sld_rebuild.exe" -hst_file "C:&#092;Program Files&#092;Sysload&#092;history&#092;alert"<br /><br />Rebuild history file of top.<br />- "C:&#092;Program Files&#092;Sysload&#092;Tools&#092;sld_rebuild.exe" -hst_file "C:&#092;Program Files&#092;Sysload&#092;history&#092;activity-top"<br /><br /><br />REMARKS<br />---<br /><br />The Rebuild is installed by the installation program for the Operating System. Nevertheless it can be used to also rebuild the history file of a database or application agent running on the same machine.<br /><br />The Rebuild can be used to re-create the index file from the data file in case the index file was deleted.<br /><br />The Rebuild can be used to rebuild a history file made by a smaller version of Collector (e.g. Rebuild 5.00 okay for a history file 4.81.)<br /><br />The Rebuild must be used on the same machine as the one where Collector is running. It is not recommended to copy the history file from a machine A and rebuild it on a machine B. Or when doing it, ensure it is done on the same operating system-type.]]></description>
		<pubDate>Fri, 09 Oct 2009 16:48:24 +0200</pubDate>
		<guid>http://www.orsypforum.com/index.php?showtopic=797</guid>
	</item>
	<item>
		<title>Solved : Agent: Purge agent history activity data on instances</title>
		<link>http://www.orsypforum.com/index.php?showtopic=796</link>
		<description><![CDATA[The whole data can be purged from history files of activities for specific instances of domains with instance.<br /><br /><br />PROCEDURE ON WINDOWS<br />---<br /><br />The procedure is as follows:<br /><br />- Stop Sysload Collector:<br />  . This can be done by stopping the following service from the Windows Services panel:<br />    . Sysload Collector<br />  . This can be done by running the following system command:<br />    . Net stop "Sysload Collector"<br /><br />- Stop Sysload File Server:<br />  . This can be done by stopping the following service from the Windows Services panel:<br />    . Sysload FileServer<br />  . This can be done by running the following system command:<br />    . Net stop "Sysload FileServer"<br /><br />- Run the following command:<br />  . &lt;sysload&gt;/tools/sld_purge.exe -by_entity -hst_file &lt;history file basename&gt; -save_file &lt;backup basename&gt;<br />  . Examples:<br />    . "C:&#092;Program Files&#092;Sysload&#092;tools&#092;sld_purge.exe" -by_entity -hst_file "C:&#092;Program Files&#092;Sysload&#092;History&#092;actvity"<br /><br />- Answer the questions.<br /><br />- Start Sysload Collector.<br />  . This can be done by starting the following service from the Windows Services panel:<br />    . Sysload Collector<br />  . This can be done by running the following system command:<br />    . Net start "Sysload Collector"<br /><br />- Start Sysload File Server.<br />  . This can be done by starting the following service from the Windows Services panel:<br />    . Sysload Collector<br />  . This can be done by running the following system command:<br />    . Net start "Sysload Collector"<br /><br />- Check that elements are purged.<br /><br />- Possiblly delete the backup files.<br /><br /><br />PROCEDURE ON UNIX AND LINUX<br />---<br /><br />The procedure is as follows:<br /><br />- Stop Collector and File Server, do this by running the following commands:<br />  . &lt;sysload&gt;/coll/confsldrmd stop<br />  . &lt;sysload&gt;/coll/confsldfsd stop<br /><br />- Run the following command:<br />  . &lt;sysload&gt;/tools/sld_purge.exe -by_entity -hst_file &lt;history file basename&gt; -save_file &lt;backup basename&gt;<br />  . Examples:<br />    . /opt/sysload/sysload/tools/sld_purge.exe -by_entity -hst_file /opt/sysload/sysload/moon_hst<br /><br />- Answer the questions.<br /><br />- Check that elements are purged.<br /><br />- Possiblly delete the backup files.<br /><br /><br />REMARKS<br />---<br /><br />Backup files are created by default. The parameter 'save_file' is optional.<br /><br />As the program asks questions interactively, it cannot be run as a scheduled task.<br /><br />The whole data for specified instances are deleted, it is not possible to apply a date filter.<br /><br />If nothing is to be purged in a domain, just press 'enter' when asked.<br /><br />To purge something in the domain that is indicated, enter a regular expression describing the names of the instances to delete.<br /><br />Examples:<br />- Delete information on all disks:<br />  . Put '.*' when asked the question about disks.<br />  . Press 'enter' on all the other domains.<br />- Delete information on entities of type Application 'Oracle' and 'Sara':<br />  . Put '^Oracle$|^Sara$' when asked the question about applictions.<br />  . Press 'enter' on all the other domains.<br /><br />The test to confirm that instances have been deleted is trying to do a history chart. Deleted instances no longer appear.]]></description>
		<pubDate>Fri, 09 Oct 2009 16:43:50 +0200</pubDate>
		<guid>http://www.orsypforum.com/index.php?showtopic=796</guid>
	</item>
	<item>
		<title>Solved : Agent: Purge agent history activity data and alert data</title>
		<link>http://www.orsypforum.com/index.php?showtopic=795</link>
		<description><![CDATA[PROCEDURE ON WINDOWS<br />---<br /><br />The procedure is as follows:<br /><br />- Stop Sysload Collector:<br />  . This can be done by stopping the following service from the Windows Services panel:<br />    . Sysload Collector<br />  . This can be done by running the following system command:<br />    . Net stop "Sysload Collector"<br /><br />- When applicable stop the database or application Collector.<br /><br />- Stop Sysload File Server:<br />  . This can be done by stopping the following service from the Windows Services panel:<br />    . Sysload FileServer<br />  . This can be done by running the following system command:<br />    . Net stop "Sysload FileServer"<br /><br />- When applicable, delete former backup files.<br /><br />- Run one of the following command:<br />  . &lt;sysload&gt;/tools/sld_purge.exe -hst_file &lt;history file basename&gt; -save_file &lt;backup file basename&gt; -keep_days &lt;no. Of days to keep&gt;<br />  . &lt;sysload&gt;/tools/sld_purge.exe -hst_file &lt;history file basename&gt; -save_file &lt;backup file basename&gt; -begin_date &lt;YYYY-MM-DD&gt; -end_date &lt;YYYY-MM-DD&gt;<br />  . Examples:<br />    . Keep the data of last 365 days:<br />      . "C:&#092;Program Files&#092;Sysload&#092;tools&#092;sld_purge.exe" -hst_file "C:&#092;Program Files&#092;Sysload&#092;History&#092;actvity" -keep_days 365<br />    . Delete the data of November 2006<br />      . "C:&#092;Program Files&#092;Sysload&#092;tools&#092;sld_purge.exe" -hst_file "C:&#092;Program Files&#092;Sysload&#092;History&#092;actvity" -begin_date 2006-11-01 -end_date 2006-11-30<br /><br />- Start Sysload Collector.<br />  . This can be done by starting the following service from the Windows Services panel:<br />    . Sysload Collector<br />  . This can be done by running the following system command:<br />    . Net start "Sysload Collector"<br /><br />- Start Sysload File Server.<br />  . This can be done by starting the following service from the Windows Services panel:<br />    . Sysload Collector<br />  . This can be done by running the following system command:<br />    . Net start "Sysload Collector"<br /><br /><br />EXAMPLE ON WINDOWS<br />---<br /><br />@echo off<br />rem Dos script to launch Sysload purge<br />rem Script version 1.00 (2 Feb. 2006)<br /><br />set history_dir=c:&#092;program files&#092;sysload&#092;history<br />set tools_dir=c:&#092;program files&#092;sysload&#092;tools<br />set no_days=365<br /><br />rem This script deals with history files of Sysload OS agents only, application and database agents would also need to be dealt with<br /><br />rem Delete previous history backup files<br /><br />del "%history_dir%&#092;activity_save.dat"<br />del "%history_dir%&#092;activity_save.idx"<br /><br />del "%history_dir%&#092;alert_save.dat"<br />del "%history_dir%&#092;alert_save.idx"<br /><br />rem Stop Sysload Collector and File Server<br /><br />net stop "Sysload Collector"<br />net stop "Sysload FileServer"<br /><br />rem Purge history of activities<br /><br />"%tools_dir%&#092;sld_purge.exe" -hst_file "%history_dir%&#092;activity" -keep_days %no_days%<br /><br />rem Purge history of alerts<br /><br />"%tools_dir%&#092;sld_purge.exe" -hst_file "%history_dir%&#092;alert" -keep_days %no_days%<br /><br />rem Start Sysload Collector and File Server<br /><br />net start "Sysload Collector"<br />net start "Sysload FileServer"<br /><br /><br />PROCEDURE ON UNIX AND LINUX<br />---<br /><br />The procedure is as follows:<br /><br />- Stop Collector and File Server, do this by running the following commands:<br />  . &lt;sysload&gt;/coll/conf/sldrmd stop<br />  . &lt;sysload&gt;/coll/conf/sldfsd stop<br /><br />- When applicable, stop the database or application Collector.<br /><br />- When applicable, delete former backup files.<br /><br />- Run one of the following command:<br />  . &lt;sysload&gt;/tools/sld_purge.exe -hst_file &lt;sysload&gt;/&lt;history file basename&gt; -save_file &lt;sysload&gt;/&lt;backup basename&gt; -keep_days &lt;no. of days to keep&gt;<br />  . &lt;sysload&gt;/tools/sld_purge.exe -hst_file &lt;sysload&gt;/&lt;history file basename&gt; -save_file &lt;sysload&gt;/&lt;backup basename&gt; -begin_date &lt;YYYY-MM-DD&gt; -end_date &lt;YYYY-MM-DD&gt;<br />  . Examples:<br />    . Keep the data of last 365 days:<br />      . /opt/sysload/tools/sld_purge.exe -hst_file /opt/sysload/sysload/moon_hst -keep_days 365<br />    . Delete the data of November 2006<br />      . /opt/sysload/tools/sld_purge.exe -hst_file /opt/sysload/sysload/moon_hst -begin_date 2006-11-01 -end_date 2006-11-30<br /><br />- Check that things are purged.<br /><br />- Possibly delete the backup files.]]></description>
		<pubDate>Fri, 09 Oct 2009 16:38:53 +0200</pubDate>
		<guid>http://www.orsypforum.com/index.php?showtopic=795</guid>
	</item>
	<item>
		<title>Solved : Backup SP Portal data and configuration files</title>
		<link>http://www.orsypforum.com/index.php?showtopic=794</link>
		<description><![CDATA[SP Portal is essential to capacity management. It is hence recommended to integrate SP Portal data into standard backup procedures.<br /><br /><br />PROCEDURE<br />---<br /><br />The backup procedure is as follows:<br /><br />- Databases:<br />  . The databases are 'sld_rawdata' and 'sld_perfportal'.<br />  . These are third-party, refer to the standard procedure recommended by the manufacturer.<br />  . Note the databases can be rebuilt from the history files of the Sysload agents, hence the databases of SP Portal may be ignored from backup procedures.<br /><br />- Configuration files:<br />  . Backup the configuration files listed in a specific FAQ on SP Portal.<br /><br />- Management Server:<br />  . Sysload Management Server is essential to SP Portal as it contains information regarding servers and groups of servers for SP Portal.<br />  . Backup the files listed in a specific FAQ on Sysload Management Server.]]></description>
		<pubDate>Fri, 09 Oct 2009 16:32:53 +0200</pubDate>
		<guid>http://www.orsypforum.com/index.php?showtopic=794</guid>
	</item>
	<item>
		<title>Solved : Backup token server data and configuration files</title>
		<link>http://www.orsypforum.com/index.php?showtopic=793</link>
		<description><![CDATA[The data to backup is the file containing the list of programs that are consuming licenses.<br /><br /><br />PROCEDURE ON WINDOWS<br />---<br /><br />The procedure is as follows:<br /><br />- Stop Token Server.<br />  . This can be done by stopping the following service from the Windows Services panel:<br />    . Sysload TokenServer<br />  . This can be done by running the following command:<br />    . Net stop "Sysload TokenServer"<br /><br />- Backup the following data file:<br />  . &lt;sysload&gt;&#092;sldtkd&#092;sldtkd.dat<br /> <br />- Backup the following configuration file:<br />  . &lt;sysload&gt;&#092;sldtkd&#092;sldtkd.ini<br /><br />- Start Token Server.<br />  . This can be done by starting the following service from the Windows Services panel:<br />    . Sysload TokenServer<br />  . This can be done by running the following command:<br />    . Net start "Sysload TokenServer"<br /><br /><br />PROCEDURE ON UNIX<br />---<br /><br />The procedure is as follows:<br /><br />- Stop Token Server.<br />  . This is done by running the following command:<br />    . &lt;sysload&gt;/sldtkd/sldtkd stop<br /><br />- Backup the following data file:<br />  . &lt;sysload&gt;/sldtkd/sldtkd.dat<br /> <br />- Backup the following configuration file:<br />  . &lt;sysload&gt;/sldtkd/sldtkd.ini<br /><br />- Start Token Server.<br />  . This is done by running the following command:<br />    . &lt;sysload&gt;/sldtkd/sldtkd start]]></description>
		<pubDate>Fri, 09 Oct 2009 16:31:29 +0200</pubDate>
		<guid>http://www.orsypforum.com/index.php?showtopic=793</guid>
	</item>
	<item>
		<title>Solved : Backup management server data and configuration files</title>
		<link>http://www.orsypforum.com/index.php?showtopic=792</link>
		<description><![CDATA[The Management server is a critical element in the Sysload infrastructure.<br /><br />It is recommended to regularly backup the configuration files and the data.<br /><br />The procedure to backup the data depends whether the repository is held in a file or on SQL Server.<br /><br /><br />PROCEDURE ON WINDOWS<br />---<br /><br />The backup procedure is as follows:<br />- Backup the configuration files:<br />  . '&lt;sysload&gt;&#092;sldcs&#092;sldcs.ini'.<br />  . '&lt;sysload&gt;&#092;sldmgts&#092;sldmgts.ini'.<br />- Backup the data:<br />  . If the repository is in the native Sysload format:<br />    . Backup the file '&lt;sysload&gt;&#092;sldmgts&#092;storage&#092;daily_backup&#092;sld_objects_repository' (by default).<br />    . This file is the backup of the online file, made the previous night (by default).<br />  . If the data is on SQL Server:<br />    . Refer to the standard SQL Server backup procedure.<br /><br />The restore procedure is as follows:<br />- Stop management server.<br />- Stop communication server.<br />- Restore the configuration files back to their original location.<br />- Restore the data:<br />  . If the repository is in the native Sysload format:<br />    . Restore the data file to the directory '&lt;sysload&gt;&#092;sldmgts&#092;storage&#092;sldat' (by default).<br />  . If the data is on SQL Server:<br />    . Refer to the standard SQL Server restore procedure.<br />- Start communication server.<br />- Start management server.<br /><br /><br />PROCEDURE ON LINUX<br />---<br /><br />The backup procedure is as follows:<br />- Backup the configuration files:<br />  . '&lt;sysload&gt;/sldcs/sldcs.ini'.<br />  . '&lt;sysload&gt;/sldmgts/sldmgts.ini'.<br />- Backup the data:<br />    . Backup the file '&lt;sysload&gt;/sldmgts/storage/daily_backup/sld_objects_repository' (by default).<br /><br />The restore procedure is as follows:<br />- Stop management server.<br />- Stop communication server.<br />- Restore the configuration files back to their original location.<br />- Restore the data file back to the directory '&lt;sysload&gt;/sldmgts/storage/sldat' (by default).<br />- Start communication server.<br />- Start management server.]]></description>
		<pubDate>Fri, 09 Oct 2009 15:12:50 +0200</pubDate>
		<guid>http://www.orsypforum.com/index.php?showtopic=792</guid>
	</item>
	<item>
		<title>Solved : Backup the agent for Windows data and configuration</title>
		<link>http://www.orsypforum.com/index.php?showtopic=790</link>
		<description><![CDATA[PROCEDURE<br />---<br /><br />The procedure to backup data is as follows:<br /><br />- Stop Sysload Collector:<br />  . This can be done by stopping the following service from the Windows Services panel:<br />    . Sysload Collector<br />  . This can be done by running the following system command:<br />    . Net stop "Sysload Collector"<br /><br />- Stop Sysload File Server:<br />  . This can be done by stopping the following service from the Windows Services panel:<br />    . Sysload FileServer<br />  . This can be done by running the following system command:<br />    . Net stop "Sysload FileServer"<br /><br />- Backup the database files.<br /><br />- When applicable (token lease mode activated), backup the lease file.<br /><br />- Backup the Collector configuration files.<br /><br />- Backup the File Server configuration files.<br /><br />- When applicable, backup the Script Monitor configuration files.<br /><br />- When applicable, backup the Log Analyzer configuration files.<br /><br />- Start Sysload Collector.<br />  . This can be done by starting the following service from the Windows Services panel:<br />    . Sysload Collector<br />  . This can be done by running the following system command:<br />    . Net start "Sysload Collector"<br /><br />- Start Sysload File Server.<br />  . This can be done by starting the following service from the Windows Services panel:<br />    . Sysload Collector<br />  . This can be done by running the following system command:<br />    . Net start "Sysload Collector"<br /><br /><br />REMARK<br />---<br /> <br />In order to be useful when restored, the period between 2 backups of the lease file should be smaller than the grace period defined in the license file.]]></description>
		<pubDate>Fri, 09 Oct 2009 15:11:08 +0200</pubDate>
		<guid>http://www.orsypforum.com/index.php?showtopic=790</guid>
	</item>
</channel>
</rss>