Run "swversion" to check ASP 130 software version. If the version is 6.0.0.1.0 or greater, move to step 5 (copy file using WinSCP). If not, update the ASP 130 to the latest service pack. If software version is 6.0.0.0.0, update ASP to the latest software. The initial ASP service pack creates the /var/lib/libvirt/staging staging directory with the correct ownership and permissions. The sudo command will not be necessary in the staging directory if version is at 6.0.0.1.0 or greater. If you cannot update your ASP 130 R6.0.0.0.0 to a later release, then perform steps 2 through 4 below.
Enter sudo ls -ld /var/lib/libvirt/staging.
If you cannot upgrade to 6.0.0.1.0 or greater, perform step 3 and 4.
If the command did not find the directory, create the directory:
Enter the following commands:
sudo mkdir /var/lib/libvirt/staging
sudo chown custadm:wheel /var/lib/libvirt/staging
Enter sudo ls -ld /var/lib/libvirt/staging again.
Check the permissions shown are drwxr-x--- 2 custadm wheel ....
These allow the custadm user to write into the directory using sudo commands. If the permissions shown are different:
Enter sudo chown custadm:wheel /var/lib/libvirt/staging
Run sudo ls -ld /var/lib/libvirt/staging again and check the permissions.
Using an SCP file transfer tool, for example WinSCP, and the custadm user credentials, copy the downloaded IP Office.qcow2 file into the /var/lib/libvirt/staging directory.
Enter cd /var/lib/libvirt/staging.
Enter sudo ls -lh and check for the IP Office.qcow2 file.
The downloaded IP Office.qcow2 file is a thin-provisioned file. You must create a thick-provisioned copy which you can then use as an IP Office KVM virtual machine. Enter:
Enter sudo ls -ltr and check for the thick-provisioned file.
Change the file owner and permission of the thick-provisioned file by entering the following commands:
sudo chown qemu:qemu <filename>
sudo chmod 640 <filename>
For example:
sudo chown qemu:qemu ipo_primary.qcow2
sudo chmod 640ipo_primary.qcow2
If no longer required, for example to create a file for another IP Office virtual machine, delete the thin-provisioned file from the /var/lib/libvirt/staging folder. Enter: