Configuration with Application Deployment - Trying to add instance storage locations to separate disks

System Information

Field Value
Operating System Windows - Windows Server 2022 on x86_64
Product AMPService ‘Phobos’ v2.6.0.2 (Mainline)
Virtualization None
Application Application Deployment
Module ADSModule
Running in Container No
Current State Indeterminate

Problem Description

Issue

We are trying to setup three Minecraft servers on one physical server. We would like to have each server instance on it’s own dedicated SSD to optimize performance. We have looked around the settings for an hour, and did some research online and can only find how to modify the default datastore location, not how to set it per instance (or move and instance to another location once created). We tried adding the three drives to the virtual directories section of the management panel, but no option as to where the instance should be stored when creating the instance, nor when trying to modify it’s settings. Please advise if this is even possible, and if so how to configure it.

Reproduction Steps

  • Added the needed drives to the virtual directory page
  • Tried to find option once instance was created to move it to the proper directory
  • Half an hour of googling

Moving the instances isn’t really supported. It’ll probably be easiest to create a new instance, move the files over SFTP, then double check that all the settings are how you want them.
You change the default datastore just by changing their priorities in the settings.

So just create the instance, and then take the files and move them to the proper disk manually? (Or SFTP)

Yeah, SFTP would preserve file permissions (you can view all instance files on port 2223), the Windows File Explorer tends to bugger things sometimes.

We’re looking specifically to create instances and store the data for the instance on a dedicated disk. So Minecraft instance 1 on D:\ drive, MC instance 2 on E:\ drive, etc.

(These drives are all on the same machine)

Yeah even with the datastores in different locations, you can still access all those virtual instance directories over the same ADS’s SFTP connection

Even using SFTP it seems moving the instance files to the newly created virtual directories (D:\ drive for ex) and it’s just saying the path does not exist.

Is there a way to specify where to create the instance when making it at the start? (D:\AMPstore1\ for example) Since we haven’t made the instances yet, might be simpler to just tell it where to store them when creating them.

Also trying to do this (create server on my D drive), though i’m a rookie to this so if you can explain it to me like i’m 5

Yeah, you specify the datastore you want the instance to be created in just in the create-instance menu (that’s what I meant by make a new one and copy the game files over).
(and as mentioned, you just change the datastore priority to change the default datastore)

I might just need new glasses here but there doesnt seem to be an option to specify the datastore when creating the instance? Only Application, Friendly Name, and what to do after creation.

1 Like

There should be a Select datastore drop-down as well, what do you have under your Datastores tab?
(you may need to clear your browser cache for the menus to update, if you’ve already created the datastores under the Datastores tab)

Might be worth mentioning this AMP install is on Windows Server, not Linux. Unless I’m not looking at the right place there doesnt seem to be a Datastore tab anywhere?

Unless you mean virtual directories, in which case we did create, and are visible in the file manager, but can’t select them when making an instance.

1 Like

I don’t mean virtual directories, no. (those honestly might bugger with file permissions unless it’s just a regular symlink with the right file permissions).

On the left there should be a tab for datastores.

Odd that your post says that you’re on v2.6.0.2, but your Support and Updates there seems to think otherwise. What does the version info say under Support and Updates?

Well, seems like it was an ID10T error on our end, I didn’t setup our admin accounts with permission to modify datastores and their related settings. Logged into our global default admin and the Datastore tab is sitting right there LOL.

I’ll reply again to this thread if we encounter more issues related to this but we should be alright!

Ahh that would do it, good find, I hadn’t thought of that!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.