Create a local ISO SR at XCP-NG Rumi, March 22, 2023 From the CLI: Create a directory on the local filesystem to storage your ISOs Copy/move ISOs to this new location Create the ISO SR using xe sr-create You can add or update ISOs later by placing them into the directory you created in step 1 Rescan the SR if you change the files stored in the ISO directory Here’s an example of how to create a Local ISO SR named “ISO Repository” that will be stored in /opt/var/iso_repository: mkdir -p /opt/var/iso_repository xe sr-create name-label="ISO Repository" type=iso device-config:location=/opt/var/iso_repository device-config:legacy_mode=true content-type=iso a6732eb5-9129-27a7-5e4a-8784ac45df27 # this is the output xe sr-scan uuid=a6732eb5-9129-27a7-5e4a-8784ac45df27 If your host is in a pool of several hosts, you need to add the host-uuid parameter to the xe sr-create command above. You can retrieve the host UUID with xe host-list. Src: https://xcp-ng.org/docs/storage.html#iso-sr Related Administrations Configurations (Linux) XCP-NG ISOSRStorageXCP-NG
Find Out NFS Clients Connected To My NFS Server August 19, 2019 You can use the following commands. SSH or login into your nfs server and type the following command: netstat -an | grep nfs.server.ip:port If your nfs server IP address 192.168.1.12 and port is 2049, enter: netstat -an | grep 192.168.1.12:2049 Sample outputs: tcp 0 0 192.168.1.12:2049 192.168.1.5:757 ESTABLISHED tcp 0 0 192.168.1.12:2049… Read More
Cacti user creation with specific graphs permission November 4, 2022 As an admin of cacti you can anything and everything. However, at certain times, you need to create restricted user who has access to only certain graphs of the cacti system. So here goes the steps (this is based on cacti version 1.2.21)- From left menu select Configuration > Users… Read More
DNAT using Iptables January 12, 2009 Before I start I DNAT, I’d better say what it does- The DNAT target is used to do Destination Network Address Translation, which means that it is used to rewrite the Destination IP address of a packet. If a packet is matched, and this is the target of the rule, the packet, and all… Read More