Available in Classic and VPC
You may need to perform certain preliminary tasks before creating resources.
The cases where you need to perform preliminary tasks and the tasks that should be performed depending on the circumstances are as follows:
- When you use Windows server to create resources: Set Windows
- When you cannot use the root/Administrator accounts to install the agent: Set server ID
- When you use the server created from a server image with the agent installed or the server with the previously installed agent: End backup process and delete related directory
If the above cases do not apply, you can create the resource immediately without performing any additional tasks. For more information about how to create a resource, see Create resource.
Set Windows
To create resources on Windows servers, perform the following tasks:
- Set fixed port for WMI (required)
- Enable Remote Registry (required)
- Set ACG rule (required)
- Enable ADMIN$ share (required)
Set fixed port for WMI (required)
To set a Windows Management Instrumentation (WMI) fixed port 24158:
- Press [Windows] + [R] keys, and enable the Run command.
- Enter cmd and press [Ctrl] + [Shift] + [Enter] keys.
- The cmd window opens with administrator permissions.
- Enter the following commands and run the WMI service automatically:
# winmgmt -standalonehost - Enter the following commands and stop the WMI service and restart it:
# net stop Windows Management Instrumentation # net start Windows Management Instrumentation - Enter the following commands and add the outbound rule for Windows firewall:
Example:// Rule to allow for the access to the port 24158 # netsh firewall add portopening TCP 24158 WMIFixedPort

Enable Remote Registry (required)
To enable Remote Registry:
- Press [Windows] + [R] keys, and enable the Run command.
- Enter control and press the [Enter] key.
- When the Control Panel window appears, navigate to System and Security > Administrative Tools > Services to run Services.
- Double-click Remote Registry to open the Remote Registry Properties (Local Computer) window.
- You can also right-click Remote Registry and click Properties.
- Select Automatic from the Startup type dropdown menu.
- Click [OK].
- Click
at the top of Services page to run Services.
- Remote Registry service is enabled.
To prevent Remote Registry from being disabled again, edit the registry as follows:
- Press [Windows] + [R] keys, and enable the Run command.
- Enter regedit and press the [Enter] key.
- Registry Editor opens.
- Go to the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\RemoteRegistrypath. - Double-click DisableIdleStop.
- You can also right-click DisableIdleStop and click Modify.
- When the popup window appears, enter 1 into Value Data and click [OK].
Set ACG rule (required)
When you use Backup services in Classic, see Set ACG and set up the ACG rule as follows:

- Protocol: TCP
- Access source (IP range): 10.0.0.0/8
- Allowed port: 135, 139, 445, 24158
Enable ADMIN$ share (required)
While managing the server remotely, view whether ADMIN$ share, the currently used resource, is enabled and enable it.
View whether ADMIN$ share is enabled
To view whether ADMIN$ share is enabled:
- Press [Windows] + [R] keys, and enable the Run command.
- Enter cmd and press [Ctrl] + [Shift] + [Enter] keys.
- The cmd window opens with administrator permissions.
- Run
net shareto view whether ADMIN$ share is enabled.

Enable ADMIN$ share
To enable ADMIN$ share:
- Press [Windows] + [R] keys, and enable the Run command.
- Enter regedit and press the [Enter] key.
- Registry Editor opens.
- Go to the
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameterspath. - Right-click Registry Editor window and navigate to New > DWORD (32-bit) Value.
- Enter AutoShareServer and press the [Enter] key.
- Add AutoShareWks in the same way.
- Double-click AutoShareServer.
- You can also right-click AutoShareServer and click Modify.
- When the popup window appears, enter 1 into Value data and click [OK].
- Set AutoShareWKS in the same way.

- Set AutoShareWKS in the same way.
- Reboot the server.
Set server ID
To install the agent on servers, use the root account for Linux and the Administrator account for Windows. When you cannot use the root/Administrator accounts, create an account for the agent installation and assign the root/Administrator permissions to use it. However, after the completion of the agent installation, remove the root/Administrator permissions from the account.
Linux
To create an account for the agent installation and assign the root permissions to the account:
- Access the server with the root account.
- See Access server (VPC) or Access server (Classic) depending on the environment you are using on NAVER Cloud Platform.
- To create an account for agent installation, enter the following commands:
- When you have an existing account for the agent installation, you do not need to create an account.
adduser {account name} Example: // adduser test01 - Run the following commands:
vi /etc/sudoers - Enter the content below to assign the root permissions to the account for agent installation:
Example:"The name of account for the agent installation" ALL=(ALL) NOPASSWD: ALL[root@backup-linux01 ~]# vi /etc/sudoers ## Allow root to run any commands anywhere root ALL=(ALL) ALL test01 ALL=(ALL) NOPASSWD: ALL - After the completion of agent installation, delete the content that was entered at step 4 to remove the root permissions.
Windows
To assign the administrator permissions to the account for agent installation:
- Access the server.
- See Access server (VPC) or Access server (Classic) depending on the environment you are using on NAVER Cloud Platform.
- Press [Windows] + [R] keys, and enable the Run command.
- Enter netplwiz and press the [Enter] key.
- When the popup window appears, click the account for the agent installation and click [Properties].
- If you do not have any accounts for agent installation, click [Add] to create a new account.
- When the popup window of Properties appears, click the [Group Membership] tab.
- Select Administrator and click [OK].
- After the completion of the agent installation, delete the account or change the permissions of the account back to Standard user.
End backup process and delete related directory
If the server intended for resource creation meets all of the following conditions, you must end the currently running backup process and delete the directory related to the agent stored on the server:
- A server created from a server image with the agent installed.
- A server that has a history of agent installation and still contains agent-related files.
Before creating resources, perform preliminary tasks according to the OS of the server you will use to create resources.
Linux
When you create the resource in the Linux server with the existing backup agent installed, perform the following tasks:
- Access the Linux server you will use to create resources.
- See Access server (VPC) or Access server (Classic) depending on the environment you are using on NAVER Cloud Platform.
- Enter the following commands with the root permissions and end the backup process installed on the server:
- When the commands do not work, exit the backup process by following step 4.
commvault stop -all Redirecting stopping service for Instance001 to systemd ... Running "systemctl stop commvault.Instance001.service" ... Stopping Commvault services for Instance001 ... All services stopped. - Enter the following commands to check for any remaining backup processes on the server:
- Backup process you need to check: cvlaunchd, cvd, cvfwd, ClMgrS
ps -ef | grep -i "cvlaunchd|cvd|cvfwd|ClMgrS" - Use kill commands to exit the backup process.
- When the commands do not work at step 1 or the backup process continues running afterward, perform the above step.
- View the following path and delete the directory related to the agent:
- Default path: Folders starting with commvault in /opt
- Example: /opt/commvault, /opt/commvault1, /opt/commvault2, etc.
- Log path: Folders starting with commvault in /var/log
- Example: //var/log/commvault, /var/log/commvault1, /var/log/commvault2, etc.
- Registry path: Folders starting with /etc/CommVaultRegistry
- Example: /etc/CommVaultRegistry, /etc/CommVaultRegistry1, /etc/CommVaultRegistry2, etc.
NoteWhen the agent has not been installed in the default path, delete the home directory of the account used for installation.
Example:
When the agent is installed in the ncloud directory, its location is under /home/ncloud/ and the path is as follows:- Default path: /home/ncloud/commvault
- Log path: /home/ncloud/var/log/commvault
- Registry path: /home/ncloud/CommVaultRegistry
- Default path: Folders starting with commvault in /opt
Windows
When you create the resource on the Windows server with the existing backup agent installed, perform the following preliminary tasks:
When deleting the directories related to the agent, you have to follow the procedure. If directories are deleted individually, they may not be completely removed, which can cause issues during resource creation.
- Access the Windows server you will use to create resources.
- See Access server (VPC) or Access server (Classic) depending on the environment you are using on NAVER Cloud Platform.
- Search for Commvault Process Manager in the taskbar and run Process Manager.
- Click the [Services] tab.
- Click All Services from the tree menu and click
.
- You can also right-click All Services and click Stop.
- If there are any running backup processes, end them individually.
- Click the backup process that is still running and click
, or right-click the process and click Stop.
- Click the backup process that is still running and click
- Search for Add or remove programs in the taskbar and run it.
- After clicking Commvault ContentStore, click [Uninstall].
- After viewing the popup window, click [Uninstall].
- When the COMMVAULT popup window appears, click and select Uninstall all packages in the instance and press the [Enter] key.
- View the content you want to delete and press the [Enter] key.