How to change IPs on H-Sphere Unix/Linux servers ?


How to change IPs on H-Sphere Unix/Linux servers ?

For Change the IPs on Systems Without NAT:-

H-Sphere IP migration is performed by means of Java IP Migrator called by the IPMIGR wrapper available for download from the psoft.net website. IP Migrator will:

change H-Sphere physical, logical, and system IPs
update IPs in H-Sphere database
change IPs in the system files except network startup configuration
update IP-dependent resources such as apache, FTP and DNS
IP Migrator doesn’t migrate NIC system files to avoid potential problems with server inaccessibility. These files must be migrated manually by the local administrator.

IP Migrator doesn’t modify reverse DNS configuration because H-Sphere doesn’t manage reverse DNS. For information on reverse DNS configuration, you may refer to http://www.tldp.org/HOWTO/DNS-HOWTO-5.html#ss5.3

Before you begin IP migration, do the following changes, and don’t forget to undo them after the migration:

Add the line
exit 0
to the very beginning of the /hsphere/shared/scripts/apache-reconfig script. This will prevent Apache from restarting gracefully after posting each web site configuration.
Add the line
exit 0
to the very beginning of the /hsphere/shared/scripts/ip-shared script. This will protect the main H-Sphere IP.
To perform the IP migration:

Replace the IP on the main network interface to the new IP for all boxes.
Set up the old IP as an alias for the new one;
————-
Example:

eth0 Link encap:Ethernet HWaddr 002:B5:A1:07:12
inet addr:[New_IP] Bcast:[New_Broadcast] Mask[New_NetMask]:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:269050319 errors:0 dropped:0 overruns:0 frame:11
TX packets:336024701 errors:0 dropped:0 overruns:19 carrier:0
collisions:0 txqueuelen:100
Interrupt:21 Base address:0x4000

eth0:0 Link encap:Ethernet HWaddr 002:B5:A1:07:12
inet addr:[Old_IP] Bcast:[Old_Broadcast] Mask:[Old_NetMask]
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:21 Base address:0x4000
————-

If IP migration is performed within one datacenter, make sure that your servers can be accessed from the Internet at both old and new IPs. If you change to IPs outside your datacenter, it would take a downtime before you make your servers available on new IPs.

– The steps below are performed on the server with the Control Panel installed –
following this template:

————————- ipmigration.xml template ———————-
<?xml version=”1.0″?>
<!DOCTYPE ipmigrate [
<!ELEMENT ips (ip+)>

<!ATTLIST ip name CDATA #REQUIRED>
<!ATTLIST ip new_ip CDATA #REQUIRED>
<!ATTLIST ip new_mask CDATA “[New_NetMask]”>
]>
<ips>
<ip name=”[Old_IP]” new_ip=”[New_IP]” new_mask=”[New_NetMask]”/>
<ip name= ………
</ips>
————————————————————————-

In the prolog (the DTD header of the xml file), specify what attributes will be provided with each IP. If you are going to use the same netmask for all new IPs, set [New_NetMask] to the needed value:

—-
<!ATTLIST ip new_mask CDATA “[New_NetMask]”>
—-
If netmasks are going to be different for different IPs, change “[New_NetMask]” to #REQUIRED. This will tell IP migrator to take net mask values from the XML definitions for individual IPs:

—-
<!ATTLIST ip new_mask CDATA #REQUIRED>
—-
In the <ips> … </ips> block, list all old-new IP pairs, including users’ dedicated IPs. If you have specified the common netmask in the DTD header, you don’t need to set it in the definition line for each individual IP:

—–
<ip name=”[Old_IP]” new_ip=”[New_IP]” />
—–
If you have set new mask in the DTD header to #REQUIRED, you need to specify the netmask parameter for each IP:

—-
<ip name=”[Old_IP]” new_ip=”[New_IP]” new_mask=”[New_NetMask]”/>
—-
Copy the created file to the cpanel’s home directory.

Change the owner and the group of the copied file in the Control Panel using the command
# chown cpanel:cpanel ~cpanel/ipmigration.xml
Log into the control panel server as root:
# su –
Download IP Migrator:
# wget http://www.psoft.net/shiv/IPMIGR.tgz
IP Migrator was updated on 30 Apr 2004. If you have an older version, update it.
Untar the archive:
# tar -zxf IPMIGR.tgz
Enter the IP Migrator directory:
# cd IPMIGR
Install the IP Migrator:
# make install
Stop H-Sphere
Back up H-Sphere system database
Log in as the cpanel user and run IP Migrator:
# ./ipmigrator
Carefully follow the error notifications. You may also find more detailed information on the migration process at /var/log/hsphere/hsphere.log
Start H-Sphere
Remove the line
exit 0
from /hsphere/shared/scripts/apache-reconfig and from /hsphere/shared/scripts/ip-shared.

Thanx brinks

And how to Change IPs on Systems Using NAT ?

To change your external IPs on a system using NAT (see details here). You may need to follow this instruction when you move to a different location and would like to preserve your internal IP settings.

Change IPs in ~cpanel/shiva/psoft_config/ips-map.xml and ~cpanel/shiva/psoft_config/hsphere.properties
Change IPs in SiteStudio configs /hsphere/shared/SiteStudio/psoft_config/*. You can use a simple script:

——————-
#!/bin/sh
if [ $# = 0 ] ; then
echo $”Usage: changeip.sh Oldip Newip”
exit 1
fi

for i in /hsphere/shared/SiteStudio/psoft_config/*.properties
do
echo “Processing $i”;
echo “,s/$1/$2/g
wq” | ed $i
done
——————
Change external IPs in httpd.conf on the web box.
Restart H-Sphere
Log in as the cpanel user and recreate zones with the dns creator:

How do I get H-Sphere working on two sets of IPs?


How do I get H-Sphere working on two sets of IPs?

If you would like to ensure smooth change of IPs and have everything duplicated on the old and new sets of IPs before making the switch, you need to do the following:

On the Web box:

Before the IP migration you need to copy the /hsphere/local/config/httpd/sites directory to /hsphere/local/config/httpd/sites.old to preserve your old client’s apache configs.
Go to /hsphere/local/config/httpd/sites.old and edit index.conf changing sites to sites.old (cd /hsphere/local/config/httpd/sites.old; perl -pi -e ‘s/sites/sites.old/’ index.conf)
Copy namevh.conf to namevh.old.conf
Proceed with the IP migration.
Add the following lines at the bottom of the /hsphere/local/config/httpd/httpd.conf file:
Include /hsphere/local/config/httpd/sites.old/index.conf
Include /hsphere/local/config/httpd/namevh.old.conf
On the DNS servers:

Add your old DNS IPs to the /etc/named.conf config to force your DNS servers to listen to the old IPs.
Bind your old IPs to the NIC on your servers.

park External Domains


Can I park External Domains ?

Yes, You can park External Domains

This feature allows you to use H-Sphere DNS server to map IPs to domain names serviced and hosted on other servers (not those of H-Sphere). In this case, a DNS zone is created with a custom DNS A record for the domain name.

Transferring Domains Without Registrar Changes


Can I transfer Domains Without Registrar Changes ?

You transfer Domains Without Registrar Changes if:

(a) you prefer to contact the registrar personally rather than apply changes automatically;
(b) you don’t have a domain yet, but you are going to register it later;
(c) you would like to register a non-standard or regional domain, which can’t be registered automatically (e.g. your_domain.de);
(d) you prefer a different registrar than the one used by your hosting provider.

In either case, you need to make sure that the domain name is valid. Enter it into the box, omitting the www. part.

Following the registration you will get an e-mail notification with the information to send to your domain name registration company. They will make appropriate changes on the root DNS servers, and within a couple of days your domain will be accessible at the new IP address. In the meantime, your site will be available by the instant domain alias.

Domain registration is a standard procedure. First, you purchase a domain name from a domain registration company. Second, you register this domain name with your web-hosting provider and get your new IP address. Third, you send this IP address to your domain registration company, where it is set as the IP address for your domain name. It is only then that your site becomes available to all Internet community. This is true both of standard and nonstandard domains. In case of standard domain names, however, the registration process is automated.

Remember one thing You can’t transfer domains that are already in use in the system. Nor can you transfer third level domains if they use a second level domain owned by another user.

To change the type of IP, do the following:

1. Select Domain Info in the Domain Settings menu.
2. If you have several domains, choose the one to enable virtual FTP for.
Click Change to Shared IP in the IP Address field
3. If prompted, confirm the change by clicking “Yes, I agree with the above”.

which control panel I choose


Hi,
I am looking to purchase a web hosting account. which control panel I choose. cpwebhosting.net provides H-sphere control panel with their web hosting account.how it is?
H-Sphere is a scalable multiserver web hosting solution. It is the most complete, powerful and dynamic control panel for web hosting resellers. Its proposed competitors don’t come close: cPanel, Plesk, Ensim, Helm. No other control panel puts so much functionality at your fingertips.
H-Sphere is the best control panel for Reseller.
H-Sphere has many advanced features and a sophisticated billing system to automate and improve your web hosting tasks. H-Sphere was designed to work on many servers and can be scaled by adding more web, mail, database, and DNS servers without any downtime. It provides a simple, easy-to-use web interface that can be maintained from any computer with internet connection. H-Sphere was written in Java and works with any SQL-compliant database. It runs only industry standard software.
H-sphere is also good for individual users.
H-Sphere offers the highest level of web-hosting operations by providing:-

Complete automation for Linux and Windows platforms
Billing solution
Private label resellers
User-friendly control panel
Comprehensive set of hosting features

H-sphere provides automatic sign up facility for Reseller’s customer. H-Sphere takes care of all stages of customer signup. No longer is it necessary to add each new user to the system – users can complete the registration all by themselves.
H-Sphere automatically performs all charges to your customers credit cards for the services you offer. All you need to do is choose and configure a merchant gateway.
H-sphere provides Automated Domain Registration.
Reseller’s customers can register domain names without leaving their control panel. H-Sphere automates all procedures and charges related to standard domain name registration. .

user friendly control panel


Hi,
I am Newbie in web hosting field so which control panel will be easy to use and user friendly for me. cpwebhosting.net provide H-sphere control panel. is it good?
H-Sphere is a user friendly control panel and also easy to use.
H-Sphere is a User Friendly Control Panel, which provides:-

1. Centralized control
2. Intuitive plan wizards
3. Integrated support center
4. Multiple skins for users
5. Multiple accounts per one user
6. Ability to change account settings
7. User friendly invoice format
8. Complete set of web hosting tools
9. Integrated PHP/MySQL Applications

User can create and edit hosting plans with the use of H-Sphere.

H-Sphere’s plan creation wizards will help you to create and edit hosting plans step by step. They make it easy to add or remove resources, set or edit prices, and configure other plan parameters.

With the use of H-sphere control panel, U have Ability to change account settings

From their control panels, users can change their plan (Reseller/admin can disable this functionality if they choose to), billing period, billing profile, disk quota and traffic.

H-Sphere provides complete set of web hosting tools.The user control panel comes with a complete range of tools a customer may need to create, configure, launch, and promote a website. These include:-

1. SiteStudio website builder;
2. WebShell, a web-based file manager;
3. web statistics analyzers: Webalizer, Urchin, AWStats and ModLogan;
4. Kanoodle website promotion tool;
5. a password protection utility;
6. website registration with major search engines.

Users can easily set up over 20 PHP/MySQL applications, such as Blogs, CMS & Portals, Forums, E-Commerce etc., directly in their user CP with the help of EasyApp Collection in H-Sphere control panel
H-Sphere provides User friendly invoice format.
Yes, u r rite alemcherry.

The readability of user invoices has been significantly improved. Invoices contain explanations to almost every item they are charged for. These explanations/descriptions can be set by the reseller/admin as they see fit.

U can create multiple accounts per one user

H-Sphere provides a three-tier system of accounts. The first tier is the user, which corresponds to a Unix or Windows account. The second tier is the account proper; this is what counts when you pay for H-Sphere licenses. One user can have several accounts, which allows a user to subscribe both to a Windows plan and to a Unix plan. The third tier is the domain, which corresponds to one site. A user can host several sites within one account.

Control panel which provides automates Billing Solution?


Hi,
I am a Reseller web host with a lots of customer.I feel difficulty to billing my customer. There is any control panel which provides automates Billing Solution.

H-sphere provides Automated billing solution.

In H-Sphere billing solution, u find:-

1. Variety of payment methods
2. Setup, recurrent, and overlimit prices
3. Taxes
4. Tax exemption
4. Email invoicing
5. Reports
6. Suspending debtors
7. Discounts for different billing periods
8. Promotions for plans
9. Credit limit changeable on user-by-user basis
10. Multiple billing profiles
11. Refunds