Archive

Posts Tagged ‘Windows Server Management’

Setting up Single user database connection on MSSQL Server

August 13th, 2009 harry 1 comment

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

mssql_hosting Setting up Single user database connection on MSSQL Server

Using single user database connection mode will help you to manage and maintain databases. Single User mode allows only one single user to connect a database hence if there are other users connected to the database and you  switched the database to single user mode then their connections to database will be closed without any warning message basically single user mode is used when you are doing maintenance activities.

Follow the steps to start MSSQL server in Single User mode :-

On your server in RDP :
Start >> Run >> type in CMD and hit Ok
>> it will open Command Prompt
>> execute the following command := net stop MSSqlServer ( this will stop the SQL service )
>> now to start SQL in Single User mode execute following command := sqlservr -m

Setting up a single database into Single User Mode !!!!

You can even set a single database in ’single user mode’ using an alternative procedure but this process can not be used to set the MASTER database into single user mode.

# Connect to the SQL Server using SQL Query Analyzer with SA user

Execute the following command :-
alter database database-name set SINGLE_USER ( where “database-name” is actual name of the database. )
This can not be used to place the databases MASTER, MSDB or TEMPDB in single user mode.
# To set the database back into normal multi-user mode execute the following command :-
alter database db-name set MULTI_USER

UK Dedicated Server Hosting

Installing modules on Plesk Dedicated Server

June 11th, 2009 harry No comments

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

Windows Server Hosting If you are using Windows Dedicated Server with Plesk control panel and you want to install few required modules using plesk then you can easily do so just by following few steps :
Login to the server as Admin.
Go to Plesk control panel.
Execute following command :-
/parallels_plesk_panel_installation_directory/admin/bin/modulemng –install –file=, where ‘parallels_plesk_panel_installation_directory’ is the directory you installed the Plesk control panel.

You can consider following eg :
/usr/local/psa/admin/bin/modulemng –install –file=cs-gs-1.0.0-rh9.build72041021.16.i586.rpm

Note : Modules are located in directory /opt/modules.

If you are not comfortable with using command prompt then you have other option for installing modules like using your Plesk control panel.
Following steps will help you to install required module directly through the Plesk control panel :

Login to your control panel as Admin.
Select the modules shortcut in the navigation pane.
You will get an option called “Manage Modules”. Select this option and add the required module. Just click OK once you have the module package file.

240x60a Installing modules on Plesk Dedicated Server