The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Automating "Change Multiple Sites' IP Addresses" using SSH/bash script, possible?

Discussion in 'General Discussion' started by sharmaine001, Oct 9, 2009.

  1. sharmaine001

    sharmaine001 Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    16
    I am using "Change Multiple Sites' IP Addresses" to change the IP address assignment of all the sites under ResellerA including ResellerA's website

    If there are roughly 100 accounts, this appears to be a tedious task. Is there a way to automate this using SSH and perhaps writing a bash script? If there is, what is the "script" that should be called by the bash script so it will automate the process?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The SwapIP script is probably the script you want to call. Here's some documentation on this script:

    SwapIp < AllDocumentation/AutomationIntegration < TWiki
     
Loading...

Share This Page