NFS permissions?

2021-06-09 Thread James Steele
Hi all, when adding separate NFS storage (based on a ZFS pool) as primary/secondary what is the minimum/safest file & folder permission you can get away with, when used in conjunction with: chown -R root:root /tank? chmod -R -f 755 /tank, or more restrictive chmod -R -f 644 /tank? This is help

Re: NFS version for ISO

2021-06-12 Thread James Steele
Hi, you could try blocking v3, and see if it will the use v4: vim /etc/default/nfs-kernel-server #and set: RPCNFSDCOUNT="8 --no-nfs-version 3"

How to remove unused/unwanted management server from mysql

2021-08-03 Thread James Steele
Hi, I have an unwanted management server reported here on macfgan01, it is marked as DOWN: mysql> SELECT * FROM mshost; ++-+---+--+--+---+--++--+-+-+

Re: How to remove unused/unwanted management server from mysql

2021-08-03 Thread James Steele
Perfect, thanks!

Re: For input string: "9,17"

2021-08-04 Thread James Steele
Could someone using Ubuntu 20.04, and the 4.15.1.0 webui - who can click on 'Infrastructure' then 'Hosts' without errors and have it list correctly, please post the output of: locale -v It would nice to know a working input locale, and whether UTF or ISO-8859 is needed. When I click 'Infrastr

'Infrastructure' then 'Hosts' in the webui not working

2021-08-07 Thread James Steele
My setup: Ubuntu Server 20.04.2, MySQL Ver 8.0.26-0ubuntu0.20.04.2 I have been getting an error that when I click 'Infrastructure' then 'Hosts' in the webui (http://ipaddress:8080/client/) the error message: '(X) For input string: " "' is shown briefly, but the hosts are NOT listed. However the

Re: 'Infrastructure' then 'Hosts' in the webui not working

2021-08-29 Thread James Steele
All fixed now, thanks Andrija https://github.com/apache/cloudstack/issues/5300

Remove host from MySQL?

2021-09-03 Thread James Steele
Hi all, We have a host that was removed from the webUI, but it somehow still exists in the cloudstack MySQL database. I wanted to remove the host, reinstall the OS and then re-add back to CS - keeping the same name & IP. What is the MySQL command to remove the existing host entry? Would be som

Re: RE: Remove host from MySQL?

2021-09-08 Thread James Steele
Thanks for that reply Jordan, when I did that, I got: mysql> delete from host where id=12; ERROR 1451 (23000): Cannot delete or update a parent row: a foreign key constraint fails (`cloud`.`vm_instance`, CONSTRAINT `fk_vm_instance__last_host_id` FOREIGN KEY (`last_host_id`) REFERENCES `host` (

Re: Remove host from MySQL?

2021-09-09 Thread James Steele
Thanks Wei, I ran your command: update vm_instance set last_host_id =NULL where last_host_id=12; This has succesfully marked the host as 'Removed': select * from host where id=12; | 12 | macfkdn17 | 4f2d0b03-0144-4591-923e-2c29bb93038e | Removed | Routing | 10.253.0.57 | 255.255.252.0 | bc:77:e

Re: Unable to add host

2021-09-14 Thread James Steele
Hi, can you SSH succesfully from the Management Server to the host you wish to add? Jim On 2021/09/14 16:02:44, "technologyrss.mail" wrote: > *Hi, * > > Please see my log, I can't understand why not added host on my Advanced > zone. All servers are CentOS Linux release 7.9.2009 (Core). > >

AMD graphics PCI passthrough possible?

2021-10-01 Thread James Steele
Hi all, we have added some Ubuntu 20.04 hosts which have an AMD ATI Radeon Pro WX 5100 fitted inside. We would like to passthrough the Radeon PCI device to KVM guests. IOMMU has been setup correctly and the Radeon card is showing as a VFIO-PCI device. lspci -k shows: d9:00.0 VGA compatible co

Re: Can I install all services on same server

2021-10-03 Thread James Steele
See: https://rohityadav.cloud/blog/cloudstack-kvm/ On 2021/10/02 16:31:51, Cristian Ciobanu wrote: > Hi, > > Yes, it is possible. ( I would not do that for production environment ) > > Regards > Cristian > > > On Sat, Oct 2, 2021, 19:19 technologyrss.mail > wrote: > > > *Hi,* > > > > Can

Re: RE: AMD graphics PCI passthrough possible?

2021-10-08 Thread James Steele
Hi, and thanks for the tips everyone. Using https://lab.piszki.pl/cloudstack-kvm-and-running-vm-with-vgpu/ as a guide, I got the Radeon Pro WX 5100 PCI id's and modified Grub on my Ubuntu 20.04 host with this: GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on kvm.ignore_msrs=1 vfio-pci.ids=1002:67c7,

Re: RE: AMD graphics PCI passthrough possible?

2021-10-15 Thread James Steele
This is the XML from a running Windows Server 2019 guest that works with KVM on the Ubuntu 20.04 host. It was created directly with VMM - not CloudStack. After windows is installed, virtio-win-0.1.208.iso is run, rebooted, then the AMD Radeon WX5100 driver package is installed. Everything works f

Re: Unable to add host

2021-10-28 Thread James Steele
Have you allowed root ssh access? vim /etc/ssh/sshd_config # and set: PermitRootLogin=yes

Configure Out-of-band Management?

2021-10-29 Thread James Steele
Hi all, I have just configured out of band IPMI(v2) management on some Ubuntu 20.04 Hosts, which is handy as it lets root admins power-cycle hosts and see their power state etc. from within the CloudStack webUI. >From my DELL, iDRAC9 Settings, Configure Network Settings, IPMI settings: I >can

mysql password change?

2021-11-17 Thread James Steele
Hello all, after having setup cloudstack following Rohits fab guide here: https://rohityadav.cloud/blog/cloudstack-kvm/ I realise I may have followed the guide a little too closely. When setting up cloudstack management I entered: cloudstack-setup-databases cloud:cloud@localhost --deploy-as=root:R

Re: mysql password change?

2021-11-17 Thread James Steele
Thanks Wei that has worked great: systemctl stop cloudstack-management mysql -u root -p ALTER USER 'cloud'@'localhost' IDENTIFIED BY 'newPassword'; flush privileges; exit #test new password: mysql -u cloud -p newPassword #re-setup cloudstack: cloudstack-setup-databases cloud:newPassword@localhos

Re: Configure Out-of-band Management?

2021-11-24 Thread James Steele
Thanks for the guidance Gabriel, it is much appreciated. Thanks, Jim

Kubernetes Dashboard Access

2022-02-09 Thread James Steele
Hi all, we have set up the Kubernetes service inside CloudStack as per: http://docs.cloudstack.apache.org/en/latest/plugins/cloudstack-kubernetes-service.html#enabling-the-kubernetes-service It all looks fine and set up correctly (things are Green), but how do we access the Kubernetes Dashboard

RE: Procedure to remove management server

2022-03-08 Thread James Steele
How to remove unwanted management server: ssh root@192.x.x.x mysql -u root -p use cloud; select * from mshost;#CHECK NAME ON THE LEFT!! check STATE= DOWN !!! update mshost set removed=now() where id=25; \q On 2022/03/01 22:56:27 Ricardo Pertuz wrote: > Hi, > > What is the best o