Este conteúdo não está disponível no idioma selecionado.
Chapter 3. Getting your node ID
			When providing information to Red Hat Support, it is helpful to provide the unique identifier of your node. For MicroShift, you can get your node ID manually by using the OpenShift CLI (oc) or by retrieving the ID from a file.
		
A node ID is created only after the MicroShift service runs for the first time after installation.
3.1. Getting the node ID of a running node
Use either the of the following steps to get the ID of a running node.
Procedure
- Get the ID of a running node using - oc getby entering the following command:- oc get namespaces kube-system -o jsonpath={.metadata.uid}- $ oc get namespaces kube-system -o jsonpath={.metadata.uid}- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - Example output - 7cf13853-68f4-454e-8f5c-1af748cbfb1a - 7cf13853-68f4-454e-8f5c-1af748cbfb1a- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
- Get the ID of a running node by retrieving it from the - cluster-idfile by entering the following command:- sudo cat /var/lib/microshift/cluster-id - $ sudo cat /var/lib/microshift/cluster-id- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - Example output - 7cf13853-68f4-454e-8f5c-1af748cbfb1a - 7cf13853-68f4-454e-8f5c-1af748cbfb1a- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
3.2. Getting the node ID of a stopped node
				For a node that ran before, but is not running now, you can get the node ID from the cluster-id file in the /var/lib/microshift directory.
			
Procedure
- Get the ID of a stopped node by retrieving it from the - cluster-idfile by entering the following command:- sudo cat /var/lib/microshift/cluster-id - $ sudo cat /var/lib/microshift/cluster-id- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - Example output - 7cf13853-68f4-454e-8f5c-1af748cbfb1a - 7cf13853-68f4-454e-8f5c-1af748cbfb1a- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow