→ Applies to: SynetoOS 5.x
Ensure the following prerequisites are met before starting:
– SynetoOS must be connected to the internal hypervisor via IP 172.16.254.2 ("How to connect SynetoOS 5 to the local ESXi hypervisor")
Step 1. Connect to SynetoOS appliance via SSH as admin
ssh admin@<your_ip_address_or_hostname>
Step 2. Get root privileges
sudo su -
Online mode
Step 1. Change directory
cd /
Step 2. Download the “syn-tools.sh” script
wget https://storage.googleapis.com/syneto_public_files/downloads/Syneto-Tools/syn-tools.sh
Step 3. Make the script executable
chmod +x syn-tools.sh
Step 4. Run the "syn-tools.sh" script
./syn-tools.sh
Step 5. Apply the changes to the shell environment
source /root/.bashrc
Step 6. Get root privileges
sudo su -
Step 7. Create en empty datastore (replace <pool_name> and <datastore_name> with the correct information)
create_datastore <pool_name> <datastore_name>
EXAMPLE
create_datastore hybrid vm_storage
Step 8. Choose which ESXi host to connect the datastore created in Step 7 to (replace <pool_name> and <datastore_name> with the correct information)
create_datastore <pool_name> <datastore_name>
1. syneto-esxi
2. syneto-esxi-2
0. All
Select the number corresponding to the single ESXi host (e.g. 1, 2) to which the datastore created in SynetoOS should be connected.
Select 0 to connect to all ESXi hosts connected to SynetoOS.
Offline mode
Step 1. Download create-datastore binary file download
Step 2. Upload create-datastore file in SynetoOS 5 /tmp folder
To upload the
create-datastore
file to the/tmp
directory on SynetoOS 5, a third-party tool (e.g. WinSCP) must be used.
Step 3. Copy create-datastore file in /sbin folder
cp /tmp/create-datastore /sbin/
Step 4. Make the script executable
chmod +x /sbin/create-datastore
Step 5. Get root privileges
sudo su -
Step 6. Create en empty datastore (replace <pool_name> and <datastore_name> with the correct information)
create_datastore <pool_name> <datastore_name>
EXAMPLE
create_datastore hybrid vm_storage
Step 7. Choose which ESXi host to connect the datastore created in Step 6 to (replace <pool_name> and <datastore_name> with the correct information)
create_datastore <pool_name> <datastore_name>
1. syneto-esxi
2. syneto-esxi-2
0. All
Select the number corresponding to the single ESXi host (e.g. 1, 2) to which the datastore created in SynetoOS should be connected.
Select 0 to connect to all ESXi hosts connected to SynetoOS.