Search

Language:  
Search for:

Available article translations:

[How to] How to configure integration of Parallels Plesk Billing and Parallels Plesk Panel and enable login via SSO?

Article ID: 6171 
Created On: Mar 19, 2009
Last Review: Apr 16, 2012
Views:
Was this article helpful?
No Yes
APPLIES TO:
  • Parallels Plesk Panel 9.x for Linux/Unix

Resolution

 You should install Parallels Plesk Panel 9.0.1 and Parallels Plesk Billing 6.0.1.

Note that Parallels Plesk Billing 6.0.0 does not work with Parallels Plesk Panel 9.0.1, for details see article http://kb.parallels.com/en/5985.
If you used Parallels Plesk Panel 6.0.0 before and upgraded Parallels Plesk Panel to version 9.0.1, you should also upgrade Parallels Plesk Billing to version 6.0.1.

You may install Parallels Plesk Billing Bundle via Plesk autoinstaller. For details see Installing Parallels Plesk Billing Bundle.

 After Parallels Plesk Billing Bundle is installed button "Billing" should appear under "Accounts" on page "Home" in Parallels Plesk Panel. If the button is missing it may be hidden in page preset. Check and enable the button in preset configuration for Default Administrator Home Page at {Settings -> Interface Management -> Home Page Presets}.

The button leads to "Administrative Login" of Parallels Plesk Billing: https://<sso hostname>:8443/plesk-billing/admin/login.php.

NOTE: Parallels Plesk Billing Bundle does not work with Parallels Plesk Panel if PHP option display_errors is enabled in Plesk PHP configuration. Verify that the option is 'Off'. You may check with the following command:

~# grep display_errors /usr/local/psa/admin/conf/php.ini
display_errors = Off
~#

If display_errors is 'On' change the option and restart sw-cp-server to apply the changes:

~# /etc/init.d/sw-cp-server restart
Restarting SWsoft control panels server... stale pidfile.  [  OK  ]
~#

 You may configure login to Parallels Plesk Billing through Parallels Plesk Panel via SSO. In this case authorization to Parallels Plesk Billing is performed automatically after button "Billing" it clicked in Parallels Plesk Panel.

SSO is an application for sw-cp-server. After installation restart sw-cp-server and verify SSO application is up and running:

~# netstat -natp | grep 1144
tcp        0      0 0.0.0.0:11443      0.0.0.0:*      LISTEN      23638/sw-cp-serverd
tcp        0      0 0.0.0.0:11444      0.0.0.0:*      LISTEN      23638/sw-cp-serverd
~#

 You may register Parallels Plesk Panel in SSO server with Plesk utility /usr/local/psa/bin/sso:

~# /usr/local/psa/bin/sso -s -server https://<sso hostname>:11443 -url https://<sso hostname>:11444
SUCCESS: SSO preferences are successfully updated
~#

and enable it:

~# /usr/local/psa/bin/sso --enable

For registering Parallels Plesk Billing in SSO server you should login to Parallels Plesk Billing as administrator and change to page SSO Settings as {System -> System Configuration -> SSO Settings}. On the page enter URL for SSO server to Admin CP Settings and Client CP Settings and click Submit Changes. To enable SSO mode on the same page mark option Enable SSO and click Submit Changes to finish.

 Then you should assign your Plesk and Billing user to the same global account. For example to assign Plesk user 'admin' and Billing user 'admin' to same global account.

Login to Parallels Plesk Panel with user 'admin' and change to {System -> Global Account -> Connect To Global Account}.

Connection to a global account ---------------------------------------
Connect your current local account to a new or existing global account

Select a global account to connect to:     [ ] Use current global account
                                           [ ] Use existing global account
                                           [ ] Create new global account
------------------------------------------------------------------------------


To assign select an option and put login credentials of global account.

Then login to Parallels Plesk Billing as administrator and assign it to the same global account {System -> Global Account -> Connect To Global Account}:

Connect To Global Account
------------------------------------------------------------------------------

Connect user 'admin' to Global Account:

[ ] Connect to current
[ ] Connect to existing
[ ] Create new
------------------------------------------------------------------------------


After assignment you may login to Parallels Plesk Billing without password. It is enough to click button "Billing" in Parallels Plesk Panel.

 If SSO server was reconfigured, for example change hostname or SSL certificate was changed you should re-register Parallels Plesk Panel and Parallels Plesk Billing in SSO server anew.

To register Parallels Plesk Panel in SSO server:

~# /usr/local/psa/bin/sso -s -server https://<new hostname>:11443 -url https://<new hostname>:11444
SUCCESS: SSO preferences are successfully updated
~#

To register Parallels Plesk Billing you should login to the control panel and change to page {System -> System Configuration -> SSO Settings}. Remove check boxes and click button Submit Changes to apply. Then enter new SSO server into "Register in SSO" and click Submit Changes again.

IMPORTANT: After new registration you should assign Plesk and Billing users to global account anew!

Additional information

Run utility /usr/local/psa/bin/sso with "--help" to get list of all available options.

~# /usr/local/psa/bin/sso --help

Usage: sso command [options]

    Available commands:
    --enable or -e                     Enable SSO mode
    --disable or -d                    Disable SSO mode
    --set-prefs or -s                  Set SSO preferences
    --get-prefs or -g                  Get SSO preferences
    --set-branded-idp                  Set branded IdP URL or table of
                                       domains with IdP URls associated for
                                       all domains
                                       if http-request-domain is not
                                       specified
    --get-branded-idp                  Get branded IdP URL for specified
                                       domain, or table of domains with IdP
                                       URls associated for all domains
                                       if http-request-domain is not
                                       specified
    --del-branded-idp                  Romove all Branded IdP URLs (reset to
                                       default) or delete specified IdP URL
                                       only or delete
                                       specified IdP URL associated with
                                       specified domain
    --help or -h                       Displays this help page

    Available options:
    -server      <SSO Server URL>      Set SSO Server URL
    -url               <IdP URL>       Set IdP URL
    -domain   <HTTP Request Domain>    Set HTTP Request Domain

Version: 9.0.1_build90090127.18 os_CentOS 5

~#




6eab23e8dac1eb5df9820a41f94cf4b4 64d8d09669cff87d685a09b84f40c490 49af2da0f2dd4c81e962790bbbd0c2b4 5d735c0e028ee5b991e4fb80d34fb87f 56797cefb1efc9130f7c48a7d1db0f0c

Was this article helpful?
No Yes
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
 
Desktop Virtualization
- Parallels Desktop 8 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac Enterprise Edition
- Parallels Management-Mac for Microsoft SCCM
Server Virtualization
- Parallels Cloud Server
- Parallels Virtuozzo Containers
Automation
- Parallels Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Web Presence Builder
- Parallels Plesk Automation
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Value-added Services for Hosters
- Parallels Partner Storefront