PageBox |
|
FAQ | Dev site | .NET version | Customization | Install | Grid | Active Naming | Grid API |
PageBox for .NET installation and user guidePageBox installationDownload the PageBox for .NET as described in the Customization guide and install it in a directory under your Web site home directory, for instance C:\Inetpub\wwwroot. If you get this message:
configure your directory as an Application. Go to Control Panel | Internet Service Manager MMC, select your directory on the Internet Information Services screen and click right on properties. You should get this screen:
Click on Create. Follow instructions of the Customization guide to configure PbCmd.xml. Assuming you have installed PageBox in myPageBox directory, you should be able to query update.aspx with http://localhost/myPageBox/update.aspx:
If you click on the PageBox icon you go to PageBox for .NET documentation.
You can also click on the mail icon to send us a mail. The subscription URL is the URL to set on the subscription form. Technically it is the deployment Web service URL. Repository installationDownload the PageBox for .NET repository as described in the Customization guide and install it in a directory under your Web site home directory, for instance C:\Inetpub\wwwroot. If needed configure your repository directory as described above. Follow instructions of the Customization guide to configure web.config and authorization.xml for security. SubscriptionAssuming you have installed the PageBox Repository in myRepository directory, you should be able to query subscriber.aspx with http://localhost/myRepository/subscriber.aspx. If you changed nothing in web.config and authorization.xml, Form based authentication is enabled and you should first been displayed the login form:
All users are allowed to display the subscriber form. Enter for instance subscriber1/subscriber and click on Login button. You should be displayed this:
In the deployment URL, simply paste the Subscription URL. You can subscribe a new PageBox with the Subscribe button and unsubscribe with the Unsub, Unsubscribe and Force buttons. See the Customization guide to understand the difference between Unsubscribe and Force. If you click on the PageBox icon you go to PageBox for .NET documentation. You can click on the mail icon to send us a mail. PublicationAssuming you have installed the PageBox Repository in myRepository directory, you should be able to query publisher.aspx with http://localhost/myRepository/publisher.aspx. If you logged with a user id, which is neither a publisher nor an administrator you should get this:
In that case, restart your browser. On the login form, log with a publisher or administrator user id, for instance publisher1/publisher. Note: For your tests, the simplest solution is to start a Web browser instance with a publisher account, another with a subscriber account and a third one with an administrator account. You should get this:
Enter the local path of the archive or batch file to publish. If you are sure of the path, click on Browse button. You should get a File chooser dialog:
Select a file and click Open. We recommend that:
This documentation should explain:
See the Customization guide for the PbCmd.xml syntax.
Now click on Upload to publish the archive.
For an presentation are displayed:
You can unpublish a presentation with the Delete and Force buttons. See the Customization guide to understand the difference between Delete and Force. When you logged with a publisher account, you only see and can unpublish your presentations. You need to log with an administrator account to see all published presentations. If you click on the PageBox icon you go to PageBox for .NET documentation. You can click on the mail icon to send us a mail. The presentation has been published on every subscriber. Therefore if you display again subscriber.aspx you should get this:
For a subscriber are displayed:
If the repository fails to deploy the archive on the PageBox the status is "pending active". If you display again update.aspx, you should get this:
For an archive are displayed:
DownloadYou can also download published presentations. Assuming you have installed the PageBox Repository in myRepository directory, you should be able to query download.aspx with http://localhost/myRepository/download.aspx.
Click on the archive URL to download the presentation. If you click on the PageBox icon you go to PageBox for .NET documentation. You can click on the mail icon to send us a mail. Archive subscriptionYou can subscribe to a subset of the presentations published on the repository with asubscribe.aspx and aselect.aspx. Assuming you have installed the PageBox repository in htdocs/PageBox/Repository, you should be able to query asubscribe with http://localhost/PageBox/Repository/asubscriber.aspx:
In the deployment URL, simply paste the URL of the PageBox update.aspx. You can subscribe a new PageBox with the Subscribe button and unsubscribe with the Unsub, Unsubscribe and Force buttons. See the Customization guide to understand the difference between Unsubscribe and Force. If you click on the PageBox icon you go to PageBox for .NET documentation. You can click on the mail icon to send us a mail. You can click on the Archives link to display and update the presentation list subscribed with aselect.aspx:
If you click on the presentation checkbox:
If you uncheck the presentation checkbox:
Difference between download, archive subscription and subscription
In case of subscribe,
In case of archive subscribe, the subscriber selects the Presentations to deploy on the PageBox.
In case of download, no PageBox is needed.
AuditEvents taking place on the Repository are recorded. You can display them if you have administrator rights with audit.aspx. Assuming you have installed the PageBox repository in htdocs/PageBox/Repository, you should be able to query audit.aspx with http://localhost/PageBox/Repository/audit.aspx:
The audit display answers the questions when? Who? What? With which result? Click on the Clear button to remove the audit file. If you click on the PageBox icon you go to PageBox for .NET documentation. You can click on the mail icon to send us a mail. PageBox auditEvents taking place on PageBoxes are also recorded and displayed by an audit.aspx form. Assuming you have installed the PageBox in htdocs/PageBox/aPagebox, you should be able to query audit.aspx with http://localhost/PageBox/aPagebox/audit.aspx:
The audit display answers the questions when? Who? What? With which result? Click on the Clear button to remove the audit file. If you click on the PageBox icon you go to PageBox for .NET documentation. You can click on the mail icon to send us a mail. Repository cleanupRepoCleanup is a Windows service (former NT service). RepoCleanup manages a set of Repositories. Every 30 minutes RepoCleanup calls the Retry.asmx of every Repository that it knows to retry pending deploys and undeploys. With this mechanism PageBox for .NET can cope with transient conditions such as Pagebox server reboot. The diagram below shows a configuration.
Two repository hosts host two Repositories and a RepoCleanup service. A satellite repository host doesn't host a RepoCleanup service and is monitored by a remote RepoCleanup. The RepoCleanup services call the Repositories' Retry Web services. The Retry Web service checks for deployments and undeployments in pending state. When a Retry Web service finds a deployment in pending state it calls the PageBox's Deploy Web service. In case of success the deployment status becomes "installed". InstallationRun the install.bat batch in the RepoCleanup directory. This batch file contains:
You are prompted for the service user name and password:
The Windows service creation is transacted. If the creation is committed, the service is installed in manual mode and not started. To de-install the Repository cleanup service, run the uninstall.bat batch in the RepoCleanup directory. This batch contains:
ConfigurationYou first need to create a cleanup configuration file, typically named cleanup.xml. Here is an example.
For each Repository, you must define:
Then you must configure the Windows service to use this cleanup configuration file. Starts the Service MMC:
The RepoCleanup Windows service is named Cleanup. Click on its line to display its properties.
Change the startup type to Automatic. Also set the Start parameters:
Then click on the Start button. Once the service is started, the registry is updated to store the full path of the cleanup configuration file and the logging mode. You can check and change the values with regedit:
Configuration parameters are stored in service_directory\Parameters. ConfigFile contains the full path of the cleanup configuration file and LogDebug contains 0 for silent mode and 1 for "debug" mode with information messages. Note: RepoCleanup reads the registry and the cleanup configuration file when it is started. Therefore to change the path or the content of the full path of the cleanup configuration file you need to stop and restart the RepoCleanup service. MonitoringTo check RepoSub errors, use the Event viewer MMC and select the Application Log.
There are three kinds of entries:
Test of the Repository cleanupTestRepoCleanup allows testing RepoCleanup functions and functions. It also allows checking and setting the registry entries. To start TextRepoCleanup, click on TextRepoCleanup.exe in TestRepoCleanup\Bin\Debug.
TextRepoCleanup displays the current registry values. If you change these values the registry will be updated accordingly when you click on the start button. The start button also creates a cleanup thread. You can terminate the cleanup thread with the stop button (then enabled).
Contact:support@pagebox.net |
|