Document Number:CSTS-001

advertisement
Document Number: CSTS-001
Problem Description: How do users change IP?
Solution Description: Modify Config IP and Datebase IP
Handling Difficulty: Easy
Skill requirements: SQL Server
Solution process:
1
Modify Config.xml
 Config.xml

Login Content Server with Gorilla Account.




2
Use text editing software to edit C:\Gorilla\Config.xml.
Change all IP addresses to new IP addresses.
Save.
hibernate.cfg.xml

Use text editing software to edit C:\Gorilla\ hibernate.cfg.xml.

Change all IP addresses to new IP addresses.

Save.
Update SQL Server
 Edit Script:

Please acquire data.sql SQLscript first.
(locate at gorilla release folder \ContentServer\SQLScript)


Use text editing software to edit data.sql .
Copy this session to new script file. For example -- ftp.sql
-- the IP column is dynamic assigned when installing, make sure the IP is correct
before executing this script.
INSERT CONTENT_SERVER (NAME, IP, LOGIN_NAME, PASSWORD, PATH,
DESCRIPTION ) VALUES ('ContentServer', '192.168.22.62', 'gorilla', 'gorillakm', '/', 'FTP
Server');


Change all IP addresses to new IP addresses.
Update SQL (Using SQL Management Studio):

Open SQL Server Management Studio.

Enter.\ in the “Server Name” column.

For authentication, use Windows Authentication.
(If it’s SQL Server Authentication, please use “sa” or “gorilla” account to login.)

Open ftp.sql, choose ContentServer DB and execute the sql script.
(This script will automatically update the IP Column in CONTENT_SERVER table.)
3
Modify WowzaGetready (optional)
 Only Modify WowzaGetready if WOWZA uses UAC method for storage
access. (when Storage and Content Server are on separate machines)
 Use text editing software to edit Gorilla Release\WowzaGetready\config.ini
 Modify:
ContentPath=\\Server_IP\ContentStorage
ServerIP= Server_IP


4
Save.
Re-run WowzaGetReady.exe.
Restart services
 In the Command line, enter restart commands.
 Restart Resin Service: net stop resin and then net start resin
 Restart WOWZA Service: net stop WOWZA and then net start WOWZA.
Download