[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-API] xcp-xapi toolstack on ubuntu 14.04
- To: xen-api@xxxxxxxxxxxxx
- From: Firma Averlon <info@xxxxxxxxxxx>
- Date: Wed, 20 Aug 2014 18:40:44 +0200
- Delivery-date: Wed, 20 Aug 2014 16:41:06 +0000
- List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
Hi,
what do you mean with "message-cli". When typing this as command on
the shell it does return nothing.
After starting xapi manually:
Aug 20 18:37:05 f42252v2 ffs: XCP_PATH=/usr/lib/blktap/sbin
TAPDISK2=/usr/lib/blktap/libexec/tapdisk
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
use-switch = true (true if the message switch is to be enabled)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
switch-port = 8080 (port on localhost where the message switch is
listening)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
pidfile = /var/run/xapi.pid (Filename to write process PID)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
log = syslog:daemon (Where to write log messages)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
daemon = true (True if we are to daemonise)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
disable-logging-for = "" http http http (A space-separated list of
debug modules to suppress logging from)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
config = /etc/xapi.conf (Location of configuration file)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 120. (Set the value of 'master_connection_reset_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = -1. (Set the value of 'master_connection_retry_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 10. (Set the value of 'master_connection_default_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 300. (Set the value of 'qemu_dm_ready_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 300. (Set the value of 'hotplug_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 300. (Set the value of 'pif_reconfigure_ip_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 300. (Set the value of 'pool_db_sync_interval')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 86400. (Set the value of 'pool_data_sync_interval')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 10. (Set the value of 'domain_shutdown_ack_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 1200. (Set the value of 'domain_shutdown_total_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 60. (Set the value of 'emergency_reboot_delay_base')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 120. (Set the value of 'emergency_reboot_delay_extra')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 60 (Set the value of 'ha_xapi_healthcheck_interval')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 120 (Set the value of 'ha_xapi_healthcheck_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 1 (Set the value of 'ha_xapi_restart_attempts')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 300 (Set the value of 'ha_xapi_restart_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 300. (Set the value of 'logrotate_check_interval')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 86400. (Set the value of 'rrd_backup_interval')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 300. (Set the value of 'session_revalidation_interval')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 900. (Set the value of 'update_all_subjects_interval')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 256. (Set the value of 'wait_memory_target_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 600. (Set the value of 'snapshot_with_quiesce_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 30. (Set the value of 'host_heartbeat_interval')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 600. (Set the value of 'host_assumed_dead_interval')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 10. (Set the value of 'fuse_time')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 30. (Set the value of 'db_restore_fuse_time')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 86400. (Set the value of 'inactive_session_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 86400. (Set the value of 'pending_task_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 3900. (Set the value of 'completed_task_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 120. (Set the value of 'minimum_time_between_bounces')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 60. (Set the value of
'minimum_time_between_reboot_with_no_added_delay')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 20. (Set the value of 'ha_monitor_interval')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 1800. (Set the value of 'ha_monitor_plan_interval')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 1800. (Set the value of 'ha_monitor_startup_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 60. (Set the value of 'ha_default_timeout_base')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 300. (Set the value of 'guest_liveness_timeout')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 60. (Set the value of
'permanent_master_failure_retry_interval')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 2. (Set the value of 'redo_log_max_block_time_empty')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 30. (Set the value of 'redo_log_max_block_time_read')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 2. (Set the value of 'redo_log_max_block_time_writedelta')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 30. (Set the value of 'redo_log_max_block_time_writedb')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 5. (Set the value of 'redo_log_max_startup_time')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
name = 0.1 (Set the value of 'redo_log_connect_delay')
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
logconfig = /etc/log.conf (Log config file to use)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
writereadyfile = (touch specified file when xapi is ready to accept
requests)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
writeinitcomplete = (touch specified file when xapi init process is
complete)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
nowatchdog = false (turn watchdog off, avoiding initial fork)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
(indicates that this server start is the first
since the host rebooted)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
relax-xsm-sr-check = true (allow storage migration when SRs have
been mirrored out-of-band (and have matching SR uuids))
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
disable-logging-for = "" (comma-separated list of
modules to suppress logging from)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
xenopsd-queues = org.xen.xcp.xenops.classic (list of xenopsd
instances to manage)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
xenopsd-default = org.xen.xcp.xenops.classic (default xenopsd to
use)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
xapissl = /usr/lib/xapi/xapissl (Script for starting stunnel)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
pool_config_file = /etc/xcp/pool.conf (Pool configuration file)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
pool_secret_path = /etc/ptoken (Pool configuration file)
Aug 20 18:37:05 f42252v2 xapi: [debug|f42252v2|0 thread_zero||xapi]
udhcpd = /bin/true (DHCP server)
Aug 20 18:37:05 f42252v2 xapi: [ info|f42252v2|0
thread_zero||watchdog] (Re)starting xapi...
What does that say to me ?
Karl-Heinz
Am 20.08.2014 um 18:14 schrieb Jon
Ludlam:
Sounds like xapi hasn't started
correctly. Check in the logs for 'thread_zero' and see where
it's got to. Additionally, try 'message-cli diag'.
Jon
On 20/08/14 17:08, Firma Averlon wrote:
Hi Jon,
sorry, no success.
I guess something else must be wrong since the xe-command
(should be working with xcp-xapi I guess) says it has an
connection error.
Karl-Heinz
Am 20.08.2014 um 17:48 schrieb Jon
Ludlam:
I'd set a root password and try
to get it working that way. We always run as root here, so
it's likely that running as a normal user will require code
changes.
Jon
On 20/08/14 16:40, Firma Averlon wrote:
Hi,
anyone to give me an hint how to get XenCenter connected ?
Thanks
Karl-Heinz
Am 19.08.2014 um 07:05 schrieb
Firma Averlon:
Hi all,
O.K.
since ubunut normally does not have a root password I have tried with a
different user I normally work with.
No success.
Nothing in the normal logs.
It's a way with small steps to heaven.
Help appreciated.
Karl-Heinz
Am 18.08.2014 um 19:38 schrieb Dave Scott:
Hi,
On 18 Aug 2014, at 16:48, Firma Averlon <info@xxxxxxxxxxx> wrote:
Hi all,
ok, partial success.
make did it - after a long time
make install and the wizard and reboot did it as well.
But what now?
To connect via XenCenter I need a user and a password. Where to set this
in the config.
xapi uses PAM for authentication. Try logging in with your root password.
Is there a how-to?
That’s a good idea — someone should write one! :)
Cheers,
Dave
Karl-Heinz
Am 18.08.2014 um 16:45 schrieb Dave Scott:
Hi,
It builds packages using chroots, so each package build has to reinstall libraries — that’s probably what you’re seeing. It’s perfectly normal :-)
Dave
On 18 Aug 2014, at 14:15, Firma Averlon <info@xxxxxxxxxxx> wrote:
Hi Jon,
Ok, I did not give it an hour since it looked like it tries to install always the same packages.
I'll let it run.
Thanks
Will come back with info.
Karl-Heinz
Am 18.08.2014 um 14:52 schrieb Jon Ludlam:
Hi Karl,
What sort of loop? It does have to make an awful lot of packages - it takes a bit over an hour for me right now.
Jon
On 18/08/14 13:38, Firma Averlon wrote:
Hi all,
thanks for the info. Seems to run into a loop at "make" for ubuntu.
Thanks Karl-Heinz
Am 11.08.2014 um 15:08 schrieb Bob Ball:
Hi,
For Ubuntu 14.04 please check out buildroot (
https://github.com/xenserver/buildroot
). This repository can be used for building packages on many different distributions although it does not include pre-built packages.
Thanks,
Bob
-----Original Message-----
From:
xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api
-
bounces@xxxxxxxxxxxxx
] On Behalf Of Firma Averlon
Sent: 10 August 2014 10:11
To:
xen-api@xxxxxxxxxxxxx
Subject: [Xen-API] xcp-xapi toolstack on ubuntu 14.04
Hi all,
already since some time I am trying to install a xcp-xapi tool-stack on
an ubuntu 14.04 system.
I have posted in various xen related forums for help but last but not
least was directed to this list.
Target is to have a xen-server running on a ubuntu host able to manage
the xen-server with xen-center on windows.
To be honest. The various systems on xen (xen hypervisor, citrix xen
server, .....) do confuse me a little bit. My understanding is the
xcp-xapi tool-stack is what I need if I want ubuntu to be the host -
probably wrong!?
Is there anywhere a how-to on that!?
Hall how-to's I found are on 12.04 and the packages named there do not
exist and do not work on 14.04.
--
Mit freundlichen Grüßen / Kind Regards
Hr./Mr. Karl-Heinz Fischbach
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|