Cisco Cisco Intelligent Automation for Cloud 4.2 Guida All'Installazione

Pagina di 110
16
Installing and Configuring Optional Software
 
Configuring Chef for Cisco IAC Integration
(replaces file in 
<ruby-path>/gems/knife-windows-0.5.13/lib/chef/knife/
)
windows_bootstrap_context.rb
(replaces file 
<ruby-path>/gems/knife-windows-0.5.13/lib/chef/knife/core
)
windows-chef-client-msi.erb
(replaces file in 
<ruby-path>/gems/knife-windows-0.5.13/lib/chef/knife/bootstrap
)
In your 
knife.rb
 file, include your proxy information as in the example below
bootstrap_proxy = ‘http://64.102.255.40:8080’
bootstrap_no_proxy = ‘192.168.1.*, internal.chef.server’
Setting Up Proxies for Chef in Cisco IAC
To set up your proxies for Chef, follow the steps below.
1.
Navigate to Setup > System Settings > Connections.
2.
Select Connect Cloud Infrastructure if you are setting up the initial connection, or select Update Cloud 
Infrastructure
 if you want to go back into your setup and add or change the proxy settings.
Note: 
When you update settings using the Update Cloud Infrastructure, you must re-enter information (such as 
passwords) into any field that displays as empty. The reason for this is that the system will overwrite the existing data 
for that field in the database with blanks. Passwords are not displayed for security / cryptographic reasons.
3.
Scroll down and select Show Additional Options.
4.
Enter the Installer Package Base URL as needed.
5.
From the Bootstrap/Proxy info for Operating System, select either Windows or Linux.
Note: 
You can enter information for both, and Cisco IAC will track it. You can only enter one at a time.
6.
Enter the proxy (either Windows Proxy or Linux Proxy, as is appropriate.) For example, 
http://133.133.133.152
Include the port number, if that is how you have set up your enviroment; for example: 
http://133.133.133.152:8080.
7.
In the Proxy Bypass box, enter one or many exceptions. You can enter them as URLs or as IP addresses. They must 
be separated by semi-colons (;) or the system will not parse them correctly.
Note: 
While there is a field for the proxy bypass for Windows, this feature does not actually function. At this time, 
Microsoft Windows does not accept a proxy bypass.
8.
Enter the Bootstrap User name and the Bootstrap Password.
9.
Click Submit.