Forum
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC:

XCP-ng 8.0 (beta) 4 years 3 months ago #1967

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
Hi Ethan,
Thanks for the offer. We have already thoroughly tested against version 8 and have migrated multiple pools successfully. All of which are stable. A few tweaks were made to our packages to be compatible with version 8. Make sure to use the latest packages (following the steps in the above post and running the reinstsall_nosan_after_dom0_upgrade script will ensure that the latest versions are installed)

Good luck with your migration.

Please Log in or Create an account to join the conversation.

XCP-ng 8.0 (beta) 4 years 2 months ago #1985

I was following these upgrade steps, had my master upgrade from 7.6 to 8.0,
and now the following iscsi-cfg commands are not working and drbd shows "secondary/secondary":

iscsi-cfg become-primary
iscsi-cfg become-secondary

Also got this message on the upgraded box:

```
root@192.168.1.4's password:
Last login: Tue Feb 18 16:42:57 2020 from 192.168.1.49
[16:57 xen2 ~]# iscsi-cfg become-primary
Host must be in manual mode in order to perform this action
Try 'iscsi-cfg manual-mode-enable' first
Exiting..
[16:57 xen2 ~]# iscsi-cfg become-primary
Host must be in manual mode in order to perform this action
Try 'iscsi-cfg manual-mode-enable' first
Exiting..
[16:57 xen2 ~]# iscsi-cfg manual-mode-enable
iscsi-ha now in manual mode
Note: High Availability should be disabled if any hosts will be shutdown or rebooted
Error determining ID of this host
[16:58 xen2 ~]# iscsi-cfg become-primary
1: Failure: (127) Device minor not allocated
additional info from kernel:
unknown minor
Command 'drbdsetup-84 role 1' terminated with exit code 10

^C
[16:58 xen2 ~]# cat /proc/drbd
version: 8.4.10 (api:1/proto:86-101)
srcversion: CE41F2FAB70AE3534BF40A6

1: cs:WFBitMapT ro:Secondary/Secondary ds:Outdated/UpToDate C r---d-
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d oos:0
[16:58 xen2 ~]# iscsi-cfg become-primary
| iscsi-ha is in manual mode - current status shown below |
Storage role: Secondary [expected primary]
Replication IP: 172.16.1.2/24 [172.16.1.3 expected here]
iSCSI target: Stopped [expected running]
[16:58 xen2 ~]# cat /proc/drbd
version: 8.4.10 (api:1/proto:86-101)
srcversion: CE41F2FAB70AE3534BF40A6

1: cs:WFBitMapT ro:Secondary/Secondary ds:Outdated/UpToDate C r---d-
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d oos:0
[16:58 xen2 ~]# cat /proc/drbd
version: 8.4.10 (api:1/proto:86-101)
srcversion: CE41F2FAB70AE3534BF40A6
```

Please Log in or Create an account to join the conversation.

XCP-ng 8.0 (beta) 4 years 2 months ago #1986

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
Did you run this script on the upgraded host?
halizard.org/release/misc/reinstsall_nosan_after_dom0_upgrade

The upgrade process would have removed some packages that are required.. After a major version upgrade, the above script should be run on the upgraded host to restore it back to its original state.

Please Log in or Create an account to join the conversation.

XCP-ng 8.0 / Upgrade from 7.6 to 8.0 caused iscsi failure due to MTU issues. 4 years 2 months ago #1988

Some hard boots and constant fiddling later I ended up just upgrading the 2nd box as if the DRBD had resynced and iscsi was working though it wasn't and then did troubleshooting from there. Discovered an issue with the kernel upgrade that was causing jumbo frames to get dropped...

See: github.com/xcp-ng/xcp/issues/339

Salvatore Costantino wrote: Did you run this script on the upgraded host?
halizard.org/release/misc/reinstsall_nosan_after_dom0_upgrade

The upgrade process would have removed some packages that are required.. After a major version upgrade, the above script should be run on the upgraded host to restore it back to its original state.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2