|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST] README.dev: Updates to commissioning process
- mkpxedir requires the resource to be allocated
- mention the need to bless the hosts for comissioning run, and to add
proper blessings afterwards.
- run mg-execute-flight in screen
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
README.dev | 17 ++++++++++++++++-
mg-hosts | 3 ++-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/README.dev b/README.dev
index 3303e77..b26f8df 100644
--- a/README.dev
+++ b/README.dev
@@ -34,6 +34,9 @@ Base it on an existing machine:
$ mg-hosts create-like marilith-n5 marilith-n4
+Allocate it for the duration of setup
+$ mg-allocate HOST
+
Set up the props and flags
$ mg-hosts setprops ...
$ mg-hosts setflags ...
@@ -52,9 +55,21 @@ $ echo $FLIGHT
Clone an existing flight, e.g. 20855 was previous successful flight
$ OSSTEST_CONFIG=production-config ./cs-adjust-flight $FLIGHT copy 20855
-Run it:
+"commission" is a blessing, hosts should be blessed with it, e.g.
+
+$ mg-hosts setflags HOSTA HOSTB -- blessed-commission
+
+Can use anything e.g. commission-$classofmachine if doing multiple
+commissions in parallel.
+
+Run it, e.g. in a screen session:
OSSTEST_CONFIG=production-config ./mg-execute-flight -Bcommission
-Eian.campbell@xxxxxxxxxx -f20855 $FLIGHT
+Once machines are ready for production use remove the commission
+blessing and add the production ones, e.g.
+
+$ mf-hosts setflags HOSTA HOSTB -- \!blessed-commission
blessed-{real,play,adhoc}
+
Shutting down
=============
diff --git a/mg-hosts b/mg-hosts
index c49be79..a6f6e6e 100755
--- a/mg-hosts
+++ b/mg-hosts
@@ -21,7 +21,8 @@
#
# ./mg-hosts mkpxedir HOST...
# Create directories for pxeboot as expected by the rest
-# of osstest. Will use "sudo".
+# of osstest. Will use "sudo". The HOST(s) must be
+# allocated (via mg-allocate HOST).
#
# ./mg-hosts create-like SOURCE-HOST NEW-HOST[,NEW-HOST...]
# Create new host(s). This does NOT copy the
--
1.7.2.5
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |