Reset SSH authorized keys for vzagent0:

Filed Under (Virtuozzo) by WebScHoLaR on 21-06-2009

Tagged Under : , , ,

In Virtuozzo 3, vzagent0 user was used to connect to VZMC (Virtuozzo Management Console). As a regular practice passwords are changed so after resetting vzagent0 password, its recommended to clear the SSH authorized keys too. Following commands can be used to clear the SSH authorized keys for vzagent0.

On Linux Nodes:

vzctl exec 1 “> /home/vzagent0/.ssh/authorized_keys2″

on Windows Nodes:

vzctl exec 1 cmd /c del “c:\Program Files\OpenSSH\home\vzagent0\.ssh\authorized_keys2″

Number of allowed backups in Virtuozzo Panel

Filed Under (Virtuozzo) by WebScHoLaR on 21-06-2009

Tagged Under : , , ,

Virtuozzo Power Panel allows the Full VPS backup to be generated but the number of allowed backups is limited. Number of backups is defined on the HW node and used for all VPSs. For example two different VPSs on the same node couldn’t have different number of backups.

You could set number of backups by the following ways:

1. In the file – /etc/sysconfig/vzagent/vzagent.conf you should change the following string:

<pe_backups_limit>1</pe_backups_limit>

and restart vzagent – vzagent_ctl restart

2. In the VZMC:

Select Virtuozzo node > Tasks > Manage VZAgent Configuration > backm > configuration > pe_backups_limit

Stopping Firewall on Virtuozzo Windows VPS

Filed Under (Virtuozzo) by WebScHoLaR on 21-06-2009

Tagged Under : , , ,

I have seen this issue many times when clients complain that they cannot login to VPS using RDP. Most of the time its because they turn Windows Firewall On but do not configure it so it just denies access to everything. Following commands can be executed from the command prompt of Node to turn Windows Firewall Off inside any VPS and set the Firewall services to not start automatically.

vzctl exec VEID net stop ipnat
vzctl exec VEID net stop policyagent
vzctl exec VEID sc config policyagent start= demand
vzctl exec VEID sc config ipnat start= demand

(NOTE: Replace VEID with actual VPS IP that can be checked by “vzlist -a” command)

Virtuozzo VPS Migration

Filed Under (Virtuozzo) by WebScHoLaR on 27-11-2008

Tagged Under : , , ,

In Virtuozzo, we can migrate a VPS from one hardware node to another using “vzmigrate” command. The migration will also include the IP addresses so you do not have to go back and re-add them. We may need to clear the arp cache for the IP to begin routing to the new network device.  If you are stopping the VPS prior to the migration then arp cache should not be a problem. I am taking VZNodeA and VZNodeB for reference and migrating a VPS from VZNodeA to VZNodeB. Read the rest of this entry »

Proudly Hosted by eServicesProvider