store journal files on client

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
wall
Posts: 5
Joined: Fri May 23, 2008 4:33 pm

Fri May 23, 2008 7:14 pm

In fact ,it is necessary to store journal files on client when server is always overwhelmed.
I have a idea to do this.

server:
1. mkimage -sparse e:\disk.img 100G
2. mount disk.img, get a disk with patition F:
3. mkimage -sparse f:\file.img 90G
4. ibvolume image d:\ibv\disk.ibv 0 . e:\disk.img
5. issue disk.ibv with name disk

client:
1. initialize target disk, get a disk with patition F:
2. ibvolume image d:\ibv\local.ibv 0 . f:\file.img
3. issue local.ibv with name local
4. initialize target local(127.0.0.1), get a disk with patition G:

When copy files to G: , the client file d:\ibv\local_00000001.ibvd contains all changes.

My problem is, how to update files in file.img on server.
I try to update it, the client get a yellow error tip.
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Fri May 23, 2008 9:10 pm

What you do is a totally wrong thing. You need initiator to track changes. Nobody currently implements this.
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
wall
Posts: 5
Joined: Fri May 23, 2008 4:33 pm

Sat May 24, 2008 2:46 am

It works as soon as I do not change game.img.
I can do this when nobody connect.
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Sat May 24, 2008 9:19 am

You cannot have more then one "writer" connected at the same time.
wall wrote:It works as soon as I do not change game.img.
I can do this when nobody connect.
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
ctcline
Posts: 13
Joined: Fri Jun 11, 2010 6:10 pm

Fri Jun 11, 2010 6:13 pm

Hi!
I am still confused on this. I have my journals sent to a remote location, but I don't think these are all the required snapshot files that you refernce above. Is this not the point of placing the jornals in a different location?

Thanks,
Chris
User avatar
Max (staff)
Staff
Posts: 533
Joined: Tue Apr 20, 2010 9:03 am

Sat Jun 12, 2010 8:31 pm

Actually there is totally no point in doing this,
I would better recommend using remote replication(mirroring) feature for this scenario, and DPM for taking snapshots - if needed.
If you are really intersted in making this using only StarWind - I will ask if our developers have this idea in their roadmap.
Anyway, I would highly recommend to store the journals within the target server.
Max Kolomyeytsev
StarWind Software
ctcline
Posts: 13
Joined: Fri Jun 11, 2010 6:10 pm

Tue Jun 22, 2010 1:54 pm

Thanks Max. I would really like to see this feature added and would be interested to know if its already a planned enhancement.

Thanks,
Chris
User avatar
Max (staff)
Staff
Posts: 533
Joined: Tue Apr 20, 2010 9:03 am

Thu Jun 24, 2010 10:32 am

ctcline wrote:Thanks Max. I would really like to see this feature added and would be interested to know if its already a planned enhancement.

Thanks,
Chris
It is scheduled in the upcoming versions, we're working on this ;)
Max Kolomyeytsev
StarWind Software
Post Reply