I try to deploy MemSQL in a restricted environment with limited Internet access, but the network is still accessible to Internet and can not be down.
I have no problem to use memsql-ops file-add -t memsql
to add offline media. But the memsql-deploy
sub-command still always try to download newer version from Internet.
In past, I can force memsql-deploy
implicitly to use offline media by put down the Internet facing NIC. But how can I force memsql install only using offline media without put down the network?
Use memsql-deploy --version-hash HASH to install a specific version. HASH can be found in memsqlbin/utils/build_receipt.json as memsql_version_hash (http://docs.memsql.com/docs/build-receipt-schema). This will ensure it uses the file you added, instead of trying to download a different version.