Skip to content

Commit d192f23

Browse files
authored
Merge pull request #397 from VirtualMetric:DT-557-navattic-directors
DT-557-Add demo components for directors configuration and management
2 parents 9c9f246 + b4e7a2a commit d192f23

File tree

11 files changed

+720
-166
lines changed

11 files changed

+720
-166
lines changed

demos.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"users-delete": "cmk287alg000304jrgque5e5u",
55
"directors-create": "cmk3zld8y000004l5c6250jjt",
66
"directors-manage": "cmkqti82k000004lachjrcrxd",
7+
"directors-update": "cmlt6uaqo000004l1b7mtebs0",
78
"clusters-create": "cmk5d6u1y000004k06x5q5c4g",
9+
"clusters-manage": "cmlt74lou000604joclwi40p7",
810
"devices-create": "cmkdpnivn000004jr7jtghtww",
911
"onboarding": "cml958r58000204jp25ip65q7",
1012
"settings-company": "cmlkotkwb002304iffzn99t07",

docs/configuration/directors/clusters.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22
sidebar_label: Clusters
33
---
44

5-
# Director Clusters
5+
# Directors: Clusters
66

77
Clusters group multiple Directors together for high availability. When one Director fails, the remaining Directors automatically take over its workload. <Topic id="devices-agents">Agents</Topic> and Devices connect to the cluster as a whole, ensuring continuous operation as long as at least one Director remains healthy.
88

9+
> Provider → Device → Preprocessing → Pipeline → Postprocessing → Target → Consumer
10+
>
11+
> **Cluster** _(groups Directors for high availability and automatic failover)_
12+
13+
<Image id="clusters-flow" />
14+
915
:::warning[Permanent Assignment]
1016
Once a Director is added to a cluster, it cannot be individually modified, updated, or removed. All configuration changes must be made at the cluster level. The only way to release a Director from a cluster is to delete the entire cluster, after which the Director returns to standalone status.
1117
:::
@@ -34,6 +40,8 @@ Filter clusters using **Search clusters** (by name) and **Status** dropdown (All
3440

3541
The cluster creation process guides you through a 3-step wizard.
3642

43+
<Demo id="clusters-create" aspectRatio="18/9" />
44+
3745
#### Step 1: Cluster Details
3846

3947
**Basic Configuration:**

docs/configuration/directors/deployment.mdx

Lines changed: 69 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,7 @@ sidebar_label: Deployment
66

77
**VirtualMetric DataStream Directors** support flexible deployment options to match your infrastructure requirements and operational preferences. Whether you're running on physical hardware, virtual machines, or containerized environments, **Directors** can be deployed to optimize performance while maintaining data sovereignty.
88

9-
## Definitions
10-
11-
**Directors** are lightweight, containerized services that process security telemetry data locally while connecting to the **DataStream** cloud platform for configuration management. This architecture ensures your sensitive data remains within your controlled environment while providing centralized management capabilities.
12-
13-
### Supported Models
14-
15-
A **Standalone Director** uses a single instance to handle all data processing. This model is recommended for most production deployments due to its simple configuration and management. It is suitable for small to medium-scale environments.
16-
17-
A **Clustered Director** deployment uses multiple instances with load balancing and high availability. Clusters provide automatic failover and redundancy, horizontal scaling capabilities, and are ideal for mission-critical, high-volume environments. To create a cluster, first deploy Directors as standalone instances, then group them via the **Clusters** tab in the Directors management interface. See <Topic id="directors-management">Directors: Management</Topic> for cluster configuration details.
9+
For Director concepts, capabilities, and installation types, see <Topic id="directors-overview">Directors: Overview</Topic>.
1810

1911
## Options
2012

@@ -94,81 +86,101 @@ Windows deployments provide native Windows service integration with Active Direc
9486
- Organizations requiring agentless Windows monitoring
9587
- Environments with existing Windows management infrastructure
9688

97-
## Agent Pre-Processing Architecture
89+
## Installation Process
90+
91+
### Standalone Director Installation
92+
93+
<Demo id="directors-create" aspectRatio="16/9" />
9894

99-
**VirtualMetric Agents** support optional pipeline-based pre-processing before sending data to **Directors**. This distributed processing model reduces **Director** workload and enables edge-based data transformation.
95+
:::info
96+
Directors are always created as standalone instances. To create a clustered deployment for high availability, first create Directors using this wizard, then group them using the **Clusters** tab. See <Topic id="directors-clusters">Clusters</Topic> for configuration details.
97+
:::
10098

101-
### Processing Models
99+
Navigate to **Home** > **Fleet Management** > **Directors** and click <gui>Create director</gui> to begin the 3-step setup wizard.
102100

103-
In the **Traditional Model**, the **Agent** collects logs locally at the endpoint and sends raw data to the **Director**. The **Director** then processes data through pipelines and forwards the processed data to targets.
101+
#### Step 1: Director Setup
104102

105-
In the **Pre-Processing Model**, the **Agent** collects logs locally at the endpoint and processes data through configured pipelines before sending pre-processed data to the **Director**. The **Director** forwards data to targets, with optional additional processing if needed.
103+
**Director Name:**
106104

107-
### Pre-Processing Benefits
105+
Enter a unique identifier for the Director (3-64 characters). This name is used for identification across the platform.
108106

109-
Pre-processing reduces **Director** processing load through distributed computation and lowers network bandwidth consumption via edge-based filtering and transformation. This approach improves scalability for large-scale deployments with multiple **Agents** and enables faster data delivery through parallel processing at collection points.
107+
**Mode Selection:**
110108

111-
From an architectural perspective, edge-based filtering reduces unnecessary data transmission while local transformation enables compliance requirements at the data source. The distributed processing model supports horizontal scaling and reduces central processing bottlenecks in high-volume environments.
109+
Select the management approach using radio tiles:
112110

113-
### Pre-Processing Configuration
111+
- **Managed** - VirtualMetric manages Director infrastructure with automated updates, proactive monitoring, and reduced operational overhead
112+
- **Self-Managed** - User controls Director deployment with manual updates, custom security configurations, and full infrastructure control
114113

115-
**Agent** pre-processing is configured through the **Director's** device configuration for that **Agent**. Pipelines assigned to **Agent** devices execute locally on the **Agent**, using the same pipeline syntax and processors available as **Director** pipelines. Configuration is managed centrally through the **Director** for consistency.
114+
:::info[Self-Managed Directors]
115+
A self-managed Director is indicated under the **Mode** column as _Self-managed_, with a warning icon when configuration has changed. Hovering over the icon displays a tooltip reading "Configuration has changed and the current one has to be deployed."
116116

117-
:::tip
118-
**Agent** pipelines support hot configuration reload. Changes made in the **Director** interface are synchronized to **Agents** automatically without requiring an **Agent** restart.
117+
The actions menu contains a <gui>Download Config</gui> option that downloads the `vmetric.vmf` file. Place this file under the `<vm_root>\Director\config` directory. Self-managed Directors skip access verification — monitor errors through the CLI or the files under `<vm_root>\Director\storage\logs`.
119118
:::
120119

121-
### Use Cases for Agent Pre-Processing
120+
#### Step 2: Access Management
122121

123-
In **high-volume environments**, you can filter non-essential logs at the collection point before transmission, reduce network bandwidth for high-volume log sources, and distribute processing load across multiple **Agent** endpoints.
122+
Configure optional access controls for the Director.
124123

125-
For **compliance and privacy**, mask sensitive data (PII, credentials) at the source before transmission. Apply regulatory transformations at the data collection point to ensure data compliance before leaving the endpoint network.
124+
**Access Tokens:**
126125

127-
In **edge computing** scenarios, process data locally in remote or branch offices to minimize data transmission to the central **Director**. This approach supports disconnected or intermittent connectivity scenarios.
126+
- **Enable Access Tokens** - Toggle to require token authentication
127+
- **Token Name** - Identifier for the token
128+
- **Token Value** - Auto-generated when token is created (use copy button to copy)
129+
- **Expiration** - Token validity period (default: 3 months):
130+
- 1 month
131+
- 3 months
132+
- 1 year
133+
- Unlimited
128134

129-
For **cost optimization**, reduce **Director** infrastructure requirements through distributed processing. Lower network bandwidth costs via edge-based filtering and optimize central processing capacity allocation.
135+
**Access Restriction:**
130136

131-
### Configuration Considerations
137+
Restrict which IP addresses can connect to the Director:
132138

133-
When implementing **Agent** pre-processing, balance processing load between **Agents** and **Directors** based on infrastructure capacity. Consider network latency and bandwidth when deciding what to process at the edge. Use **Agent** pre-processing for filtering and basic transformations, reserving complex processing (enrichment, external lookups) for the **Director** when possible. Monitor **Agent** resource utilization to prevent endpoint performance impact.
139+
- **Enable Access Restriction** - Toggle to enable IP filtering
140+
- **Restriction Type**:
141+
- **Single Block** - Single IP address
142+
- **Range** - IP address range (start-end)
143+
- **CIDR** - CIDR notation (e.g., 10.0.0.0/8)
144+
- **Sources** - List of allowed IP addresses/ranges
134145

135-
## Installation Process
146+
#### Step 3: Connect Director
136147

137-
### Standalone Director Installation
148+
**Installation Scripts:**
149+
- **PowerShell Script** - For Windows deployments
150+
- **Bash Script** - For Linux/macOS deployments
151+
- **Copy Button** - One-click copy to clipboard
152+
- **API Key** - Auto-generated secure authentication key included in scripts
138153

139-
The standard installation process follows a guided setup through the **DataStream** web interface:
154+
Run the provided script with administrative privileges on the target system. The installation downloads and configures the Director service with automatic service registration and startup configuration.
140155

141-
1. **Access Director Creation**
142-
- Navigate to Home > Fleet Management > Directors
143-
- Click "Create director" to begin setup process
156+
**Connection Verification:**
144157

145-
2. **Configure Director Properties**
146-
- Assign unique Director name for identification
147-
- Select "Standalone" installation type
148-
- Choose appropriate platform
158+
After running the installation script, verify Director connectivity:
149159

150-
A self-managed director is indicated under the **Mode** column as _Self-managed_, with a warning icon to its right. Hovering over the icon displays a tooltip, informing the user that the xonfiguration has changed and that the current one has to be deployed.
160+
- **Connecting** - Director attempting initial connection
161+
- **Success** - Director successfully connected to platform
162+
- **Failed** - Connection attempt unsuccessful
151163

152-
:::info
153-
The actions menu of a self-managed director contains a _Download config_ option. Clicking it downloads the `vmetric.vmf` file to the **Downloads** directory of **Windows**. This file should be placed under the `<vm_root>\Director\config` directory.
154-
:::
164+
Real-time connection status updates with visual indicators for each state.
155165

156-
This option removes the access verification step. The user can monitor errors through the CLI or the files under the `<vm_root>\Director\storage\logs` directory.
166+
**Completion Options:**
157167

158-
3. **Generate Installation Scripts**
159-
- System generates platform-specific installation scripts
160-
- Unique API key created for secure cloud connectivity
161-
- Scripts provided for both PowerShell (Windows) and Bash (Linux)
168+
**Connected Successfully:**
169+
- <gui>Complete Setup</gui> - Finalize and navigate to Director detail view
162170

163-
4. **Execute Installation**
164-
- Run provided script with administrative privileges on target system
165-
- Installation downloads and configures Director service
166-
- Automatic service registration and startup configuration
171+
**Not Yet Connected:**
172+
- <gui>Connect Later</gui> - Save Director configuration without connection verification
173+
- Return later to verify connection and complete setup
167174

168-
5. **Verify Connectivity**
169-
- Use built-in connection verification tool
170-
- Confirm **Director** successfully connects to **DataStream** platform
171-
- Complete setup process once connectivity is established
175+
#### Navigation
176+
177+
The wizard displays a 3-step progress indicator (Director Setup > Access Management > Connect Director). Click completed steps to navigate back. Invalid steps are marked with an error indicator.
178+
179+
**Navigation Buttons:**
180+
- <gui>Cancel</gui> - Exit wizard (changes to <gui>Connect Later</gui> on final step)
181+
- <gui>Next</gui> - Advance to next step with validation
182+
- <gui>Create Director</gui> - Submit Director configuration and proceed to connection (from Step 2)
183+
- <gui>Complete Setup</gui> - Finalize Director creation (final step, enabled after successful connection)
172184

173185
### Network Requirements
174186

@@ -241,9 +253,7 @@ If your firewall processes rules in order, ensure the `dl.vget.me` rule is evalu
241253

242254
### Security Considerations
243255

244-
Deploy **Directors** in appropriate network segments and implement network access controls and monitoring. Use dedicated service accounts with minimal privileges and enable logging and audit trails for security monitoring.
245-
246-
All sensitive data processing occurs locally on the **Director**, with only configuration metadata transmitted to the cloud platform. Implement encryption for data at rest and in transit, and maintain regular security updates and patch management.
256+
Deploy **Directors** in appropriate network segments and implement network access controls and monitoring. Use dedicated service accounts with minimal privileges and enable logging and audit trails for security monitoring. Implement encryption for data at rest and in transit, and maintain regular security updates and patch management.
247257

248258
### Performance Optimization
249259

@@ -255,7 +265,7 @@ For data processing efficiency, optimize YAML pipeline configurations for perfor
255265

256266
Maintain regular configuration backups and version control. Document recovery procedures and test them regularly. Implement monitoring and alerting for service health and plan for disaster recovery scenarios.
257267

258-
For redundancy, group **Directors** into clusters for automatic failover and load balancing. Clusters require a minimum of 3 Directors (odd number for quorum) and provide continuous operation when individual Directors fail. See <Topic id="directors-clusters">Clusters</Topic> for configuration details. Consider geographic distribution for disaster recovery and plan for seamless failover procedures.
268+
For redundancy, group **Directors** into clusters for automatic failover and load balancing. See <Topic id="directors-clusters">Clusters</Topic> for configuration details and quorum requirements. Consider geographic distribution for disaster recovery and plan for seamless failover procedures.
259269

260270
## Troubleshooting
261271

0 commit comments

Comments
 (0)