Citrix

Produktdokumentation



Ganzes Dokument herunterladen

Preparing Citrix CloudPlatform to work with CloudPortal Business Manager

Dec. 22, 2015

Pre-requisite: Citrix CloudPlatform (CCP) is installed and fully operational.

  1. Log in to CloudPlatform Management Server as Admin user.
  2. Navigate to Accounts > Admin.
  3. Select View users > Admin.
  4. Click Generate Keys. This generates the API key and secret key.
  5. Copy these keys to a text file.
  6. Navigate to Global Settings:
    1. Search for security.singlesignon.key value. Copy it to a text file.
    2. Search for integration.api.port.
      1. Specify the default api port value as 8096.
      2. Click Save and then, click OK.
  7. Restart the CloudStack service:
    1. SSH to the Citrix CloudPlatform Linux server.
    2. Log in and type the command: service cloudstack-management restart.
  8. Refresh the CCP UI page and log in as Admin user.
  9. Install the Cloud Usage server on CCP. After the installation is complete start the cloud-usage server by typing this command: service cloudstack-usage restart.
  10. Configure CloudPlatform database to support CloudPortal Business Manager. Create a new MySQL user and configure the proper permissions for this user, as this will allow CloudPortal Business Manager to access the CCP database.
    1. Login to MySQL using the command:

      mysql -u root (use -p if you defined password for the MySQL root user).

    2. At the mysql prompt,
      create user cpbm  identified by 'ANY PASSWORD'; 
      GRANT ALL PRIVILEGES ON *.* TO 'cpbm'@'%' WITH GRANT OPTION;  
      FLUSH PRIVILEGES; 
      
    3. Exit MySQL by running to command: quit.

  11. Configuring iptables on CCP: Allow incoming TCP ports 8096, 20400 and 3306 on the CCP Server by editing the iptables file.
    1. Run the command:

      vi /etc/sysconfig/iptables

    2. Add these lines:
      -A INPUT -p tcp -m tcp --dport 3306 -j ACCEPT 
      -A INPUT -p tcp -m tcp --dport 8096 -j ACCEPT 
      -A INPUT -p tcp -m tcp --dport 20400 -j ACCEPT
    3. Save and exit the file and restart the iptables service using the command: service iptables restart .
Back to Top