In general, it's recommended that you deploy an Apache reverse proxy with mod_cache in front pkg.depotd.

You'll get way better performance.

Keep in mind you also have the option of providing access to the repository via NFS exports -- that will also scale far better.

-Shawn

On 11/22/11 22:20, Vit Hrachovy wrote:
Hi Brian,
in SST we've seen such problem on AI server installing multiple clients.

Try tuning pkg/threads option of pkg.depotd(1), we're using value of
2500 to be able to install >100 clients at the same time.

Regards
Hark

On 11/22/11 11:46 PM, Brian Phipps wrote:
Hi All,

I'm getting the following failure from one of my AI install clients and
I'm not sure where to look for the solution. Other systems using this AI
server are not failing install. Here is a cut and paste from
/system/volatile/install_log:

2011-11-22 22:18:38,873 InstallationLogger DEBUG progress:
generated-transfer-1140-1, reported 0, normalized 0, total=21.521737
2011-11-22 22:18:38,924 InstallationLogger.generated-transfer-1140-1
DEBUG Parsing the Data Object Cache
2011-11-22 22:18:38,924 InstallationLogger.generated-transfer-1140-1
DEBUG Reading the IPS source
2011-11-22 22:18:38,925 InstallationLogger.generated-transfer-1140-1
DEBUG Primary Publisher Info: solaris
2011-11-22 22:18:38,925 InstallationLogger.generated-transfer-1140-1
DEBUG Origin Info: http://pkg.oracle.com/solaris/release
2011-11-22 22:18:38,925 InstallationLogger.generated-transfer-1140-1
DEBUG Validating IPS input
2011-11-22 22:18:38,926 InstallationLogger.generated-transfer-1140-1
DEBUG Destination: /a
2011-11-22 22:18:38,926 InstallationLogger.generated-transfer-1140-1
DEBUG Image action: create
2011-11-22 22:18:38,926 InstallationLogger.generated-transfer-1140-1
DEBUG Image Type: full
2011-11-22 22:18:38,926 InstallationLogger.generated-transfer-1140-1
INFO Creating IPS image
2011-11-22 22:19:09,212 InstallationLogger.generated-transfer-1140-1
DEBUG Cleaning up
2011-11-22 22:19:09,213 InstallationLogger ERROR Error occurred during
execution of 'generated-transfer-1140-1' checkpoint.
Traceback (most recent call last):
File
"/usr/lib/python2.6/vendor-packages/solaris_install/engine/__init__.py",
line 811, in _execute_checkpoints
checkpoint.execute(dry_run)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/transfer/ips.py",
line 356, in execute
self.get_ips_api_inst()
File
"/usr/lib/python2.6/vendor-packages/solaris_install/transfer/ips.py",
line 765, in get_ips_api_inst
force=True, **self._image_args)
File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 5213,
in image_create
pubs = api_inst.get_publisherdata(repo=repo)
File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 157,
in wrapper
return f(instance, *fargs, **f_kwargs)
File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 4322,
in get_publisherdata
ccancel=self.__check_cancel)
File
"/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py",
line 432, in wrapper
return f(instance, *fargs, **f_kwargs)
File
"/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py",
line 911, in get_publisherdata
operation="publisher", versions=[0], ccancel=ccancel):
File
"/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py",
line 1983, in __gen_repo
raise fail
TransportFailures: Framework stall:
URL: 'http://pkg.oracle.com/solaris/release/versions/0/'.

2011-11-22 22:19:09,295 InstallationLogger DEBUG Checkpoints Completed:
DOC:


The AI svc gets put into maintenance:
root@csmx51-a05:/system/volatile# svcs -xv
svc:/application/auto-installer:default (automated installer)
State: maintenance since Tue Nov 22 22:19:09 2011
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 1M auto-install
See: /var/svc/log/application-auto-installer:default.log
Impact: This service is not running.
fault.log51-a05:/system/volatile# cat
/var/svc/log/application-auto-installer:de
[ Nov 22 22:18:03 Executing start method
("/lib/svc/method/auto-installer"). ]

Automated Installation started
The progress of the Automated Installation will be output to the console
Detailed logging is in the logfile at /system/volatile/install_log
Press RETURN to get a login prompt at any time.

22:18:07 Install Log: /system/volatile/install_log
22:18:07 Using XML Manifest: /system/volatile/ai.xml
22:18:07 Using profile specification: /system/volatile/profile
22:18:07 Using service list file: /var/run/service_list
22:18:07 Starting installation.
22:18:07 0% Preparing for Installation
22:18:07 100% manifest-parser completed.
22:18:08 0% Preparing for Installation
22:18:08 0% Preparing for Installation
22:18:08 0% Preparing for Installation
22:18:08 0% Preparing for Installation
22:18:08 1% Preparing for Installation
22:18:08 1% Preparing for Installation
22:18:08 1% Preparing for Installation
22:18:08 2% Preparing for Installation
22:18:08 2% Preparing for Installation
22:18:08 2% Preparing for Installation
22:18:08 3% Preparing for Installation
22:18:08 3% Preparing for Installation
22:18:08 3% Preparing for Installation
22:18:08 4% Preparing for Installation
22:18:08 4% Preparing for Installation
22:18:08 4% Preparing for Installation
22:18:27 7% target-discovery completed.
22:18:27 === Executing Target Selection Checkpoint ==
22:18:27 Selected Disk(s) : c0t5000CCA012B76AC4d0
22:18:28 13% target-selection completed.
22:18:28 17% ai-configuration completed.
22:18:28 19% var-shared-dataset completed.
22:18:38 21% target-instantiation completed.
22:18:38 21% Beginning IPS transfer
22:18:38 Creating IPS image
22:19:09 Error occurred during execution of 'generated-transfer-1140-1'
checkpoint.
22:19:09 Failed Checkpoints:
22:19:09
22:19:09 generated-transfer-1140-1
22:19:09
22:19:09 Checkpoint execution error:
22:19:09
22:19:09 Framework stall:
22:19:09 URL: 'http://pkg.oracle.com/solaris/release/versions/0/'.
22:19:09
22:19:09 Automated Installation Failed. See install log at
/system/volatile/install_log
Automated Installation failed
Please refer to the /system/volatile/install_log file for details
[ Nov 22 22:19:09 Method "start" exited with status 95. ]
--



<http://www.oracle.com>
Brian Phipps | Software Engineer
Oracle WorldWide Operations
3295 NW 211th Terrace | Hillsboro, OR 97124
Phone: +1 503 495-7716

NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.




_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to