Scan Network
Last updated
Last updated
In the LightNet window click Scan network.
By default, once we enable LightNet, our machine appears as a Primary machine. For everything to work correctly, each cluster must be populated with exactly one Primary machine and at least one Secondary machine.
If you are using more than one LightNet cluster in your multi-server setup, you must first organize your clusters, and only then start connecting the Primary machines to the Secondary machines, as described in this chapter.
In a typical workflow, the machine you are setting up your project on is a Primary machine, and all other machines in the cluster are Secondary machines.
You can convert a Primary machine to a Secondary machine in two different ways:
By physically going to the machine you want to turn into a Secondary and changing the Network role,
By clicking on the Make secondary buttons in the LightNet window of the machine you intend to be your Primary.
In our case, we will proceed with the second option.
Good to know: In the LightNet window, you can recognize whether a machine is a Primary or a Secondary by looking next to its name in LightNet window. (P) stands for Primary and (S) stands for Secondary.
Choose Make secondary button on all machines you would like to convert to Secondary machines.
Good to know: In the LightNet window of a Primary machine, you can change the Network role of any other machine in the list from Primary to Secondary, however, the opposite is not true. If you wish to turn a Secondary machine back into a Primary, you have to change the Network role on the Secondary machine itself.
All other machines that are visible in the list should either be removed by clicking on the Trash icon or placed in another cluster.
To change the role of a LightNet machine, you can go to Edit -> Project Settings -> LightNet, and under the Network role section, select the desired role.
A quicker way to change this setting is by clicking on the LightNet label on the Top Bar of the program and choosing the Network role.
Of course, these changes are only applied to the local machine.