Configuring Your Portal

Before OnDemand Services can be used, you need to complete the tasks in the following sections to configure your portal.


Creating Portal Pages

OnDemand Services includes nine gadgets. Each of these gadgets represents a window to specific content or functionality provided by OnDemand Services. Some of the gadgets are intended for users, some for budget holders, and some for administrators. The following list describes the gadgets and their intended audience:

ConfigWizardGadget (Administrator): Used to store the OnDemand Administrator (ODSAdmin) context and password in a place where the other gadgets can get it in order to authenticate to eDirectory. The Configuration Wizard must be run before any other OnDemand Services gadgets will work.

UserAdminGadget (Budget Holder): Used to create, modify, enable, and disable user accounts, and to assign packages to users.

ApprovalGadget (Budget Holder): Used to approve or deny package purchase requests submitted by users.

CurrentBHGadget (Budget Holder): Used to select which budget holder is the current budget holder and to add or remove budget holders.

PackageRequestGadget (User): Used to submit a purchase request for a package.

EditAccountGadget (User): Used to edit user account information such as name, password, and e-mail address.

WorkflowTrackingGadget (User): Used to check the status of package purchase requests and to cancel requests.

LaunchItemGadget (User): Used to launch purchased applications.

ReportGadget (Administrator, Budget Holder, User): Used to generate expense reports based on package purchases and usage.

TabbedContainerGadget (Administrator, Budget Holder, User): Used to enable the other gadgets to be displayed in a preconfigured tabbed-page format. This is an alternate page design to the one explained below. For information about implementing tabbed pages, see Tabbed Portal Pages .

You need to design your portal to give users, budget holders, and administrators access to the appropriate gadgets. There are many designs you can use. The instructions in the following sections help you create a simple portal. If you have already installed the full version of NPS 1.5 and implemented a portal design, you should still review the following sections to see how you need to configure the gadgets as you add them to your existing portal.


Logging in to NPS

You need to log in to NPS as a portal administrator. By default, the Admin user you entered when installing NPS is configured as a portal administrator.

To log in to NPS:

  1. In your Web browser, enter the following URL:

    http://web_server_address/nps

    where web_server_address is the IP address or host name of the Web server running NPS. If you are using SSL, make sure to enter https rather than http.

  2. Enter the Admin user's name and password.

    If the Admin user is not in one of the User contexts you specified when installing NPS, you will need to enter the Admin user's distinguished name using LDAP syntax. For example:

    cn=admin,ou=users,o=novell

  3. Click Login to display the Services page.


    Services page in Novell Portal Services

  4. Continue with the next section, Creating and Assigning User Pages .


Creating and Assigning User Pages

You will create three pages that all users will have access to:

Example Page Name Gadgets Included on Page

Applications

OD_LaunchItemGadget
OD_PackageRequestGadget

My Account

OD_EditAccountGadget
OD_WorkflowTrackingGadget

Reporting

OD_ReportGadget

  1. Click Administer the Portal to display the Portal Administration page.


    Portal Administration page in Novell Portal Services

  2. Click Pages.

  3. Continue with the next section, Creating and Assigning the Applications Page .


Creating and Assigning the Applications Page
  1. In the list, select Create New Top Level Page, then click Create to display the Create a New Page page.

  2. In the Name field, enter Applications, click Create to display the Page Saved page, then click Edit to edit the Applications page.

  3. Add the Launch Item gadget to the page. To do so:

    1. Click Add, select OD_LaunchItemGadget in the gadgets list, then click Add to display the gadget's configuration page.

    2. In the Display Name field, enter the gadget's name as you want it displayed on the page. For example, you could use Launch Applications.

    3. If you want to enable users to launch desktop applications (ZENworks for Desktops applications), select TRUE for the Display Workstation Applications setting.

    4. In the Secure Sensitive Pages field, select TRUE if the Web server supports SSL; otherwise, select FALSE.

    5. Modify any other configuration settings.

      To get a short description of each field, click the Descriptions button at the bottom of the page. For more detailed information about the fields, see Gadget Configuration Settings .

    6. Click Continue to add the configured gadget to the Applications page.

  4. Add the Package Request gadget to the Applications page. To do so:

    1. Click Add, select OD_PackageRequestGadget, then click Add to display the gadget's configuration page.

    2. In the Display Name field, enter the gadget's name as you want it displayed on the page. For example, you could use Request Applications.

    3. In the OnDemandService Object field, enter the distinguished name of the OnDemandService object that was created in eDirectory during installation. Use LDAP syntax to specify the name (for example, cn=ondemandservice,ou=services,o=novell).

    4. Modify any other configuration settings.

      To get a short description of each field, click the Descriptions button at the bottom of the page. For more detailed information about the fields, see Gadget Configuration Settings .

    5. Click Continue to add the configured gadget to the Applications page.

  5. Click Save to save the page, then click Assign to display the Assign Page to Objects page.

  6. Assign the page to users. To do so:

    1. Click Add.

      You can assign the page to users by adding individual User objects, Group objects in which the users are members, or container objects where the users reside. By default, no objects are listed. You need to search for the objects that you want to add.

    2. In the Search For field, select the type of object you want to search for, enter the search criteria in the Named field, then click Search to display all objects that match the search criteria.

    3. Select the objects you want to assign the page to, then click Assign.

    4. Repeat Step 6.a through Step 6.c to assign the page to additional objects.

    5. Click Close.

  7. Configure the layout of the page. To do so:

    1. In the list of pages, select the Applications page, then click Edit.

    2. Click Layout Gadget Assignments.

      Both the Launch Applications and Request Applications gadgets are listed under column 1. To display the gadgets in two-column format:

    3. Select the Request Application gadget, then click the To Column 2 button.

    4. Click Continue.

  8. Click Save to save your changes.

  9. Continue with the next section, Creating and Assigning the My Account Page .


Creating and Assigning the My Account Page
  1. In the Pages list, select Create New Top Level Page, then click Create to display the Create a New Page page.

  2. In the Name field, enter My Account, click Create to display the Page Saved page, then click Edit to edit the My Account page.

  3. Add the Edit Account Information gadget to the My Account page. To do so:

    1. Click Add, select OD_EditAccountGadget in the gadgets list, then click Add to display the gadget's configuration page.

    2. In the Display Name field, enter the gadget's name as you want it displayed on the page. For example, you could use Edit Account Information.

    3. In the Secure Sensitive Pages field, select TRUE if the Web server supports SSL; otherwise, select FALSE.

    4. Modify any other configuration settings.

      To get a short description of each field, click the Descriptions button at the bottom of the page. For more detailed information about the fields, see Gadget Configuration Settings .

    5. Click Continue to add the configured gadget to the My Account page.

  4. Add the Workflow Tracking gadget to the My Account page. To do so:

    1. Click Add, select OD_WorkflowTrackingGadget, then click Add to display the gadget's configuration page.

    2. In the Display Name field, enter the gadget's name as you want it displayed on the page. For example, you could use Track Requests.

    3. In the OnDemandService Object field, enter the distinguished name of the OnDemandService object that was created in eDirectory during installation. Use LDAP syntax to specify the name (for example, cn=ondemandservice,ou=services,o=novell).

    4. Modify any other configuration settings.

      To get a short description of each field, click the Descriptions button at the bottom of the page. For more detailed information about the fields, see Gadget Configuration Settings .

    5. Click Continue to add the configured gadget to the My Account page.

  5. Click Save to save the page, then click Assign to display the Assign Page to Objects page.

  6. Assign the page to users. If you need instructions, see Step 6.a through Step 6.d.

  7. When finished assigning the page to users, click Close.

  8. Continue with the next section, Creating and Assigning the Reporting Page .


Creating and Assigning the Reporting Page
  1. In the list, select Create New Top Level Page, then click Create to display the Create a New Page page.

  2. In the Name field, enter Reporting, click Create to display the Page Saved page, then click Edit to edit the Reporting page.

  3. Add the Reporting gadget to the Reporting page. To do so:

    1. Click Add,select OD_ReportingGadget in the gadgets list, then click Add to display the gadget's configuration page.

    2. In the Display Name field, enter the gadget's name as you want it displayed on the page. For example, you could use Create Purchase Reports.

    3. In the OnDemandService Object field, enter the distinguished name of the OnDemandService object that was created in eDirectory during installation. Use LDAP syntax to specify the name (for example, cn=ondemandservice,ou=services,o=novell).

    4. Modify any other configuration settings.

      To get a short description of each field, click the Descriptions button at the bottom of the page. For more detailed information about the fields, see Gadget Configuration Settings .

    5. Click Continue to add the configured gadget to the Reporting page.

  4. Click Save to save the page, then click Assign to display the Assign Page to Objects page.

  5. Assign the page to users. If you need instructions, see Step 6.a through Step 6.d.

  6. When finished assigning the page to users, click Close.

    The three pages you created should now be displayed in the Pages list.


    Novell Portal Services with Applications, My Account, and Reporting pages added to the list of pages

  7. To create the budget holder pages, continue with the next section, Creating and Assigning Budget Holder Pages .


Creating and Assigning Budget Holder Pages

You will create two pages that all budget holders will have access to.

Example Page Name Gadgets Included on Page

Cost Center Management

OD_UserAdminGadget
OD_CurrentBHGadget

Purchase Approval

OD_ApprovalGadget


Creating a Budget Holder Portal Group

A budget holder portal group lets NPS automatically grant page access to any users who are defined as cost center budget holders. A portal group is the best way to assign your budget holder pages because it is updated on-the-fly as users are added or removed as budget holders.

  1. Click Portal Groups > click Create to display the Create Portal Group page.

  2. In the Name field, enter a name for the portal group (for example, BudgetHolders).

  3. In the Query Filter String, enter the following:

    (|(securityequals=cn=cost_center1_context)
    (securityequals=cn=cost_center2_context)
    (securityequals=cn=cost_center3_context)...)

    where cost_center_context is the context (using LDAP syntax) of the Organizational Role objects that are serving as OnDemand Services cost centers. For example:

    (|(securityequals=cn=SalesCC,ou=services,o=novell)
    (securityequals=cn=MarketingCC,ou=services,o=novell))

    In this example, all users who have been added as budget holders on the SalesCC and MarketingCC cost centers will be included in the portal group.

  4. Click Create, then click OK to create the portal group

  5. To make sure the query filter string returns the desired results, you should test it. To do so:

    1. Select the portal group, click Edit, then click Properties.

    2. Click Text (next to the Query Filter String field).

    3. If the query returned the correct results, click Cancel, then continue with the next section, Creating and Assigning the Cost Center Management Page .

      or

      If the test does not return any matches, click Cance, verify that you've entered the correct information in the query filter strin, then retest the query.


Creating and Assigning the Cost Center Management Page
  1. Click Pages.


    Novell Portal Services with Pages page displayed

  2. In the list, select Create New Top Level Page, then click Create to display the Create a New Page page.

  3. In the Name field, enter Cost Center Management, click Create to display the Page Saved page, then click Edit to edit the Cost Center Management page.

  4. Add the User Administration gadget to the Cost Center Management page. To do so:

    1. Click Add, select OD_UserAdminGadget in the gadgets list, then click Add to display the gadget's configuration page.

    2. In the Display Name field, enter the gadget's name as you want it displayed on the page. For example, you could use Manage Users.

    3. In the Secure Sensitive Pages field, select TRUE if the Web server supports SSL; otherwise, select FALSE.

    4. In the OnDemandService Object field, enter the distinguished name of the OnDemandService object that was created in eDirectory during installation. Use LDAP syntax to specify the name (for example, cn=ondemandservice,ou=services,o=novell).

    5. Modify any other configuration settings.

      To get a short description of each field, click the Descriptions button at the bottom of the page. For more detailed information about the fields, see Gadget Configuration Settings .

    6. Click Continue to add the configured gadget to the Cost Center Management page.

  5. Add the Current Budget Holder gadget to the Cost Center Management page. To do so:

    1. Click Add, select OD_CurrentBHGadget, then click Add to display the gadget's configuration page.

    2. In the Display Name field, enter the gadget's name as you want it displayed on the page. For example, you could use Change Current Budget Holder.

    3. In the OnDemandService Object field, enter the distinguished name of the OnDemandService object that was created in eDirectory during installation. Use LDAP syntax to specify the name (for example, cn=ondemandservice,ou=services,o=novell).

    4. Modify any other configuration settings.

      To get a short description of each field, click the Descriptions button at the bottom of the page. For more detailed information about the fields, see Gadget Configuration Settings .

    5. Click Continue to add the configured gadget to the Cost Center Management page.

  6. Click Save to save the page, then click Assign to display the Assign Page to Objects page.

  7. Assign the Cost Center Management page to budget holders. To do so:

    1. Click Add.

      You need to assign the page to the budget holders portal group you created in Creating a Budget Holder Portal Group .

    2. In the Search For field, select Portal Groups > enter the name of the portal group in the Named field, then click Search to display the portal group's context.

    3. Select the portal group, then click Assign.

    4. Click Close.

  8. Continue with the next section, Creating and Assigning the Purchase Approval Page .


Creating and Assigning the Purchase Approval Page
  1. In the list, select Create New Top Level Page, then click Create to display the Create a New Page page.

  2. In the Name field, enter Purchase Approval > click Create to display the Page Saved page, then click Edit to edit the Purchase Approval page.

  3. Add the Approval gadget to the page. To do so:

    1. Click Add, select OD_ApprovalGadget in the gadgets list, then click Add to display the gadget's configuration page.

    2. In the Display Name field, enter the gadget's name as you want it displayed on the page. For example, you could use Approve/Deny Purchase Requests

    3. In the OnDemandService Object field, enter the distinguished name of the OnDemandService object that was created in eDirectory during installation. Use LDAP syntax to specify the name (for example, cn=ondemandservice,ou=services,o=novell).

    4. Modify any other configuration settings.

      To get a short description of each field, click the Descriptions button at the bottom of the page. For more detailed information about the fields, see Gadget Configuration Settings .

    5. Click Continue to add the configured gadget to the Purchase Approval page.

  4. Click Save to save the page, then click Assign to display the Assign Page to Objects page.

    1. Assign the Purchase Approval page to budget holders. To do so:

    2. Click Add.

      You need to assign the page to the budget holders portal group you created in Creating a Budget Holder Portal Group .

    3. In the Search For field, select Portal Groups, enter the name of the portal group in the Named field, then click Search to display the portal group's context.

    4. Select the portal group, then click Assign.

    5. Click Close.

    The two budget holder pages you created should now be displayed in the Pages list.


    Novell Portal Services with Cost Center Management and Purchase Approval pages added to the list of pages

  5. To create the OnDemand Administration page, continue with the next section, Creating and Assigning the Administration Page .


Creating and Assigning the Administration Page

You will create an OnDemand Administration page that the Admin user will have access to.

Example Page Name Gadgets

OnDemand Administration

OD_ConfigWizardGadget

  1. In the list, select Create New Top Level Page, then click Create to display the Create a New Page page.

  2. In the Name field, enter OnDemand Administration, click Create to display the Page Saved page, then click Edit to edit the OnDemand Administration page.

  3. Add the Configuration Wizard gadget to the OnDemand Administration page. To do so:

    1. Click Add > select OD_ConfigWizardGadget in the gadgets list > click Add to display the gadget's configuration page.

    2. In the Display Name field, enter the gadget's name as you want it displayed on the page. For example, you could use Configuration Wizard.

    3. In the Secure Sensitive Pages field, select TRUE if the Web server supports SSL; otherwise, select FALSE.

    4. Modify any other configuration settings.

      To get a short description of each field, click the Descriptions button at the bottom of the page. For more detailed information about the fields, see Gadget Configuration Settings .

    5. Click Continue to add the configured gadget to the OnDemand Administration page.

  4. Click Save to save the page, then click Assign to display the Assign Page to Objects page.

  5. Assign the OnDemand Administration page to the Admin user.

    1. Click Add.

    2. In the Object Name field, enter the context of the Admin user (for example, cn=admin,o=novell) > click Assign.

    3. Click Close.

      The administrator page should now be displayed in the Pages list.


      Novell Portal Services with the OnDemand Administration page added to the list of pages

  6. Continue with the next section, Running the OnDemand Services Configuration Wizard .


Running the OnDemand Services Configuration Wizard

You must run the Configuration Wizard before the other OnDemand Services gadgets will function properly. The OnDemand Services gadgets authenticate to eDirectory through the OnDemand Administrator (ODSAdmin) object created during installation. The OnDemand Administrator object has the rights required by the gadgets to perform their tasks in eDirectory.

When you run the Configuration Wizard, it stores the OnDemand Administrator context and password in a location that the other gadgets can access.

  1. Log out of the portal and log back in to refresh the portal pages.

  2. Open the page where you added the Configuration Wizard.


    OnDemand Administration page with Configuration Wizard

  3. Click Set OnDemand Administrator Credentials to display the Set Credentials window.

  4. In the Distinguished Name field, enter the full context of the OnDemand Administrator (ODSAdmin) object (for example, cn=ODSAdmin,ou=services,o=novell).

  5. In the Password field, enter the OnDemand Administrator password. This password must be the password that was entered during installation.

  6. Click Update.

  7. Continue with the next section, Restarting the Web Server, Web Application Server, and JVM .


Restarting the Web Server, Web Application Server, and JVM

To ensure that the configuration changes made during installation are recognized:

  1. If you did not already change the Tomcat servlet engine's configuration to increase its heap size, do so now. For instructions, see Increasing the Tomcat Servlet Engine 's Heap Size .

  2. Restart the Web server, Web Application server, and Java Virtual Machine. If necessary, refer to your product's documentation for instructions.

  3. Continue with the next section, Starting the Maintenance and UsageServer Processes .