Courseware:IT Advanced - 11 How to setup the Application Platform after a factory reset
Jump to navigation
Jump to search
Moodle can restore a start configuration to an Application Platform. However, after a factory reset, a few steps must be performed manually.
Restore a start configuration to your AP
Moodle can restore a start configuration to your Application Platform. If this feature is available in your current topic, you will see
a button on your Devices page as soon as you completed all steps of this book. This button will remove any data currently present on your AP and will then install the data provided as a start configuration for your current topic.
a button on your Devices page as soon as you completed all steps of this book. This button will remove any data currently present on your AP and will then install the data provided as a start configuration for your current topic.
The button will appear even if you already loaded this data before, so you should only click it once per topic.If you are in doubt, have a look at your My Devices Page. Most lesson checkers have a section titled App platform properly loaded which should pass ok (that is, not being
flagged in red).
flagged in red). Generally, when loading a new start configuration, you first need to load the device configurations (by using the
link provided in the respective book or lesson). Only when this is completed, you would update your AP using the aforementioned button.
link provided in the respective book or lesson). Only when this is completed, you would update your AP using the aforementioned button.
However, a few steps must be performed manually before you use the update button (but after you have restored the start configuration to your devices). Preliminary steps to restore the AP
After a factory reset, the AP might still be present on your SSD (as SSD content is not removed during a factory reset).
You can easily check this by accessing the AP directly: http://172.31.31.12.
As password, try both If there is no AP present (that is, you failed to log in or the link did not open correctly), follow the next steps in this chapter.
Otherwise (that is, you succeeded to log in), you can skip the first few steps and directly proceed from chapter Setting the App Store URL.
Disabling autostart
If after the full factory reset a configuration has been loaded (e.g. by the lesson checker), the system might try to auto-start the Application Platform which would interfere with the steps outlined in this book.
Perform the following steps to make sure the AP does not try to start:Installing the Application Platform
The AP must be installed using the mechanism available in the advanced UI of your IP411LEFT.
As we do want to use moodle's course specific App store (instead of innovaphone's standard store), you need to use the moodle app store URL, which is https://class.innovaphone.com/moodle2/webbuild/app-platform/<ap-build>/app-platform-armel.img where <ap-build> is course specific.
Here are the complete steps:- make sure Proxy ARP
is activated on your IP4 / ETH0 / IP - switch to the
App-Platform / General tab - If the App-Platform/Installation page does not exist, the App Platform support
needs to be enabled (requiring a reset afterwards) - set the AP Platform
to receive a DHCP lease via ETH0 on App-Platform / IP - copy the complete URL from the
AP-Install-Url entry on your Devices page into the URL field on App-Platform / Installation - install the required AP version by clicking the Install button.
- confirm the pop-up that you still want to install a new App Platform.
The AP will be downloaded and installed and the Installation page will
show you the progress until it
is completed. Please note that this takes some time.
show you the progress until it
is completed. Please note that this takes some time.Logging on to the AP
You can now log in to your freshly installed application platform- access the AP using this link: http://172.31.31.12
- log in using the password
pwd
Setting the App Store URL
Again, we want to use moodle's own App store instead of innovaphone's standard store.
To change the store - change the
App Store URL in Burger menu/Settings/General to https://class.innovaphone.com/moodle2/webbuild/store.php/1-0/apps.json .You can also copy this string from
the appstore-URL entry on your Devices page but you must make sure that you add the /apps.json at the end!
Setting the password
In the settings/security (that you have reached via the burger menu), set the AP Manager password to Updating the core components
To verify that this worked well, you can have a look at the App Store now.
To open the App Store- click on the
App Store button - if you have not done so yet, accept the EULA
- click on
Installed apps and innovaphone
If you don't have any App Services so far on your App Platform, you will only see the AP Manager and Webserver. These are the core components we need to update (it doesn't hurt to update further Apps you may have installed, but it is not necessary).
To update these components- click on
Select... - then
Select all - and
Update
confirm the update
For a short moment, you will see the
confirmation of the succeeded update. Then, as the manager will be restarted automatically, you need to log in again (remember that you have changed the password to ip411 shortly before).
confirmation of the succeeded update. Then, as the manager will be restarted automatically, you need to log in again (remember that you have changed the password to ip411 shortly before). Making your AP known to moodle
The final manual step is making your Application platform known to moodle.
To do so- go to
Burger menu / Settings / General and set the Devices app URL 2 to wss://training-apps.training.innovaphone.com/class.net/Trainee-Devices/sysclients
(be sure to set Devices app URL 2 not Devices app URL!). You can copy the URL from the
sysclient-Url entry on your Devices page
From this moment, your APPPLATFORM entry on the Devices page will change from out of date to
a few seconds in the Info Age column, indicating that moodle knows your AP now.
a few seconds in the Info Age column, indicating that moodle knows your AP now. Restoring the lesson's start configuration
You are now ready to restore the start configuration to your Application platform by clicking on the
Load initial lesson configuration ... button on your Devices page. This will start the
automatic part of the initialization process. Please note that this can take a while.
Load initial lesson configuration ... button on your Devices page. This will start the
automatic part of the initialization process. Please note that this can take a while.
After uploading the AP's new start configuration, the AP password will be
If the upload did not work and no or not all app instances were configured, or some instances were not started, then please obtain the App Platform Manager log file and post it in your topics support forum. After that, click the button a second time. It usually works then.