Re: [PR] Add doc for Management Server Statistics and Peers [cloudstack-documentation]

2024-11-13 Thread via GitHub


weizhouapache commented on PR #455:
URL: 
https://github.com/apache/cloudstack-documentation/pull/455#issuecomment-2472780002

   new page:
   
https://cloudstack-documentation--455.org.readthedocs.build/en/455/adminguide/management.html#management-server-statistics-and-peers


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] Veeam B&R corrections [cloudstack-documentation]

2024-11-13 Thread via GitHub


rajujith opened a new pull request, #456:
URL: https://github.com/apache/cloudstack-documentation/pull/456

   Correcting the product name to 'Veeam Backup and Replication'. Added global 
setting to enable the plugin.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Add doc for Management Server Statistics and Peers [cloudstack-documentation]

2024-11-13 Thread via GitHub


weizhouapache commented on code in PR #455:
URL: 
https://github.com/apache/cloudstack-documentation/pull/455#discussion_r1840139597


##
source/adminguide/management.rst:
##
@@ -587,3 +587,52 @@ To start the Management Server:
 
# service cloudstack-management start
 
+
+Management Server Statistics and Peers
+--
+
+Administrators are able to view the statistics and peers information of 
management server.
+  
+#. Log in to the CloudStack UI as administrator
+
+#. In the left navigation bar, click Infrastructure.
+
+#. Click "Management servers", all management servers are listed.
+
+|management-servers-list.png|
+
+#. Click the management server you'd like to view. The statistics of the 
management server are displayed.
+
+|management-server-statistics.png|
+
+#. Navigate to the "Peers" tab. The peers of the management servers are listed
+
+|management-server-peers.png|
+

Review Comment:
   will do



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Update documentation for importing of instances [cloudstack-documentation]

2024-11-13 Thread via GitHub


sureshanaparti commented on code in PR #453:
URL: 
https://github.com/apache/cloudstack-documentation/pull/453#discussion_r1839942944


##
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##
@@ -113,11 +113,33 @@ In the UI to import instance, you can optionally select a 
KVM host and temporary
 
 |import-vm-from-vmware-to-kvm-options.png|
 
-When importing a Virtual Machine from VMware to KVM, CloudStack performs the 
following actions:
-
-- Clones the Source Virtual Machine on the selected VMware Datacenter for 
running VMs: The source Virtual Machine will be cloned in the original state 
for running VMs. The recommended state is the stopped state to prevent data 
inconsistencies or loss when cloning the virtual machine.
-- Imports the VM files (OVF) of the Cloned Virtual Machine for running 
VMs, Source Virtual Machine for stopped VMs to a temporary storage location 
(which can be selected by the administrator) from KVM host if ovftool installed 
or management server (can be forced by the administrator).
-- Converts the OVF on the temporary storage location to KVM using 
virt-v2v: CloudStack (or the administrator) selects a running and enabled KVM 
host to perform the conversion from VMware to KVM using **virt-v2v**. If the 
binary is not installed, then the host will fail the migration. In case it is 
installed, it will perform the conversion into the temporary location to store 
the converted QCOW2 disks of the virtual machine. The disks are then moved into 
the destination storage pools for the virtual machine. The conversion is a 
long-lasting process which can be set to time out by the global setting 
'convert.vmware.instance.to.kvm.timeout'. The conversion processes takes a long 
time because virt-v2v creates a temporary virtual machine to inspect the source 
VM and generate the converted disks with the correct drivers. Additionally, it 
needs to copy the converted disks into the temporary location.
+When importing a instance from VMware to KVM, CloudStack performs the 
following actions:
+
+- Clones the Source Instance on the selected VMware Datacenter for running
+  VMs: The source instance will be cloned in the original state for running
+  VMs. The recommended state is the stopped state to prevent data
+  inconsistencies or loss when cloning the instance.
+- Imports the VM files (OVF) of the Cloned instance for running VMs, Source
+  Instance for stopped VMs to a temporary storage location (which can be
+  selected by the administrator) from KVM host if ovftool installed or
+  management server (can be forced by the administrator).
+- Converts the OVF on the temporary storage location to KVM using virt-v2v:
+  CloudStack (or the administrator) selects a running and enabled KVM host 
to
+  perform the conversion from VMware to KVM using **virt-v2v**. If the 
binary
+  is not installed, then the host will fail the migration. In case it is
+  installed, it will perform the conversion into the temporary location to
+  store the converted QCOW2 disks of the instance. The disks are then moved
+  into the destination storage pools for the instance. The conversion is a
+  long-lasting process which can be set to time out by the global setting
+  'convert.vmware.instance.to.kvm.timeout'. The conversion processes takes 
a
+  long time because virt-v2v creates a temporary instance to inspect the
+  source VM and generate the converted disks with the correct
+  drivers. Additionally, it needs to copy the converted disks into
+  the temporary location.
+- The converted instance is then imported into the selected KVM cluster.
+  The host for conversion is selected randomly from the selected

Review Comment:
   ```suggestion
 The host for import is selected randomly from the selected
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Add doc for Management Server Statistics and Peers [cloudstack-documentation]

2024-11-13 Thread via GitHub


weizhouapache commented on code in PR #455:
URL: 
https://github.com/apache/cloudstack-documentation/pull/455#discussion_r1840591613


##
source/adminguide/management.rst:
##
@@ -587,3 +587,52 @@ To start the Management Server:
 
# service cloudstack-management start
 
+
+Management Server Statistics and Peers
+--
+
+Administrators are able to view the statistics and peers information of 
management server.
+  
+#. Log in to the CloudStack UI as administrator
+
+#. In the left navigation bar, click Infrastructure.
+
+#. Click "Management servers", all management servers are listed.
+
+|management-servers-list.png|
+
+#. Click the management server you'd like to view. The statistics of the 
management server are displayed.
+
+|management-server-statistics.png|
+
+#. Navigate to the "Peers" tab. The peers of the management servers are listed
+
+|management-server-peers.png|
+

Review Comment:
   updated



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Add doc for Management Server Statistics and Peers [cloudstack-documentation]

2024-11-13 Thread via GitHub


weizhouapache commented on PR #455:
URL: 
https://github.com/apache/cloudstack-documentation/pull/455#issuecomment-2473945017

   @blueorangutan docbuild


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Add doc for Management Server Statistics and Peers [cloudstack-documentation]

2024-11-13 Thread via GitHub


blueorangutan commented on PR #455:
URL: 
https://github.com/apache/cloudstack-documentation/pull/455#issuecomment-2473277032

   @borisstoyanov a Jenkins job has been kicked to build the document. I'll 
keep you posted as I make progress.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Update documentation for importing of instances [cloudstack-documentation]

2024-11-13 Thread via GitHub


sureshanaparti commented on PR #453:
URL: 
https://github.com/apache/cloudstack-documentation/pull/453#issuecomment-2473140244

   @blueorangutan docbuild


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Update documentation for importing of instances [cloudstack-documentation]

2024-11-13 Thread via GitHub


blueorangutan commented on PR #453:
URL: 
https://github.com/apache/cloudstack-documentation/pull/453#issuecomment-2473141920

   @sureshanaparti a Jenkins job has been kicked to build the document. I'll 
keep you posted as I make progress.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Update documentation for importing of instances [cloudstack-documentation]

2024-11-13 Thread via GitHub


sureshanaparti commented on code in PR #453:
URL: 
https://github.com/apache/cloudstack-documentation/pull/453#discussion_r1839941145


##
source/adminguide/virtual_machines/importing_vmware_vms_into_kvm.rst:
##
@@ -113,11 +113,33 @@ In the UI to import instance, you can optionally select a 
KVM host and temporary
 
 |import-vm-from-vmware-to-kvm-options.png|
 
-When importing a Virtual Machine from VMware to KVM, CloudStack performs the 
following actions:
-
-- Clones the Source Virtual Machine on the selected VMware Datacenter for 
running VMs: The source Virtual Machine will be cloned in the original state 
for running VMs. The recommended state is the stopped state to prevent data 
inconsistencies or loss when cloning the virtual machine.
-- Imports the VM files (OVF) of the Cloned Virtual Machine for running 
VMs, Source Virtual Machine for stopped VMs to a temporary storage location 
(which can be selected by the administrator) from KVM host if ovftool installed 
or management server (can be forced by the administrator).
-- Converts the OVF on the temporary storage location to KVM using 
virt-v2v: CloudStack (or the administrator) selects a running and enabled KVM 
host to perform the conversion from VMware to KVM using **virt-v2v**. If the 
binary is not installed, then the host will fail the migration. In case it is 
installed, it will perform the conversion into the temporary location to store 
the converted QCOW2 disks of the virtual machine. The disks are then moved into 
the destination storage pools for the virtual machine. The conversion is a 
long-lasting process which can be set to time out by the global setting 
'convert.vmware.instance.to.kvm.timeout'. The conversion processes takes a long 
time because virt-v2v creates a temporary virtual machine to inspect the source 
VM and generate the converted disks with the correct drivers. Additionally, it 
needs to copy the converted disks into the temporary location.
+When importing a instance from VMware to KVM, CloudStack performs the 
following actions:
+
+- Clones the Source Instance on the selected VMware Datacenter for running
+  VMs: The source instance will be cloned in the original state for running
+  VMs. The recommended state is the stopped state to prevent data
+  inconsistencies or loss when cloning the instance.
+- Imports the VM files (OVF) of the Cloned instance for running VMs, Source
+  Instance for stopped VMs to a temporary storage location (which can be
+  selected by the administrator) from KVM host if ovftool installed or
+  management server (can be forced by the administrator).
+- Converts the OVF on the temporary storage location to KVM using virt-v2v:
+  CloudStack (or the administrator) selects a running and enabled KVM host 
to

Review Comment:
   ```suggestion
 CloudStack (or the administrator) selects a running KVM host to
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] Add doc for Management Server Statistics and Peers [cloudstack-documentation]

2024-11-13 Thread via GitHub


weizhouapache opened a new pull request, #455:
URL: https://github.com/apache/cloudstack-documentation/pull/455

   for apache/cloudstack#9885


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Add doc for Management Server Statistics and Peers [cloudstack-documentation]

2024-11-13 Thread via GitHub


sureshanaparti commented on code in PR #455:
URL: 
https://github.com/apache/cloudstack-documentation/pull/455#discussion_r1839882265


##
source/adminguide/management.rst:
##
@@ -587,3 +587,52 @@ To start the Management Server:
 
# service cloudstack-management start
 
+
+Management Server Statistics and Peers
+--
+
+Administrators are able to view the statistics and peers information of 
management server.
+  
+#. Log in to the CloudStack UI as administrator
+
+#. In the left navigation bar, click Infrastructure.
+
+#. Click "Management servers", all management servers are listed.
+
+|management-servers-list.png|
+
+#. Click the management server you'd like to view. The statistics of the 
management server are displayed.
+
+|management-server-statistics.png|
+
+#. Navigate to the "Peers" tab. The peers of the management servers are listed
+
+|management-server-peers.png|
+

Review Comment:
   @weizhouapache can rename the ms and peer names, and update the screenshots?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Add doc for Management Server Statistics and Peers [cloudstack-documentation]

2024-11-13 Thread via GitHub


borisstoyanov commented on PR #455:
URL: 
https://github.com/apache/cloudstack-documentation/pull/455#issuecomment-2473270003

   @blueorangutan docbuild


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] Updating security group documentation [cloudstack-documentation]

2024-11-13 Thread via GitHub


kiranchavala commented on code in PR #421:
URL: 
https://github.com/apache/cloudstack-documentation/pull/421#discussion_r1841617844


##
source/adminguide/networking/security_groups.rst:
##
@@ -41,8 +41,7 @@ desired set of rules.
 Any CloudStack user can set up any number of additional security groups.
 When a new instance is launched, it is assigned to the default security group
 unless another user-defined security group is specified. An instance can be a
-member of any number of security groups. Once an instance is assigned to a
-security group, it remains in that group for its entire lifetime; you
+member of any number of security groups. You change the security groups of an 
instance in a stopped state; you

Review Comment:
   You can change the security groups of an instance only when it's in a 
stopped state



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] tuning: note wrt db pool preference [cloudstack-documentation]

2024-11-13 Thread via GitHub


shwstppr commented on code in PR #451:
URL: 
https://github.com/apache/cloudstack-documentation/pull/451#discussion_r1841645777


##
source/adminguide/tuning.rst:
##
@@ -109,6 +109,10 @@ db.simulator.connectionPoolLib
 To use DBCP 2, the value for the configuration must be set to 'dbcp'. An
 empty value or 'hikaricp' will allow using HikariCP.
 
+For large-scale environments, HikariCP should perform better. For environments

Review Comment:
   @rohityadavcloud while both work fine 2GB JVM heap size (the current default 
we use) but with HikariCP I've seen failures when the system memory is 
constrained such as a 4GB system running a management server, usage server and 
MySQL server. Same failure has been there with DBCP2 as well but very rare. At 
lower end I've found HikariCP resulting in slightly higher memory usage for 
management server and MySQL server, a couple of hundreds of MB.
   Based on this I'm not sure how I phrase minimum requirements



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] tuning: note wrt db pool preference [cloudstack-documentation]

2024-11-13 Thread via GitHub


rohityadavcloud commented on code in PR #451:
URL: 
https://github.com/apache/cloudstack-documentation/pull/451#discussion_r1841647141


##
source/adminguide/tuning.rst:
##
@@ -109,6 +109,10 @@ db.simulator.connectionPoolLib
 To use DBCP 2, the value for the configuration must be set to 'dbcp'. An
 empty value or 'hikaricp' will allow using HikariCP.
 
+For large-scale environments, HikariCP should perform better. For environments

Review Comment:
   Didn't we test & you had found 5GB to be a sweet spot?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] tuning: note wrt db pool preference [cloudstack-documentation]

2024-11-13 Thread via GitHub


shwstppr commented on code in PR #451:
URL: 
https://github.com/apache/cloudstack-documentation/pull/451#discussion_r1841657355


##
source/adminguide/tuning.rst:
##
@@ -109,6 +109,10 @@ db.simulator.connectionPoolLib
 To use DBCP 2, the value for the configuration must be set to 'dbcp'. An
 empty value or 'hikaricp' will allow using HikariCP.
 
+For large-scale environments, HikariCP should perform better. For environments

Review Comment:
   @rohityadavcloud yes 5GB is sweet spot for HikariCP when running all 3 - 
management server, usage server and MySQL server on same machine but when 
running DB server separately even 3-4 GB may be enough.
   Does this sound okay then?
   
   ```
   Minimum requirements when running management server, usage server and MySQL 
server on the same system:
   - HikariCP: 2 CPU, 5GB RAM
   - DBCP2: 2 CPU, 4GB RAM
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org