Jump to content
Welcome to our new Citrix community!
  • 0

Xen Server rebuild old host - add new host to pool


Reg Dancy1709159709

Question

Recommended Posts

  • 0

Reduce the server to just a single, primary network interface. Make sure it has the same hotfixes already applied as the other pool members.

Add it to the pool, then reconfigure the individual iSCSI addresses and perform an isciadm discovery but first make sure any multipath.conf file additions/adjustments are made if using multipath to match the other servers and that multipath is enabled (the server must be in maintenance mode to change this).

Verity it looks like th eother nodes and behaves the same.

 

As to the old dead host, it will have an invalid UUID and needs to be removed from the pool. See: https://support.citrix.com/article/CTX126382

 

-=Tobias

Link to comment
  • 0

Sooo I think I know why the server failed to join the pool, see below:

 

xapi: [debug|dwdccmxs6|4391 |Async.pool.join R:e010ba44f974|xmlrpc_client] with_recorded_stunnelpid task_opt=None s_pid=31121
Sep 13 09:17:53 dwdccmxs6 xapi: [error|dwdccmxs6|4391 |Async.pool.join R:e010ba44f974|xapi] Pool.join failed because of patches mismatch
Sep 13 09:17:53 dwdccmxs6 xapi: [error|dwdccmxs6|4391 |Async.pool.join R:e010ba44f974|xapi] Remote has 26e92259-fdd0-49eb-9ab3-081cb4fbfea8 fea1e02a-8b66-4fd9-885b-065b9762acf4 2de08f2f-9d3f-4db4-863e-2e250b07b2a1 2e395eff-d4fa-448f-8e25-34925d79c353 b6244cb2-f498-4ced-9fe1-646b3eabb169 2180de19-aeb7-4bef-86b6-55a388d4b9ca 6d6f1dd4-345c-4f2b-b1ff-34a53962b156 81ae90d4-9258-47d4-9c66-2d22a162f15d de543b58-734f-491e-888f-383f18c1535a 7659560f-547e-46af-ab5a-72e6c8f0202c efb89f11-3c5d-484d-ad6f-fd25a68e81d2 802ad851-b225-4334-9762-52b93f0aa1d4 35a1d48d-cf64-4170-813f-83aa2458475b fef46734-9f68-458c-8fd6-0f6f3b53d7e4 6de9dcfd-6c34-415e-a765-4f79689a74ef ce36e337-9886-4e20-bfa2-1807072d001d 59e838ef-edb4-40e2-8835-d2c5e0de9c67 561b0a27-f37e-4a91-9823-56c8597f8161 153457b0-1e19-4a8f-9ca2-f0bd4a171f90 d7dbc698-2aff-4ecb-bb61-ad93eb75ea86 ea9df922-bcae-4562-85d8-a60a8eac2c55 a830eb90-25df-46bd-89ce-88caf47637f4 e06e3a58-8136-4a3d-806e-e01749b3332f eb384407-58cf-4993-950c-b6f23f083c2e 0ba01367-823b-4222-b695-a882981c8d5e ebb54187-985f-4cf8-92b1-a049c3d9a90a 0371710a-d25f-4d9f-8490-e8faf4a10883 3cd79c49-318a-4562-befa-42cc36727be2 3857a181-704e-4d4a-be5a-91a1184e340e 8de2f726-0f08-4ebd-b1e7-36cf15869d82 e19cfd88-bace-42a7-951a-f9b2706cd553 bb2108be-98b6-4447-ba29-1f9aac0eef80 c54e0135-1efc-4095-88b9-e16967d663af bcc4493d-234b-47ff-a379-d3a1f3ea6570 05cb91db-367d-4873-a542-e0b728686c1a 32e5c75c-29ce-4826-a971-bd92f5615caa 490e4de3-58e7-49fc-ac87-ae4919b54a6b cedec355-3a8c-4286-aedc-fa49bd03225d a0f51d13-b9dd-4228-8e37-8533ed114370 dfe42752-7dce-41d7-9ca6-14dd94e2de54 474a0f28-0d33-4c9b-9e20-52baaea8ce5e a47c228d-6d7a-4d54-a7e1-39f40907978f 6180ccc6-f25b-4c1e-a8fa-e0399cb151ae eb586804-cca9-42f7-8848-2a9a13242f1d 32a229f8-88fd-4970-89e2-2549eb837b88 c21a67e1-9950-489a-8c36-ddea6b073c32 2448eb38-789e-487e-be5a-59c9b5798be5 d1fb6092-4a86-4e1e-8de9-b78b4eb30667 cba857f9-ae5c-4b83-8031-0363113f285e

 

Now I applied  all patches to match the existing hosts in the pool, except for one "RDU003".

 

I can't find this patch anywhere! I searched and came up empty. Can anyone point me in the right direction and provide a link?

Link to comment
  • 0

Well, I found the rolling pool update after all. I found it in "c:\Program Files\Citrix\XenCenter\".

 

However, it still failed with a different error:

 

debug|dwdccmxs6|5783 |Async.pool.join R:939203597741|xmlrpc_client] with_recorded_stunnelpid task_opt=None s_pid=30728
Sep 13 15:52:55 dwdccmxs6 xapi: [error|dwdccmxs6|5783 ||backtrace] Async.pool.join R:939203597741 failed with exception Server_error(HOSTS_NOT_HOMOGENEOUS, [ Patches applied differ: Remote has 26e92259-fdd0-49eb-9ab3-081cb4fbfea8 fea1e02a-8b66-4fd9-885b-065b9762acf4 2de08f2f-9d3f-4db4-863e-2e250b07b2a1 2e395eff-d4fa-448f-8e25-34925d79c353 b6244cb2-f498-4ced-9fe1-646b3eabb169 2180de19-aeb7-4bef-86b6-55a388d4b9ca 6d6f1dd4-345c-4f2b-b1ff-34a53962b156 81ae90d4-9258-47d4-9c66-2d22a162f15d de543b58-734f-491e-888f-383f18c1535a 7659560f-547e-46af-ab5a-72e6c8f0202c efb89f11-3c5d-484d-ad6f-fd25a68e81d2 802ad851-b225-4334-9762-52b93f0aa1d4 35a1d48d-cf64-4170-813f-83aa2458475b fef46734-9f68-458c-8fd6-0f6f3b53d7e4 6de9dcfd-6c34-415e-a765-4f79689a74ef ce36e337-9886-4e20-bfa2-1807072d001d 59e838ef-edb4-40e2-8835-d2c5e0de9c67 561b0a27-f37e-4a91-9823-56c8597f8161 153457b0-1e19-4a8f-9ca2-f0bd4a171f90 d7dbc698-2aff-4ecb-bb61-ad93eb75ea86 ea9df922-bcae-4562-85d8-a60a8eac2c55 a830eb90-25df-46bd-89ce-88caf47637f4 e06e3a58-8136-4a3d-806e-e01749b3332f eb384407-58cf-4993-950c-b6f23f083c2e 0ba01367-823b-4222-b695-a882981c8d5e ebb54187-985f-4cf8-92b1-a049c3d9a90a 0371710a-d25f-4d9f-8490-e8faf4a10883 3cd79c49-318a-4562-befa-42cc36727be2 3857a181-704e-4d4a-be5a-91a1184e340e 8de2f726-0f08-4ebd-b1e7-36cf15869d82 e19cfd88-bace-42a7-951a-f9b2706cd553 bb2108be-98b6-4447-ba29-1f9aac0eef80 c54e0135-1efc-4095-88b9-e16967d663af bcc4493d-234b-47ff-a379-d3a1f3ea6570 05cb91db-367d-4873-a542-e0b728686c1a 32e5c75c-29ce-4826-a971-bd92f5615caa 490e4de3-58e7-49fc-ac87-ae4919b54a6b cedec355-3a8c-4286-aedc-fa49bd03225d a0f51d13-b9dd-4228-8e37-8533ed114370 dfe42752-7dce-41d7-9ca6-14dd94e2de54 474a0f28-0d33-4c9b-9e20-52baaea8ce5e a47c228d-6d7a-4d54-a7e1-39f40907978f 6180ccc6-f25b-4c1e-a8fa-e0399cb151ae eb586804-cca9-42f7-8848-2a9a13242f1d 32a229f8-88fd-4970-89e2-2549eb837b88 c21a67e1-9950-489a-8c36-ddea6b073c32 2448eb38-789e-487e-be5a-59c9b5798be5 d1fb6092-4a86-4e1e-8de9-b78b4eb30667 cba857f9-ae5c-4b83-8031-0363113f285e -- Local has 149be566-421d-4661-bfca-e70970f86a36 ebb54187-985f-4cf8-92b1-a049c3d9a90a 81ae90d4-9258-47d4-9c66-2d22a162f15d cedec355-3a8c-4286-aedc-fa49bd03225d e19cfd88-bace-42a7-951a-f9b2706cd553 eb384407-58cf-4993-950c-b6f23f083c2e a830eb90-25df-46bd-89ce-88caf47637f4 2448eb38-789e-487e-be5a-59c9b5798be5 6180ccc6-f25b-4c1e-a8fa-e0399cb151ae fea1e02a-8b66-4fd9-885b-065b9762acf4 2e395eff-d4fa-448f-8e25-34925d79c353 32e5c75c-29ce-4826-a971-bd92f5615caa a47c228d-6d7a-4d54-a7e1-39f40907978f fef46734-9f68-458c-8fd6-0f6f3b53d7e4 bb2108be-98b6-4447-ba29-1f9aac0eef80 8de2f726-0f08-4ebd-b1e7-36cf15869d82 eb586804-cca9-42f7-8848-2a9a13242f1d 2de08f2f-9d3f-4db4-863e-2e250b07b2a1 c54e0135-1efc-4095-88b9-e16967d663af 0371710a-d25f-4d9f-8490-e8faf4a10883 153457b0-1e19-4a8f-9ca2-f0bd4a171f90 26e92259-fdd0-49eb-9ab3-081cb4fbfea8 59e838ef-edb4-40e2-8835-d2c5e0de9c67 6de9dcfd-6c34-415e-a765-4f79689a74ef 3857a181-704e-4d4a-be5a-91a1184e340e de543b58-734f-491e-888f-383f18c1535a 802ad851-b225-4334-9762-52b93f0aa1d4 ea9df922-bcae-4562-85d8-a60a8eac2c55 b6244cb2-f498-4ced-9fe1-646b3eabb169 05cb91db-367d-4873-a542-e0b728686c1a d1fb6092-4a86-4e1e-8de9-b78b4eb30667 2180de19-aeb7-4bef-86b6-55a388d4b9ca efb89f11-3c5d-484d-ad6f-fd25a68e81d2 6d6f1dd4-345c-4f2b-b1ff-34a53962b156 ce36e337-9886-4e20-bfa2-1807072d001d 32a229f8-88fd-4970-89e2-2549eb837b88 3cd79c49-318a-4562-befa-42cc36727be2 bcc4493d-234b-47ff-a379-d3a1f3ea6570 35a1d48d-cf64-4170-813f-83aa2458475b 0ba01367-823b-4222-b695-a882981c8d5e d7dbc698-2aff-4ecb-bb61-ad93eb75ea86 a0f51d13-b9dd-4228-8e37-8533ed114370 7659560f-547e-46af-ab5a-72e6c8f0202c 490e4de3-58e7-49fc-ac87-ae4919b54a6b 561b0a27-f37e-4a91-9823-56c8597f8161 c21a67e1-9950-489a-8c36-ddea6b073c32 e06e3a58-8136-4a3d-806e-e01749b3332f cba857f9-ae5c-4b83-8031-0363113f285e dfe42752-7dce-41d7-9ca6-14dd94e2de54 ])

 

I'm not exactly sure what this means. I have rebuilt a host that was originally part of this pool to begin with.

 

Link to comment
  • 0

Worst case, you can edit within the installed folder to make it look like it matches. Look in /var/updates/applied/ for the list of what the server believes is installed.

You can copy the files needed to make them match. Yes, a bad idea in general but it can get you by if there's a patch mismatch due to some weird internal error.

 

I still highly recommend upgrading from 7.0 to something newer!

 

-=Tobias

Link to comment
  • 0

This is xensource.log output when I try to rejoin:

 

[error|dwdccmxs6|11 INET :::80|dispatch:session.login_with_password D:e0fda92720cb|backtrace] session.login_with_password D:6207c0f30e86 failed with exception Server_error(HOST_IS_SLAVE, [ 10.224.17.131 ])
Sep 16 10:02:45 dwdccmxs6 xapi: [error|dwdccmxs6|11 INET :::80|dispatch:session.login_with_password D:e0fda92720cb|backtrace] Raised Server_error(HOST_IS_SLAVE, [ 10.224.17.131 ])
Sep 16 10:02:45 dwdccmxs6 xapi: [error|dwdccmxs6|11 INET :::80|dispatch:session.login_with_password D:e0fda92720cb|backtrace] 1/8 xapi @ dwdccmxs6 Raised at file xapi_session.ml, line 382
Sep 16 10:02:45 dwdccmxs6 xapi: [error|dwdccmxs6|11 INET :::80|dispatch:session.login_with_password D:e0fda92720cb|backtrace] 2/8 xapi @ dwdccmxs6 Called from file xapi_session.ml, line 38
Sep 16 10:02:45 dwdccmxs6 xapi: [error|dwdccmxs6|11 INET :::80|dispatch:session.login_with_password D:e0fda92720cb|backtrace] 3/8 xapi @ dwdccmxs6 Called from file xapi_session.ml, line 38
Sep 16 10:02:45 dwdccmxs6 xapi: [error|dwdccmxs6|11 INET :::80|dispatch:session.login_with_password D:e0fda92720cb|backtrace] 4/8 xapi @ dwdccmxs6 Called from file server_helpers.ml, line 68
Sep 16 10:02:45 dwdccmxs6 xapi: [error|dwdccmxs6|11 INET :::80|dispatch:session.login_with_password D:e0fda92720cb|backtrace] 5/8 xapi @ dwdccmxs6 Called from file server_helpers.ml, line 90
Sep 16 10:02:45 dwdccmxs6 xapi: [error|dwdccmxs6|11 INET :::80|dispatch:session.login_with_password D:e0fda92720cb|backtrace] 6/8 xapi @ dwdccmxs6 Called from file lib/pervasiveext.ml, line 22
Sep 16 10:02:45 dwdccmxs6 xapi: [error|dwdccmxs6|11 INET :::80|dispatch:session.login_with_password D:e0fda92720cb|backtrace] 7/8 xapi @ dwdccmxs6 Called from file lib/pervasiveext.ml, line 26
Sep 16 10:02:45 dwdccmxs6 xapi: [error|dwdccmxs6|11 INET :::80|dispatch:session.login_with_password D:e0fda92720cb|backtrace] 8/8 xapi @ dwdccmxs6 Called from file lib/backtrace.ml, line 176

Link to comment
  • 0

I think I fixed that issue but encountered a new one.

 

I am trying to join the rebuilt host to the pool but it's complaining the following patch (RPU003) doesn't match:

 

uuid ( RO)                    : 474a0f28-0d33-4c9b-9e20-52baaea8ce5e
              name-label ( RO): RPU003
        name-description ( RO): Install Xapi plugin to allow host upgrade from HTTP, FTP or NFS install media.
                    size ( RO): 21953
                   hosts (SRO): ffc462f2-85a9-4494-b772-9b09d7822289, ed0b6e63-c
694-4d0b-830e-9ece03885d03, b7affdcf-21ec-4a0d-a857-b2ace1a78b8a, 37c9b057-90b2-
4ceb-a0d6-63818a12daa1, b606702c-a9f7-4430-985f-a4cb8bf82e19, 3a9ec8c2-6377-4d82
-9d97-3be9336e978b, 778ac260-777d-4e69-813f-6943f9de9b3c, b5a8c9ad-8bad-41b8-a16
e-1ef83438211e, 0967de54-0c3b-4d2c-8aa2-350b9ccfb28d, cf2453dc-b2ed-4c67-874a-9d
72122d1652
    after-apply-guidance (SRO):

 

The above is from the master:

 

uuid ( RO)                    : 149be566-421d-4661-bfca-e70970f86a36
              name-label ( RO): RPU003
        name-description ( RO): Install Xapi plugin to allow host upgrade from HTTP, FTP or NFS install media.
                    size ( RO):
                   hosts (SRO): 34d152df-7b32-46b3-8afc-11ac8218e9e4
    after-apply-guidance (SRO):

 

This is from the rebuilt host that was originally part of the pool.

 

Can someone explain why the same patch isn't valid here when I try to run xe pool-join master-address=

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...