Skip to content

Conversation

@Hareet
Copy link
Member

@Hareet Hareet commented Oct 19, 2023

No description provided.

@Hareet Hareet self-assigned this Oct 19, 2023

We will want to copy the data from the recently shut-down VM above to a new vmdk disk file that we will mount onto our k3s control-plane server. Copying the disk will ensure we have a backup plan if anything goes wrong during our migration process. This will keep the original project data intact.

govc device.info -vm /<datacenter_name>/vm/<sub_dir>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hareet I'd suggest changing this to govc device.info -vm /<datacenter_name>/vm/vm_name. sub_dir suggests a dir within a VM is being targeted by the command.


govc device.info -vm /<datacenter_name>/vm/<sub_dir>

Example of above output:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hareet I propose changing this to Example *subset* of the above output highlighting the SAN disk to clarify that the output from this command is a lot more.


Take note of the .vmdk file name from the above output, as well as the datastore name.

govc datastore.ls -ds=<datastore_name> <sub-dir> .
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hareet I had to specify the data centre to run this command successfully. Either export GOVC_DATACENTER=x or govc datastore.ls -dc=<datacenter_name> -ds=<datastore_name> <sub-dir> .

Base automatically changed from k3s-vmware to main November 28, 2023 02:13
@garethbowen
Copy link
Contributor

@Hareet Can you have a look at Reagan's suggestions?

@andrablaj
Copy link
Member

@Hareet what is the plan with this PR? Can we merge it? Does it need extra work? cc @mrjones-plip

@mrjones-plip
Copy link
Contributor

Thanks @andrablaj ! I've moved the docs to the correct locations, merged main, and merged troubleshooting section to be a sub section. I thiiiink this is good to go then with possibly one non-subjective comment from Reagan, but I really defer to @Hareet on if what I did was OK and how much work this needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants