Go Back   Pro/Forums > ProCooling Technical Discussions > Snap Server / NAS / Storage Technical Goodies
Password
Register FAQ Members List Calendar Chat

Snap Server / NAS / Storage Technical Goodies The Home for Snap Server Hacking, Storage and NAS info. And NAS / Snap Classifides

Reply
Thread Tools
Unread 03-17-2007, 09:25 PM   #1
bitor
Cooling Savant
 
Join Date: Mar 2006
Location: USA
Posts: 257
Default Force Java on Snap1000

Hello:

Is there anyway to force java/SnapExt on a Snap1000. It's just a temporary thing until I get my files backed up. I know it might take a while , but I'd like to do it and then change it back after I do my backup with S2S. Yes I know there might be other ways of doing this , but I would prefer to use the S2S. I can copy all my java folders and files for the java folder from my Snap4000 to my Snap1000. Now, I just need to know how to turn on the java so I can get the SnapExt. to work. Or other commands I might to to invoke.

P.S. I know I only have 32MBs of memory, but I still think it can be done even with this much memory. It will just be super slow.

Thanks in advance for your help,
Sincerely,
bitor
bitor is offline   Reply With Quote
Unread 03-18-2007, 07:23 AM   #2
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Force Java on Snap1000

I'm not sure it will help you. But there was a post where the user changed the memory requirement on JVM for SSL login. Not sure 8 meg will be enough for S2S. Even at that he complained it was slow.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 03-18-2007, 12:27 PM   #3
bitor
Cooling Savant
 
Join Date: Mar 2006
Location: USA
Posts: 257
Default Re: Force Java on Snap1000

Hey D.

Thanks for your reply. I remember seeing that somewhere in the forums some place. Now it is going to be like finding a needle in a hay stake. Do you remember the person? So I can maybe send him an email or look on the forum for his/her post?

Thanks again David,
Sincerely,
bitor

Quote:
Originally Posted by blue68f100
I'm not sure it will help you. But there was a post where the user changed the memory requirement on JVM for SSL login. Not sure 8 meg will be enough for S2S. Even at that he complained it was slow.
bitor is offline   Reply With Quote
Unread 03-18-2007, 12:57 PM   #4
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Force Java on Snap1000

jvm engine enable/disable
  • license {ADD/UPDATE/INFO} [{id} [{key-high-mid-low}]]
  • ram (megabytes of RAM for JVM process)
  • stack (Kbytes of RAM for JVM stack)
  • ssl on/off

You need to run "debug memory" to see how much ram is free. then

jvm engine enable if not started. May have to start it after change jvm ram
jvm ram x (where x is free ram) default is 24.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 03-18-2007, 11:00 PM   #5
bitor
Cooling Savant
 
Join Date: Mar 2006
Location: USA
Posts: 257
Default Re: Force Java on Snap1000

Hey D:

Ok, I have enabled the jvm input the license and set the ram to/tried 8,12,and 24MB ssl is off , but still no SnapEx present in the Admin menu. I go to snaplet count and it says "JVM unavailable" I don't know what I'm doing wrong.

Thanks again in advance,
Sincerely,
bitor


Quote:
Originally Posted by blue68f100
jvm engine enable/disable
  • license {ADD/UPDATE/INFO} [{id} [{key-high-mid-low}]]
  • ram (megabytes of RAM for JVM process)
  • stack (Kbytes of RAM for JVM stack)
  • ssl on/off

You need to run "debug memory" to see how much ram is free. then

jvm engine enable if not started. May have to start it after change jvm ram
jvm ram x (where x is free ram) default is 24.
bitor is offline   Reply With Quote
Unread 03-19-2007, 06:54 AM   #6
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Force Java on Snap1000

Did you install it the JVM extension? It's a seperate install, it is normally included with the SnapOS.sup file. You install it like you would a OS. Once done you will have snap extensions on the main admin page.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 03-19-2007, 12:11 PM   #7
bitor
Cooling Savant
 
Join Date: Mar 2006
Location: USA
Posts: 257
Default Re: Force Java on Snap1000

Hey D:

I am assuming you are talking about the snap_jvm.sup file. If so, yes I tried via the assist and this is what it said "This file is not a valid upgrade for your server"
What am I doing incorrectly ?

Thanks,
bitor

Quote:
Originally Posted by blue68f100
Did you install it the JVM extension? It's a seperate install, it is normally included with the SnapOS.sup file. You install it like you would a OS. Once done you will have snap extensions on the main admin page.
bitor is offline   Reply With Quote
Unread 03-19-2007, 03:47 PM   #8
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Force Java on Snap1000

Nothing. It's probably reading the ram (or ID) and will not install.

setup a ftp transfer between snaps and let it run over night. It's slow on a 1000 but it will get there.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 03-19-2007, 04:36 PM   #9
bitor
Cooling Savant
 
Join Date: Mar 2006
Location: USA
Posts: 257
Default Re: Force Java on Snap1000

Ok, D. I'll try the ftp transfer between the two snaps Thanks.

P.S. Do you think If I changed the ID to a number that it will recognize and maybe install then ? If this the ram I'm sol.

Sincerely,
bitor

Quote:
Originally Posted by blue68f100
Nothing. It's probably reading the ram (or ID) and will not install.

setup a ftp transfer between snaps and let it run over night. It's slow on a 1000 but it will get there.

Last edited by bitor; 03-19-2007 at 05:08 PM.
bitor is offline   Reply With Quote
Unread 03-19-2007, 07:34 PM   #10
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Force Java on Snap1000

On the 1000 you have no way to upgrade the ram, so your sol. Phoenix32 has proved that you need atleast 128meg for JVM to work corectly. Any ram less than 128meg produced errors.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 03-19-2007, 08:28 PM   #11
Phoenix32
Thermophile
 
Phoenix32's Avatar
 
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
Default Re: Force Java on Snap1000

YUP
Phoenix32 is offline   Reply With Quote
Unread 03-19-2007, 08:37 PM   #12
bitor
Cooling Savant
 
Join Date: Mar 2006
Location: USA
Posts: 257
Default Re: Force Java on Snap1000

Hey D:
Well I would agree with you, BUT I'd would have just liked to see if It could be done at this point. Also, I've been probing around with the ports.
For example.
1.) I reset the network then open assist.exe to assign a new ip address. I discover that the UDP port 2339 and UDP port 67 are open with assist.exe.
2.) After assigning the ip address and closing down assist then reopening it again for OS updates and ext. I discovered that UDP port 2593 and UDP port 67 are open with assist.exe.
3.) Do you think there might be a back door to get in ?
4.) Also, how does the assist know how to find the snap without having an ip address? Is there a dedicated ip address that kicks in if no ip address is assigned to the snap?
5.) Another thing I have noticed is whenever you decide to update the OS it uploads the hex file to the server with the LAN then it does something like a warm boot maybe to decompress the hex file or put it in a update mode, but why is it that after all that the LAN goes dead then when it starts to update the LAN line goes hot and starts transferring the files to the server from my local computer after the assist has already uploaded the hex to the snap server. What is the connection here? Is it that the hex file is being decompressed on my local hd and then transfered to the snap? Or is the hex file code being sent back to my local hd and being assembled then uploading back to the snap? Or what is really going on? I would think once the hex file is uploaded to the snap then the LAN line would be off line and everything would be done on the snap. i.e. decompressed and installed, but that is not what is happening.

Thanks D,
Sincerely,
bitor

Quote:
Originally Posted by blue68f100
On the 1000 you have no way to upgrade the ram, so your sol. Phoenix32 has proved that you need atleast 128meg for JVM to work corectly. Any ram less than 128meg produced errors.
bitor is offline   Reply With Quote
Unread 03-20-2007, 07:27 AM   #13
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Force Java on Snap1000

I was informed that SnapAppliance wrote there own special protocol to discover the snaps without an IP address. I assume that the snaps reply to this protocol or assist looks for a signature using this protocol. The guardian OS units have a fall back IP.

During the update process, once the snap has to receive the kernel files. It has to reboot in order to load the new kernel, before it can continue with the process. I also believe like most OS it writes to a temp directory. Then I guess once that part is done it continues the download of the files it needs. At the same time it tries to keep Assist informed of the progress.

If you are needing something to do in your free time use WinHex or you favorite hex editor and examine the sup file. It is broken down into about 5 sections. But if I tell you what they are it would spoil all the fun.

By the way I spend days and weeks looking at the sup files. So knock your self out.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 03-20-2007, 09:37 AM   #14
Phoenix32
Thermophile
 
Phoenix32's Avatar
 
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
Default Re: Force Java on Snap1000

David, is it just me, or do you feel a little dejavu here too?

Didn't we just do this?

Don't worry Bitor, we had the same questions... Enjoy...
Phoenix32 is offline   Reply With Quote
Unread 03-20-2007, 01:42 PM   #15
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Force Java on Snap1000

See how long it takes him to break the sup files down...

That should keep him busy for at least for several days.
30meg files with every thing in Intel HEX.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 03-20-2007, 02:46 PM   #16
bitor
Cooling Savant
 
Join Date: Mar 2006
Location: USA
Posts: 257
Default Re: Force Java on Snap1000

Well, I did not happen to see any post on this subject. It was just a thought and that is where everything begins.
Since you/nobody have/has not made a comment concerning my question(s) in this post, I assume this has been talked about before at length. What area of the forum would I look to read about this?
Also, I have read the PLCC chip in my Snap1000 Chip Am29F040B. Information is located here http://www.amd.com/us-en/0,,14883_1447_2046_2207^1533,00.html concerning chip information.
The file is approx. 1.441MB in size and has been saved in hex format. If you follow the link it is a 5v 4MB chip. It has room to spare. I have not read the other larger chip. I believe it is a TSOP. I have to get an adapter for it in order to read it.

Cheers,
bitor

P.S. I have the hex file for my Snap1000 and Snap4000 which is about 4.313MBs in size. I also have the other hex files for the SnapServers in hex file. Most are around 4MB. But there is one that is 8MB which I believe is for the Snap4100.

Quote:
Originally Posted by blue68f100
See how long it takes him to break the sup files down...

That should keep him busy for at least for several days.
30meg files with every thing in Intel HEX.

Last edited by bitor; 03-20-2007 at 02:55 PM.
bitor is offline   Reply With Quote
Unread 03-20-2007, 06:24 PM   #17
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Force Java on Snap1000

All of this has been covered in the past, under the famous Hack a Snap1000 mega post and others. I have read the flashram in my 2000v1 at least the first 1/2, yes I have the tsop adapter (and blanks chips) for my programmer. Yes you are correct about the flashram. They are dual purpose, BIOS and OS. The 8+meg is for the 12000 models.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820
blue68f100 is offline   Reply With Quote
Unread 03-20-2007, 09:57 PM   #18
bitor
Cooling Savant
 
Join Date: Mar 2006
Location: USA
Posts: 257
Default Re: Force Java on Snap1000

Hey David:

Thanks for verifying that stuff for me and the extra info as well. I'm on page 43 of the "Hack a Snap1000" so I haven't ran across it yet , but I'm sure I will. Don't know if you know this , but I de-soldered my bios chip and os chip from my Snap1000 board. Don't know if anybody has done that yet. Also, what TSOP should I get from Willem Eprom website? I have the (PCB3B/PCB3.5) version. I don't see anything that is a TSOP 44 that this chip will fit in by the look of the pictures on the website. The large chip has a total of 44 contacts with 11 contacts on each side. Also, is there a way to flash another Snap1000 bios with the bios file I have saved from the soldered bios without desoldering the bios chip on the mobo?

Thanks again in advance,
Sincerely,
bitor


Quote:
Originally Posted by blue68f100
All of this has been covered in the past, under the famous Hack a Snap1000 mega post and others. I have read the flashram in my 2000v1 at least the first 1/2, yes I have the tsop adapter (and blanks chips) for my programmer. Yes you are correct about the flashram. They are dual purpose, BIOS and OS. The 8+meg is for the 12000 models.
bitor is offline   Reply With Quote
Unread 03-21-2007, 07:21 AM   #19
blue68f100
Thermophile
 
blue68f100's Avatar
 
Join Date: Jul 2005
Location: Plano, TX
Posts: 3,135
Default Re: Force Java on Snap1000

The AM29F800B70EC TSOP only has pins on two sides. Sounds like you removed a PLCC package. The adapter for the TSOP is TSOP48-S. My Enhanced Willem is a v 3.5 if I recall, been 3+ yrs since I purchased it. It was cheaper going to them direct instead of going through eBay. And the tsop adapter was like $40, 2/3 the cost of the programmer.

I never did remove the soldered in chip on my 2000, I don't trust my soldering skills any more with my current equipment. I lost my temp control unit when I left, along with my .015" utetic solder. The PLCC package is easier to solder than the TSOP.

Looks like the 1100 and 2000v1 uses TSOP, where the 1000 are using PLCC flashram.
__________________
1 Snap 4500 - 1.0T (4 x 250gig WD2500SB RE), Raid5,
1 Snap 4500 - 1.6T (4 x 400gig Seagates), Raid5,
1 Snap 4200 - 4.0T (4 x 2gig Seagates), Raid5, Using SATA converts from Andy

Link to SnapOS FAQ's http://forums.procooling.com/vbb/showthread.php?t=13820

Last edited by blue68f100; 03-21-2007 at 07:27 AM.
blue68f100 is offline   Reply With Quote
Unread 03-21-2007, 11:31 AM   #20
Phoenix32
Thermophile
 
Phoenix32's Avatar
 
Join Date: May 2006
Location: Yakima, WA
Posts: 1,282
Default Re: Force Java on Snap1000

Quote:
Originally Posted by bitor

Well, I did not happen to see any post on this subject. It was just a thought and that is where everything begins.
Since you/nobody have/has not made a comment concerning my question(s) in this post, I assume this has been talked about before at length. What area of the forum would I look to read about this?
Easy there killer, it was just a little sarcastic humor (to keep some of us sane). Most of this has been covered, a little here, a little there, scattered all over the forum. However, David and I did a lot of this in e-mail recently, on a discovery mission. That is why I said, don't worry, we had the same questions. Also, a lot of what we came up with requires "certain" software and can FUBAR a SNAP in a hurry, thus why we did it in e-mail. See?
Phoenix32 is offline   Reply With Quote
Unread 03-21-2007, 04:48 PM   #21
bitor
Cooling Savant
 
Join Date: Mar 2006
Location: USA
Posts: 257
Default Re: Force Java on Snap1000

Ok, I understand. Gotcha...

Thanks again,
Sincerely,
bitor


Quote:
Originally Posted by Phoenix32
Easy there killer, it was just a little sarcastic humor (to keep some of us sane). Most of this has been covered, a little here, a little there, scattered all over the forum. However, David and I did a lot of this in e-mail recently, on a discovery mission. That is why I said, don't worry, we had the same questions. Also, a lot of what we came up with requires "certain" software and can FUBAR a SNAP in a hurry, thus why we did it in e-mail. See?
bitor is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:58 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
(C) 2005 ProCooling.com
If we in some way offend you, insult you or your people, screw your mom, beat up your dad, or poop on your porch... we're sorry... we were probably really drunk...
Oh and dont steal our content bitches! Don't give us a reason to pee in your open car window this summer...