![]() ![]() For detailed steps, see Import the Tanium Server public key file to the Zone Server. Make sure to import the public key to the Zone Server appliance before you run this command (TanOS menu 2-I).The public keys are stored in the tanium-init.dat file. Specify the version of Tanium to install, such as: ssh -qt install tzs 7. Specify the version of Tanium to install, such as: ssh -qt install ts 7. Specify the version of Tanium to install, such as: ssh -qt install tms 7. Do not allow a Tanium Appliance that is configured with the All-in-One role to accept inbound connections from the internet. Tanium does not support All-in-One deployments in production environments. Use Tanium Appliances configured with the All-in-One role only for evaluation purposes. If you run the command without a version, the server returns the available versions found on the server this includes the versions that ship with TanOS and any other versions (of the RPM upgrade files) that are found in the /incoming directory. Specify the version of Tanium to install, such as: ssh -qt install aio 7. Add help to any command to show help for the particular command. Target - Specifies the target, or standby, Tanium Module Server to which data is copiedįormat: ssh -q configure tms sync targetĭisable - Disables synchronization between the two Tanium Module Serversįormat: ssh -q configure tms sync disable Source - Specifies the source, or active, Tanium Module Server from which data is copiedįormat: ssh -q configure tms sync source Status - Shows the current Tanium Module Server synchronization statusįormat: ssh -q configure tms sync status To use this feature, you must:Īdd both Tanium Module Servers to the array.įor more information about Tanium Module Server synchronization, see Schedule sync jobs. Reset - Resets the IPsec configuration and generate a new keyįormat: ssh -q configure ipsec resetĪfter you perform an IPsec reset, run refresh array on an array manager appliance to distribute the updated IPsec key to the other appliances in the array.Ĭonfigure the Tanium Module Server synchronization feature, which copies content from an active Tanium Module Server to a standby Tanium Module Server. Where serial is the serial number of the peer applianceįormat: ssh -q configure ipsec testĭisable - Clears the IPsec configuration and preserve the keyįormat: ssh -q configure ipsec disable Set - Enables IPsec with the indicated applianceįormat: ssh -q configure ipsec set serial Show - Shows the current IPsec configurationįormat: ssh -q configure ipsec show Both appliances must have the same Tanium role of either Tanium Server or Tanium Module Server. Install the Tanium Zone Server Hub add-on to an existing Tanium Server role.Ĭonfigure IPsec communication with a peer appliance in an array. Syntax ssh -qt Tanium platform commands Command Some CLI commands are available to users with the tanuser role, as noted in Tanium platform commands. To access all CLI commands, you must access the CLI as a user with the tanadmin role. Let's keep in mind that Runnable is a functional interface, so we can replace it with a lambda expression.Tanium Appliances contain a command line interface (CLI) that you can access from SSH. To demonstrate that the method actually returns a thread-safe collection, we first create a couple of threads.Īfter that, we then inject a Runnable instance into their constructors, in the form of a lambda expression. Thread thread2 = new Thread(listOperations) ĪssertThat(syncCollection.size()).isEqualTo(12) Īs shown above, creating a synchronized view of the supplied collection with this method is very simple. Thread thread1 = new Thread(listOperations) SyncCollection.addAll(Arrays.asList(1, 2, 3, 4, 5, 6)) Now, to understand more clearly how to use this method, let's create a basic unit test: Collection syncCollection = Collections.synchronizedCollection(new ArrayList()) As the name suggests, it returns a thread-safe collection backed up by the specified Collection. The first synchronization wrapper that we'll cover in this round-up is the synchronizedCollection() method. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |