Got it

VCM machineID

416 0 3 0 0

VCM machineID


1.machineID

The unique ID assigned by the BMU to all clusters in the cluster, starting from 2001 and increasing in sequence. The main management class of BMU machineID is ClusterMachineIdMap.

 

1.1BMU machineID management

         BMU saves the list of machineIDs of all nodes in the cluster in

  /usr/local/iGET/SRE/SEM/webapps/sem/WEB-INF/classes/ machineId.propertiesConfiguration file,

The file content is the matching relationship between the machineID and ComputeNode_ID.

       /usr/local/iGET/config/cluster/clusterConfig.propertiesThe cnSn attribute of the file saves the native machineID

 

1.2 BMU machineID application

 1.2.1 Inter-module authentication


When the BMU creates a cluster, all nodes are generated, and the server authentication information of all modules is sent to

 /usr/local/iGET/SRE/SEM/webapps/sem/WEB-INF/classes/serveraccount.xml。

The user name for authentication between modules is named "module name_machineID", which is used to store the authentication and authentication information of the specified module on the machine.

<accounts><account><username>sdkservice_2001</username><pwd>zOVcC4nqivKZ2eq0nU5tsA==</pwd><iv>qehLj3NaENRyrexL</iv></account>

 The inter-module authentication authentication client information is maintained by each module and is generally stored in the clientaccount.xml file of the module directory

<username>mp_mcss_MACHINEID</username>

The initial username username is "module name_MACHINEID", and the MACHINEID is replaced with the native machineID when the service is started.

MP module client file example, 2014 is the machineID of the node where the MP is located.

095646vxkvmd9v6dfpixnp.jpg?machineID1.jp

 1.2.2  VCM business

The service saves the correspondence between machineID and IP. The data content stored in some databases is machineID, and then the corresponding IP is queried through the mapping relationship.

095659btk0rqqv22sy6r2v.jpg?machineID2.jp

 1.2.3  CMU&SUBCMU

     CMU and SUBCMU message communication NodeID.

 

 1.2.4  zookeeper

    Zookeeper uses machineID as the node unique ID (myid)。

 

 1.2.5  Disaster tolerance


To ensure that the machineID is unique, the machine ID 2001 of the disaster recovery production center is incremented, and the machine ID 1001 of the disaster recovery center is incremented.


Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.