See https://github.com/immarvin/discovery_scaling_simulator for details
1.2K
the stuff to build docker image for discovery scaling simulator for xCAT
The autobuilt docker image can be found in https://hub.docker.com/r/xcat/discovery_scaling_simulator/builds/
The steps to utilize the discovery scaling simulator:
brctl addbr br0;brctl addif br0 eno1;ifconfig eno1 0.0.0.0;ifconfig br0 10.4.41.30/8
ip route add default via 10.0.0.101
sudo docker network create --driver=bridge --gateway=10.4.41.30 --subnet=10.4.224.1/8 --ip-range=10.4.224.1/24 -o "com.docker.network.bridge.name"="br0" mynet;
docker pull xcat/discovery_scaling_simulator
for i in {1..500};do docker run -e "XCATMASTER=10.3.5.21" --network mynet --ip 10.4.$[224+i/200].$[i%200+1] --name "node$(printf %04d $i)" --hostname "node$(printf %04d $i)" --mac-address="00:00:00:00:$(printf %02x $[i/256]):$(printf %02x $[i%256])" --entrypoint=/bin/dodiscovery --cap-add=ALL -itd --rm xcat/discovery_scaling_simulator; done
the environment variable "XCATMASTER" specifies the IP address of MN on which xcatd is running
Content type
Image
Digest
Size
216.2 MB
Last updated
about 9 years ago
docker pull xcat/discovery_scaling_simulator