LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (http://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Want to remove unwanted Server Names from appearing on SunExplorer Lisa Site (http://www.linuxquestions.org/questions/solaris-opensolaris-20/want-to-remove-unwanted-server-names-from-appearing-on-sunexplorer-lisa-site-4175488276/)

manalisharmabe 12-17-2013 06:53 AM

Want to remove unwanted Server Names from appearing on SunExplorer Lisa Site
 
Hi Guys,

I have Sunxplorer configured on some SUN machines.
Their data is getting uploaded to LISA every week.

But I need to remove/prevent other Server entry from apprearing on Lisa Web page.

I need to check which entry do I need to edit to remove those server name appearing on LISA web page.

jlliagre 12-17-2013 07:30 AM

Here is lisa documentation. You should find everything you look for in it:
http://www.4lisa.info/LISA/index.php?Sida=Doc

manalisharmabe 12-23-2013 02:18 AM

Quote:

Originally Posted by jlliagre (Post 5082250)
Here is lisa documentation. You should find everything you look for in it:
http://www.4lisa.info/LISA/index.php?Sida=Doc

Hi jlliagre,

Thanks for the pdf it is really good to know stuffs realted to Lisa.

However I still not able to find where, exactly where I need to edit so that some Server nams I can prevent from apprearing on that web page.

I went tinto admin page on Lisa , where I clicked on rebiuld entire page by entering required password , but it just refresehes the page I was not able to see any Server Hostname list.

I also tried this

Code:

/usr/local/bin/sudo /usr/bin/find /opt/lisa/SAlocexp -type f -exec grep -l "server31"  {} +
here server31 is the one I need to remove from list . but it just showed below entries:-

Code:

10.161.77.80mainserver - [25/Apr/2013:13:21:32 +0000] "GET /icons/comm2.css HTTP/1.1" 304 0 "http://mainserver/locexp/server31_8620e85c/info.html" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1)"
10.253.225.99 mainserver - [29/Oct/2013:16:53:27 +0000] "GET /locexp/server31_8620e85c/explorer.8620e85c.server31-2013.04.05.09.44/ HTTP/1.1" 200 6009 "http://mainserver/locexp/" "Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0"
10.253.225.99 mainserver - [29/Oct/2013:16:54:51 +0000] "GET /locexp/server31_8620e85c/explorer.8620e85c.server31-2013.04.05.09.44/patchdiag.html HTTP/1.1" 200 1079109 "http://mainserver/locexp/server31_8620e85c/explorer.8620e85c.server31-2013.04.05.09.44/" "Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0"
10.253.225.99 mainserver - [29/Oct/2013:18:31:26 +0000] "GET /locexp/server31_8620e85c/explorer.8620e85c.server31-2013.04.05.09.44/ HTTP/1.1" 200 6009 "http://mainserver/locexp/" "Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0"

This is what set in crontab:-
Code:

00 02 * * 1  /usr/local/bin/sudo /opt/SUNWexplo/bin/explorer -P -q # SUNWexplo
45 02 * * *    /usr/local/bin/sudo  find /opt/SUNWexplo/output/ -name  "explorer*`uname -n`*" -exec chmod -R 755 {} \;
59 03 * * 1  /usr/5bin/scp -q /opt/SUNWexplo/output/*.tar.gz mainserver:/opt/lisa/explorers/
35 10 * * *  /usr/5bin/scp -q /opt/SUNWexplo/output/*.tar.gz mainserver:/opt/lisa/explorers/
52 08 * * 1  /usr/local/bin/sudo -u locexp /opt/lisa/SAlocexp/verwerk_explorers >>  /opt/lisa/cronlog/cron.ouput 2>&1
15 15 * * *  /usr/local/bin/sudo -u locexp /opt/lisa/SAlocexp/verwerk_explorers  >> /opt/lisa/cronlog/cron.ouput 2>&1
sysmgr@mainserver ~>>

This is what shows in my below directory:-

Code:

-bash-3.00$ pwd
/opt/lisa/SAlocexp
-bash-3.00$ ls
3-6682699841.explorer.85e8d0da.server101-2013.01.23.14.01.tar.gz  lastlog.txt
MAX2SAVE                                                          latest-explorer
MAXFILE                                                          lighttpd
Shrink-big-files                                                  logs
TLP.gif                                                          lp
X                                                                mail
bin                                                              mail.1800.txt
boot                                                              mail.21618.txt
copyright                                                        mail.22038.txt
crontab.txt                                                      mail.27983.txt
curlbin                                                          mail.28722.txt
curlbin.i386                                                      mail.4364.txt
curlbin.sparc                                                    mail.7013.txt
custom-template                                                  mail.last
dev                                                              network
disks                                                            patch
doc.pdf                                                          patchdiag
etc                                                              patchdiag-1.0.4
explorer.844d540d.server31-2013.06.17.00.00                    proc
explorer.844d540d.server31-2013.06.17.00.00.tar                rhn
file-list                                                        robots.txt
forward-template                                                  san
forward-template2                                                selinux
forward-templatea-localsave                                      setupuser
ftp.xref.job                                                      setupuser-template
hardware                                                          software
htdocs                                                            system
httpd                                                            tools
https.log                                                        tp
incoming.log                                                      upload
index-eng.tpl                                                    var
index.tpl                                                        verwerk_explorers
kernel                                                            yp
-bash-3.00$

Please guide, I want to know where exctly these hostnames are added, I checked in PDF, but could not fin any related location.

manalisharmabe 12-24-2013 01:08 AM

Please guide :-)

jlliagre 12-24-2013 02:53 AM

Why don't you remove the unwanted explorer files files from the server and configure the client not to send them anymore ?

manalisharmabe 12-26-2013 04:10 AM

Quote:

Originally Posted by jlliagre (Post 5086293)
Why don't you remove the unwanted explorer files files from the server and configure the client not to send them anymore ?

Thanks for reply.

Actually my first resolution was to login to server and reconfigure those client to not to send any data. However many of them are offline and the last data uploaded is in 2012.

Another thing is that this is exactly what I want to know where exactly these files are stored before they being sent to Lisa Explorer.
I need to know that location.


I tried many things with this command:-

Code:

/usr/local/bin/sudo /usr/bin/find /opt/lisa/SAlocexp -type f -exec grep -l "server31"  {} +
to find out the servername but I was not able to get any file name but only some access log file.

Could you please comment about that Location.
Please Guide.

jlliagre 12-26-2013 01:10 PM

I have no idea where these files are stored. You might look elsewhere than /opt/lisa/SAlocexp.

manalisharmabe 12-27-2013 01:06 AM

Quote:

Originally Posted by jlliagre (Post 5087213)
I have no idea where these files are stored. You might look elsewhere than /opt/lisa/SAlocexp.

Ok.

I will check it.

manalisharmabe 01-13-2014 05:42 AM

1 Attachment(s)
Hi Guys,

Finally I Have found the Location where I can edit/remove Hostname from the page which is reponsible for displaying hostnames on LISA webpage.

below is the page:-

Code:

/opt/lisa/SAlocexpwww/htdocs/locexp/index.html
But even after removing this entry from thi index.html page

Code:

<tr><td><A HREF=system30-m4000_1000/info.html><B>system30-m4000</B></A>        </td><td> 1000<BR><FONT SIZE=-1><B>Oracle Corporation</B></FONT></td
><td> 666<BR><B> EK00017855</B></td><td><FONT SIZE=-1>5.10<BR>147440-01</FONT></td><td>3:33<BR><A HREF=system30-m4000_1000/explorer.1000.system30-m4
000-2013.04.05.09.44/sysconfig/crash/><B></B></A></td><td>7.2 <BR><B>42 Mb</B></td><td><A HREF=system30-m4000_1000/explorer.1000.system30-m4000-2013
.04.05.09.44/>2013.04.05.09.44</A><BR><A HREF=system30-m4000_1000/>All        1</A></td><td><FONT SIZE=-1> IntevaProducts</FONT></td><td><A HREF=amslvsde
v-m4000_1000/explorer.1000.system30-m4000-2013.04.05.09.44/patchdiag.html><B>1376</B> 0 0</A></td></tr>

I ran
below option as shown below in attached jpg image, but still the entry ( row )of that hostname is being displayed on LISA webpage.


Please advise, how can i remove that entry from being displayed ?

Thanks a lot.


All times are GMT -5. The time now is 12:25 AM.